# Atmel EDBG-based Tools Protocols
Serial trace commands

Sidebar | Prev | Up | Next

### Get buffer size

Reads out the buffer size available on the hardware.

Table 25. Get buffer size

Field | Size | Description
--- | --- | ---
SERIAL_TRACE | 1 byte | 0x87
GET_BUFFER_SIZE | 1 byte | 0x0A

Response:

Table 26. Get buffer size response

Field | Size | Description
--- | --- | ---
SERIAL_TRACE | 1 byte | 0x87
GET_BUFFER_SIZE | 1 byte | 0x0A
Buffer size | 4 bytes, MSB first | Total size of receive buffer

Prev | Up | Next
| Home |