bigtreetech / Manta-M8P

219 stars 50 forks source link

M8p v2 + CB1 v2.2 bootloader issues; no serial connection #112

Open cribbageSTARSHIP opened 7 months ago

cribbageSTARSHIP commented 7 months ago

Good day.

I can get the cb1 to boot but the firmware.bin is never picked up by the sdcard reader. I've tried DFU mode but it always errors out:

`biqu@BTT-CB1:~/klipper$ sudo dfu-util -a 0 -D ~/klipper/out/klipper.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 = 29308 Download [=========================] 100% 29308 bytes Download done. File downloaded successfully biqu@BTT-CB1:~/klipper$ make flash FLASH_DEVICE=0483:df11 Flashing out/klipper.bin to 0483:df11 sudo dfu-util -d ,0483:df11 -R -a 0 -s 0x8020000:leave -D 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 = 0x08020000, size = 29308 Download [=========================] 100% 29308 bytes Download done. File downloaded successfully dfu-util: Error during download get_status

Failed to flash to 0483:df11: Error running dfu-util

If the device is already in bootloader mode it can be flashed with the following command: make flash FLASH_DEVICE=0483:df11 OR make flash FLASH_DEVICE=1209:beba

If attempting to flash via 3.3V serial, then use: make serialflash FLASH_DEVICE=0483:df11

make: *** [src/stm32/Makefile:111: flash] Error 255 `

manotroll commented 6 months ago

I found the solution to the problem in a video on YouTube, I'll put it here so you can see There is an error in the PDF explanation in the manual on how to do it https://www.youtube.com/watch?v=k8DmTrY2GgY

Ivzo commented 6 months ago

same, no serial after flashing bootloader.

MBOKjr commented 4 months ago

Same here, I even tried what the video showed to do that @manotroll posted.

I'm using CANBus so the UUID took it's place, but the fact that we still can't get it persists.

royalfifty8 commented 4 months ago

Also having issue. Video posted by @manotroll helps, kinda. But does not solve the issue. Tried reaching out to BIGTREETECH but never got a reply.