2 Replies Latest reply on Aug 17, 2017 5:36 AM by AxLi_1746341

    ota_fr fail @ grater size of update file than DCT_APP0 size

      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

      worked_log_dct_app0_size.png

       

           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

      not_worked_.png

           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 )

           ota_fr_snap_shot.png

               

       

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