A.1.2. Resource control registers

This section contains register tables for PTM resource control. These are Table A.4 to Table A.18.

Table A.4. Trace Start/Stop Resource Control Register, 0x006

Bits

Description

[31:16]

When a bit is set to 1, it selects a single address comparator 16 to 1 as stop addresses. For example, bit [16] set to 1 selects single address comparator 1.

[15:0]

When a bit is set to 1, it selects a single address comparator 16 to 1 as start addresses. For example, bit [0] set to 1 selects single address comparator 1.


Table A.5. TraceEnable Control Register, 0x009

Bits

Description

[25]

Trace start/stop enable:

0

Tracing is unaffected by the trace start/stop logic.

1

Tracing is controlled by trace on and off addresses.

[24]

Include/exclude control:

0

Include. The specified resources indicate the regions in the tracing can occur. When outside this region tracing is prevented.

1

Exclude. The resources specified in bits [27:0] indicate regions to be excluded from the trace. When outside an exclude region, tracing can occur.

[23:8]

Reserved.

[7:0]

When a bit is set to 1, it selects an address range comparator 8 -1 for include/exclude control. For example, bit [0] set to 1 selects address range comparator 1.


Table A.6. FIFOFULL Level Register, 0x00B

BitsAccess

Description

[7:0]

Read/Write

The number of bytes left in the FIFO, below which the FIFOFULL signal is asserted.


Table A.7. Address Comparator Value Registers, 0x010-0x01F

Bits

Description

[31:0]

Address value


Table A.8. Address Comparator Access Type Registers, 0x020-0x02F, PFTv1.0

Bits

Description

[11:10]

Secure mode control:

b00

Security level ignored.

b01

Match only if in Non-secure state.

b10

Match only if in Secure state.

b11

Reserved.

[9:8]

Context ID comparator control:

b00

Ignore Context ID comparators.

b01

Address comparator matches only if Context ID comparator value 1 matches.

b10

Address comparator matches only if Context ID comparator value 2 matches.

b11

Address comparator matches only if Context ID comparator value 3 matches.

[2:0]

Access type, Read only:

b001

Instruction execute.


Table A.9. Address Comparator Access Type Registers, 0x020-0x02F, PFTv1.1

Bits

Description

[15]

VMID control:

b0

Ignore VMID

b1

Match only if VMID matches value of ETMVMIDCVR.

[14]

Hyp mode control:

b0

Ignore Hyp mode

b1

Match only if processor is operating in Hyp mode.

[13:10]

Mode control

For all implementations:

b0000

Match all modes.

b0001

Match all Non-secure modes.

b0100

Match all modes except Secure User.

b0101

Match all modes except Secure Privileged.

Implementations with Security Extensions:

b0010

Match all secure modes.

b0011

No match.

b0110

Match Secure Privileged mode only.

b0111

Match Secure User mode only.

b1000

Match all modes except Non-secure User.

b1001

Match Non-secure Privileged mode only.

b1100

Match all Privileged modes.

b1101

Match Secure User and Non-secure Privileged modes only.

b1010

Match all modes except Non-secure Privileged.

b1011

Match Non-secure User mode only.

b1111

Match all User modes.

[9:8]

Context ID comparator control:

b00

Ignore Context ID comparators.

b01

Address comparator matches only if Context ID comparator value 1 matches.

b10

Address comparator matches only if Context ID comparator value 2 matches.

b11

Address comparator matches only if Context ID comparator value 3 matches.

[2:0]

Access type, Read only:

b001

Instruction execute.


Table A.10. Counter Reload Value Registers, 0x050-0x053

Bits

Description

[15:0]

Counter reload value


Table A.11. Counter Value Registers, 0x05C-0x05F

Bits

Description

[15:0]

Current counter value


Table A.12. Current Sequencer State Register, 0x067

Bits

Description

[1:0]

Possible values are:

b00

State 1.

b01

State 2.

b10

State 3.


Table A.13. Locations of the Context ID Comparator Value Registers

Context ID Comparator value

Location
10x6C
20x6D
30x6E

Table A.14. Context ID Comparator Value Registers, 0x06C-0x06E

Bits

Description

[31:0]

Context ID value


Table A.15. Context ID Comparator Mask Register, 0x06F

Bits

Description

[31:0]

Context ID mask value


Table A.16. VMID Comparator Value Register, 0x090, from PFTv1.1

Bits

Description

[7:0]

Virtual Machine ID.


Table A.17. Synchronization Frequency Register, 0x078

Bits

Description

[11:0]

Synchronization frequency. Default value is 1024.


Table A.18. Extended External Input Selection Register, 0x07B

BitsDescription
[31:24]Fourth extended external input selector
[23:16]Third extended external input selector
[15:8]Second extended external input selector
[7:0]First extended external input selector

Copyright © 1999-2002, 2004-2008, 2011 ARM. All rights reserved.ARM IHI 0035B
Non-ConfidentialID060811