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

Could not connect to the target chip

1,I use nrfgo studio and can download softdevice ,it is OK. 2,I use the s110 example,it runs ok too. 3,I modify something from the example ,and click debug(keil),but it just earse the chip,and download the xxx.hex file,and it stop debug automaticly, after that, My jlink could not connect to the target chip. I have done this (but didn't work): 1.use Jlink Commander,and enter command :r
it give the message:
Reset delay :0 ms Reset type UNKNOW: ??? 2.run cmd and enter command : nrfjprog --recover it give the message : Cannot connect to the nRF51 device

so,Is my chip (51822) damage?(seems likely "Locked"). I'm sure that the hardware is ok,and the connect line to the jlink is correctely! Is there some ways to recover ?

  • Are you programming a custom board with a voltage different from 3.3 V? Are you using the J-link lite from a Nordic nRF51-DK? The J-link lite can only program boards running at (or close to) 3.3 V. Please check the voltage on your board.

    What kind of connection do you have between the j-link and the board, is it a connector or is it a custom made interface? Any wires loose or switched/flipped around?

    If you open nRFgo studio and try to run recover from there, any success with this?

    What changes did you do to the code? Did you change anything in the Keil settings for the project?

Related