wire / wire-format / jtag-tap

JTAG TAP (Test Access Port)

JTAG (IEEE 1149.1) provides a serial interface for testing and debugging. TAP controller: 16-state FSM controlled by TMS (Test Mode Select) and TCK (Test Clock). Registers: IR (Instruction Register), DR (Data Register, includes IDCODE, BYPASS, BOUNDARY SCAN). Operations: shift instructions into IR, then shift data through DR. Used for boundary scan testing, flash programming, and CPU debugging.

wire-format kind wire-format status standard verification verified tier B wire-format@1

aka: JTAG TAP (Test Access Port)

wire format

spec: IEEE 1149.1 (JTAG)

JTAG (IEEE 1149.1) provides a serial interface for testing and debugging. TAP controller: 16-state FSM controlled by TMS (Test Mode Select) and TCK (Test Clock). Registers: IR (Instruction Register), DR (Data Register, includes IDCODE, BYPASS, BOUNDARY SCAN). Operations: shift instructions into IR, then shift data through DR. Used for boundary scan testing, flash programming, and CPU debugging.

fieldsizemeaning
TMS (Test Mode Select)1 bitControls the TAP state machine. Sampled on rising TCK edge.
TCK (Test Clock)clockTest clock (typically 1-10 MHz).
TDI (Test Data In)1 bitSerial data input. Shifted into IR or DR.
TDO (Test Data Out)1 bitSerial data output. Shifted out of IR or DR.
TRST (Test Reset)1 bit (optional)Asynchronous reset for TAP controller.
IR (Instruction Register)2-32 bitsHolds the current instruction. Common: IDCODE (read device ID), BYPASS (1-bit pass-through), SAMPLE/PRELOAD (boundary scan), EXTEST (external test).
DR (Data Register)variableData register selected by IR. IDCODE (32 bits: version (4) + part number (16) + manufacturer (11) + 1), BYPASS (1 bit), BOUNDARY SCAN (chain of boundary scan cells).
TAP states16 statesTest-Logic-Reset, Run-Test/Idle, Select-DR-Scan, Capture-DR, Shift-DR, Exit1-DR, Pause-DR, Exit2-DR, Update-DR, Select-IR-Scan, Capture-IR, Shift-IR, Exit1-IR, Pause-IR, Exit2-IR, Update-IR.

example:

00 00 00 00

JTAG TAP (placeholder)


provenance

agent: curl -H 'accept: application/json' wire.phall.io/wire-format/jtag-tap or /wire-format/jtag-tap.json