Fill out above information andin all cases attach yourklippy.logfile (use zip to compress it, if too big). Pasting yourprinter.cfgis not needed Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there
Describe your issue:
I am connecting RPi with Manta 8P board using C type usb cable but unable to start the firmware.
I am getting the error:
mcu ‘mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: ‘/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00’
… klippy (5).log (660.2 KB)
Interesting.
I never dug too deeply into this board, so this is new to me as well. To be honest, I would have expected to be able to use a regular SBC as an alternative too.
The reason for not being able to connect anything externally using USB is due to the USB hub installed on the board. It requires a high speed (USB 2.0) “Upstream Facing Port” which is wired to the CM4 connector.
There are no UART pins on the Manta boards wired to a connector specifically to allow a serial connection with a host although if you did some digging, you might be able to figure out how to get something working there.
The simple answer is to buy a CM4 or one of the functionally equivalent boards.
You could but there is the problem of how you would program the MCU on the Manta.
The best way I can think of doing that is using ST-Link through the SWD port (there is a five pin connector on each of the Manta boards) but that costs as much as a basic Raspberry Pi CM4 with WiFi.
There’s also a hacker way, which I don’t recommend.
I had once a Manta E3EZ board (same architecture as the M8P) which came defective, got a replacement and afterwards I repaired it. Didn’t have need for it, also didn’t have a spare SOC, so I modified it to run Marlin and gave it away to the less fortunate.
The problem is the RS2227 USB switch which stand in the way between the USB port and the processor. The solution was to wire the USB port directly to the processor, jumping over the USB switch and hub. The way other boards, like SKR’s, have it. Not for the faint-hearted to solder on those pins.
So yeah, buy yourself a CB1/CB2/CM4.
For the Manta M8P V2, you should be able to use the USART1 on the TFT header to allow Klipper communication between the Manta M8P V2 and the host.
HOWEVER you may not be able to use that header for Flashing the Klipper Firmware into the STM32F723 MCU unless the Option Bytes within the MCU are set correctly by BTT in the factory. I would expect that they’re set appropriately for USB DFU but I don’t have the right Application Note for DFU on that MCU handy to confirm that this will also work with USART1.
Access to USART1 isn’t available at all on the Manta M5P and Manta M8P V1 because PA9/PA10 are used for other functions.
On the Manta M4P, PA9 & PA10 are available on the EXP1/EXP2 connectors and could be used for communications but this would mean you can’t have a display attached to EXP1/EXP2. From personal experience, I know that when you set the Option Bytes in the MCU for DFU you can Flash the STM32G0B1 serially. From my testing, serial DFU Flashing works fine on the genuine Raspberry Pi 4 & 5. It’s difficult with the Raspberry Pi Zero 2W and becomes extremely difficult on BTT, Orange Pi and Banana Pi products as their serial ports need custom set up.
The easiest approach is to buy an rPi CM4/CM5, BTT CB1/CB2 or Orange/Banana Pi CM4 SBC and plug them into the board’s connectors as is intended for the Manta series of boards.
You are aware that CAN is a bus system, right? For some additional information, see CAN Basics. For obvious reasons, the “USB to CAN Bridge” setup is, of course, not applicable.