Using ITM on LPC13xx

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

Using ITM on LPC13xx

430 Views
prachipanse
Contributor III

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

Tags (3)
0 Kudos
2 Replies

280 Views
prachipanse
Contributor III

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.   

0 Kudos

280 Views
thefallguy
Contributor IV

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.

0 Kudos