# Atmel EDBG-based Tools Protocols
Protocol commands

Sidebar | Prev | Up | Next

### TAP

Low level TAP commands (JTAG only)

The TAP command shifts N bits of DATA into the specified shift register (IR or DR). The output of the shift is captured and returned in the DATA response. Bits are shifted LSB first both in and out.

Table 84. TAP command format

Field | Size | Description
--- | --- | ---
AVR32_CMD_TAP | 1 byte | Command ID
Version (0x00) | 1 byte | Command version
Register/Signal | 1 byte | AVR32_TAP_IR AVR32_TAP_DR
Bits | 1 byte | Number of bits to shift
Data | N bytes | N = bits / 8; data to scan in.

Responses:

- DATA

- FAILED

Prev | Up | Next
| Home |