Significance of RESET

I have DigiSpark Rev 3.0. I was happily programming it from Arduino IDE v2, and then, it stopped working for me. I have several such boards and they still work fine: just this one.

At the time, I was trying to get it to respond to a button attached to pin5 with pullups enabled. I'd read elsewhere that the chip can "remember" why it was last reset. I also read that pin5 is RESET. So, I was wondering if I've put it into some mode where it's entering bootloader mode, instead of running my code?

Does RESET play any part in this? What exactly IS the process which runs when a chip with a bootloader becomes powered?

So, you have the same code running successfully on another board, but not on this one? It's possible that you fried that board. It's a lot easier to do with microcontrollers than you think. When you plug in the board is the board recognized by your PC? If not, then it's power regulator is most likely dead.

According to the documentation for the digispark, the reset pin simply resets the board. It does not put the board into bootloader mode. However, the documentation says this:


So, you can't use that pin as an I/O button. Only as reset.

not quite so, it can be used, but subsequent programming is possible only with the help of a high-voltage programmer

1 Like

I've flashed the same code to several devices. None worked. The one which has failed is the one which had hardware wired to the RESET pin. I removed the hardware, but the chip still won't take a new program.

The chip is completely ignored by the Windows Device Manager, but if I ground RESET before plugging it in, it's seen as an "unrecognised device".

I don't think it's a dead power regulator. The green LED comes on and, in any case, when powering from USB, the 7805 is not in use.

I'm off to stare at that. I think I just need the resistor and tranny to pull down the 12V: the Digisparks already have their regulators.
Thank you.

Dammit. Got the Flashing LED. It was an education. Not losing any sleep ... at $3. Thanks.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.