bigtreetech / Manta-M5P

58 stars 8 forks source link

Error flashing new boot klipper version #31

Open pb-butcher opened 1 week ago

pb-butcher commented 1 week ago

I tried to flash my Manta M5P because I wanted to use CAN, which i did not setup correctly on the first flash. But after i used DFU Mode and tried to flash (make flash FLASH_DEVICE=0483:df11), this comes up and now, the board could not be found:

`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 = 32576 Download [=========================] 100% 32576 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 `

But on the positive side, the CAN port is now be found.

Settings for the firmware: Micro-Controller: STMicroelectronics STM32 Processor Model: STM32G0B1 Bootloader Offset: 8KiB bootloader Clock Reference: 8 Mhz crystal Communication Interface: USB to CAN bus Bridge (USB on PA11/PA12) CAN bus Interface: PD0/PD1

pb-butcher commented 1 week ago

If i try flashing with dfu-util -R -a 0 -s 0x08000000:mass-erase:force -D ~/klipper/out/klipper.bin absolutly nothing is recognized on the board