Page 1 of 1

Stuck with green LED on constantly?

Posted: Wed Apr 17, 2019 10:16 pm
by farrrell504
I'm guessing I got one of these boards in a weird state as now the green LED next to the reset button is constantly on and the board no longer appears as a drive or com port. I've tried hitting the reset button and connecting the boot pin to 3v3 then hitting the reset button as well. Does anyone have any thoughts on what's going on with the board? And is there any documentation on the various states the board can be in? I've checked https://pybd.io/ but there's no mention of this.

Re: Stuck with green LED on constantly?

Posted: Thu Apr 18, 2019 8:19 am
by rhubarbdog
Try holding down the USR switch and reset. Release reset. Release USR when the light is blue to do a factory reset of your flash.

Re: Stuck with green LED on constantly?

Posted: Fri Apr 19, 2019 1:27 am
by farrrell504
I'll try this out when I get to work in the morning! Thank you!

How did you know to recommend this sequence? Is there documentation somewhere that I'm overlooking?

Re: Stuck with green LED on constantly?

Posted: Fri Apr 19, 2019 3:25 am
by rhubarbdog
I read it in this thread
[Edit]
Have you tried from a serial terminal to get a REPL prompt and type

Code: Select all

import pyb
pyb.LED(2).off()

Re: Stuck with green LED on constantly?

Posted: Tue Apr 23, 2019 2:06 am
by farrrell504
The holding down the buttons and releasing in that order unfrooze the board! Wish there was some documentation on this stuff though...

Re: Stuck with green LED on constantly?

Posted: Tue Apr 23, 2019 6:05 am
by rhubarbdog
There will be. Pyboard d is really new