This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Difference between "press a reset button" and "nrfjprog -f NRF52 -r "

Hello,

I ported nordic heart rate example to nuttx. I have peer_manager_init() in my codes. After programming the device, I can connect and bond when I issue "nrfjprog -f NRF52 -r". However, if I press a reset button, it'll have a hardfault error. Without peer_manager_init(), both work fine. Could you please let me know what's the difference between "press a reset button" and "nrfjprog -f NRF52 -r"

Thanks, Mich

Related