This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRFStudio can not connect to J-Link

I want to bring up my own new board, but the nRFStudio can not connect to the J-Link, please check the picture. I connect 4 lines from board to J-Link, including VCC, GND, SWDIO, SWCLK, and I have already checked the signal of oscillator (16MHz), everything is fine, I do not know what I should do now, please help. P.S.If I click the Recover button, the ERROR dialog showed.

image description image description image description image description

Parents
  • Hi

    • Do you have a power supply on your board? The debugger is not capable of supplying power.
    • What nRF51 version and build number do you use? Some IC revisions requires an external pull down resistor on the SWDCLK line. See the Product anomaly document to find out which IC revisions are affected by this.
    • Are you absolutely sure that you have connected everything correctly? If you want us to have a look at your design feel free to contact us at our support portal at nordicsemi.com. (Or you can post your design here if you are comfortable with that)
    • Your J-Link driver seems to be somewhat outdated. Try to install the latest drivers: www.segger.com/jlink-software.html. You should also download the latest version of nRFgo Studio if you haven't already.
  • in the latest picture you posted it seems JLink hasn't been told what kind of board and what interface to look on, which means it doesn't send the right sequence to the nrf51 and may not connect.

    Why not try from the command line after closing nrfStudio (so it releases the segger).

    cd c:\Program Files (x86)\SEGGER\JLink_V498b
    .\JLink.exe -if swd -device nrf51
    

    You may have to change the path if your JLink software is somewhere else, that's where it is on my windows emulator. If that doesn't work with a powered, operational board, I'd go back and check the pins and connections all over again.

Reply
  • in the latest picture you posted it seems JLink hasn't been told what kind of board and what interface to look on, which means it doesn't send the right sequence to the nrf51 and may not connect.

    Why not try from the command line after closing nrfStudio (so it releases the segger).

    cd c:\Program Files (x86)\SEGGER\JLink_V498b
    .\JLink.exe -if swd -device nrf51
    

    You may have to change the path if your JLink software is somewhere else, that's where it is on my windows emulator. If that doesn't work with a powered, operational board, I'd go back and check the pins and connections all over again.

Children
No Data
Related