bigtreetech / Manta-M8P

209 stars 49 forks source link

Manta M8P V2.0 Bootloader #80

Open taalabash opened 1 year ago

taalabash commented 1 year ago

Hello, can anyone please upload the V2 bootloader, I think my board has a dmaged bootloader/ mcu, I just got three days ago without having the chance to use it till now, I'm trying to flash the firmware using sd card but it's not working, I tried to run the command "lsusb" on CB1 but it didn't show any device related to STM, by running "ls /dev/serial/by id/" I am recieving "ls: cannot access '/dev/serial/by-id/': No such file or directory", so seems the board is stuck on this state now.

MacBoyPro98 commented 1 year ago

Also having this issue. It seems the problem is the /dev/serial/ directory doesn't exist.

staticanime commented 1 year ago

Also having this issue. It seems the problem is the /dev/serial/ directory doesn't exist.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035094

Ram-85 commented 1 year ago

Having the same issue

abo974 commented 11 months ago

Hello, same issue after following the EBB SB2240 guide. After flashing the board in DFU mode, the mcu doesn't respond in klipper because it can't find serial :/

SiwatS commented 11 months ago

I'm also having the same issue

BobArctor82 commented 11 months ago

For me too, after the ebb sb2240 guide too

Drath1995 commented 11 months ago

Also having the same issue with my m8p v2.0 after following the SB2240 guide

Twdiap commented 11 months ago

I got a similar issue. When doing a ls /dev/serial/by-id the CB1 respond with the MCU ID but it does not work in printer.cfg mcu can't connect, BTT does not respond through Whatsapp..

gogok98 commented 10 months ago

I solved the problem by running: M8P V2.0 Board is BOOT0 + RESET --> DFU Mode change lsusb .... Bus 002 Device 003: ID 0483:df11 STMicroelectronics STM Device in DFU Mode .... sudo dfu-util -a 0 -D ~/klipper/out/klipper.bin --dfuse-address 0x08000000:force:mass-erase -d 0483:df11 <- run .... File downloaded successfully make flash FLASH_DEVICE=0483:df11 <- run .... ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0 Found canbus_uuid=d208fb6c3a9a, Application: Klipper Found canbus_uuid=d2fa09dcad7f, Application: CanBoot

wizhippo commented 9 months ago

Flashing https://github.com/bigtreetech/Manta-M8P/blob/master/V2.0/Firmware/M8P_V2_H723_bootloader.bin with the dfu then trying to use dfu-util for future updated seems not to work. Have to alway switch to dfu using the hardware buttons

cribbageSTARSHIP commented 5 months ago

I solved the problem by running: M8P V2.0 Board is BOOT0 + RESET --> DFU Mode change lsusb .... Bus 002 Device 003: ID 0483:df11 STMicroelectronics STM Device in DFU Mode .... sudo dfu-util -a 0 -D ~/klipper/out/klipper.bin --dfuse-address 0x08000000:force:mass-erase -d 0483:df11 <- run .... File downloaded successfully make flash FLASH_DEVICE=0483:df11 <- run .... ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0 Found canbus_uuid=d208fb6c3a9a, Application: Klipper Found canbus_uuid=d2fa09dcad7f, Application: CanBoot

I tried this, and it did not `$ 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 5 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

The-Kevin-27 commented 5 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

For those if us that don't speak German (I think) , can you please explain what is wrong with the pdf?

manotroll commented 5 months ago

Encontrei a solução para o problema em um vídeo no YouTube, Vou colocá-lo aqui para que você possa ver Há um erro na explicação em PDF no manual sobre como fazê-lo https://www.youtube.com/watch?v=k8DmTrY2GgY

Para aqueles que não falam alemão ( acho que ), você pode explicar o que há de errado com o pdf?

basically you shouldn't use boot loader