Assembling the Calibration Firmware

The root assembly file for the calibration firmware is RC_Calibration.asm. This file is pointed to by the Atmel Studio solution file rc_calib.atsln. In the RC_Calibration.asm file it is possible to specify the desired calibration interface: Atmel-ICE, AVRISP mkII, JTAGICE3, or JTAGICE mkII. In addition, it is possible to specify the desired calibration accuracy. Once these choices have been made, the project should be built to produce the binary file rc_calib.hex in the default sub-directory. This file is downloaded to the device through the programming tool.

Important: It is important to ensure that the fuses are set up correctly before calibrating the device. It is not possible to calibrate a device to 8.0MHz if the 1MHz RC oscillator is selected by the fuse settings.