Hi,
The LPCXpresso IDE Instruction Trace Guide states that the instruction trace is not supported on the LPC13xx devices. However, as per the device datasheet, it seems like it may be supported -"Instrumentation Trace Macrocell allows additional software controlled trace." is mentioned as a feature of SWD.
Can you please confirm is it is supported by this chip?
Regards,
Prachi
Thanks. I now understand that LPC13xx does not support Instruction Trace since ETM or ETB are not implemented. However, ITM can be used if the SWO pin is connected.
Don't get confused between Instruction Trace and Instrumentation Trace Macrocell (ITM). . As it says in the manual
Note that instruction trace is not supported with LPC17xx MCUs (which do not implement an ETB) or LPC13xx/LPC15xx MCUs (which do not implement ETM or ETB).
ITM does not support Instruction Trace, for that you need the additional hardware in the processor core - ETM/ETB or MTB.