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
TAD0xE0080000HFSNANo

Trace and debug control

Register overview

RegisterOffsetTZDescription
TASKS_CLOCKSTART0x000

Start all trace and debug clocks.

TASKS_CLOCKSTOP0x004

Stop all trace and debug clocks.

ENABLE0x500

Enable debug domain and aquire selected GPIOs

PSEL.TRACECLK0x504

Pin configuration for TRACECLK

PSEL.TRACEDATA00x508

Pin configuration for TRACEDATA[0]

PSEL.TRACEDATA10x50C

Pin configuration for TRACEDATA[1]

PSEL.TRACEDATA20x510

Pin configuration for TRACEDATA[2]

PSEL.TRACEDATA30x514

Pin 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
A

W

TASKS_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).

Trigger

1

Trigger task

TASKS_CLOCKSTOP

Address offset: 0x004

Stop all trace and debug clocks.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

W

TASKS_CLOCKSTOP

Stop all trace and debug clocks.

Trigger

1

Trigger task

ENABLE

Address offset: 0x500

Enable debug domain and aquire selected GPIOs

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

ENABLE

DISABLED

0

Disable debug domain and release selected GPIOs

ENABLED

1

Enable debug domain and aquire selected GPIOs

PSEL.TRACECLK

Address offset: 0x504

Pin configuration for TRACECLK

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
A

RW

PIN

Pin number

Traceclk

21

TRACECLK pin

Note: Only this pin is valid
B

RW

CONNECT

Connection

Disconnected

1

Disconnect

Connected

0

Connect

PSEL.TRACEDATA0

Address offset: 0x508

Pin configuration for TRACEDATA[0]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
A

RW

PIN

Pin number

Tracedata0

22

TRACEDATA0 pin

Note: Only this pin is valid
B

RW

CONNECT

Connection

Disconnected

1

Disconnect

Connected

0

Connect

PSEL.TRACEDATA1

Address offset: 0x50C

Pin configuration for TRACEDATA[1]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
A

RW

PIN

Pin number

Tracedata1

23

TRACEDATA1 pin

Note: Only this pin is valid
B

RW

CONNECT

Connection

Disconnected

1

Disconnect

Connected

0

Connect

PSEL.TRACEDATA2

Address offset: 0x510

Pin configuration for TRACEDATA[2]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
A

RW

PIN

Pin number

Tracedata2

24

TRACEDATA2 pin

Note: Only this pin is valid
B

RW

CONNECT

Connection

Disconnected

1

Disconnect

Connected

0

Connect

PSEL.TRACEDATA3

Address offset: 0x514

Pin configuration for TRACEDATA[3]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAA
Reset 0xFFFFFFFF11111111111111111111111111111111
IDR/WFieldValue IDValueDescription
A

RW

PIN

Pin number

Tracedata3

25

TRACEDATA3 pin

Note: Only this pin is valid
B

RW

CONNECT

Connection

Disconnected

1

Disconnect

Connected

0

Connect

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
A

RW

TRACEPORTSPEED

Speed of Trace Port clock. Note that the TRACECLK pin output will be divided again by two from the Trace Port clock.

32MHz

0

Trace Port clock is:

32MHz

16MHz

1

Trace Port clock is:

16MHz

8MHz

2

Trace Port clock is:

8MHz

4MHz

3

Trace Port clock is:

4MHz