Checks whether the device's protected bit is set. When using aWire the explicit isProtected command is called. When using JTAG the MEMORY_WORD_ACCESS instruction is clocked into the IR. The pattern "peb01" is clocked out during this operation. The value of "p" is returned, or a failure returned if the "01" token is not received.
Table 85. Is protected command format
Field | Size | Description |
---|---|---|
AVR32_CMD_IS_PROTECTED | 1 byte | Command ID |
Version (0x00) | 1 byte | Command version |
Responses:
DATA
FAILED