Skip to content
Previous plugin. This page is for the earlier Cartographer plugins (the classic [cartographer] plugin and the 2024 [scanner] plugin) and does not apply to the current plugin. For current instructions see Installation and Setup.

via DFU

  • DFU mode should be used to flash if you dont have access to CAN in order to change from CAN to USB or if for some reason Katapult isnt available.
  • Host device (RaspPi/Manta + CB1 etc)

  • Cartographer Probe

  • Two pairs of conductive (Metal) Tweezers

  • USB-A to JST-PH Cable

  • DFU Mode (Device Firmware Upgrade Mode) is STM’s bootloader thats apart of the STM32 chip included on cartographer probes. Its next to impossible to make this mode fail. For the STM chip to enter DFU mode all that needs to happen is to have the boot pin pulled high when the chip itself starts up.

image

  • Entering DFU mode is simple in theory but a bit more fiddly in practice. With the cartographer plugged in via USB, first short the two pads of the BOOT0 set (marked 1 on the photo). With BOOT0 still shorted, briefly short the RESET pads (marked 2). This will put the device in DFU mode.
  • You can also just short the BOOT0 pads and NOT the RESET pads, whilst plugging in the device via USB which should be easier to enter DFU.
  • This process can be tricky and take some time, so listed below are two ways to make it simpler.

Make-it-easier option #1: printed tweezer guide

Section titled “Make-it-easier option #1: printed tweezer guide”
  • You can use the PCB cover designed by MakerMylo to help with the fine-motor work of shorting pads. It clips onto the PCB and helps you to align tweezers accurately for shorting pads.

📎 Download PadPusher3000.stl

Make-it-easier option #2: solder-bridging the BOOT0 pads

Section titled “Make-it-easier option #2: solder-bridging the BOOT0 pads”
  • Soldering a bridge on the BOOT0 pads can make this process much easier. You will still need to briefly short the RESET pads, but you won’t have to coordinate two sets of tweezers.
  • Once you’ve flashed by using DFU mode, remember to de-solder the bridge.

lsusb should look like this if DFU mode is found.

Terminal window
cd ~
if [ -d ~/cartographer_firmware/ ]; then
echo "Directory Exists - Starting Firmware Script"
cd ~/cartographer_firmware/
git pull
else
git clone https://github.com/Cartographer3D/cartographer_firmware.git
fi
~/cartographer_firmware/scripts/firmware.py -f dfu

Screen #1

Screen #2

Screen #3

Once flashed, you will see the image below. This is a successful flash and youre all finished.

Screen #4

  • If you flashed for canbus, unplug cartographer and plug in via canbus
  • If you flashed for usb, power cycle your device.