Cartographer 3D
  • Welcome
  • 🗺️Cartographer Probe
    • Scan vs Touch Modes
    • 🏗️Installation and Setup
      • Before You Begin
      • Hardware Setup
        • CAN Termination
        • Stealthburner CW2 Mount
        • Wiring Diagrams
      • Software Configuration
        • Klipper Setup
        • Klipper Configuation
        • Calibration
        • Print Start Macro
        • First Print
        • Migrating from Cartographer to Scanner
      • Creality K1 & K1 Max Specific
      • Qidi Specific Installation Instructions
    • 📐Fine Tuning
      • Cartographer Models
      • Temperature Differential Calibration
      • Useful Macros
      • Extras
    • ♻️Firmware
      • Broken Katapult Bootloader
      • CANBUS Bitrate Switching
      • Firmware Switching
        • CANBUS to USB
        • USB to CANBUS
      • Firmware Updating
        • via Katapult
          • USB Flash
          • CANBUS Flash
        • via DFU
      • Manual Methods
        • ⬆️Firmware
        • Update or Re-Flash via ST-Link
        • Switching between CAN and USB Operation (v3 only)
        • Cartographer with Input Shaper
          • Update via Katapult (recommended)
          • Update via DFU Mode
        • Archive
          • Katapult
          • Re-Flashing Firmware
          • Cartographer (rp2040)
            • DFU / U2F Bootloader Mode
          • Which Firmware?
            • Cartographer v1 (RP2040 based probe)
            • Cartographer v2 or v3 w/ Input Shaper (USB/CAN)
              • Old Firmware
          • Update via STLink
    • ⚙️Settings & Commands
    • 😭Troubleshooting
    • 🆘Need Assistance?
    • 🔗Useful Links
    • ⁉️FAQ
    • 🔧Assembly
      • Standard
      • Low Profile
      • Right Angle
    • Archive
      • v1 (RP2040 Based Probes)
        • Klipper Configuration
        • Calibration
      • Classic Installation
        • Klipper Setup
        • Klipper Configuration
        • Calibration
      • Scan Based Calibration
  • 🚠Cartographer CNC Mount
    • 🚧Installation
  • 🌪️Linear Motor
    • 🗓️Coming Soon
Powered by GitBook
On this page
  • Step 1 - Wiring
  • Flashing via STM32CubeProgrammer (Windows & MacOS)
  1. 🗺️Cartographer Probe
  2. ♻️Firmware
  3. Manual Methods
  4. Archive

Update via STLink

PreviousOld FirmwareNextSettings & Commands

Last updated 1 year ago

Flashing via a STLink is super simple, and requires a STLink v2 (or similar). Unfortunatly you cannot use a standard TTL-USB adaptor.

This method only works on V2 and V3 probes with the STLink connection points next to the USB Port.

I have only personally tested this on a ST-LINK/V2 Mini with modern firmware on it - some older V2's will not work with STM32CubeProgrammer.

Step 1 - Wiring

Wiring is super simple (diagram will be added soon), connect the following to each other

ST-LINK/V2
Cartographer v2 / v3
Notes

3.3v

5v

5v-5v will work, but seems less reliable, could have been my ST-LINK, but 3.3v works perfectly

GND

GND

SWDIO

SWD

SWCLK

SCL

Flashing via STM32CubeProgrammer (Windows & MacOS)

Download and Install STM32CubeProgrammer from here, I warn you it requires you to sign up for an account.

Version 2.14.0 is recommended due to a known bug in 2.16.0 which causes issues when flashing via STMCubeProgammer - this can be selected from the version 'drop down' on the site.

Open the STMCubeProgrammer, and on the RIGHT side, select select STLink from the drop down menu and press Connect.

Once you have connected, Click Open File - you will need to select both the Katapult Bootloader for your board, and your Cartographer Firmware that you have downloaded.

For your Cartographer Firmware, you need to set the address to 0x08002000 This provides the 8KiB offset for the firmware. Katapult firmware can be flashed at the default 0x08000000.

If in doubt about what address to use, please check the relevent tables here

On each of the firmware's press "Download", starting with Katapult, then with Cartographer. Now press Disconnect in the TOP RIGHT corner.

If your BLUE LED is Flashing, you have not fully flashed your Firmware, and you should start again, If you now Power Cycle your probe, or simply hit the RESET (2) pads from earlier, your probe should react when it has anything solid metal put under it.

Firmwares Loaded (Note same screenshots used for USB version, yours will say STLink on ther right)
How to change the address in STM32CubeProgrammer (Note same screenshots used for USB version, yours will say STLink on ther right)