Firmware Flash
Updating EBB Klipper firmware via CanBoot

Updating klipper on the EBB with CanBoot


This is for use with a working printer that requires the klipper firmware on the EBB to be updated. You must have Flashed CanBoot and Klipper per the initial flashing instructions.

Updating Klipper

You will need the canbus ID for your EBB, it can be found in your printer.cfg file under [mcu EBBcan], write this down, you will need it later in the process.

Make The klipper firmware

Stop the klipper Service (This can be done from in mainsail)

Connect to your printer via SSH

$ cd ~/klipper
$ make menuconfig
                             Klipper Firmware Configuration
[*] Enable extra low-level configuration options
    Micro-controller Architecture (STMicroelectronics STM32)  --->
    Processor model (STM32G0B1)  --->
    Bootloader offset (8KiB bootloader)  --->
    Clock Reference (8 MHz crystal)  --->
    Communication interface (CAN bus (on PB0/PB1))  --->
(1000000) CAN bus speed
()  GPIO pins to set at micro-controller startup


Press Q to save and then run make from the terminal:

$ make

Flash via Canboot

Canboot was recently renamed to Katapult. Depending on your installation you may need to substitute katapult for CanBoot below.

Via SSH:

cd ~/CanBoot/scripts
python3 -i can0 -f ~/klipper/out/klipper.bin -u <uuid>    # replacing <uuid> with the uuid for your EBB

Wait for the flash to finish. Reboot your printer.

In the event the Klipper flash fails and the EBB becomes unresponive, it can be recovered by reflashing over USB according to the initial flashing instructions, startimg with flashing canboot. The 5v jumper on the EBB is not needed if the board is powered from the printer.