OTA Application in Internal Flash

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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

0 Likes
1 Solution
Anonymous
Not applicable

The implementation is possible, the only drawback is that we are limited to the internal flash size which can be halved.

View solution in original post

0 Likes
4 Replies
JoYi_1844281
Level 6
Level 6
100 sign-ins 100 replies posted 50 likes received

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 ! !

0 Likes
Anonymous
Not applicable

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?

0 Likes

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 !

0 Likes
Anonymous
Not applicable

The implementation is possible, the only drawback is that we are limited to the internal flash size which can be halved.

0 Likes