Using ITM on LPC13xx

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Using ITM on LPC13xx

560 次查看
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

标记 (3)
0 项奖励
回复
2 回复数

410 次查看
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 项奖励
回复

410 次查看
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 项奖励
回复