# Atmel EDBG-based Tools Protocols
Housekeeping Commands

Sidebar | Prev | Up | Next

#### Calibrate Oscillator

Performs oscillator calibration on the target. Protocol and target code is described in appnotes AVR053 (megaAVR and tinyAVR) and AVR1606 (AVR XMEGA). Note that this command must be called without any physical activated, or an error will be returned. The reference clock for the calibration is running at 32.120 kHz

Table 61. Calibrate Oscillator command format

Field | Size | Description
--- | --- | ---
CMD_HOUSEKEEPING_CAL_OSC | 1 byte | Command ID
Version (0x00) | 1 byte | Command version

Responses:

- OK

- FAILED

Prev | Up | Next
| Home |