Skip to content

Flashing Octopus Pro

Jos Visser edited this page Mar 7, 2024 · 4 revisions

120 ohm Termination Resistor

There is a permanent 120 ohm termination resistor soldered to the board, no need to add a jumper to enable it and also no ability to disable it.

DFU Mode

To put the octopus into DFU mode you need to put in the boot jumper and press the reset button. The “power over USB” jumper isn’t needed if you already have 24v hooked up to the octopus.

Scherm­afbeelding 2024-03-07 om 13.38.54.png

The BTT Octopus comes in many variations of MCU chip. Make sure you pick the correct config for the MCU chip you have

Flash Katapult

  1. Go into your Katapult directory and start the config.
cd katapult
make menuconfig

Katapult Config

286884842-673ce3c6-5bd7-48a8-bcd4-99aeefb0f0a2.png

  1. Exit using ESC or Q, then confirm with yes (Y)
  2. build the firmware:
make clean
make
  1. with the Octopus pro in DFU mode, Verify this via the lsusb command, which should look something like this:
Bus 001 Device 005: ID 0483:df11 STMicroelectronics STM Device in DFU Mode
  1. Record the device ID (the part after ID above, but yours may be different)

  2. Run the following command to erase and flash the EBB with Katapult (again, VERIFY your device ID. The ID is at the end of the command below):

sudo dfu-util -a 0 -D ~/katapult/out/katapult.bin --dfuse-address 0x08000000:force:mass-erase:leave -d 0483:df11
  1. The board will now be flashed. It will look similar to what is shown below. NOTE: If you see any mention of an error after the File downloaded successfully message, it can be ignored.

Flash Klipper

  1. Change directories into the klipper directory via cd ~/klipper
  2. type make menuconfig and adjust things so it looks like the screenshot below

Klipper USB-CAN-Bridge Config

221378034-ac82a51e-6ba7-4288-8186-91a6733dbd2f.png

  1. Exit, saving the changes, then build klipper by typing
make clean
make
  1. Find your UUID by running this command:
sudo service klipper stop
python3 ~/katapult/scripts/flashtool.py -i can0 -q
  1. It should return something like:
"Detected UUID: XXXXXXXXXX, Application: Katapult"
  1. Record the UUID. This is YOUR uuid and will be used for the next step and in your cfg files.
  2. Now its time to flash klipper via CAN! Run the following command, substituting your uuid:
python3 ~/katapult/scripts/flashtool.py -i can0 -u b6d9de35f24f -f ~/klipper/out/klipper.bin
  1. The Mainboard will be flashed and you should see a message about success, etc. Requery for uuids again via:
 python3 ~/katapult/scripts/flashtool.py -i can0 -q

but now, notice how it shows Klipper for the application! Yay! 9. Restart klipper via

sudo service klipper start