DFU driver no more mounting - white led remains on #12979
-
I tried to write custom firmware and first time i tried flash using rst button and user button to enter dfu mode worked but flash failed at very beginning. pyboard restart correctly (pyflash is mounted and com port also) but i can no more enter dfu mode... white led remains stuck
Also I tried to execute below one on the console its resetting and entering to white led remains stuck
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 11 replies
-
@vijay-packetp Which pyboard do you have? v1.x or Pyboard-D. The former uses the st bootloader, the latter uses a custom bootloader (mboot) but you can still enter the st bootloader if necessary. What you're seeing could maybe be explained by a mixup with flashing firmware for the wrong bootloader type. |
Beta Was this translation helpful? Give feedback.
-
@jimmo Thank You for response, To address the issue and to get into DFU mode, I tried the following steps:
Need help getting back to DFU mode; your suggestions are welcome. |
Beta Was this translation helpful? Give feedback.
-
I did
|
Beta Was this translation helpful? Give feedback.
-
@jimmo
|
Beta Was this translation helpful? Give feedback.
-
Many thanks for the provided solution! It was very helpful, above commands were successful and mboot updated
able to go for DFU mode,
How do I go about flashing my custom firmware now, using only the WBUS-DIP28 adaptor? Additionally, considering your mention that mboot cannot overwrite itself, is this a specific issue with PYBD_SF3? |
Beta Was this translation helpful? Give feedback.
I don't completely understand this because mboot isn't supposed to be able to overwrite itself, but I suspect your best bet is to attempt to re-install mboot. Normally you'd do this via the st bootloader, but you can also do this from MicroPython using fwupdate.py