Debugging two targets simultaneously?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Debugging two targets simultaneously?

1,069件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdesbonnet on Tue Aug 12 16:16:07 MST 2014
I'd like to run/debug two targets simultaneously (it's a modem: one transmitting, the other receiving). Is this possible with the LPCXpresso IDE?  I'm running the latest version LPCXpresso IDE (7.3.0) on Linux and using two LPCXpresso LPC812 dev boards with the solder bridges removed as debug adapter devices.  On first pass: it seems not possible.

(I guess I can use two separate computers, or a virtual machine ... but wondering if there is a simpler solution).

Thanks,
Joe.
0 件の賞賛
返信
4 返答(返信)

1,012件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by g_mocken on Tue Sep 22 02:46:15 MST 2015

Quote: lpcxpresso-support

The workaround is as follows. You'll need to connect one probe at a time from power off. Connect the USB cable to the first probe, and initiate the first debug session. Once the first debug session is connected, you can then connect the USB cable to the second probe and start the second debug session.



I tried this workaround, but I always end up with "All SWD targets are currently connected to other debug sessions".
I use two LPCLink2 debug probes and I try to debug two boards with 407X using SWD and LPCxpresso 7.5.0.

The plural form in the error message "all SWD tagets" suggests that this setup is supported, but after I start the first debug session, the attempt to start the second one results in this error message saying that all targets are in use, although the second is clearly free. Note that both debug probes are working fine, but only one at a time.

So is this supported or not?
0 件の賞賛
返信

1,012件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Sep 23 16:48:00 MST 2014

I take this to mean you'd like to debug separate LPCXpresso LPC812 targets on the same computer. It's possible to do this using separate instances of the LPCXpresso IDE, and separate work spaces.The short story is the IDE cannot discretely identify the separate probes in any meaningful way. A USB location ID is available on some hosts, but it's not apparent to most users which USB port a particular location ID corresponds to.

The workaround is as follows. You'll need to connect one probe at a time from power off. Connect the USB cable to the first probe, and initiate the first debug session. Once the first debug session is connected, you can then connect the USB cable to the second probe and start the second debug session.

Regards,

LPCXpresso Support
0 件の賞賛
返信

1,012件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdesbonnet on Tue Sep 23 13:13:53 MST 2014
I must be missing something then. I've got two debugging probes (LPCXpresso LPC812 eval board with the solder bridge removed) plugged in right now and nowhere can I find UI to say "Debug this project on that probe". Instead it seems to semi-randomly select one of the probes when I click the Debug project option in the Quick Start panel. I'm using LPCXpresso v7.3.0 on Linux. 
0 件の賞賛
返信

1,012件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Aug 12 23:13:36 MST 2014
Yes, perfectly possible, and supported. What is the problem? Why do you think it is not possible?
0 件の賞賛
返信