Introduction

Author: Egil Rotevatn, Microchip Technology Inc.

This application note describes how tinyAVR® 0- and 1-series, and megaAVR® 0-series microcontrollers (MCUs) can use self-programming. This enables the user to download application code into Flash without the need for an external programmer. The example application is using the ATtiny817 Xplained Pro (ATTINY817-XPRO) kit to communicate via the UART with a PC running a Python script. In addition, a TWI version of the bootloader application is available.

The provided example bootloader applications and Python script are suitable as starting points for custom bootloader applications.