Instruction Trace with LPC15xx

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

Instruction Trace with LPC15xx

159 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Tue May 06 03:17:02 MST 2014
UM is promising Instruction Trace:


Quote:
43.2 Features
...
• Trace port provides CPU instruction trace capability. Output via a Serial Wire Viewer.
...


LPCXpresso Help doesn't list LPC15xx as supported target:

Quote:

Supported targets
Instruction Trace is not supported on all targets. It only works on targets which have the necessary hardware.
Instruction trace is currently supported on the following targets from NXP:

LPC8xx (MTB)

LPC11U6x (MTB)

LPC18xx (ETM / ETB)

LPC43xx (ETM / ETB)



So does LPC15xx not provide Instruction Trace or isn't it implemented in LPCXpresso?
0 Kudos
1 Reply

132 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue May 06 03:47:18 MST 2014
LPC15xx does not provide the ETM/ ETB (Embedded Trace Macrocell  Embedded Trace Buffer) that are required for Cortex-M3 instruction trace. This need clarifying in the LPC15xx User Manual - I'll pass on to our MCU docs people.

Thus you are limited to SWO trace functionality (i.e. code profiling, interrupt tracing, etc).  For more details see the LPCXpresso User Guide - but note that this functionality is only supported at present using debug connections made via the Red Probe+ debug probe, not LPC-Link / LPC-Link2.

Regards,
LPCXpresso Support
0 Kudos