I just got a BTT Manta M5P I ordered and I am trying to flash Klipper to the MCU, but for some reason my board just doesn’t go into DFU mode, or at least it is not showing up on my CB1…
I’ve tried everything, holding down the BOOT0 button and the pressing RESET while I have dmesg -HW on my screen in order to see if the USB device gets added, reflashing again and again using a SD card, which seems to work as the LED blinks rapidly and the file on the SD card is renamed to FIRMWARE.CUR. I also found the stock bootloader that’s supposed to come with the board and flashed that to see if it fixes it but that didn’t work either.
After no success from the firmware side, I decided to see if maybe the issue was the USB controller or something similar, and it seems my CB1 is not picking up any USB devices I connect to the board’s USB ports, with no kernel message appearing when I plug in a new device. This makes me think it might be that either my CB1 is not correctly plugged in to the board (is there some way to see if it is?), or that maybe I have a faulty USB controller, though I wanted to see if you guys had any ideas I might test.
Also, I think the ethernet port on the board is not working either, but I’m not sure as my cable is a bit janky.
biqu@bigtreetech-cb1:~$ lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 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 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 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 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
That means you have a working USB Hub and, most likely, your CB1 is installed correctly.
I presume that you’re getting the same response whether or not you:
Press and Hold BOOT0
Press and Release RESET
Release BOOT0
Which should put you in DFU Mode.
So, the question is whether or not your MCU works.
I’m gonna be a little unorthodox here and have you create a Klipper firmware image on your Linux desktop - you can do it on the CB1 but once you create the firmware image you’ll have to transfer it to the Linux desktop or PC to put on an SD Card.
You might as well install Klipper on the Linux machine and create the SD Card from there.
Open a terminal window on your Linux machine and install KIAUH by following the process:
Next, start KIAUH (./kiauh/kiauh.sh) and “Install” just “Klipper”.
cd ~/klipper and enter make menuconfig and set up the menu with:
Thank you for your help, I’ve flashed the firmware built as instructed, and I see no new LED turned on. By looking at the schematic, I gather the LED marked S on the silkscreen, next to the always on one marked P, is supposed to turn on but it does not.
I noticed though that when I perform the sequence to get the MCU onto DFU mode, that LED lights up, but just a little bit, as if only a fraction of the normal current is flowing there. I think this may mean it is in fact the board that is faulty… I’ll have to contact the seller then.
So… I was in the process of recording video evidence to show the board malfunctioning, when suddenly the MCU showed up after running lsusb, and even after doing the button sequence to get it into DFU mode.
As I was taking pictures before of all the components, I had taken the CB1 out of the Manta mainboard, and later for recording the video I re-installed it, so my guess is that the CB1 was in fact just not properly seated.
Anyways, I’ll see that everything else works properly now, but I think my problem solved itself lol