AGENT SKILL

jtag

Joint Test Action Group (IEEE 1149.1): TAP controller state machine, boundary scan testing, BSDL files, and programming targets

License 许可
MIT
最近更新
2026-11-09
Stars
★ 0
Forks
0

01 前言 Front Matter

name
jtag
risk
low
source
https://github.com/Mr-Nobody-Anonymous/All-skills
license
MIT
version
1.0.0
category
embedded
description
Joint Test Action Group (IEEE 1149.1): TAP controller state machine, boundary scan testing, BSDL files, and programming targets
imported_at
2026-09-20
source_path
awesome_skills/embedded/jtag/SKILL.md
source_repository
Mr-Nobody-Anonymous/All-skills
disable-model-invocation
false

03 SKILL.md 正文

JTAG & Boundary Scan

Scope

JTAG protocol engineering for hardware manufacturing test (boundary scan), board-level interconnect validation, and in-circuit CPU debugging.

TAP Controller Architecture

  • 4 Mandatory Pins: TCK (Test Clock), TMS (Test Mode Select), TDI (Test Data In), TDO (Test Data Out), plus optional $\overline{\text{TRST}}$ (Test Reset).
  • TAP State Machine: 16-state finite state machine governed by TMS transitions on TCK rising edge (Test-Logic-Reset, Run-Test/Idle, Select-DR, Select-IR).
  • Standard Instructions: BYPASS (1-bit shift register), IDCODE (32-bit manufacturer/device ID), EXTEST (boundary scan pin driving/reading), SAMPLE/PRELOAD.
  • Boundary Scan Description Language (BSDL): Standardized VHDL subset modeling boundary scan register chains for automated automated test pattern generation (ATPG).

Standards & References

  • Standards: IEEE 1149.1 (Standard Test Access Port and Boundary-Scan Architecture).
  • Software: OpenOCD, UrJTAG, TopJTAG.

04 同仓库更多 Skills