I'd like to debug multiple processors, similar to the multi-core debugging method described at segger.com/jlink.html, except that my processors are not on the same JTAG chain. Therefore, I'd like to use two J-Link adapters, one connected between my IAR EWARM C-Spy debugger and target system 1, and the other connected between J-Flash and target system 2.
However, it doesn't appear that the two J-Link adaptors can be distinguished on the USB. They both appear to be "Device 0"
{J-Flash: Options|Project Settings ...|General|Connection to J-Link
or
IAR: Project|Options|Debugger|J-Link/J-Trace|Connection|Communication}
For example, selecting "Device 1" in J-Flash when I have two J-Link adapters connected to my PC produces an error when I try to "Target|Connect" to my target system 2. The error message is "Can not connect to J-Link via USB. Failed to connect". Connecting to my target system 2 is possible when I select "Device 0" and either a) have one J-Link connected to my PC or b) the J-Link connected to target system 2 is the first J-Link enumerated on the USB.
Is there a way to debug using multiple J-Link adapters? I'm using the J-Link.sys driver that came with my IAR tool chain (IAR v4.42A).
Thanks,
-dean
However, it doesn't appear that the two J-Link adaptors can be distinguished on the USB. They both appear to be "Device 0"
{J-Flash: Options|Project Settings ...|General|Connection to J-Link
or
IAR: Project|Options|Debugger|J-Link/J-Trace|Connection|Communication}
For example, selecting "Device 1" in J-Flash when I have two J-Link adapters connected to my PC produces an error when I try to "Target|Connect" to my target system 2. The error message is "Can not connect to J-Link via USB. Failed to connect". Connecting to my target system 2 is possible when I select "Device 0" and either a) have one J-Link connected to my PC or b) the J-Link connected to target system 2 is the first J-Link enumerated on the USB.
Is there a way to debug using multiple J-Link adapters? I'm using the J-Link.sys driver that came with my IAR tool chain (IAR v4.42A).
Thanks,
-dean