C4.5
Programming and reading ETM trace unit registers
You program and read the ETM trace unit registers using the Debug APB interface.
The core does not have to be in debug state when you program the ETM trace unit registers.
When you are programming the ETM trace unit registers, you must enable all the changes at the same
time. Otherwise, if you program the counter, it might start to count based on incorrect events before the
correct setup is in place for the trigger condition.
To disable the ETM trace unit, use the TRCPRGCTLR.EN bit.
Start
Set main enable bit in
TRCPRGCTLR to 0b0
Read TRCSTATR
Is TRCSTATR Idle
0b1?
Program all trace
registers required
Set main enable bit in
TRCPRGCTLR to 0b1
Is TRCSTATR Idle
0b0?
End
Yes
Yes
No
No
Read TRCSTATR
Figure C4-2 Programming ETM trace unit registers
C4 Embedded Trace Macrocell
C4.5 Programming and reading ETM trace unit registers
100798_0300_00_en
Copyright © 2016–2018 Arm Limited or its affiliates. All rights
reserved.
C4-397
Non-Confidential
Содержание Cortex-A76 Core
Страница 4: ......
Страница 22: ......
Страница 23: ...Part A Functional description ...
Страница 24: ......
Страница 119: ...Part B Register descriptions ...
Страница 120: ......
Страница 363: ...Part C Debug descriptions ...
Страница 364: ......
Страница 401: ...Part D Debug registers ...
Страница 402: ......
Страница 589: ...Part E Appendices ...
Страница 590: ......