# Atmel EDBG-based Tools Protocols
Serial trace commands

### Set baud rate

Sets the baud rate for capturing data. Can be called iteratively to build a table of supported baud-rates which can be sampled by the hardware.

Table 15. Set baud rate

Field | Size | Description
--- | --- | ---
SERIAL_TRACE | 1 byte | 0x87
SET_BAUD | 1 byte | 0x02
Baud | 4 bytes, MSB first | Requested baud rate

Response:

Table 16. Set baud rate response

Field | Size | Description
--- | --- | ---
SERIAL_TRACE | 1 byte | 0x87
SET_BAUD | 1 byte | 0x02
Baud | 4 bytes, MSB first | Actual baud rate achievable

Prev | Up | Next
| Home |