# Atmel EDBG-based Tools Protocols
Protocol commands

### Write

Write memory

Table 82. Write command format

Field | Size | Description
--- | --- | ---
AVR32_CMD_WRITE | 1 byte | Command ID
Version (0x00) | 1 byte | Command version
Memory type | 1 byte | Memory type to access; see the section called “Memory Types”
Address | 5 bytes | Memory type dependent, usually SAB address
Bytes | 4 bytes | Number of bytes to read. Note that memory type might put restrictions on number of bytes.
Data | N bytes | The data to be written

Responses:

- OK

- FAILED

Prev | Up | Next
| Home |