8 AVR Bootloader

The bootloader must reside in the target AVR before the device can be updated with encrypted firmware. The bootloader communicates with the PC and is capable of programming the EEPROM and the application area of the Flash memory. The bootloader included with this application note has been created by using Atmel Studio 7. The program flow is illustrated in the figure below.

Figure 8-1. Flowchart for the AVR Bootloader