Method for Acquiring and Decoding ETM Trace Data Less Than 16 Bytes Just Before Program Break

I am implementing a debugger using Cortex-M33 ETM.

According to the Arm CoreSight Architecture Specification v3.0 “D4.4 Flush of trace data at the end of operation,” 16 bytes of data are supposed to be stored, but only Real Data is stored.

Please tell me how to find the ETM correction data output by the TPIU formatter at the 16th byte when the trace data after the program execution break is less than 16 bytes.

Parents Reply Children
No data