How to update the klipper firmware running on a Fly-407ZG in USB mode
Edit me

Configuring and installing Klipper for USB

Compile Klipper Firmware for the usb

  • ssh into your klipper host console
  • cd to the klipper directory
    cd ~/klipper
    
  • Run make clean
    make clean KCONFIG_CONFIG=config.407zg
    
  • Open menuconfig
    make menuconfig KCONFIG_CONFIG=config.407zg
    
  • 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 (on PA11/PA12)
      Klipper Menu Config USB
      Klipper Menu Config USB
  • Quit (and save if changes were made) the configuration

  • Run Make to compile the firmware
make KCONFIG_CONFIG=config.407zg -j4

Updating Klipper USB 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.407zg flash FLASH_DEVICE= {Your serial ID here } 
    
  • Example
    make KCONFIG_CONFIG=config.407zg flash FLASH_DEVICE=/dev/serial/by-id/usb-Klipper_stm32f407xb_170038000650314D35323820-if00 
    
Burn Klipper firmware over USB
Burn Klipper firmware over USB
  • Your Fly-407ZG should now have the Klipper firmware running on the board updated to the latest version.
Tags: