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.
  • Unlikely anything to do with the 16MHz oscillator. JLink tries to connect with a default speed, if it fails it tries at the slowest speed which is 4KHz. You can specify the speed with another command line

    -speed 100
    

    for instance selects 100KHz. You can try different speeds to see what you can connect with.

    I would think if JLink can't connect at a good speed then you have some board problems, stray capacitance on the SWD lines, not really sure, not my area of expertise.

Reply
  • Unlikely anything to do with the 16MHz oscillator. JLink tries to connect with a default speed, if it fails it tries at the slowest speed which is 4KHz. You can specify the speed with another command line

    -speed 100
    

    for instance selects 100KHz. You can try different speeds to see what you can connect with.

    I would think if JLink can't connect at a good speed then you have some board problems, stray capacitance on the SWD lines, not really sure, not my area of expertise.

Children
No Data
Related