This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Can I impment OAD with an external flash or E2PROM?



My application bin file is about 190KB, so using internal Flash to implement OAD is impossible, how about external flash?Is there some docment that I can take for reference.

ChrisChen

  • You'd have to do something different. The way that OAD works, both images need to be able to run.

  • For sure you can use external flash for OAD - it should be much easier as well. As a matter of fact, the SmartRF05EB has a 256k external flash connected by SPI to the CC2540EM if you want to practice with a working h/w setup. You could download the TI ZigBee stack in order to get a working example of a boot loader that can access the external flash part in order to complete the final step of an OAD - new image instantiation.

  • Just to clarify:


    If you mean OAD (Over the Air Download) with TI's provide example code in the BLE stack, you would need to change major parts of it, as it uses two images and both need to be able to run. Using a external EEPROM / Flash would be a change to how the system work, and require a lot of re-work on your part..

    If you mean any form of OAD (Over the Air Download), I completely agree with codesmith. It can be done. We actually ship a product that does just this - where our custom "swapper" will do a verify, and then copy the data out of the EEPROM back into the processor's Flash.

  • May be I just need  to upgrade over the air  using ios device, do not care one image or two image.

    So may be I need to study the Zigbee stack about the OAD first, Thanks!

    Chris