# Atmel EDBG-based Tools Protocols
Protocol Commands

Sidebar | Prev | Up | Next

### CRC

Calculates a CRC checksum on the target flash.

Table 118. CRC command format

Field | Size | Description
--- | --- | ---
CMD_AVR8_CRC | 1 byte | Command ID
Version (0x00) | 1 byte | Command version
Mode | 1 byte | 0x00 = use address range 0x01 = application section 0x02 = boot section 0x03 = entire flash
Start Address | 4 bytes | First address for CRC (byte address)
End Address | 4 bytes | Last address for CRC (byte address)

Note: This command applies to only some AVR XMEGA targets.

Responses:

- DATA

- FAILED

Prev | Up | Next
| Home |