Content originally posted in LPCWare by lucas.prater on Wed Sep 23 12:49:44 MST 2015
I have followed the sprawling and confusing instructions for setting up J-Link with LPCXpresso to the T. I am using Windows 7 and I have encountered a difference for windows. The Mac version (the one in the segger tutorial) uses JLinkGDBServer.exe as the install location but the Windows version must use JLinkGDBServerCL.exe. Debugger Configuration is supposed to auto-populate its own portable, abbreviated version of that location in the debug configuration window but since I'm using the windows version, JLinkGDBServerCL.exe it doesn't do that. So in Debug Config under the Debugger tab, I've put C:\Program Files\SEGGER\JLink_V502d\JLinkGDBServerCL.exe in the Executable box under J-Link GDB Server Setup and I've put the generic portable abbreviation in the GDB Client Setup Executable box: ${cross_prefix}gdb${cross_suffix}
This configuration results in a successful debug.
However, when I try to perform program flash I get this error: "No compatible emulators available. They may be disconnected, not powered, already in use or not compatible with this target"
The J-Link probe is powered, it is not disconnected, it is not already in use. And my target LPC2378 chip is in the compatible hardware list. So none of these errors is true. I can't find any reason why it would be giving me this message. I've been trying for several days to make this work.
I'm using Windows 7, The yellow J-link SEGGER probe, an NXP LPC2378 chip and LPCXpresso.
Has anybody else tried to use the Segger J-Link with LPCXpresso and if so, is it even possible? How did you do it?