57
6462B–ATARM–6-Sep-11
SAM9G10
12.5.4
Debug Unit
The Debug Unit provides a two-pin (DXRD and TXRD) USART that can be used for several
debug and trace purposes and offers an ideal means for in-situ programming solutions and
debug monitor communication. Moreover, the association with two Peripheral DMA Controller
channels permits packet handling of these tasks with processor time reduced to a minimum.
The Debug Unit also manages the interrupt handling of the COMMTX and COMMRX signals
that come from the ICE and that trace the activity of the Debug Communication Channel.The
Debug Unit allows blockage of access to the system through the ICE interface.
A specific register, the Debug Unit Chip ID Register, gives information about the product version
and its internal configuration.
The SAM9G10 Debug Unit Chip ID value is 0x0199 03A1 on 32-bit width.
12.5.5
IEEE 1149.1 JTAG Boundary Scan
IEEE 1149.1 JTAG Boundary Scan allows pin-level access independent of the device packaging
technology.
IEEE 1149.1 JTAG Boundary Scan is enabled when JTAGSEL is high. The SAMPLE, EXTEST
and BYPASS functions are implemented. In ICE debug mode, the ARM processor responds
with a non-JTAG chip ID that identifies the processor to the ICE system. This is not IEEE 1149.1
JTAG-compliant.
It is not possible to switch directly between JTAG and ICE operations. A chip reset must be per-
formed after JTAGSEL is changed.
A Boundary-scan Descriptor Language (BSDL) file is provided to set up test.
12.5.5.1
JTAG Boundary-scan Register
The Boundary-scan Register (BSR) contains 484 bits that correspond to active pins and associ-
ated control signals.
Each SAM9G10 input/output pin corresponds to a 3-bit register in the BSR. The OUTPUT bit
contains data that can be forced on the pad. The INPUT bit facilitates the observability of data
applied to the pad. The CONTROL bit selects the direction of the pad.
Table 12-2.
SAM9G10 JTAG Boundary Scan Register
Bit Number
Pin Name
Pin Type
Associated BSR Cells
483
A18
OUT
OUTPUT
482
A[22:16]
CONTROL
481
A19
OUT
OUTPUT
480
A20
OUT
OUTPUT
479
A21
OUT
OUTPUT
478
A22
OUT
OUTPUT
477
NCS0
OUT
OUTPUT
476
A[7:0]
CONTROL
475
NCS1
OUT
OUTPUT
474
NCS0/NCS1/NCS2/NCS3
NRD/NWR0/NWR1/NWR3
CONTROL