Checks whether the device's protected bit is set.
When using aWire the STATUS_REQUEST command is sent, and the value of the Protected bit in the STATUS_INFO response is returned.
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.
Field | Size | Description |
---|---|---|
AVR32_CMD_IS_PROTECTED | 1 byte | Command ID |
Version (0x00) | 1 byte | Command version |
Responses: