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.

LAUNCHXL-CC3235SF: mqtt_client example ota fail

Part Number: LAUNCHXL-CC3235SF


Hi TI engineer

      I want to OTA by local http server. I use mqtt_client example  to test this  according https://dev.ti.com/tirex/explore/node?node=ACE5ggZRybEJNZUcnzc3ww__fc2e6sr__LATEST ,but use  local http server and directly download the file (using HTTP Get Request).

    I modify  mqtt_client example   code  as show to directly download file.

when  start ota ,the file was download and ota exe but device not run new firmware. The last log as show

In this log, i can't find any problem,what should i do?

  • It seems that the application (vers 2.0.3T) starts after the MCU reset.

    Is this the new image that you downloaded or the existing one?  

    In the full log - do you find any issue? do you see the image being written successfully?

    Can you provide the full log? 

  • Hi 

        Thanks for reply!

        The ver 2.0.3T is existing firmware,and I want to ota to ver 2.0.3T-1. 

       And the file is log file,please help to analyze,thanks !

            ============================================
               MQTT client Example Ver: 2.0.3T
            ============================================
    
             CHIP: 0x31100019
             MAC:  3.7.0.1
             PHY:  3.1.0.26
             NWP:  4.13.0.2
             ROM:  8738
             HOST: 3.0.1.71
             MAC address: 34:03:de:11:40:80
    
            ============================================
    [WIFI::INFO]  [SlWifiConnEventHandler] POWERED_UP
    [WIFI::INFO]    MAC address: 34:3:de:11:40:80
    [WIFI::INFO]   [Event] STA connected to AP - BSSID:54:75:95:c7:88:86, SSID:ysh1234
    [SlNetConnEventHandler] I/F 1 - CONNECTED (MAC LEVEL)!
    [WIFI::INFO]  [NETAPP EVENT] IP Acquired: IP=192.168.0.75 , Gateway=192.168.0.1
    [SlNetConnEventHandler] I/F 1 - CONNECTED (IP LEVEL)!
    [SlNetConnEventHandler] I/F 1 - CONNECTED (INTERNET LEVEL)!
    [OTA::INFO]  OTA_IF_INIT:: Existing OTA Version = 202209021704
    [MQTT_APP::INFO]  Sub[OTA::DEBUG] ...OTA image is not PENDING_COMMIT
    scribed to all topics successfully
    
    [MQTT_APP::INFO]  Wi-Fi connection is UP
    [MQTT_APP::INFO]  MQTT_EVENT_CONNACK
    
    [MQTT_APP::INFO]  MQTT connection is UP
    [MQTT_APP::INFO]  Trigger OTA...(MQTT:: cloud)
    [MQTT_APP::INFO]  Starting Cloud OTA
    [OTA::DEBUG] OTA_IF STATUS = 2
    [OTA::DEBUG] candidate version: (20220907161819) is newer than current version: (202209021704)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=0 (0), unprocessed=1024
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=512 (512), unprocessed=512
    [OTA::DEBUG] ProcessOta:: Ready to process (512)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=512 (1024), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (2048)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=512 (1536), unprocessed=512
    [OTA::DEBUG] ProcessOta:: Ready to process (512)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=512 (2048), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (3072)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=512 (2560), unprocessed=512
    [OTA::DEBUG] ProcessOta:: Ready to process (512)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=244 (2804), unprocessed=268
    [OTA::DEBUG] ProcessOta:: read=756 (3828)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=600 (3404), unprocessed=424
    [OTA::DEBUG] ProcessOta:: read=600 (4428)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=577 (3981), unprocessed=447
    [OTA::DEBUG] ProcessOta:: read=577 (5005)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=627 (4608), unprocessed=397
    [OTA::DEBUG] ProcessOta:: read=627 (5632)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=71 (4679), unprocessed=953
    [OTA::DEBUG] ProcessOta:: Ready to process (953)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=953 (5632), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (6656)
    [OTA::INFO]  ProcessOta: ---- Writing file: /sys/mcubootinfo.bin
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=0 (5632), unprocessed=1024
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=16 (5648), unprocessed=1008
    [OTA::DEBUG] ProcessOta:: Ready to process (1008)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1008 (6656), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (7680)
    [OTA::INFO]  ProcessOta: ---- Writing file: /sys/mcuflashimg.bin
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=0 (6656), unprocessed=1024
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (7680), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (8704)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (8704), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (9728)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (9728), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (10752)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (10752), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (04%) 10752/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (11776)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (11776), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (12800)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (12800), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (13824)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (13824), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (14848)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (14848), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (15872)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (15872), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (16896)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (16896), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (17920)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (17920), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (18944)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (18944), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (19968)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (19968), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (08%) 19968/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (20992)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (20992), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (22016)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (22016), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (23040)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (23040), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (24064)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (24064), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (25088)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (25088), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (26112)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (26112), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (27136)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (27136), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (28160)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (28160), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (29184)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (29184), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (30208)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (30208), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (12%) 30208/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (31232)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (31232), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (32256)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (32256), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (33280)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (33280), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (34304)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (34304), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (35328)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (35328), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (36352)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (36352), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (37376)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (37376), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (38400)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (38400), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (39424)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (39424), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (16%) 39424/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (40448)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (40448), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (41472)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (41472), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (42496)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (42496), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (43520)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (43520), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (44544)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (44544), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (45568)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (45568), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (46592)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (46592), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (47616)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (47616), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (48640)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (48640), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (49664)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (49664), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (20%) 49664/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (50688)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (50688), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (51712)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (51712), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (52736)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (52736), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (53760)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (53760), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (54784)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (54784), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (55808)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (55808), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (56832)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (56832), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (57856)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (57856), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (58880)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (58880), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (59904)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (59904), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (24%) 59904/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (60928)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (60928), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (61952)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (61952), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (62976)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (62976), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (64000)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (64000), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (65024)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (65024), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (66048)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (66048), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (67072)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (67072), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (68096)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (68096), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (69120)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (69120), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (28%) 69120/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (70144)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (70144), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (71168)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (71168), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (72192)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (72192), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (73216)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (73216), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (74240)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (74240), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (75264)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (75264), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (76288)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (76288), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (77312)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (77312), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (78336)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (78336), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (79360)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (79360), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (32%) 79360/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (80384)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (80384), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (81408)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (81408), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (82432)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (82432), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (83456)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (83456), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (84480)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (84480), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (85504)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (85504), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (86528)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (86528), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (87552)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (87552), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (88576)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (88576), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (36%) 88576/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (89600)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (89600), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (90624)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (90624), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (91648)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (91648), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (92672)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (92672), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (93696)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (93696), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (94720)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (94720), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (95744)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (95744), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (96768)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (96768), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (97792)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (97792), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (98816)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (98816), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (40%) 98816/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (99840)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (99840), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (100864)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (100864), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (101888)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (101888), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (102912)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (102912), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (103936)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (103936), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (104960)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (104960), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (105984)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (105984), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (107008)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (107008), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (108032)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (108032), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (109056)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (109056), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (44%) 109056/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (110080)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (110080), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (111104)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (111104), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (112128)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (112128), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (113152)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (113152), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (114176)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (114176), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (115200)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (115200), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (116224)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (116224), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (117248)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (117248), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (118272)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (118272), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (48%) 118272/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (119296)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (119296), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (120320)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (120320), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (121344)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (121344), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (122368)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (122368), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (123392)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (123392), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (124416)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (124416), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (125440)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (125440), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (126464)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (126464), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (127488)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (127488), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (128512)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (128512), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (52%) 128512/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (129536)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (129536), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (130560)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (130560), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (131584)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (131584), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (132608)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (132608), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (133632)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (133632), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (134656)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (134656), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (135680)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (135680), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (136704)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (136704), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (137728)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (137728), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (56%) 137728/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (138752)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (138752), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (139776)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (139776), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (140800)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (140800), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (141824)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (141824), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (142848)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (142848), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (143872)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (143872), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (144896)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (144896), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (145920)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (145920), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (146944)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (146944), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (147968)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (147968), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (60%) 147968/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (148992)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (148992), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (150016)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (150016), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (151040)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (151040), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (152064)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (152064), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (153088)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (153088), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (154112)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (154112), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (155136)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (155136), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (156160)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (156160), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (157184)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (157184), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (158208)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (158208), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (64%) 158208/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (159232)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (159232), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (160256)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (160256), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (161280)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (161280), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (162304)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=752 (162032), unprocessed=272
    [OTA::DEBUG] ProcessOta:: read=752 (163056)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=784 (162816), unprocessed=240
    [OTA::DEBUG] ProcessOta:: read=784 (163840)
    [OTA::INFO]  ProcessOta: ---- Writing file: /sys/servicepack.ucf
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=0 (162816), unprocessed=1024
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (163840), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (164864)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (164864), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (165888)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (165888), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (166912)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (166912), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (167936)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (167936), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (68%) 167936/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (168960)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (168960), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (169984)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (169984), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (171008)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (171008), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (172032)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (172032), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (173056)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (173056), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (174080)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (174080), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (175104)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (175104), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (176128)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (176128), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (177152)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (177152), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (72%) 177152/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (178176)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (178176), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (179200)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (179200), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (180224)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (180224), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (181248)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (181248), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (182272)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (182272), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (183296)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (183296), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (184320)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (184320), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (185344)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (185344), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (186368)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (186368), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (187392)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (187392), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (76%) 187392/245760 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (188416)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (188416), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (189440)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (189440), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (190464)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (190464), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (191488)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (191488), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (192512)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (192512), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (193536)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (193536), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (194560)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (194560), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (195584)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (195584), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (196608)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (196608), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (80%) 196608/245760 ----
    [OTA::DEBUG] ProcessOta:: read=0 (196608)
    [MQTT_APP::INFO]  OTA_NOTIF_IMAGE_DOWNLOADED
    [OTA::DEBUG] OTA_IF STATUS = 3
    [MQTT_APP::INFO]  MQTT_EVENT_CLIENT_DISCONNECT
    
    [MQTT_APP::INFO]  MQTT_EVENT_DESTROY
    
    [SlNe[WIFI::INFO]  [SlWifiConnEventHandler] POWERED DOWN
    tConnEventHandler] I/F 0 - DISCONNECTED!
    [WIFI::INFO]   [Event] STA disconnected from AP (Reason Code = 200)
    [OTA::INFO]  OtaWatchDog: Watchdog is updated by mcubootinfo.bin from the OTA image
    [OTA::INFO]  OTA_IF_install: reseting the platform...
    
    
    
    
            ============================================
               MQTT client Example Ver: 2.0.3T
            ============================================
    
             CHIP: 0x31100019
             MAC:  3.7.0.1
             PHY:  3.1.0.26
             NWP:  4.13.0.2
             ROM:  8738
             HOST: 3.0.1.71
             MAC address: 34:03:de:11:40:80
    
            ============================================
    [WIFI::INFO]  [SlWifiConnEventHandler] POWERED_UP
    [WIFI::INFO]    MAC address: 34:3:de:11:40:80
    [WIFI::INFO]   [Event] STA connected to AP - BSSID:54:75:95:c7:88:86, SSID:ysh1234
    [WIFI::INFO]  [NETAPP EVENT] IP Acquired: IP=192.168.0.75 , Gateway=192.168.0.1
    [SlNetConnEventHandler] I/F 1 - CONNECTED (MAC LEVEL)!
    [SlNetConnEventHandler] I/F 1 - CONNECTED (IP LEVEL)!
    [SlNetConnEventHandler] I/F 1 - CONNECTED (INTERNET LEVEL)!
    [OTA::INFO]  OTA_IF_INIT:: Existing OTA Version = 202209021704
    [MQTT_APP::INFO]  Subscri[OTA::DEBUG] ...OTA image is not PENDING_COMMIT
    bed to all topics successfully
    
    [MQTT_APP::INFO]  Wi-Fi connection is UP
    [MQTT_APP::INFO]  MQTT_EVENT_CONNACK
    
    [MQTT_APP::INFO]  MQTT connection is UP
    

  • Everything seems fine in regards to the OTA process (mcuflashimg.bin seems to be updated). It can be an issue with the new image - if it get's stuck from some reason (as we don't even see the version display), the watchdog will perform a secondary reset and revert to the old image.

    Just to make sure all works well please add the OTA library logs. You will need to import the OTA project in CCS (under source/ti/net/ota), and enable (#define) SL_ENABLE_OTA_DEBUG_TRACES in "otauser.h" and rebuild the library. Then rebuild the app.

    BTW. I saw that you are also updating the "/sys/mcubootinfo.bin" - is this required? the watchdog timeout is already set. Can you try without this?

    Have you tried the new MCU Image without OTA (i.e. just by programming it)? If this works, please try adding the TAR file as a file in the file system and use the OTA's "INTERNAL_UPDATE_SUPPORT". 

  • Compared with ver 2.0.3T, ver 2.0.3T-1 only modifies the version,and the ver V2.0.3T-1 can promgram and run.

    I test ota by internal mode,the ota is success.

    There are cloud_ota_log and internal_ota_log,I close watchdog and enbale SL_ENABLE_OTA_DEBUG_TRACES.

  • Log as show

            ============================================
               MQTT client Example Ver: 2.0.3T
            ============================================
    
             CHIP: 0x31100019
             MAC:  3.7.0.1
             PHY:  3.1.0.26
             NWP:  4.13.0.2
             ROM:  8738
             HOST: 3.0.1.71
             MAC address: 34:03:de:11:40:80
    
            ============================================
    [WIFI::INFO]  [SlWifiConnEventHandler] POWERED_UP
    [WIFI::INFO]    MAC address: 34:3:de:11:40:80
    [WIFI::INFO]   [Event] STA connected to AP - BSSID:54:75:95:c7:88:86, SSID:ysh1234
    [SlNetConnEventHandler] I/F 1 - CONNECTED (MAC LEVEL)!
    [WIFI::INFO]  [NETAPP EVENT] IP Acquired: IP=192.168.0.86 , Gateway=192.168.0.1
    [SlNetConnEventHandler] I/F 1 - CONNECTED (IP LEVEL)!
    [SlNetConnEventHandler] I/F 1 - CONNECTED (INTERNET LEVEL)!
    [OTA::INFO]  OTA_IF_INIT:: Existing OTA Version = 202209021704
    [MQTT_APP::INFO]  Subs[OTA::DEBUG] ...OTA image is not PENDING_COMMIT
    cribed to all topics successfully
    
    [MQTT_APP::INFO]  Wi-Fi connection is UP
    [MQTT_APP::INFO]  MQTT_EVENT_CONNACK
    
    [MQTT_APP::INFO]  MQTT connection is UP
    [MQTT_APP::INFO]  Trigger OTA...(MQTT:: cloud)
    [MQTT_APP::INFO]  Starting Cloud OTA
    [OTA::DEBUG] OTA_IF STATUS = 2
    OtaArchive_Init: OTA archive version = OTA_ARCHIVE_2.0.0.4
    [OTA::DEBUG] candidate version: (20220908141720) is newer than current version: (202209021704)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParse: set state=ARCHIVE_STATE_PARSE_HDR
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=0 (0), unprocessed=1024
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: parsing archive file header
    OtaArchive_RunParseTar: filetype=5, directory=20220908141720_CC3235SF/
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=512 (512), unprocessed=512
    [OTA::DEBUG] ProcessOta:: Ready to process (512)
    OtaArchive_RunParseTar: parsing archive file header
    OtaArchive_RunParseTar: filetype=5, directory=20220908141720_CC3235SF/0/
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=512 (1024), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (2048)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: parsing archive file header
    OtaArchive_RunParseTar: filetype=5, directory=20220908141720_CC3235SF/1/
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=512 (1536), unprocessed=512
    [OTA::DEBUG] ProcessOta:: Ready to process (512)
    OtaArchive_RunParseTar: parsing archive file header
    OtaArchive_RunParseTar: filetype=5, directory=20220908141720_CC3235SF/2/
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=512 (2048), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (3072)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: parsing archive file header
    OtaArchive_RunParseTar: FileType=0, FileName=ota.cmd, FileSize=1422
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=512 (2560), unprocessed=512
    [OTA::DEBUG] ProcessOta:: Ready to process (512)
    [_BundleCmdFile_Parse]    bundle cmd file=/sys/mcubootinfo.bin, sig_len=0, SHA_256_Digets=ca07d9c0c8cf718e227cc62a5198025728005c056ab53b5c8242af364fa437ed,  cert=, secured=1, bundle=1
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=244 (2804), unprocessed=268
    [OTA::DEBUG] ProcessOta:: read=756 (3828)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [_BundleCmdFile_Parse]    bundle cmd file=/sys/mcuflashimg.bin, sig_len=256, SHA_256_Digets=afa2e54e9254ad81580e32869a09b1080264fe8687968a970aba3cf0114e23d7,  cert=dummy-root-ca-cert, secured=1, bundle=1
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=600 (3404), unprocessed=424
    [OTA::DEBUG] ProcessOta:: read=600 (4428)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [_BundleCmdFile_Parse]    bundle cmd file=/sys/servicepack.ucf, sig_len=256, SHA_256_Digets=a6f90714f1df6deb7394f7f9f8960b33739a6a7e4482c9c278934db60038dcd0,  cert=, secured=1, bundle=1
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=577 (3981), unprocessed=447
    [OTA::DEBUG] ProcessOta:: read=577 (5005)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: parsing archive file header
    OtaArchive_RunParseTar: skip block align  RecvBufLen=1024, SkipAlignSize=115
    OtaArchive_RunParseTar: FileType=0, FileName=ota.sign, FileSize=70
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=627 (4608), unprocessed=397
    [OTA::DEBUG] ProcessOta:: read=627 (5632)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=70 (4678), unprocessed=954
    [OTA::DEBUG] ProcessOta:: Ready to process (954)
    OtaArchive_RunParseTar: parsing archive file header
    OtaArchive_RunParseTar: skip block align  RecvBufLen=954, SkipAlignSize=442
    OtaArchive_RunParseTar: FileType=0, FileName=/sys/mcubootinfo.bin, FileSize=16
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=954 (5632), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (6656)
    [OTA::INFO]  ProcessOta: ---- Writing file: /sys/mcubootinfo.bin
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
       Create/Open for write file /sys/mcubootinfo.bin
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=0 (5632), unprocessed=1024
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 16 to file /sys/mcubootinfo.bin total 16.
    
     Hash verification succeeded.
        Total archive file bytes 5648.
    OtaArchive_RunParseTar: 1 files that are mentioned in the ota.cmd were saved
    OtaArchive_RunParseTar: Downloading File Completed - Size=16
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=16 (5648), unprocessed=1008
    [OTA::DEBUG] ProcessOta:: Ready to process (1008)
    OtaArchive_RunParseTar: parsing archive file header
    OtaArchive_RunParseTar: skip block align  RecvBufLen=1008, SkipAlignSize=496
    OtaArchive_RunParseTar: FileType=0, FileName=/sys/mcuflashimg.bin, FileSize=161344
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1008 (6656), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (7680)
    [OTA::INFO]  ProcessOta: ---- Writing file: /sys/mcuflashimg.bin
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
       Create/Open for write file /sys/mcuflashimg.bin
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=0 (6656), unprocessed=1024
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 1024.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (7680), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (8704)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 2048.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (8704), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (9728)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 3072.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (9728), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (10752)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 4096.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (10752), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (04%) 10752/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (11776)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 5120.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (11776), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (12800)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 6144.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (12800), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (13824)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 7168.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (13824), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (14848)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 8192.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (14848), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (15872)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 9216.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (15872), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (16896)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 10240.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (16896), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (17920)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 11264.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (17920), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (18944)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 12288.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (18944), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (19968)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 13312.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (19968), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (20992)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 14336.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (20992), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (08%) 20992/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (22016)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 15360.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (22016), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (23040)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 16384.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (23040), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (24064)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 17408.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (24064), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (25088)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 18432.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (25088), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (26112)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 19456.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (26112), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (27136)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 20480.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (27136), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (28160)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 21504.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (28160), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (29184)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 22528.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (29184), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (30208)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 23552.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (30208), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (31232)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 24576.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (31232), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (12%) 31232/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (32256)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 25600.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (32256), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (33280)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 26624.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (33280), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (34304)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 27648.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (34304), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (35328)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 28672.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (35328), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (36352)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 29696.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (36352), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (37376)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 30720.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (37376), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (38400)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 31744.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (38400), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (39424)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 32768.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (39424), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (40448)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 33792.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (40448), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (41472)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 34816.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (41472), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (16%) 41472/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (42496)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 35840.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (42496), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (43520)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 36864.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (43520), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (44544)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 37888.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (44544), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (45568)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 38912.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (45568), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (46592)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 39936.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (46592), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (47616)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 40960.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (47616), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (48640)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 41984.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (48640), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (49664)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 43008.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (49664), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (50688)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 44032.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (50688), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (51712)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 45056.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (51712), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (20%) 51712/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (52736)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 46080.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (52736), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (53760)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 47104.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (53760), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (54784)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 48128.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (54784), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (55808)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 49152.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (55808), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (56832)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 50176.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (56832), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (57856)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 51200.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (57856), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (58880)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 52224.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (58880), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (59904)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 53248.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (59904), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (60928)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 54272.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (60928), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (61952)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 55296.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (61952), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (24%) 61952/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (62976)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 56320.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (62976), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (64000)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 57344.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (64000), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (65024)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 58368.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (65024), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (66048)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 59392.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (66048), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (67072)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 60416.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (67072), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (68096)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 61440.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (68096), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (69120)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 62464.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (69120), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (70144)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 63488.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (70144), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (71168)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 64512.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (71168), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (72192)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 65536.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (72192), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (28%) 72192/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (73216)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 66560.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (73216), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (74240)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 67584.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (74240), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (75264)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 68608.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (75264), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (76288)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 69632.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (76288), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (77312)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 70656.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (77312), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (78336)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 71680.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (78336), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (79360)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 72704.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (79360), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (80384)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 73728.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (80384), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (81408)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 74752.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (81408), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (82432)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 75776.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (82432), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (32%) 82432/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (83456)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 76800.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (83456), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (84480)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 77824.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (84480), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (85504)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 78848.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (85504), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (86528)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 79872.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (86528), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (87552)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 80896.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (87552), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (88576)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 81920.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (88576), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (89600)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 82944.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (89600), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (90624)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 83968.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (90624), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (91648)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 84992.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (91648), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (92672)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 86016.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (92672), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (36%) 92672/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (93696)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 87040.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (93696), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (94720)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 88064.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (94720), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (95744)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 89088.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (95744), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (96768)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 90112.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (96768), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (97792)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 91136.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (97792), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (98816)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 92160.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (98816), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (99840)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 93184.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (99840), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (100864)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 94208.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (100864), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (101888)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 95232.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (101888), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (102912)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 96256.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (102912), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (40%) 102912/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (103936)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 97280.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (103936), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (104960)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 98304.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (104960), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (105984)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 99328.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (105984), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (107008)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 100352.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (107008), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (108032)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 101376.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (108032), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (109056)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 102400.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (109056), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (110080)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 103424.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (110080), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (111104)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 104448.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (111104), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (112128)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 105472.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (112128), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (113152)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 106496.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (113152), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (44%) 113152/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (114176)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 107520.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (114176), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (115200)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 108544.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (115200), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (116224)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 109568.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (116224), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (117248)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 110592.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (117248), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (118272)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 111616.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (118272), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (119296)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 112640.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (119296), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (120320)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 113664.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (120320), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (121344)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 114688.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (121344), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (122368)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 115712.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (122368), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (123392)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 116736.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (123392), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (48%) 123392/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (124416)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 117760.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (124416), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (125440)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 118784.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (125440), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (126464)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 119808.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (126464), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (127488)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 120832.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (127488), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (128512)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 121856.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (128512), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (129536)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 122880.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (129536), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (130560)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 123904.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (130560), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (131584)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 124928.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (131584), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (132608)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 125952.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (132608), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (133632)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 126976.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (133632), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (52%) 133632/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (134656)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 128000.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (134656), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (135680)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 129024.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (135680), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (136704)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 130048.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (136704), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (137728)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 131072.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (137728), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (138752)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 132096.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (138752), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (139776)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 133120.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (139776), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (140800)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 134144.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (140800), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (141824)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 135168.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (141824), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (142848)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 136192.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (142848), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (143872)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 137216.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (143872), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (56%) 143872/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (144896)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 138240.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (144896), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (145920)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 139264.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (145920), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (146944)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 140288.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (146944), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (147968)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 141312.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (147968), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (148992)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 142336.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (148992), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (150016)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 143360.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (150016), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (151040)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 144384.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (151040), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (152064)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 145408.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (152064), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (153088)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 146432.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (153088), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (154112)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 147456.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (154112), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (60%) 154112/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (155136)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 148480.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (155136), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (156160)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 149504.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (156160), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (157184)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 150528.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (157184), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (158208)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 151552.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (158208), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (159232)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 152576.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (159232), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (160256)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 153600.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (160256), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (161280)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 154624.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (161280), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (162304)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 155648.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (162304), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (163328)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 156672.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (163328), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (164352)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 157696.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (164352), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (64%) 164352/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (165376)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 158720.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (165376), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (166400)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 159744.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (166400), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (167424)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/mcuflashimg.bin total 160768.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (167424), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (168448)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 576 to file /sys/mcuflashimg.bin total 161344.
    
     Hash verification succeeded.
        Total archive file bytes 168000.
    OtaArchive_RunParseTar: 2 files that are mentioned in the ota.cmd were saved
    OtaArchive_RunParseTar: Downloading File Completed - Size=161344
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=576 (168000), unprocessed=448
    [OTA::DEBUG] ProcessOta:: read=576 (169024)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: parsing archive file header
    OtaArchive_RunParseTar: skip block align  RecvBufLen=1024, SkipAlignSize=448
    OtaArchive_RunParseTar: FileType=0, FileName=/sys/servicepack.ucf, FileSize=81916
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=960 (168960), unprocessed=64
    [OTA::DEBUG] ProcessOta:: read=960 (169984)
    [OTA::INFO]  ProcessOta: ---- Writing file: /sys/servicepack.ucf
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
       Create/Open for write file /sys/servicepack.ucf
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=0 (168960), unprocessed=1024
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 1024.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (169984), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (171008)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 2048.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (171008), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (172032)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 3072.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (172032), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (173056)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 4096.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (173056), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (174080)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 5120.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (174080), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (68%) 174080/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (175104)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 6144.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (175104), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (176128)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 7168.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (176128), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (177152)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 8192.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (177152), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (178176)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 9216.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (178176), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (179200)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 10240.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (179200), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (180224)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 11264.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (180224), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (181248)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 12288.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (181248), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (182272)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 13312.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (182272), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (183296)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 14336.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (183296), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (184320)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 15360.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (184320), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (72%) 184320/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (185344)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 16384.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (185344), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (186368)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 17408.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (186368), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (187392)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 18432.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (187392), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (188416)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 19456.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (188416), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (189440)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 20480.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (189440), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (190464)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 21504.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (190464), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (191488)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 22528.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (191488), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (192512)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 23552.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (192512), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (193536)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 24576.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (193536), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (194560)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 25600.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (194560), unprocessed=0
    [OTA::INFO]  ProcessOta: ---- Download file in progress (76%) 194560/256000 ----
    [OTA::DEBUG] ProcessOta:: read=1024 (195584)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 26624.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (195584), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=1024 (196608)
    [OTA::DEBUG] ProcessOta:: Ready to process (1024)
    OtaArchive_RunParseTar: Write size 1024 to file /sys/servicepack.ucf total 27648.
    [OTA::DEBUG] ProcessOta:: OtaArchive status=0, processed=1024 (196608), unprocessed=0
    [OTA::DEBUG] ProcessOta:: read=0 (196608)
    [MQTT_APP::INFO]  OTA_NOTIF_IMAGE_DOWNLOADED
    [OTA::DEBUG] OTA_IF STATUS = 3
    [MQTT_APP::INFO]  MQTT_EVENT_CLIENT_DISCONNECT
    
    [MQTT_APP::INFO]  MQTT_EVENT_DESTROY
    
    [SlNe[WIFI::INFO]  [SlWifiConnEventHandler] POWERED DOWN
    tConnEventHandler] I/F 0 - DISCONNECTED!
    [OTA::INFO]  OtaWatchDo[WIFI::INFO]   [Event] STA disconnected from AP (Reason Code = 200)
    g: Watchdog is updated by mcubootinfo.bin from the OTA image
    [OTA::INFO]  OTA_IF_install: reseting the platform...
    
    
    
    
            ============================================
               MQTT client Example Ver: 2.0.3T
            ============================================
    
             CHIP: 0x31100019
             MAC:  3.7.0.1
             PHY:  3.1.0.26
             NWP:  4.13.0.2
             ROM:  8738
             HOST: 3.0.1.71
             MAC address: 34:03:de:11:40:80
    
            ============================================
    [WIFI::INFO]  [SlWifiConnEventHandler] POWERED_UP
    [WIFI::INFO]    MAC address: 34:3:de:11:40:80
    [WIFI::INFO]   [Event] STA connected to AP - BSSID:54:75:95:c7:88:86, SSID:ysh1234
    [WIFI::INFO]  [NETAPP EVENT] IP Acquired: IP=192.168.0.86 , Gateway=192.168.0.1
    [SlNetConnEventHandler] I/F 1 - CONNECTED (MAC LEVEL)!
    [SlNetConnEventHandler] I/F 1 - CONNECTED (IP LEVEL)!
    [SlNetConnEventHandler] I/F 1 - CONNECTED (INTERNET LEVEL)!
    [OTA::INFO]  OTA_IF_INIT:: Existing OTA Version = 202209021704
    [MQTT_APP::INFO]  Subs[OTA::DEBUG] ...OTA image is not PENDING_COMMIT
    cribed to all topics successfully
    
    [MQTT_APP::INFO]  Wi-Fi connection is UP
    [MQTT_APP::INFO]  MQTT_EVENT_CONNACK
    
    [MQTT_APP::INFO]  MQTT connection is UP
    
    internal_ota_log.txt

  • It seems that the server closed the connection before the TAR file was completely transferred,

    See line 881 in the cloud_ota log - the PrcoessOta reports read=0 (reading 0 bytes from receive() on a TCP socket means that the peer sent FIN to close the connection.

    Apparently the OTA_IF doesn't reports this as an error (theoretically an error could be reported since there are more bytes to read) and since the file (/sys/servicepack.ucf in this case) is not closed correctly, the entire OTA "bundle" is being invalidated.  

    We will be able to verify this with an air sniffer, but i would check the server for any size limitation.

  • OK  ,this problem by fenix http server.

    I create apach http server in ubuntu,ota is success.

    Thanks