# Atmel EDBG-based Tools Protocols
Serial trace commands

### Set transport mode

Sets the transport mode for sending data from the hardware tool to the host computer. Currently only HID transport is supported.

Table 11. Set transport mode

Field | Size | Description
--- | --- | ---
SERIAL_TRACE | 1 byte | 0x87
SET_TRANSPORT_MODE | 1 byte | 0x00
Mode | 1 byte | Transport mode to transfer data to host PC 0x00: OFF (default) 0x01: HID

Response:

Table 12. Set transport mode response

Field | Size | Description
--- | --- | ---
SERIAL_TRACE | 1 byte | 0x87
SET_TRANSPORT_MODE | 1 byte | 0x00
Status | 1 byte | Status code 0x00: OK 0xFF: Error

Prev | Up | Next
| Home |