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

How to connect pca10040 debugger to windows powershell bash?

Hi,

Win10 can run a subsystem, which is Ubuntu for me, in the powershell environmental. But I can not connect the pca10040 debugger. it show error when I try to erase the board.

ERROR: There is no debugger connected to the PC.
Parents
  • I assume nrfjprog works only on Windows because it uses SEGGER DLLs and others. These rely on SEGGER J-Link driver which connects J-Link OB (on nRF5x DK) over USB with PC host. Not sure how that would work in Linux subsystem of Win10... But once you have Windows why you don't use that directly? Alternatively follow guide about how to flash on Linux (by using OpenOCD I suppose) without nrfjprog and SEGGER tools.

Reply
  • I assume nrfjprog works only on Windows because it uses SEGGER DLLs and others. These rely on SEGGER J-Link driver which connects J-Link OB (on nRF5x DK) over USB with PC host. Not sure how that would work in Linux subsystem of Win10... But once you have Windows why you don't use that directly? Alternatively follow guide about how to flash on Linux (by using OpenOCD I suppose) without nrfjprog and SEGGER tools.

Children
Related