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

How to run 'nrfjprog --recover'

Hi, 

I am trying to program my custom PCB using nRF 52 DK (I am using PCA10040 , nrf52382) as I have done countless times before. But suddenly embedded studio is giving me the following error : 

"failed to connect to target no idcode detected"  no matter which port I use. 

I do see JLINK(); on my computer. 

I searched the forum and the most common solution is reprogramming the DK using 'nrfjprog --recover'  but I do not know how to run this recover command using embedded studio...? I am using a 64 bit Windows OS and do not see any NRFX command line tool installations for that over here: https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf5x_cltools%2FUG%2Fcltools%2Fnrf5x_installation.html

When I run the nrfjprog --recover command on my Windows command console it's not recognized. 
  

I did write my question as a comment on one of the posts already asking this question but those are old and I"m not sure if anyone's going to see my question. Any suggestions or guidances are much appreciated. 

Thank you! 

Parents Reply Children
Related