J-Link with Net+OS 7.4.2

I originally used a Raven debugger with my J-Tag modules with NET+OS 6.0b. I have upgraded many times, and some time back stopped using the debugger altogether, and it has been some years since I needed one.

Now I am trying to upgrade my project from the old command line tools to the ESP system. I’ve installed 7.4.1, upgraded it all the way to 7.4.2, and since I am now using Windows 7 64 bit, and don’t have a parallel port, I have bought a Digi JTAG Link.

If I create the Basic Sample application and click the bug icon, I get a window titled “J-Link GDB Server” that says “Starting J-Link GDB Server failed”.

To complicate matters, I also have IAR Embedded Workbench 5.20 installed. It uses another variant of the Segger debugger, but instead of the 3.88 that was installed with the NET+OS installer, it uses 4.14b. This works not only with the IAR J-Link, but with the Digi J-Link, as long as only one of them is installed. So I know the J-Link isn’t broken, it has to be something with ESP failing to launch the debugger.

If I start the 3.88 version of the GDB server manually, it looks like it downloads the application.

In the J-Link GDB Server console, I see “Cannot run program “C:\Program Files\SEGGER\DigiJTAGLink\JLinkGDBServer.exe” (in directory “C:\Program Files\SEGGER\DigiJTAGLink”): CreateProcess error=267, The directory name is invalid”

Any ideas of what I need to change to point it to the right directory? Presumably it should be “C:\Program Files (x86)\SEGGER\DigiJTAGLink” or maybe “C:\Program Files (x86)\SEGGER\JLinkARM_V414b” if the new one is Ok.

I found the file:
C:\Program Files\Digi\Digi ESP\plugins\com.digi.netos_1.4.1\plugin_customization.ini

I added the lines from a backup folder:





Digi JTAG Link Location

com.digi.netos.debug/jLinkServer=C:/Program Files (x86)/SEGGER/JLinkARM_V414b/JLinkGDBServer.exe

NET+OS 7.4 Product Key


Now it works as expected.