Fly Gemini V2 Klipper host
Edit me

Configuring and installing Klipper for USB

Compile Klipper firmware for usb

  • ssh to your klipper host console
  • cd to the klipper directory
    cd klipper
    
  • Run make clean
    make clean
    
  • Open menuconfig
    make menuconfig
    
  • Set the following settings
    • Enable extra Low Level configuration options : Checked
    • Micro Controller : STMicroelectronics STM32
    • Processor Model: STM32F405
    • Bootloader Offset: 32 Kib bootloader
    • Clock Ref: 8 MHz crystal
    • Comm Interface - USB on PA11/PA12

      Klipper Menu Config USB
      Klipper Menu Config USB
  • Quit and save the configuration

  • Run Make to compile the firmware
make -j4

Flash Klipper firmware with CanBoot over USB

  • Find the Serial ID
    ls /dev/serial/by-id/
    
  • Copy the ID containing ‘stm32f407xb’

  • Run the make flash command to compile the firmware
    python3 ~/CanBoot/scripts/flash_can.py -f ~/klipper/out/klipper.bin -d {Your serial ID here } 
    
  • Example
    python3 ~/CanBoot/scripts/flash_can.py -f ~/klipper/out/klipper.bin -d /dev/serial/by-id/usb-CanBoot_stm32f407xb_170038000650314D35323820-if00 
    
Burn Klipper firmware over USB
Burn Klipper firmware over USB
  • Your Fly Gemini V2 should now have klipper firmware loaded and be ready to use.
Tags: