bigtreetech / Manta-M5P

58 stars 8 forks source link

M5P not showing as USB device on CB1 #16

Open OhGee3D opened 1 year ago

OhGee3D commented 1 year ago

I bought an M5P and CB1 combo and have been trying to get it up and running. I can see the CB1 on my network and the mainsail interface comes up but when Klipper on the CB1 tries to connect to the MCU, it can't.

Following the instructions to try and set the serial device ID in the configuration (I believe it should be something like: -

[mcu] serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_hurakan-if00

but when I carry out the lsusb I get the following, showing only the hubs.

biqu@BTT-CB1:~$ lsusb Bus 008 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 007 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 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub Bus 002 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 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I can plug in other USB devices and they do show as you can see below: -

biqu@BTT-CB1:~$ lsusb Bus 008 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 007 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 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 003: ID 1d50:606f OpenMoko, Inc. Geschwister Schneider CAN adapter Bus 002 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub Bus 002 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 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I have tried installing the stock firmware from your site on the m5p to replace what came pre-installed from factory (I had to use DFU mode to flash it as there is no USB...) but this did not make any difference.

I'm beginning to think this is a faulty M5P (or CB1 possibly) any advice would be greatly appreciated. I've disconnected all other items from the board, there is now just power and ethernet connected.

LeonardoLimaS commented 1 year ago

Hi! the issue you had, looks like mine. I made contact with my re-seller, that helped me to solve my problem. Follow what he said me to do, read all before to understand the instructions:

Hi! I have the same Issue With my Manta M5P. But I still in contact with my seller, and they send me some steps to follow. First He told me to access the DFU mode, press and hold the BOOT button and press the RESET button once; access the CB1 by SSH or your prefered software, at bash line, type: lsusb, pay attention if appeared any device with ID 0483:DF11 - STMicroelectronics STM Device in DFU Mode, if apparead you correct enter at DFU mode update. Now go to the ~/klipper$ directory, recompile klipper again and change the option on MAKE MENUCONFIG. At bash type "make menuconfig" at Bootloader Offset option, choose to NONE. Recompile klipper again with command: "make flash FLASH_DEVICE=0483:DF11". the Dfu-Util command will flash the klipper and will made the upload automatically to the board. Some error will appear but need to pay attention only at "File download SUCESSFULLY". Well... to me it work.

Hope it helped you.