
USB DEVICE CONTROLLER
M66290AGP/FP
MITSUBISHI <DIGITAL ASSP>
53
JTAG registers
Command registers
Command register is constituted by 3 bits register
which keeps command code, and is set in the IR
path sequence. Data register, which is selected in
the following path sequence, is determined by the
command which is set into the command register.
Initial value in test reset is IDCODE command.
Until the command code is set from external,
IDCODE register is kept selecting as the data
register.
M66290A supports three commands (EXTEST,
SAMPLE/PRELOAD, and BYPASS) which are
established as essential by IEEE 1149.1 and the
device recognize register access command
(IDCODE).
Below are the commands and the related code.
EXTEST (Command code : b'000)
Executes outside circuit connection test and on
board connection test. Reads the TDI input into the
"Boundary Scan Register" and outputs the contents
of "Boundary Scan Register" from TDO.
IDCODE (Command code : b'001)
Selects the "IDCODE Register" and outputs the
device and company discrimination data from
TDO.
SAMPLE/PRELOAD (Command code : b'010)
Samples the circuit status in operation and outputs
it from TDO, and at the same time, inputs the data
from TDI which will be use in the next boundary
scan test and set into the "Boundary Scan Register"
previously.
BYPASS (Command code : b'111)
Selects the "BYPASS Register" and executes the
refer and the set of the data.
Don't set the command code except for above.
Data registers
(1) Boundary scan register (JTAGBSR)
This is for boundary scan test and is assigned to each
terminal of M66290A which is related to JTAG.
Boundary scan register is connected between TDI and
TDO terminal, and is selected when "EXTEST Command"
is ordered. This register captures the status of input
terminal or the output value from internal logic circuit in
the state of Capture-DR. In the state of Shift-DR, input
the data for boundary scan test parallely outputting the
sampled value. And set terminal function (IN/OUT of
bidirectional terminal or direction of 3-state output) and
output value.
As to the JTAG related terminal and the structure of
boundary scan, refer to BSDL specially.
(2) BYPASS register (JTAGBPR)
BYPASS register is one bit register to bypass the boundary
scan path when M66290A is not the object in boundary scan
test. BYPASS register is connected between TDI and TDO
terminal, and is selected when "BTPASS command" is
ordered. In the state of Capture-DR, "0" is loaded.
(4) IDCODE register (JTAGIDR)
IDCODE register is a register of 32bits to discriminate the
device and the company, and keeps information as follows.
IDCODE register is connected between TDI and TDO
terminal,
and is selected when "IDCODE Command" is ordered.
IDCODE data is loaded in Capture-DR state and is output
from TDO in Shift-DR state.
1. Version information (4bits)
2. Part number (16bits)
: b'0000
: b'0001 1000 1001 0010
(Binary code of "6290")
: b'000 0001 1100
(JEDEC code of MITSUBISHI)
: b'1
(Fixed)
3. Company ID (11bits)
4. LSB (1bit)