This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ETM trace, can the contents of memory accesses be seen

Hi, our verification activities forbid code instrumentation or execution control, we only test production code. ETM tracing looks good but it is instruction trace. Our testing needs to watch memory or register access read or write. With ETM we should see the CPU access a hardware register or a memory location. My question is will we be able to see the contents of that memory or register. Let's say we want to snoop the contents of a status register and we know the CPU will check it at regular intervals. When it checks it can we see the contents of the status register just viewing the decoded ETM trace data alone? Note we are using a Cortex M4 with no ETB support but it does support ETM 4 pin. We would like to automate this using C# code rather than go through an IDE.