DocID13902 Rev 15 1078/1128
RM0008 Debug support (DBG)
1100
31.6.3 Cortex
®
-M3 TAP
The TAP of the ARM
®
Cortex
®
-M3 integrates a JTAG ID code. This ID code is the ARM
®
default one and has not been modified. This code is only accessible by the JTAG Debug
Port.
This code is 0x3BA00477 (corresponds to Cortex
®
-M3 r1p1-01rel0, see Section 31.2:
Reference ARM® documentation).
Only the DEV_ID(11:0) should be used for identification by the debugger/programmer tools.
31.6.4 Cortex
®
-M3 JEDEC-106 ID code
The ARM
®
Cortex
®
-M3 integrates a JEDEC-106 ID code. It is located in the 4KB ROM table
mapped on the internal PPB bus at address 0xE00FF000_0xE00FFFFF.
This code is accessible by the JTAG Debug Port (4 to 5 pins) or by the SW Debug Port (two
pins) or by the user software.
31.7 JTAG debug port
A standard JTAG state machine is implemented with a 4-bit instruction register (IR) and five
data registers (for full details, refer to the Cortex
®
-M3 r1p1 Technical Reference Manual
(TRM), for references, please see Section 31.2: Reference ARM® documentation).
Table 220. JTAG debug port data registers
IR(3:0) Data register Details
1111
BYPASS
[1 bit]
1110
IDCODE
[32 bits]
ID CODE
0x3BA00477 (ARM
®
Cortex
®
-M3 r1p1-01rel0 ID Code)
1010
DPACC
[35 bits]
Debug port access register
This initiates a debug port and allows access to a debug port register.
– When transferring data IN:
Bits 34:3 = DATA[31:0] = 32-bit data to transfer for a write request
Bits 2:1 = A[3:2] = 2-bit address of a debug port register.
Bit 0 = RnW = Read request (1) or write request (0).
– When transferring data OUT:
Bits 34:3 = DATA[31:0] = 32-bit data which is read following a read
request
Bits 2:0 = ACK[2:0] = 3-bit Acknowledge:
010 = OK/FAULT
001 = WAIT
OTHER = reserved
Refer to Table 221 for a description of the A(3:2) bits