More Instruction Tracing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

More Instruction Tracing

1,665 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ronkrem on Thu Dec 04 14:54:22 MST 2014
I have read elsewhere that instruction tracing is not part of standard LPCXpresso. However, I need to trace the instructions leading to an obscure M3 hard fault interrupt. What software/hardware that is readily available provides instruction tracing in M3 processors? Regards, Ron
0 Kudos
Reply
4 Replies

1,653 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ronkrem on Fri Dec 05 17:02:12 MST 2014
Would the OM13056 (LPC1549 Xpresso v2) be suitable? I have one here.
0 Kudos
Reply

1,653 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Dec 05 04:41:00 MST 2014
The LPC18xx family contains a Cortex-M3 that includes an ETB (Embedded Trace Buffer - uses local RAM to store the instruction trace).

Instruction tracing with ETB is supported in LPCXpresso (see Chapter 15 and section 15.2.4 of the LPCXpresso User Guide for details).

You can use LPC-Link1 or LPC-Link2 for debugging and collecting the Trace data.

There are lots of LPC18xx evaluation/development boards available.

So, buy an LPC18xx board, and an LPC-Link2 and you can debug with LPCXpresso and collect the instruction trace.

I've attached a screenshot, so you can see some example output from an instruction trace

HTH
0 Kudos
Reply

1,653 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ronkrem on Thu Dec 04 17:13:28 MST 2014
My problem is associated with PendSV and SVC, so any M3 chip will do, as long as I can buy an LPCXpresso compatible development board for testing.
0 Kudos
Reply

1,653 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Dec 04 15:38:08 MST 2014
Which part? Instruction tracing is only available on parts with either ETM, or ETB which is an optional component from ARM and so is not available on all parts from NXP.
0 Kudos
Reply