- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am currently using WICED over SN8205.
How to perform OTA without external flash?
Consider that if we can rearrange the Internal Flash to have Bootloader/DCT/OTA-App/APP0.
On OTA trigger, the APP0 will reboot and boot to OTA-App.
The OTA-App can then reflash the APP0.
This implementation would not require the use of External Flash and as the Bootloader/DCT/OTA-App together is small, there should not be any size concern for APP0.
Can this be implemented?
Regards,
Karthik
Solved! Go to Solution.
- Labels:
-
Memory
-
Over The Air Updates (OTA)
-
SDK 3.x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The implementation is possible, the only drawback is that we are limited to the internal flash size which can be halved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should make sure the internal flash could be execute during re-programing and erase!
If answer is yes! Then it's possible!
Check this link Re: OTA upgrade without FR on 3.1.2 Bassem have answer why ! !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Suppose all firmware is present in the internal flash, 0xaddress2 is at a predefined location -
0xaddress1 - APP0.elf
0xaddress2 - OTA_App.elf
Set boot to 0xaddress2, OTA_App will run will flash to 0xaddress1 which is not its own.
So should be possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not sure!
if you issue erase or program command to internal flash then the different flash address read back is same before !
But you could try! Just mention what I thought for this !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The implementation is possible, the only drawback is that we are limited to the internal flash size which can be halved.