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

nRF52832 does not work after nrfjprog --pinreset

Hello,

I have board pca10040 V 0.9.0 2015.41. When I program nrf and then issue a nrfjprog --reset -f NRF52 everything works fine, however when I execute nrfjprog --pinreset -f NRF52 after programming it looks like nrf does not work. I am not even able to reset nrf using BOOT/RESET button, I have to turn off power and turn it on again and then nrf starts working and BOOT/RESET button also starts working after power reset. Applying nrfjprog --reset -f NRF52 after pinreset also brings nrf52832 back to work.

Do I miss something or is it some kind of hardware bug?

Parents
  • I think it is not about about JLinkARM.dll. After --eraseall CONNECT bit in PSELRESET registers are set to DISCONNECTED. I have to first write these registers and then issue soft --reset and then again --pinreset to make --pinreset work. Can you please confirm that --pinreset triggered by debugger does not work if CONNECT bits in PSELRESET registers are set to DISCONNECTED, or could you ask any other nordic employee that would be able to confirm that?

Reply
  • I think it is not about about JLinkARM.dll. After --eraseall CONNECT bit in PSELRESET registers are set to DISCONNECTED. I have to first write these registers and then issue soft --reset and then again --pinreset to make --pinreset work. Can you please confirm that --pinreset triggered by debugger does not work if CONNECT bits in PSELRESET registers are set to DISCONNECTED, or could you ask any other nordic employee that would be able to confirm that?

Children
No Data
Related