How do I update microcontroller firmware? How can I change the microcontroller firmware after the device is programmed? Why would I change the bootloader? What is an AVR® MCU bootloader? How do I use the AVR MCU bootloader? These are all questions that are answered in this video and in the tutorial below.
AVR devices have a variable size bootloader which can be programmed and lock bits to keep the bootloader secure. The ATmega324PB bootloader tutorial is similar to the Arduino Uno bootloader, and is a great next step for those trying to make a more professional product.
Documentation references
--------------------------------------------------------------
Atmel Tools Documentation:
https://mchp.us/2VhSuBi
AVR Libc reference manual:
https://mchp.us/2JCCOX4
ATmega324PB datasheet:
http://ww1.microchip.com/downloads/en/DeviceDoc/40001908A.pdf#page=372
App note AVR109: Using Self Programming on tinyAVR and megaAVR devices:
http://www.microchip.com//wwwAppNotes/AppNotes.aspx?appnote=en591230
App note AVR231: AES bootloader:
http://www.microchip.com//wwwAppNotes/AppNotes.aspx?appnote=en591242
App note AVR230: DES Bootloader on tinyAVR and megaAVR devices
http://www.microchip.com//wwwAppNotes/AppNotes.aspx?appnote=en591504
avr bootloader tutorial, avr bootloader, avr bootloader c code, atmel avr insights, atmega self programming, avr programming, AVR, MCU, ATmega324PB, mega324, mega, mega324PB, example, explained, xplained, xplain, insights, insight ,tinyAVR ,megaAVR, tiny, mega, Microchip, Atmel, Bootloader, boot loader, self programming, program, AVR109 ,AVR231, AES, DES ,interface, remote update firmware, add feature, bug fix ,development