Fly-Super8 Klipper host
Edit me

Configuring and installing Klipper for CANbus

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
    
  • Open menuconfig
    make menuconfig KCONFIG_CONFIG=config.super8
    
  • Set the following settings

    • 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

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

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

Flash Klipper CAN bus firmware with Katapult over CAN bus

  • Get the Fly-Super8 UUID buy running the following script.
    ~/katapult/scripts/flash_can.py -i can0 -q
    
  • If CAN devices are detected the above command will return the following.
    Detected uuid: 8248a4b16ede, Application: Katapult
    
    Flash Can Query
    Flash Can Query
  • Each device will have a unique uuid. In the above example, 8248a4b16ede is the micro-controller’s canbus uuid.

  • Save the UUID for the next step and for using in your printer.cfg file.

  • Flash the klipper FW to 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.
    Burn Klipper firmware over CAN bus
    Burn Klipper firmware over CAN bus
  • Your Fly-Super8 should now have klipper firmware loaded and be ready to use.
Tags: