LPC55xx ITM global timestamp

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC55xx ITM global timestamp

1,336件の閲覧回数
Bacterius
Contributor II

Hi,

I am working on enabling ITM features on an LPC55xx (LPC5504). It works but I have a problem with global timestamps. I am receiving global timestamp packets sent by the device (GTS1/GTS2) but they always have zero payload. Local timestamps are okay so I don't think it is an ITM/DWT configuration problem.

Does LPC55xx support global timestamps in tracing? If so, how are they enabled?

Thanks

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,333件の閲覧回数
danielholala
Senior Contributor II
I'm wondering what exactly do you mean with "ITM features"?

I only know how to output text to SWO ITM console of MCUXpresso IDE, as described here:

https://www.nxp.com/docs/en/quick-reference-guide/MCUXpresso_IDE_SWO_Trace.pdf
0 件の賞賛
返信

1,330件の閲覧回数
Bacterius
Contributor II

It might be more the DWT but it allows to output things like PC sampling, exception entry/exit, local/global timestamps over the SWO pin. For example https://interrupt.memfault.com/blog/profiling-firmware-on-cortex-m