JTAG (IEEE 1149.1) defines a standardized four- or five-wire serial protocol — the test access port — for communicating with a chip's boundary scan and other on-chip test or debug infrastructure. The protocol is built around a test access port controller that moves through a defined state machine based on the test clock and test-mode-select signals, loading one of several standard instructions — such as BYPASS, SAMPLE/PRELOAD, or EXTEST — into an instruction register that determines what the shifted data actually does: pass straight through, capture pin states, or drive pin values out for board-level interconnect test. The same JTAG infrastructure is widely reused beyond boundary scan, serving as the physical access mechanism for on-chip debug and even in-system programming.