Jump to content

MMB CAN V1.0


Recommended Posts

Hello,
I have a situation that has unfortunately been bothering me for a while. I've repeatedly started it and put it aside because I can't find a solution. Perhaps you can help me.
Now I have the following errors, as shown in the pictures. The DFU is detected, but I can't flash it.

Screenshot 2025-03-22 082634.jpg

Screenshot 2025-03-22 082726.jpg

Screenshot 2025-03-22 083505.jpg

  • Like 1
Link to comment
Share on other sites

From the above it looks like it has flashed "File download successful" The last error is common an can be ignored "Error during download get status"

The device will not show up as a USB device any longer as it is now a CAN device with catapult on it.

Make sure your can network is up and running. 

sudo nano /etc/network/interfaces.d/can0

enter this into the file:

allow-hotplug can0
iface can0 can static
  bitrate 1000000
  up ifconfig $IFACE txqueuelen 1024

Save, and shutdown everything.

Restart the pi, query the can network:

ip a

and make sure you see the can interface:

can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1024
link/can  promiscuity 0 minmtu 0 maxmtu 0
can state ERROR-ACTIVE restart-ms 0
        bitrate 1000000 sample-point 0.750
        tq 62 prop-seg 5 phase-seg1 6 phase-seg2 4 sjw 1
        gs_usb: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..1024 brp-inc 1
        clock 48000000
        re-started bus-errors arbit-lost error-warn error-pass bus-off
        0          0          0          0          0          0         numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535
RX: bytes  packets  errors  dropped overrun mcast
11412      1551     0       0       0       0
TX: bytes  packets  errors  dropped carrier collsns
3568       641      0       0       0       0then get the device UUID:

 

then get your device UUID:

python3 ~/katapult/scripts/flashtool.py -i can0 -q

write this down and continue to flash klipper to it - see Esoterical Canbus guide:

  • Like 3
  • Voron FTW! 1
Link to comment
Share on other sites

Did you use the superuser (sudo) to create the file?

sudo nano /etc/network/interfaces.d/can0

After entering this in the empty file

allow-hotplug can0
iface can0 can static
  bitrate 1000000
  up ifconfig $IFACE txqueuelen 1024

press Ctrl X and Y to save with the default name that appears. Your can network won't show up until this is created.

  • Like 2
Link to comment
Share on other sites

When did you last create the Raspberry Pi OS Image ? I tried to Re-Install Klipper on my printer a short while ago and ran into this exact issue "Error Writing: No Such File or Directory" and it turned out that the latest OS updates has made changes and trying to create this file does not work, even while making it manually, My solution was to go to the Raspberry Pi website, look for the "Archive" of images and download an older version, I think any from 2024-10 and older should work,

I found that even creating the file manually in the new OS does not work and the "can0" network stays "Down"

Link to comment
Share on other sites

 

Hello,

I just reinstalled everything. The real problem is that when configuring the MMB CAN, I only have the serial number of the board, and I keep getting the message in the printer.cfg that the PIN cannot be found, or I can't configure anything. As I described above.

 

Link to comment
Share on other sites

 

mvdveer:
Now it worked, I was able to create the folder.

sudo mkdir /etc/network/interfaces.d

sudo nano /etc/network/interfaces.d/can0

With the first command, I was able to create the folder interfaces.de, and then I was able to run can0 according to its specifications. I checked the RPi, and it's there...

 

Link to comment
Share on other sites

  • 2 weeks later...

Hello,
After a lot of trying, reading, and testing, I've finally managed to connect my BTT MMB CAN and even control it, albeit only partially. The sensors are displayed and the gear stepper can be moved. Now I just need to calibrate everything, and I'm still looking for the corresponding commands... In any case, I'm glad I managed to get a connection at all.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...