How to update the klipper firmware running on a Fly-DP5 in CANbus mode
Edit me

Configuring and installing Klipper for CAN bus

Compile Klipper firmware for Fly-DP5

  • ssh to your klipper host console
  • cd to the klipper directory

    cd ~/klipper
    
  • Run make clean

    make clean KCONFIG_CONFIG=config.dp5
    
  • Open menuconfig

    make menuconfig KCONFIG_CONFIG=config.dp5
    
  • Set the following settings
    • [*] Enable extra low-level configuration options
    • Micro-controller Architecture (STMicroelectronics STM32)
    • Processor model (STM32072)
    • Bootloader offset (8KiB bootloader)
    • Clock Reference (8 MHz crystal)
    • Communication interface (CAN bus (on PB8/PB9))
    • (1000000) CAN bus speed
    • () GPIO pins to set at micro-controller startup

      Klipper Menu Config CAN
      Klipper Menu Config CAN
  • Quit and save the configuration
  • Run Make to compile the firmware

    make KCONFIG_CONFIG=config.dp5 -j4
    

Flash Klipper CANbus firmware with Katapult over CANbus

  • Look in your printer.cfg file and make note of the UUID for your board.

  • Flash the klipper firmware to the Fly-DP5 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.

    Burn Klipper firmware over CANbus
    Burn Klipper firmware over CANbus
  • Your Fly-DP5 should now have klipper firmware updated and be ready to use again.

Tags: