![Aeroflex Gaisler RT-SPW-ROUTER Скачать руководство пользователя страница 78](http://html1.mh-extra.com/html/aeroflex-gaisler/rt-spw-router/rt-spw-router_user-manual_2862505078.webp)
AEROFLEX GAISLER
78
RT-SPW-ROUTER
Copyright Aeroflex Gaisler AB
June 2012, Version 1.2
8
JTAG Debug Interface
8.1
Overview
The JTAG debug interface provides access to on-chip AMBA AHB bus through JTAG. The JTAG
debug interface implements a simple protocol which translates JTAG instructions to AHB transfers.
Through this link, a read or write transfer can be generated to any address on the AHB bus.
8.2
Operation
8.2.1
Transmission protocol
The JTAG Debug link decodes two JTAG instructions and implements two JTAG data registers: the
command/address register and data register. A read access is initiated by shifting in a command con-
sisting of read/write bit, AHB access size and AHB address into the command/address register. The
AHB read access is performed and data is ready to be shifted out of the data register. Write access is
performed by shifting in command, AHB size and AHB address into the command/data register fol-
lowed by shifting in write data into the data register. Sequential transfers can be performed by shifting
in command and address for the transfer start address and shifting in SEQ bit in data register for fol-
lowing accesses. The SEQ bit will increment the AHB address for the subsequent access. Sequential
transfers should not cross a 1 kByte boundary. Sequential transfers are always word based.
Table 72. JTAG debug link Command/Address register
34 33 32 31
0
W
SIZE
AHB ADDRESS
34
Write (W) - ‘0’ - read transfer, ‘1’ - write transfer
33 32
AHB transfer size - “00” - byte, “01” - half-word, “10” - word, “11”- reserved
31 30
AHB address
Figure 29. JTAG Debug link block diagram
AHB master interface
AMBA AHB
JTAG Communication
Interface
JTAG TAP
Controller
TCK
TMS
TDI
TDO