Hi All,
I'm looking at putting together a system that will have multiple AVR's/XMega's. One will act as a Master with multiple slaves. I'm thinking of having three SPI ports on the Master. Each SPI port on the Master will have multiple slaves. ie Master_SPI1 will have 6 SPI slaves, Master_SPI2 will have 2 SPI slaves, and Master_SPI3 will have 4 SPI slaves. The Master Micro will have an SD card for data storage.
Over a serial link, I would like to be able to download a new firmware image and store it on the SD card for the Master and be able to reprogram the Master from this image. Similar to updating the firmware on your ADSL modem or phone.
In addition, I would like to download new firmware onto the SD card for the slave micros on the SPI networks.
The Master would then use these images to update the firmware in the Slave devices.
Does anyone have code to share on programming of an AVR via an AVR using the SPI interface?
Looking forward to general comments and any help in this project.
Kind regards,
Neil.
I'm looking at putting together a system that will have multiple AVR's/XMega's. One will act as a Master with multiple slaves. I'm thinking of having three SPI ports on the Master. Each SPI port on the Master will have multiple slaves. ie Master_SPI1 will have 6 SPI slaves, Master_SPI2 will have 2 SPI slaves, and Master_SPI3 will have 4 SPI slaves. The Master Micro will have an SD card for data storage.
Over a serial link, I would like to be able to download a new firmware image and store it on the SD card for the Master and be able to reprogram the Master from this image. Similar to updating the firmware on your ADSL modem or phone.
In addition, I would like to download new firmware onto the SD card for the slave micros on the SPI networks.
The Master would then use these images to update the firmware in the Slave devices.
Does anyone have code to share on programming of an AVR via an AVR using the SPI interface?
Looking forward to general comments and any help in this project.
Kind regards,
Neil.