How to update the klipper firmware running on a Fly-Super8 in USB to CAN Bridge mode
Edit me
Configuring and installing Klipper for USB to CAN bridge mode
Warning: Super 8 Version 1.0 does not support USB to CAN bridge mode.
Tip: To read more about the KCONFIG_CONFIG option, see here
Note: If you are planning to use CANBoot bootloader with Klipper in USB to CAN bridge mode you will want to configure CanBoot in USB mode
Compile Klipper firmware for usbtocan for USB to CAN Bridge Mode
Note: Repeat these steps if a klipper update requires flashing new firmware to the MCU.
- ssh into 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: 32 KiB bootloader
- Clock Reference: 8 MHz crystal
- Communication interface - USB to CAN bus bridge (USB on PA11/PA12)
- CAN bus interface - CAN bus (on PB8/PB9)
-
CanBus 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 USB to CAN Bridge mode firmware with Katapult over USB
-
Look in your printer.cfg file and make note of the serial ID for your board.
- Run the make flash command to flash the firmware
make KCONFIG_CONFIG=config.super8 flash FLASH_DEVICE= {Your serial ID here }
- Example
make KCONFIG_CONFIG=config.super8 flash FLASH_DEVICE=/dev/serial/by-id/usb-Klipper_stm32f407xb_170038000650314D35323820-if00
- Your Fly-Super 8 should now have the Klipper firmware running on the board updated to the latest version.