| |||
| Home > Program Trace Macrocell Programmers Model > Power-down support > Guidelines for the PTM trace registers to be saved and restored | |||
Table 3.14 defined the split of PTM registers into trace and management registers.
The registers that are included in the save and restore mechanism is implementation defined. However, the mechanism must include all registers whose contents are lost in a power-down. Table 3.82 gives a list of the PTM registers typically included in the save and restore mechanism.
Table 3.82. Typical list of PTM registers to be saved and restored
| Register number | Register offset | Register name |
|---|---|---|
0x000 | 0x000 | Main Control Register, ETMCR |
0x002 | 0x008 | Trigger Event Register, ETMTRIGGER |
0x004 | 0x010 | Status Register, ETMSR |
0x006 | 0x018 | TraceEnable Start/Stop Control Register, ETMTSSCR |
0x008 | 0x020 | TraceEnable Event Register, ETMTEEVR |
0x009 | 0x024 | TraceEnable Control Register, ETMTECR1 |
0x00B | 0x02C | FIFOFULL Level Register, ETMFFLR |
0x010-0x01F | 0x040-0x07C | Address Comparator Value Registers, ETMACVRn |
0x020-0x02F | 0x080-0x0BC | Address Comparator Access Type Registers, ETMACTRn |
0x050-0x053 | 0x140-0x14C | Counter Reload Value Registers, ETMCNTRLDVRn |
0x054-0x057 | 0x150-0x15C | Counter Enable Event Registers, ETMCNTENRn |
0x058-0x05B | 0x160-0x16C | Counter Reload Event Registers, ETMCNTRLDEVRn |
0x05C-0x05F | 0x170-0x17C | Counter Value Registers, ETMCNTVRn |
0x060-0x065 | 0x180-0x194 | Sequencer State Transition Event Registers, ETMSQabEVR |
0x067 | 0x19C | Current Sequencer State Register, ETMSQR |
0x068-0x06B | 0x1A0-0x1AC | External Output Event Registers, ETMEXTOUTEVRn |
0x06C-0x06E | 0x1B0-0x1B8 | Context ID Comparator Value Registers, ETMCIDCVRn |
0x06F | 0x1BC | Context ID Comparator Mask Register, ETMCIDCMR |
0x078 | 0x1E0 | Synchronization Frequency Register, ETMSYNCFR |
0x07B | 0x1EC | Extended External Input Selection Register, ETMEXTINSELR |
0x07E | 0x1F8 | Timestamp Event Register, ETMTSEVR |
0x07F | 0x1FC | Auxiliary Control Register, ETMAUXCR[a] |
0x080 | 0x200 | CoreSight Trace ID Register, ETMTRACEIDR |
0x090 | 0x240 | VMID Comparator Value Register, ETMVMIDCVR[a] |
0x3E8 | 0xFA0 | Claim Tag Set Register, ETMCLAIMSET[a] |
0x3E9 | 0xFA4 | Claim Tag Clear Register, ETMCLAIMCLR[a] |
[a] From PFTv1.1. | ||