2 LPC-Link on one PC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

2 LPC-Link on one PC

916 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dreschpe on Sun Feb 12 14:40:49 MST 2012
I try to debug my CAN-connection between two boards. Is there a way to change the second instance of LPCXresso to use a different gdb port ?

Peter
0 项奖励
回复
3 回复数

908 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Mon Feb 20 13:53:18 MST 2012
Hello dreschpe,

Using two LPCXpresso seems to work after starting two programms with
connecting and booting each LPC-Link individually.

But in practice always leave one of the two LPCXpresso's in run/suspend mode. Then debugging and running of the other one is possible.

If you [B]stopped[/B] them [B]both[/B], an error message will appear after debugging one of the two.
The [B]workaround[/B] for that is, disconnect the one that you are not debugging.

Difficult story, but for debugging 2 nodes on a bus, it can be handy...
0 项奖励
回复

908 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dreschpe on Mon Feb 13 14:58:25 MST 2012
The first debug session is running. If I start the second, the other LPCLink is found and initialised, but then I get a error. It looks like the second instance is also using the first LPCLink...
0 项奖励
回复

908 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Mon Feb 13 02:12:39 MST 2012
LPCXpresso does not use gdb in that way. LPCXpresso will happily debug via two LPC-Links at the same time.

The only slight issue is that you must connect and boot each LPC-Link individually.
0 项奖励
回复