pyboard v1.1 stuck and not recognized #9175
Replies: 4 comments 8 replies
-
Your photo shows the Pyboard mounted on some other PCB. Could that board be affecting firmware loading? I would detach the Pyboard completely, link 3V3 to BOOT0 and try again. Firmware loading on a Pyboard is normally very straighforward. |
Beta Was this translation helpful? Give feedback.
-
In particular, you probably want to review this document: https://www.st.com/resource/en/application_note/cd00167594-stm32-microcontroller-system-memory-boot-mode-stmicroelectronics.pdf Chapter 29 covers the STM32F405. There are quite a few pins checked by the bootloader. The flow chart on page 133 shows the order that it looks for things. Disconnecting everything from the pyboard leaves all of the pins in a good state. Fashing new firmware doesn't erase the filesystem, so you may want to try doing a "mass erase". This script will perform a mass-erase using dfu-util: https://github.com/dhylands/upy-examples/blob/master/mass-erase.sh Doing the mass erase will completely wipe the flash of firmware and filesystem and then when you reflash the firmware and that firmware runs it will create a new empty file system. |
Beta Was this translation helpful? Give feedback.
-
Anyone has some clue? |
Beta Was this translation helpful? Give feedback.
-
The video isn't clear but the sequence should be to short the pins together with the board powered down, apply power with the short still in place, then remove the short. All the LEDs should be dimly lit with no flashing. If this isn't the case, the Pyboard hardware is suspect. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
(Made this question before in the forum, so reposting here)
Hello everyone.
I've bought a pyBoard v1.1 recently and it worked correctly with my code. However, after upgrading the firmware from v1.16 (not sure) to 1.19.1 through DfuSe without errors, the board got really weird, failing to connect to my program. After a bit of random resetting and filesystem resetting to no avail, I decided to try to upgrade again, wondering if I used a wrong firmware version. The upgrade was interrupted midway with an error.
Now the pyBoard is stuck with the blue and red LEDs flashing rapidly, and the yellow one faintly lit. The board is not identified at all by Windows, not even as malfunctioning device. My PC has the specific micropython drivers, but the other PC I tried does not. I tried different micro USB cables and tried connecting to another PC, but it won't show up. It also does not respond at all to the reset and USR buttons.
Finally tried connecting the 3V3 pin to the BOOT0 and to go into DFU mode (the instruction would normally be to also press reset after that, but I noticed this doesn't change the result); this makes the LEDs go off for a second 3 or 4 times, after which they all turn off and the board is finally recognized by Windows, but its instantly identified as a malfunctioning USB device. It does not show up on DfuSe as a DFU device.
Attached is a photo of the board (the LEDs lit on the photo are the flashing ones)
I thought I might try the pins connection with proper jumper cables, but I'm not sure about which would work. Are these okay for that?
https://www.amazon.co.jp/-/en/KKHMF-inches-Breadboard-Jumper-Female/dp/B072KH53HR/
Thank you for your time!
Beta Was this translation helpful? Give feedback.
All reactions