How to update the klipper firmware running on a Fly-Super8 in CANbus mode
Edit me
Configuring and installing Klipper for CANbus
Tip: To read more about the KCONFIG_CONFIG option, see here
Compile Klipper firmware for can
- ssh to your klipper host console
- cd to the klipper directory
cd klipper
- Run make clean
make clean KCONFIG_CONFIG=config.super8
Important: If when running the above command you get this output
Then you need to set all the correct settings when running make menuconfig below.
Using default symbol values (no 'config.super8')
Configuration saved to 'config.super8'
Then you need to set all the correct settings when running make menuconfig below.
- Open menuconfig
make menuconfig KCONFIG_CONFIG=config.super8
-
Check to make sure the following settings are set
- Enable extra low-level configuration options : Checked
- Micro-controller Architecture : STMicroelectronics STM32
- Processor model: STM32F407
- Bootloader offset: 32KiB bootloader
- Clock Reference: 8 MHz crystal
- Communication interface - CAN bus (on PB8/PB9)
-
CAN bus speed: 500000
-
Quit (and save if changes were made) the configuration
- Run Make to compile the firmware
make KCONFIG_CONFIG=config.super8 -j4
Updating Klipper CANbus firmware with Katapult over CANbus
-
Look in your printer.cfg file and make note of the UUID for your board.
- Update the Klipper firmware on the Fly-Super8 by running the following command.
python3 ~/katapult/scripts/flash_can.py -i can0 -f ~/klipper/out/klipper.bin -u {paste your UUID here}
Example
python3 ~/katapult/scripts/flash_can.py -i can0 -f ~/klipper/out/klipper.bin -u 8248a4b16ede
- You should get a download progress bar and File downloaded successfuly when the burning is complete.
- Your Fly-Super8 should now have the Klipper firmware running on the board updated to the latest version.