USB bootloaders for AVR microcontrollers

Probably most proper microcontroller programming method is using a bootloader program. Because you don’t need any special programming adapters or special knowledge – you just need to connect standard cable from your PC to target board and run special program on PC which communicates with MCU bootloader program. The idea is simple:

AVR bootloader model

If microcontroller is preconfigured then after reset it starts running not from start memory location which is usually at 0x0000 address, but at some specific location, where usually bootloader lies.

All AVR ATmega family microcontrollers have ability to be programmed with bootloader. Program start address depends on AVR fuse settings. If settings says that program counter PC has to jump to bootloader section after reset, then first of all bootloader has to be executed. Bootloaders can be various sizes and can use different algorithms and interfaces from where program will be loaded. Sources can be Flash cards (MMC/SD), I2C, USART, SPI and USB.

Variety of AVR bootloaders

Most of AVR bootloaders are using COM port for connectivity with PC. This can be OK if USB-USART bridge is used. As a mater of fact it is not always to run somebody’s written bootlaoder at first time. Usually it may require some customizations, reading help documents. IN the list you can see a list of most popular bootloaders available (there may be more):

There are even more bootloaders but most of them are for COM port. These can be adapted to USB by using USART to USB bridges like FT245BM. But probably it is more convenient when USB is connected directly to MCU and communication part is done by firmware USB driver.


  1. Pingback: Blog » Blog Archive » USB bootloaders for AVR microcontrollers

  2. Yes, the bootloaders are nice, but the problem is that you must put the bootloader program in the micro by normal programming…

  3. Pingback: Ninjia Arduino» Blog 存档 » 对AVR-USB的初步研究

Leave a Reply

Your email address will not be published. Required fields are marked *