FYSETC / FYSETC-SPIDER

FYSETC Board - 3d printer motherboard for VORON and other open source project.
315 stars 149 forks source link

I cannot flash bootloader or any firmware to 2.3 #154

Open wanderlust-vlad opened 7 months ago

wanderlust-vlad commented 7 months ago

I wanted to move my setup (Spider 2.3 and Paspberry Pi Zero 2W) from USB connection to UART. Reconfiguration of Pi according to the FYSETC documentation was easy, but when I tried to reflash MCU - there trouble came. First I've tried to do it via sdcard - name of the file changed, led blinked...but host could not connect to the MCU. Then I tried to reflash via DFU (with STM32Cube programmer) - flashing was done but verification showed up some errors. Bootloader is gone, MCU is not detected by **ls /dev/serial/by-id/* I tried to flash it via DFU from my Pi, but dfu-util --list** shows this: dfu-util: Cannot open DFU device 0483:df11 found on devnum 3 (LIBUSB_ERROR_ACCESS)

When I try to flash bootloader (taken from this Github), I receive the same verification errors as during flashing the firmware. image

How can I finally flash my MCU?

JD13xs commented 7 months ago

Did you set the jumpers for DFU mode?

I find DFU mode easier.

On Thu, Apr 4, 2024, 2:53 PM wanderlust-vlad @.***> wrote:

I wanted to move my setup (Spider 2.3 and Paspberry Pi Zero 2W) from USB connection to UART. Reconfiguration of Pi according to the FYSETC documentation was easy, but when I tried to reflash MCU - there trouble came. First I've tried to do it via sdcard - name of the file changed, led blinked...but host could not connect to the MCU. Then I tried to reflash via DFU (with STM32Cube programmer) - flashing was done but verification showed up some errors. Bootloader is gone, MCU is not detected by *ls /dev/serial/by-id/* I tried to flash it via DFU from my Pi, but dfu-util --list* shows this: dfu-util: Cannot open DFU device 0483:df11 found on devnum 3 (LIBUSB_ERROR_ACCESS)

When I try to flash bootloader (taken from this Github), I receive the same verification errors as during flashing the firmware. image.png (view on web) https://github.com/FYSETC/FYSETC-SPIDER/assets/128132691/e7383403-434d-4d40-8fb2-b2c4df453e42

How can I finally flash my MCU?

— Reply to this email directly, view it on GitHub https://github.com/FYSETC/FYSETC-SPIDER/issues/154, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ3HKG57VVGFSF36V7BJI2LY3WOSDAVCNFSM6AAAAABFX2JA22VHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZDMMRYHE4DEMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>