I generally put a factory reset pin in projects that I check very early
on, which has saved my butt more than once, though it isn't fool proof.
It's just nice to have an early stage option to go back to a known state
when devices are in the field or even during development (and you can
reformat the NFFS partition, etc., to kill any config settings).
Also ... if you have something like BOOT_SERIAL enabled in your
bootloader, this also always gives you a safe option to recover a device
since the bootloader should always be stable, and will execute before
your app. Just enter serial bootloader, and you should have JLink access
again.
On 22/11/16 18:18, David G. Simmons wrote:
NRF52DK. I managed to get it reset. Timing is hard to get perfect. The 'Reset'
button is ignored.
I think this might point to the need for an os_suspend() or an os_stop()
function.
dg
On Nov 22, 2016, at 12:13 PM, marko kiiskila <[email protected]> wrote:
Usually I have a button. But I have had to use jumper wires also :)
What board are you using?
--
David G. Simmons
(919) 534-5099
Web <https://davidgs.com/> • Blog <https://davidgs.com/davidgs_blog> • Linkedin
<http://linkedin.com/in/davidgsimmons> • Twitter <http://twitter.com/TechEvangelist1> • GitHub
<http://github.com/davidgs>
/** Message digitally signed for security and authenticity.
* If you cannot read the PGP.sig attachment, please go to
* http://www.gnupg.com/ <http://www.gnupg.com/> Secure your email!!!
* Public key available at keyserver.pgp.com <http://keyserver.pgp.com/>
**/
♺ This email uses 100% recycled electrons. Don't blow it by printing!
There are only 2 hard things in computer science: Cache invalidation, naming
things, and off-by-one errors.