Is it possible to use HW tracing from software?
Means enable trace and read the contents of the ETB from the code running on the same core.
If you are using a Cortex-A9 then it uses Program Flow Trace (PFT) to provide instruction flow (trace) via a Program Trace Macrocell (PTM).
To program up the PTM to trace all, take a look here :
Of course, you will have to look at the NXP documentation to find the memory addresses. And I am assuming you are doing this under an RTOS, otherwise if it's Linux then use CSAL as described earlier.
strange, your earlier answer (and my reply to it) vanished. And with it the link to the CSAL, so I repeat it here:github.com/.../CSAL
Yes, I also see the same problem as well. I will see what had happened internally. Please bear with me.
In the meantime I hope all the previous information helped.
View all questions in Cortex-A / A-Profile forum