Enable ETM trace on IMXRT1052

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

Enable ETM trace on IMXRT1052

987 Views
michaelsmith
Contributor I

How to enable ETM trace on IMXRT1052 processor using Keil ARM MDK?  What registers (e.g. IOMUXC, CCM, etc) need to be configured to output the trace data.  How to set up the debug/trace dialog in Keil IDE?

0 Kudos
1 Reply

776 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Michael,

According with section 7.2.2.3 “Embedded Trace Macrocell (ETM)” of i.MXRT1052 Reference Manual, in case of requiring information about ETM, it is required referring to “ARM® CoreSight™ ETM-M7 Revision r0p1 Technical Reference Manual” document (link below), as it is part of the ARM debug features:

https://static.docs.arm.com/ddi0494/b/DDI0494.pdf

Additionally, you also need to ensure that you have a proper debug tool that supports ETM features, like the Segger J-Trace:

https://www.segger.com/products/debug-probes/j-trace/


Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos