Debugging a dual M0/M4 project in LPCXpresso

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

Debugging a dual M0/M4 project in LPCXpresso

1,963 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JohnR on Sun Apr 15 07:25:00 MST 2012
I am using LPC_Link with a Diolan board containing a LPC4350 chip and debugging a project that should demonstrate inter-processor communications. This works fine with one debug window looking at either the M0 or M4 processors
but is it possible to set up the debug modes in LPCXpresso to see both processors at the same time.

So far if I have the debugger running on, say M4 and try open a second debug window on M0, I get an error message saying that the debugger is already
in use. The same message occurs if I try to run M0 on a second instance of LPCXpresso.

The help file for the Diolan project said

[I]To run this projects you need:
1. Start debugging IPC_DualDebug_M4 project.
2. Run second instance of IAR EWB and open IPC_DualDebug_M0 project.
3. Start debugging IPC_DualDebug_M0 project.[/I]

Is there any way to do this in LPCXpresso?

JohnR
0 项奖励
回复
8 回复数

1,905 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_USA on Mon Oct 01 16:30:50 MST 2012

Quote: NXP_USA
Sorry, this is a bit of a belated response, but Keil uVision supports dual core debug for M0/M4 on the LPC43xx family and has for several months.

Thanks,
-NXP



I just looked into this and dual-core debug is also supported by the IAR toolchain.

Thanks,
-NXP
0 项奖励
回复

1,905 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_USA on Mon Oct 01 16:24:26 MST 2012

Quote: frame
I guess the problem is not the LPCXpresso IDE per se, but the gdb server.
In this special case, you would need the second IDE instance to run another instance of the gdb server, probably listening on another port...

About two weeks ago, we had a NXP salesperson in the company, who told us in length that this does work in the latest Keil release...



Sorry, this is a bit of a belated response, but Keil uVision supports dual core debug for M0/M4 on the LPC43xx family and has for several months.

Thanks,
-NXP
0 项奖励
回复

1,905 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by andrea-peter on Wed May 30 02:39:29 MST 2012
Hi,
am I right in the assumption that if LPC Xpresso will support dual-core debugging then Red Suite 4 NXP edition will as well?

b.t.w. do you have any news about the release date of this feature?

Thanks,
Andrea.
0 项奖励
回复

1,905 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frame on Mon Apr 16 07:20:04 MST 2012
I probably confused this with other toolchains.
The issue stays probably the same...

Quote: CodeRedSupport
We do not use gdb server...

0 项奖励
回复

1,905 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Apr 16 06:39:51 MST 2012
We do not use gdb server...
0 项奖励
回复

1,905 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frame on Mon Apr 16 05:34:34 MST 2012
I guess the problem is not the LPCXpresso IDE per se, but the gdb server.
In this special case, you would need the second IDE instance to run another instance of the gdb server, probably listening on another port...

About two weeks ago, we had a NXP salesperson in the company, who told us in length that this does work in the latest Keil release...
0 项奖励
回复

1,905 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JohnR on Mon Apr 16 04:08:27 MST 2012
Thanks - that will make a world of difference to debugging these chips.

JohnR
0 项奖励
回复

1,905 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Apr 16 00:39:51 MST 2012
We are working on dual core debug support in the LPCXpresso IDE and it will be released soon.
0 项奖励
回复