bigtreetech / Manta-M5P

51 stars 7 forks source link

Manta-M5P + CB1 emmc + EBB42 #22

Open Stalkeros000 opened 7 months ago

Stalkeros000 commented 7 months ago

Hello. The first post on this site, I apologize for the mistakes made in the design and the use of a translator. I use the connection from the name via CAN. I used the manual https://github.com/bigtreetech/Manta-M5P/issues/3#issuecomment-1435406181 After rebooting the board according to step # 13, I see in the terminal that only the CanBoot device is detected.

1-13 steps

`biqu@BTT-CB1:~$ lsusb Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1root 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 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 003: ID 0483:df11 STMicroelectronics STM Device in DFU Mode Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub biqu@BTT-CB1:~$ sudo dfu-util -a 0 -D ~/CanBoot/out/canboot.bin --dfuse-address 0x08000000:force:mass-erase -d 0483:df11 dfu-util 0.9 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2016 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ dfu-util: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release!!! Opening DFU capable USB device... ID 0483:df11 Run-time device DFU version 011a Claiming USB DFU Interface... Setting Alternate Setting #0 ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing DFU mode device DFU version 011a Device returned transfer size 1024 DfuSe interface name: "Internal Flash " Performing mass erase, this can take a moment Downloading to address = 0x08000000, size = 4232 Download [=========================] 100% 4232 bytes Download done. File downloaded successfully biqu@BTT-CB1:~$ sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08002000:force:leave -D ~/klipper/out/klipper.bin dfu-util 0.9 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2016 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ dfu-util: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release!!! Opening DFU capable USB device... ID 0483:df11 Run-time device DFU version 011a Claiming USB DFU Interface... Setting Alternate Setting #0 ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing DFU mode device DFU version 011a Device returned transfer size 1024 DfuSe interface name: "Internal Flash " Downloading to address = 0x08002000, size = 31060 Download [=========================] 100% 31060 bytes Download done. File downloaded successfully dfu-util: Error during download get_status biqu@BTT-CB1:~$ ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0 **Found canbus_uuid=2b8edd781d59, Application: Klipper Found canbus_uuid=641ba3db94a9, Application: CanBoot** Total 2 uuids found biqu@BTT-CB1:~$ Network error: Software caused connection abort `

After rebooting I see only:

After rebooting

` biqu@BTT-CB1:~$ ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0 Found canbus_uuid=641ba3db94a9, Application: CanBoot Total 1 uuids found biqu@BTT-CB1:~$ cd ~/klipper biqu@BTT-CB1:~/klipper$ make menuconfig Loaded configuration '/home/biqu/klipper/.config' No changes to save (for '/home/biqu/klipper/.config') biqu@BTT-CB1:~/klipper$ ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0 **Found canbus_uuid=641ba3db94a9, Application: CanBoot** Total 1 uuids found biqu@BTT-CB1:~/klipper$ `

I replaced the CAN ports for my boards, naturally (for M5P CAN is PD0-PD1, for EBB42 (v.1.1) is PB0-PB1)

I also couldn’t write data to the built-in eMMC memory, although I did everything according to the instructions from GitHub, I have to use a flash drive, but that’s a completely different story that I’m ready to put up with.

I don't know how to fix this at the moment. I would be grateful for your advice. Thank you.