Skip to content

EBB SB2209 CAN RP2040

Note

For information about EBB SB2209 CAN V1.0 (RP2040) structure, please click EBB SB2209 CAN V1.0 (RP2040).PDF

Product Profile

Highlighted in red are other accessories of the Voron StealthBurner, which are not included in this EBB SB2209 CAN V1.0(RP2040) and will need to be purchased by yourself.

Product Link: BIGTREETECH Official Website

Features Highlights

  • Highlighted in blue are included in this EBB SB2209 CAN V1.0 (RP2040).

  • Highlighted in red are other accessories of the Voron StealthBurner, which are not included in this EBB SB2209 CAN V1.0(RP2040) and will need to be purchased by yourself.

Software Configuration

Flashing Katapult

Katapult / CanBoot

Katapult is the New Name for CanBoot

Please note that Katapult is designed for the purpose of directly updating the MCU firmware via the CAN bus interface. If you prefer the DFU update method, you may skip this step

“Flashing Katapult on a CB1/Raspberry Pi”

Refer to the instructions here to download the Katapult project

  1. to enter the home directory, then run command below to download Katapult project.

    cd ~
    git clone https://github.com/Arksine/katapult.git
    
  2. Config Katapult

    cd ~/katapult
    make menuconfig
    

    and configure according to the following figure

  3. Build Katapult

    make
    
  4. Flash Katapult using DFU

    1. Please use a Type-C cable to connect the EBB SB2209 CAN V1.0(RP2040)to the Raspberry Pi/CB1, and ensure that the USB_5V jumper is connected, in order to supply power to the EBB SB2209 CAN V1.0 (RP2040) via Type-C.

    2. Press and hold the Boot button, and then click the Reset button to enter the DFU mode.

    3. Enter in the SSH terminal command line

      lsusb
      

      Query DFU device ID

    4. Please enter the following command to flash Katapult::

      make flash FLASH_DEVICE=2e8a:0003
      

Compile Klipper

  1. After SSH is successfully connected to Raspberry Pi, run

    cd ~/klipper/
    make menuconfig
    

    Compile the firmware with the following configuration (if the options below are not available, please update your Klipper source code to the newest version).

    Note

    If using Katapult set Bootloader offset to 16KiB bootloader

  2. Press q to exit, and y when asked to save the configuration.

  3. Run make to compile firmware,"klipper. bin" file will be generated in home/pi/klipper/out folder when make is finished, download it onto your computer using the SSH application.

Firmware Update(via Katapult)

  1. To use the CAN bus, you need to connect the CAN bus cable and insert a jumper at the position of the 120R termination resistor.

  2. Run the following command to find CAN uuid

    cd ~/katapult/scripts
    python3 flash_can.py -i can0 -q
    

    to query the canbus ID (connect the CAN cable and power it on in advance), as shown in the figure below, the UUID of the device has been found

  3. Use command following to flash Klipper via Katapult

    python3 flash_can.py -i can0 -f ~/klipper/out/klipper.bin -u be69315a613c
    

    Note

    The be69315a613c is replaced with the actual UUID.

    klipper.bin needs to be made in advance, and the application start offset of Katapult is 16KiB offset, so Klipper's menuconfig Bootloader offset should also be 16KiB bootloader, as shown in the following figure.

  4. Use command below to check application running in EBB CAN.

    python3 flash_can.py -i can0 -q
    

Firmware Update(via DFU)

Raspberry Pi or CB1 update via DFU.

  1. Please use a Type-C cable to connect the EBB SB2209 CAN V1.0 (RP2040) to the Raspberry Pi/CB1, and ensure that the USB_5V jumper is connected, in order to supply power to the EBB SB2209 CAN V1.0 (RP2040) via Type-C.

  2. Press and hold the Boot button, and then click the Reset button to enter the DFU mode.

  3. use lsusb command to confirm that the device is in DFU mode.

    lsusb
    

  4. run following command to enter to the klipper directory, then write the firmware:

    cd ~/klipper
    make flash FLASH_DEVICE=2e8a:0003
    
  5. Connect CAN cable then find CANBUS uuid by using command following.

    ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
    
  6. If EBB not connect to klipper, the above command will report the device's canbus_uuid.

    Found canbus_uuid=0e0d81e4210c
    

Klipper Configure

  1. Enter Raspberry Pi IP address into your browser, and find the reference config for the motherboard in the directory shown below, if there is no such config available, update your Klipper source code to the newest version or download it from GitHub repo bigtreetech/EBB

  2. Upload the configuration file of the motherboard to Configuration Files.

  3. Add the configuration of this motherboard in the printer.cfg file:

    [include sample-bigtreetech-ebb-sb-canbus-v1.0.cfg]
    

  4. replace canbus_uuid with the one found in the previous steps

  5. Configure the module's specific functions according to Klipper Config_Reference