TAD - Trace and debug control

Configuration interface for trace and debug

Please refer to the Trace section for more information about how to configure the trace and debug interface.

Note: Although there are PSEL registers for the trace port, each function can only be mapped to a single pin due to pin speed requirements. Setting the PIN field to anything else will not have any effect. See Pin assignment chapter for more information

Registers

Instances

InstanceBase addressTrustZoneSplit accessDescription
MapAttDMA
TAD0xE0080000HFSNANoTrace and debug control

Register overview

RegisterOffsetTZDescription
TASKS_CLOCKSTART0x000Start all trace and debug clocks.
TASKS_CLOCKSTOP0x004Stop all trace and debug clocks.
ENABLE0x500Enable debug domain and aquire selected GPIOs
PSEL.TRACECLK0x504Pin configuration for TRACECLK
PSEL.TRACEDATA00x508Pin configuration for TRACEDATA[0]
PSEL.TRACEDATA10x50CPin configuration for TRACEDATA[1]
PSEL.TRACEDATA20x510Pin configuration for TRACEDATA[2]
PSEL.TRACEDATA30x514Pin configuration for TRACEDATA[3]
TRACEPORTSPEED0x518

Clocking options for the Trace Port debug interface

Reset behavior is the same as debug components

This register is retained.

TASKS_CLOCKSTART

Address offset: 0x000

Start all trace and debug clocks.

Note: The TASKS_CLOCKSTART task asserts the CTRL/STAT.CSYSPWRUPACK and CTRL/STAT.CDBGPWRUPACK (see Arm CoreSight SoC-400 Technical Reference Manual, revision r3p2).
Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWTASKS_CLOCKSTART

Start all trace and debug clocks.

Note: The TASKS_CLOCKSTART task asserts the CTRL/STAT.CSYSPWRUPACK and CTRL/STAT.CDBGPWRUPACK (see Arm CoreSight SoC-400 Technical Reference Manual, revision r3p2).
Trigger1Trigger task

TASKS_CLOCKSTOP

Address offset: 0x004

Stop all trace and debug clocks.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWTASKS_CLOCKSTOPStop all trace and debug clocks.
Trigger1Trigger task

ENABLE

Address offset: 0x500

Enable debug domain and aquire selected GPIOs

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWENABLE
DISABLED0Disable debug domain and release selected GPIOs
ENABLED1Enable debug domain and aquire selected GPIOs

PSEL.TRACECLK

Address offset: 0x504

Pin configuration for TRACECLK

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
ARWPINPin number
Traceclk21

TRACECLK pin

Note: Only this pin is valid
BRWCONNECTConnection
Disconnected1Disconnect
Connected0Connect

PSEL.TRACEDATA0

Address offset: 0x508

Pin configuration for TRACEDATA[0]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
ARWPINPin number
Tracedata022

TRACEDATA0 pin

Note: Only this pin is valid
BRWCONNECTConnection
Disconnected1Disconnect
Connected0Connect

PSEL.TRACEDATA1

Address offset: 0x50C

Pin configuration for TRACEDATA[1]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
ARWPINPin number
Tracedata123

TRACEDATA1 pin

Note: Only this pin is valid
BRWCONNECTConnection
Disconnected1Disconnect
Connected0Connect

PSEL.TRACEDATA2

Address offset: 0x510

Pin configuration for TRACEDATA[2]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
ARWPINPin number
Tracedata224

TRACEDATA2 pin

Note: Only this pin is valid
BRWCONNECTConnection
Disconnected1Disconnect
Connected0Connect

PSEL.TRACEDATA3

Address offset: 0x514

Pin configuration for TRACEDATA[3]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
ARWPINPin number
Tracedata325

TRACEDATA3 pin

Note: Only this pin is valid
BRWCONNECTConnection
Disconnected1Disconnect
Connected0Connect

TRACEPORTSPEED (Retained)

Address offset: 0x518

Clocking options for the Trace Port debug interface

Reset behavior is the same as debug components

This register is retained.

Bit number313029282726252423222120191817161514131211109876543210
IDAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWTRACEPORTSPEEDSpeed of Trace Port clock. Note that the TRACECLK pin output will be divided again by two from the Trace Port clock.
32MHz0

Trace Port clock is:

32MHz

16MHz1

Trace Port clock is:

16MHz

8MHz2

Trace Port clock is:

8MHz

4MHz3

Trace Port clock is:

4MHz