I've just finished documenting my project to allow over-the-air software upgrades for Atmega328 based systems using the RFM12B radio module, plus an I2C flash memory.
The project is in several parts. The bootloader replaces the popular Optiboot bootloader and allows flashing of program memory from I2C flash. The run-time flash / I2C library implements a messaging system and simple file system that allows an I2C flash chip to be read and written remotely. My radionet library implements a messaging protocol that can carry the flash messages. I've also designed a PCB for a circuit that works with the code, but you can also use a JeeNode or similar device.
I hope this will be of interest and use to people.
OTA programming for the Atmega328P micro
Submitted by daveb on Wed, 25/11/2015 - 16:31Hi All
I've just finished documenting my project to allow over-the-air software upgrades for Atmega328 based systems using the RFM12B radio module, plus an I2C flash memory.
http://www.rotwang.co.uk/projects/bootloader.html
The project is in several parts. The bootloader replaces the popular Optiboot bootloader and allows flashing of program memory from I2C flash. The run-time flash / I2C library implements a messaging system and simple file system that allows an I2C flash chip to be read and written remotely. My radionet library implements a messaging protocol that can carry the flash messages. I've also designed a PCB for a circuit that works with the code, but you can also use a JeeNode or similar device.
I hope this will be of interest and use to people.
Dave Berkeley