Hi ,
We are planning to develop a product which uses Tiva C series Mircro controller(TM4C129EN) and CC3100 Wi-Fi module. We need to do over the air update for the host MCU (Tiva C series). Do you have any sample code for demonstrating this? This WiFi module CC3100 is connected to host MCU through SPI interface.
We hope that we can define a protocol for receiving data at host MCU and we can update the flash while receiving the packet itself after packet validation. But we had some confusion on the following items.
1) Development of Boot Loader : As per our understanding, we can not use the boot loader in the ROM for this purpose. So we need to write a small boot loader & which is to be stored in flash memory. Is this possible?
2) We planned to divide the Flash memory to three like Boot Loader, Image1 & Image 2. Boot Loader will check for some boot config parameters to decide which image to be loaded and then load corresponding image (image1 or image2). If image1 is loaded then next update is to be done on image 2 area and after successful update, change boot config parameters also for loading image 2 in next restart.Please check this logic is OK or not.
a) is this possible to load image1/image2 from the custom boot loader exists in flash memory? What is the mechanism for this?
We got some information regarding the boot loader in ROM but we think that this information is not suitable for our purpose.
Please get back with your comments.
Regards,
Dinesh