nRF Connect Programmer can’t detect J-Link emulator (“No emulator with connection info” error)

Hi 

I’m having trouble connecting to my nRF5340 dk using nRF Connect for Desktop (Programmer app). When I select the device, I get repeated errors like:



21:25:06.629	Initialising the bundled nrfutil device
21:25:08.724	Using the bundled core version for nrfutil device: 8.1.1
21:25:09.263	Using nrfutil-device version: 2.6.4
21:25:09.263	Using nrf-device-lib version: 0.17.35
21:25:09.263	Using nrfjprog DLL version: 10.24.2
21:25:09.263	Using JLink version: JLink_V7.94i
21:25:09.541	Getting serial port options from the persistent store for 001050032869.pc-nrfconnect-programmer
21:30:23.944	Selecting device with the serial number 001050032869
21:30:25.409	Error: Failed with exit code 1. Failed to device info one or more devices: * 1050032869: [Probe] Emulator error: No emulator with connection info 'Usb(JLinkSerialNumber(1050032869))' was found, code: Generic. Message: Operation device-info failed, [Probe] Emulator error: No emulator with connection info 'Usb(JLinkSerialNumber(1050032869))' was found.
21:30:25.410	Selected device with the serial number 001050032869
21:30:25.412	Using nrfutil device to communicate with target via JLink
21:30:26.672	Reading readback protection status for Application core
21:30:26.672	Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, [Probe] Emulator error: No emulator with connection info 'Usb(JLinkSerialNumber(1050032869))' was found
21:30:26.868	Error: Failed with exit code 1. One or more batch tasks failed: - [Probe] Emulator error: No emulator with connection info 'Usb(JLinkSerialNumber(1050032869))' was found, code: Generic. Message: Batch task protection-get failed, [Probe] Emulator error: No emulator with connection info 'Usb(JLinkSerialNumber(1050032869))' was found.
21:30:26.869	Error: Failed with exit code 1. One or more batch tasks failed: - [Probe] Emulator error: No emulator with connection info 'Usb(JLinkSerialNumber(1050032869))' was found, code: Generic. Message: Batch task protection-get failed, [Probe] Emulator error: No emulator with connection info 'Usb(JLinkSerialNumber(1050032869))' was found.

Details:

  • nrfutil-device version: 2.6.4

  • nrf-device-lib version: 0.17.35

  • nrfjprog DLL version: 10.24.2

  • J-Link version: V7.94i

  • Device serial number: 001050032869

  • The issue occurs when trying to read device info or program firmware.

  • The J-Link does not appear when I run nrfjprog --ids either.

  • I’ve tried multiple USB cables and ports, reinstalled J-Link drivers, and restarted nRF Connect with no luck.

It seems like the on-board debugger (J-Link) may have stopped enumerating over USB.

Thanks,
Chris

Parents Reply
  • Hi,

     

    The reason why I am asking is because older firmware running on the nRF-based DK requires the legacy driver. Newer firmware does not require this legacy driver, thus they will enumerate as expected.

    If anything has happened to your kit, it can potentially load an older failsafe firmware, which uses legacy usb driver. Thus, if you do not have this driver installed, it will only enumerate COM-port(s), and not the Segger debugger endpoint.

     

    Kind regards,

    Håkon

Children
Related