CAN Bus config / EEB36

Basic Information:

Printer Model: VORON 2.4
MCU / Printerboard: MENTA M8P V2.0
Host / SBC CB2 / EBB36
klippy.log

klippy.log (89.9 KB)

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

Hi,

I have been using my Voron 2.4 using a Stealthburner with a EBB SB2209 CAN (RP2040) without problem for months but I wanted to use now a H2 V2s Revo extruder connected with a EBB36 board.
I run into a problem flashing Klipper and Katapult on the M8P.
Everthing worked fine until I tried to query to see if M8P shows up with a UUID:

`biqu@bigtreetech-cb2:~$ python3 ~/katapult/scripts/flash_can.py -q`
`Resetting all bootloader node IDs…`
`Checking for Katapult nodes…`
`CANBus UUID Query Complete`

Checking for Katapult nodes… CANBus UUID Query Complete No UUID detected while the CAN bus seems configured:

biqu@bigtreetech-cb2:~$ sudo ifup can0
ifup: interface can0 already configured  

I tried to reinstall everything from scratch, including the SD card but I still get the same problem.
Would you have any suggestion

What is the process you’re using to do the updates?

The process you should be using is:

This is continually updated and has checks along the way to make sure that the correct process is followed.

I created a new SD card using CB2_Debian12_Klipper_kernel6.1_20250429.img
Checked it with KIAUH


Updated all the packages from Mainail

First thing strange

sudo systemctl restart networking.service

does not report any service !
I nevertheless installed Katapult

git clone https://github.com/Arksine/katapult
sudo nano /etc/network/interfaces.d/can0
allow-hotplug can0
iface can0 can static
    bitrate 500000
    up ip link set $IFACE txqueuelen 1024
cd ~/katapult
make menuconfig


Create Klipper firmware for the M8P

Flush Katapult

biqu@bigtreetech-cb2:~$ lsusb
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0483:df11 STMicroelectronics STM Device in DFU Mode
Bus 001 Device 003: ID 04d9:8030 Holtek Semiconductor, Inc. BTT-HDMI5
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
cd ~/katapult
sudo dfu-util -a 0 -D out/katapult.bin --dfuse-address 0x08000000:force:leave -d 0483:df11
File downloaded successfully
dfu-util: Error during download get_status

Flushed Klipper

cd ~/klipper
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08020000 -D ~/klipper/out/klipper.bin

Restarted the printer

biqu@bigtreetech-cb2:~$ sudo ifup can0
[sudo] password for biqu:
ifup: interface can0 already configured

Query to see if M8P shows up with a UUID

biqu@bigtreetech-cb2:~$ python3 ~/katapult/scripts/flash_can.py -q
Resetting all bootloader node IDs...
Checking for Katapult nodes...
CANBus UUID Query Complete

and then no UUID !

IIRC, this command may not return correctly

  • when multiple nodes are connected
  • when Klipper has already configured a node

On the contrary, it might even force nodes into an error state that requires power-cycling of the node. There is a warning in Katapult’s readme.

Did you stop the klipper service?

Finally I reflashed all boards with CB2_Debian11_Klipper_kernel4.19_20240716.img, there were too many weird problems with Debian12 and I prefered to revert to version 11 I was sure to work.
I have been able to flash the EBB SB2209 CAN (RP2040) and then the EBB36.
It seems it is indeed necessary to stop the klipper services before flusing Katapult.
I was not sure if the EBB36 could work with a speed of 1000000 but it seem ok.
Thank you for your help.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.