SLAU292G November 2009 – July 2015
To invoke the wireless update procedure, the main application must call the start of the wireless update software, which is located at address 0x1000. Therefore, the demo and data logger projects contain an extra menu item called "rFbSL". When activated, it determines if the battery level of the Chronos module is sufficient to start a wireless update and then calls address 0x1000. At this time, the user application is no longer running.
NOTE
Whenever the wireless update is activated on the Chronos module, it returns to the main application with a reset, whether or not an update was performed. Time, data, alarm, and other RAM-based data is lost.
After invoking the wireless update (rFbSL), the Chronos module tries to link to a listening RF access point and start the update procedure. If the link is successful, the Chronos module downloads the RAM-based update software into the RAM of the CC430. Once finished, this software then tries to link again with the RF access point to download the actual update image. If this link is successful, a mass flash erase is performed, which erases all the main memory flash (0x8000 to 0xFFFF). The Chronos module then starts to receive all of the data packets and writes them to flash, checking if each word was written successfully. If the link is not successful, the Chronos module generates a reset to restart the user application. During the download of the update image, a percentage indicator appears on the Chronos module. When download is complete, "dOnE" is shown on the LCD, and a reset is generated to start the new user application that has just been written to flash.
A detailed flow of the update software on the Chronos module and the USB access point can be found in Figure 3-13 and Figure 3-14.