You copied the Doc URL to your clipboard.

13.5.1. Controlling ETM trace unit programming

When programming the ETM trace unit registers, you must enable all the changes at the same time. For example, if the counter is reprogrammed, it might start to count based on incorrect events, before the trigger condition has been correctly set up.

You must use the ETM trace unit main enable in the TRCPRGCTLR to disable all trace operations during programming. See Programming Control Register. Figure 13.2 shows the procedure to follow.

Figure 13.2. Programming ETM trace unit registers

Figure 13.2. Programming ETM trace unit registers

The Cortex-A53 processor does not have to be in the debug state while you program the ETM trace unit registers.

Was this page helpful? Yes No