- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
We are working on OTA.
We used:
SDK : Wiced SDK 3.7.0-3
App: Snip.OTA_fr
Issue:
1> OTA upgrade fail when ota firmware file size greater than DCT_APP0 size.
Debug:
1> We debug the code, with taking two different ota_firmware file.
a> File 1: size 451KB
Result: OTA Upgrade successfully and worked fine
conclution: ota file1 size less than DCT_APP0 size
DCT_APP0_Size = 462848
File_size = 461612
DCT_APP0_Size > File_size @ Result: Working fine
b> File 2: size 548KB
Result: OTA Upgrade successfully and worked fine
conclution: ota file2 size less than DCT_APP0 size
DCT_APP0_Size = 462848
File_size = 560236
DCT_APP0_Size < File_size @ Result: Fail
c> Debug Code Detail:
File Location: WICED-SDK\libraries\daemons\ota_server
Function: static int process_upgrade_chunk( ota_http_request_message_t* request, wiced_tcp_stream_t* stream, void* arg )
-> After Debugging all this ,
we are facing issue regarding file size
We need help to solve such kind of file size issue ,
so we have some of the doubt:
1> how we can ota upgrade with file size more than OTA_APP0_Size ?
2> Can we increase area of OTA_APP0_size ? if yes so How we can ?
Thanks & Regards,
Chintan Patel
- Tags:
- application dct
- dct
- dct download
- dct image
- fr dct
- ota
- ota firmware upgrade
- ota on wiced sdk 3.7.0
- ota_fr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chintan,
Possible problem in LUT table at start off serial flash.
When you download new firmware via jtag(open ocd) it overload your DCT data, which store address off new data in sflash. So new data try store in old place (and new size off file will be corrupted ). But it sflash block 4K must be cleared before.
Solution:
You always (its long processes) must do "download_apps" in make string. It renew store place in sflash.
BR.
Darius
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
chintan wrote:
so we have some of the doubt:
1> how we can ota upgrade with file size more than OTA_APP0_Size ?
2> Can we increase area of OTA_APP0_size ? if yes so How we can ?
Thanks & Regards,
Chintan Patel