-
Notifications
You must be signed in to change notification settings - Fork 0
Flashing Octopus Pro
Jos Visser edited this page Mar 7, 2024
·
4 revisions
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.
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.
The BTT Octopus comes in many variations of MCU chip. Make sure you pick the correct config for the MCU chip you have
- Go into your Katapult directory and start the config.
cd katapult
make menuconfig
- Exit using
ESC
orQ
, then confirm with yes (Y
) - build the firmware:
make clean
make
- 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
-
Record the device ID (the part after
ID
above, but yours may be different) -
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
- 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.
- Change directories into the klipper directory via
cd ~/klipper
- type
make menuconfig
and adjust things so it looks like the screenshot below
- Exit, saving the changes, then build klipper by typing
make clean
make
- Find your UUID by running this command:
sudo service klipper stop
python3 ~/katapult/scripts/flashtool.py -i can0 -q
- It should return something like:
"Detected UUID: XXXXXXXXXX, Application: Katapult"
- Record the UUID. This is YOUR uuid and will be used for the next step and in your cfg files.
- 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
- 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