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