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

NRF52 nrfjprog: ERROR: There is no debugger connected to the PC

------------ EDIT Sep-21-2017 ----------------

I was able to work around the issue by trying on a Linux distribution. Here is a written guide to the package install and board connect process on Ubuntu 16.04: Warning! the guide is written for a total beginner to Linux/git/terminal and the software.

nRF52_with_Openocd.docx


Hello!

I am attempting to flash firmware to a nRF52 using the BMD-300-eval dev board using an JLink connection, also using openOCD. My software versions are as follows:

nrfjprog: version 8.5.0 JLinkARM.dll: version 6.20a (also tried 5.12f) OpenOCD version 0.10.0 nRF52_sdk: version 11.0.0

J-link USB driver: libwdi version 6.1.7600.16385

This has been working on another computer, but I am having trouble on my Windows 10 Home edition laptop.

After merging some binaries for the nRF5_SDK_11.0.0 BLE_peripheral example for the pca 10040, and successfully building the example, I tried to flash with the following command and output:

image of the command "mingw32-make flash_combined" and the resulting error "invalid command name nrf52"

After researching the "invalid command name nrf52" error, I was lead to try instead "nrfjprog" commands. My next attempt was using basic nrfjprog commands found at:

infocenter.nordicsemi.com/index.jsp

The results were:

nrfjprog commands "nrfjprog -f NRF52 --program combined.hex --chiperase" with the error "ERROR there is no debugger connected to the PC"

This error is strange because I CAN see the Segger J-link in my Windows "Device Manager" window. The driver version is stated above. I also tried switching and updating the drivers. Jlink Commander cannot establish a connection either.

Any help would be very much appreciated! Thanks!

-------------------------------------------- EDIT -------------------------------------------

Here are images of the properties and detail options as seen in Device Manager: nRF52 Jlink Debugger Issue.pdf

Related