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

nrfjprog no debugger connected

I get "ERROR: There is no debugger connected to the PC with the given serial number." when I run e.g. nrfjprog --eraseall on command line.

Programming/debugging using VisualGDB or nRFgo Studio works

nrfjprog version: 9.8.1
JLinkARM.dll version: 6.12a

Windows 10

How to erase/program nrf52832 using nrfjprog on command line?

Parents
  • It's very weird that it gives the extra "with the given serial number". For me:

    nrfjprog --eraseall
    ERROR: There is no debugger connected to the PC.

    Also, try doing nrfjprog --ids, which will yield something like this:

    nrfjprog --ids
    50107526

    Then, you can do e.g

    nrfjprog --eraseall --snr 50107526

    If I do (in my specific case) erase with the wrong serial number provided, I get:

    nrfjprog --eraseall --snr 50101010
    ERROR: There is no debugger connected to the PC with the given serial number.

    Hence, it looks like you are providing the serial number in some way or another. 

Reply
  • It's very weird that it gives the extra "with the given serial number". For me:

    nrfjprog --eraseall
    ERROR: There is no debugger connected to the PC.

    Also, try doing nrfjprog --ids, which will yield something like this:

    nrfjprog --ids
    50107526

    Then, you can do e.g

    nrfjprog --eraseall --snr 50107526

    If I do (in my specific case) erase with the wrong serial number provided, I get:

    nrfjprog --eraseall --snr 50101010
    ERROR: There is no debugger connected to the PC with the given serial number.

    Hence, it looks like you are providing the serial number in some way or another. 

Children
Related