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

InstanceDomainBase addressTrustZoneSplit accessDescription
MapAttDMA
TADAPPLICATION0xE0080000HFSNANo

Trace and debug control

Register overview

RegisterOffsetTZDescription
CLOCKSTART0x004

Start all trace and debug clocks.

CLOCKSTOP0x008

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.

CLOCKSTART

Address offset: 0x004

Start all trace and debug clocks.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

W

START

Start

1

Start all trace and debug clocks.

CLOCKSTOP

Address offset: 0x008

Stop all trace and debug clocks.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

W

STOP

Stop

1

Stop all trace and debug clocks.

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

12

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

11

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

10

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

9

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

8

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.

64MHz

0

Trace Port clock is:

64MHz

32MHz

1

Trace Port clock is:

32MHz

16MHz

2

Trace Port clock is:

16MHz

8MHz

3

Trace Port clock is:

8MHz