LPC55xx ITM global timestamp

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

LPC55xx ITM global timestamp

1,328 Views
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

Labels (1)
0 Kudos
Reply
2 Replies

1,325 Views
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 Kudos
Reply

1,322 Views
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