# Atmel EDBG-based Tools Protocols
EDBG-specific vendor commands

#### Get configuration

Retrieves board configuration information. EDBG only.

Table 6. Get configuration command

Field | Size | Description
--- | --- | ---
GET_CONFIG | 1 byte | 0x83
Count | 1 byte | Number of configuration packets to retrieve
ConfigID | 1 byte | Starting configuration packet ID
Parameter | 1 byte | Config packet dependant parameter

Response:

Table 7. Get configuration response

Field | Size | Description
--- | --- | ---
GET_CONFIG | 1 byte | 0x83
Status | 1 byte | 0x00: success other values: failed
NumBytes | 2 byte, MSB first | Number of bytes of config packet data
ConfigPackets | N bytes | Configuration data returned

Configuration packet format is described here:

Table 8. Configuration packet format (get)

Field | Size | Description
--- | --- | ---
ConfigID | 1 byte | Configuration ID
DataType | 1 byte | Datatype of the configuration parameter
Data | N bytes | Configuration data according to the data type

Prev | Up | Next
| Home |