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.

CC3220SF: SDK 2.40 - local ota example - OtaArchive error -20199

Part Number: CC3220SF
Other Parts Discussed in Thread: UNIFLASH,

Hi community ! 

By testing the local ota example of SDK2.40, we have noticed an issue, while running the update.

When trying to download the file wirelessfull.png, its name has been modified to wirelessfull.png0000644, thus generating OtaArchive error -20199.

By comparing with SDK2.30, this error does not happen.

See logs of both SDK2.40 and SDK2.30.

Thanks for checking out !

Vincent Vuarnoz

		 =================================================

		           local ota SDK2.40 Example Ver. 1.05      

		 =================================================




[Local ota task] Woken up from Hibernate

[Local ota task] ConfigureHttpServer for secured mode...

[Local ota task] HTTP Server Stopped

[Local ota task] HTTP Server Re-started

[Local ota task] Device is configured in default state 

[Local ota task] SimpleLinkInitCallback: started in role -2012, set the requested role 0

[Local ota task] SimpleLinkInitCallback: restarted in role 0

[Provisioning task] detected device is CC3220SF

[Local ota task] Host Driver Version: 3.0.1.46

Build Version 3.10.0.5.31.2.0.0.0.2.2.0.6

[Local ota task] WlanConnect SSID=TMSDK

[WLAN EVENT] STA Connected to the AP: TMSDK ,BSSID: b0:e5:ed:67:9d:65

[NETAPP EVENT] IP Acquired: IP=192.168.8.165 , Gateway=192.168.8.1

[Local ota task] Pinging gateway, please wait...

[Local ota task] pinging to gateway succeeded 

[Local ota task] waiting for new ota upload... 

[Link local task] HTTP GET Request

[Link local task] characteristic is: macaddress

[Link local task] characteristic is: ipaddress

[Link local task] characteristic is: ssid

[Provisioning task] detected device is CC3220SF

[Link local task] HTTP GET Request

[Link local task] characteristic is: version

[Link local task] HTTP GET Request

[Link local task] characteristic is: ipaddress

[Provisioning task] detected device is CC3220SF

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[Link local task] HTTP PUT Request

[Link local task] characteristic is: filename

[Link local task] value is: 1.06.tar

[Provisioning task] detected device is CC3220SF

[Link local task] Received OTA filename 1.06.tar, len = 337920 

[OtaArchive_Init] OTA archive version = OTA_ARCHIVE_2.0.0.4
[    OtaArchive_CheckVersion] current version str = 20180503150640, decimal = -1548173264
[    OtaArchive_CheckVersion] new     version str = 1.06.tar, decimal = 1
[    OtaArchive_CheckVersion] older version update - 1.06.tar
[_BundleCmdFile_Parse]    bundle cmd file=/sys/mcubootinfo.bin, sig_len=0, SHA_256_Digets=ca07d9c0c8cf718e227cc62a5198025728005c056ab53b5c8242af364fa437ed,  cert=, secured=1, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/sys/mcuflashimg.bin, sig_len=256, SHA_256_Digets=cb0ee4f306df213ee7c6e99bfb247e216cdfa8d47d35a74b9c08ee716a8924dd,  cert=dummy-root-ca-cert, secured=1, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/css/style.css, sig_len=0, SHA_256_Digets=40269725b8af3f678e58444efc21de7640988932ca891432bf699d26dc73b65f,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/help.html, sig_len=0, SHA_256_Digets=3e3b36240749d60e5fd1ecf4b8737f3df155a2b91eb4e8a267a4653b6a58d9ba,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/images/icons/help.png, sig_len=0, SHA_256_Digets=81d79e4b38391e7d3bbbe825d639ca9a4bae777bb1f792d6805e8616a3c7d71d,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/images/icons/menu.png, sig_len=0, SHA_256_Digets=ec6173aa201099907edf035e11fd23462499f0642e8aaa967838fddad332c3be,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/images/icons/wireless.png, sig_len=0, SHA_256_Digets=e04e33b015cf29d69124eb970d410f21c96d72776131bff908fa41ded2b8f65f,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/images/icons/wirelessfull.png, sig_len=0, SHA_256_Digets=5ea6198e7f4d1ea4d4a6317696a5d10e602797904b3a00262e02323999d7b3c4,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/images/tilogo.gif, sig_len=0, SHA_256_Digets=3e59f665ba3876aafbc0b124459df996dc85c9bc7533df63b670ba19228e2d1e,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/index.html, sig_len=0, SHA_256_Digets=d7bf04dad7a65d22ff3d44d5d0caadb4da79ffa838efa2a9bbed6deaa2a3ca4e,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/js/jquery.min.js, sig_len=0, SHA_256_Digets=22642f202577f0ba2f22cbe56b6cf291a09374487567[ota report task] OTA progress 1% 

cd3563e0d2a29f75c0c5,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/js/scripts.js, sig_len=0, SHA_256_Digets=499033372e66443a41a9d407717ed82da66550b1ff067549cfe88b0c058e1f9b,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/ota.html, sig_len=0, SHA_256_Digets=d37906f095315cef812fd491f6406725816b0684adb2734604bd332c700c15e7,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/settings.html, sig_len=0, SHA_256_Digets=a7ef881e185e778773b9f56379e8b5d19181ce35fb33f714ffa57b8d8d30b2b9,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=ca-priv-key.der, sig_len=0, SHA_256_Digets=d3f34abc6a4de3f009273b4e1d0c71957835425baa0c9896aca88cb508a7ee8b,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=ca_in_cert_store, sig_len=0, SHA_256_Digets=34941765501d16a4ab776c3a74d89945f1a2575c5893069f62ffbe803f344549,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=dummy-root-ca-cert, sig_len=0, SHA_256_Digets=34941765501d16a4ab776c3a74d89945f1a2575c5893069f62ffbe803f344549,  cert=, secured=0, bundle=0
[_BundleCmdFile_Parse]    bundle cmd file=dummy_ota_vendor_cert.der, sig_len=0, SHA_256_Digets=a160b855d7a00a6002922181377249a80ecd6a738d23e1dd8976c8bb7fad1bcb,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/sys/servicepack.ucf, sig_len=256, SHA_256_Digets=e00fd39f7c7daad6a72cc634204d48f6d6d3487323b422b64c19625c5e0e315b,  cert=, secured=1, bundle=1
[OtaArchive_RunParseTar]   Create/Open for write file dummy-root-ca-cert

 Hash verification succeeded.
    Total archive file bytes 10703.
OtaArchive_RunParseTar: 1 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=975
[OtaArchive_RunParseTar]   Create/Open for write file /sys/mcubootinfo.bin
[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]


 Hash verification succeeded.
    Total archive file bytes 11280.
OtaArchive_RunParseTar: 2 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=16
[OtaArchive_RunParseTar]   Create/Open for write file /sys/mcuflashimg.bin
[ota report task] OTA progress 5% 


 Hash verification succeeded.
    Total archive file bytes 125980.
OtaArchive_RunParseTar: 3 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=113692
[OtaArchive_RunParseTar]   Create/Open for write file /www/css/style.css

 Hash verification succeeded.
    Total archive file bytes 156538.
OtaArchive_RunParseTar: 4 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=29562
[OtaArchive_RunParseTar]   Create/Open for write file /www/help.html

 Hash verification succeeded.
    Total archive file bytes 157985.
OtaArchive_RunParseTar: 5 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=801
[OtaArchive_RunParseTar]   Create/Open for write file /www/images/icons/help.png

 Hash verification succeeded.
    Total archive file bytes 160009.
OtaArchive_RunParseTar: 6 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=1289
[OtaArchive_RunParseTar]   Create/Open for write file /www/images/icons/menu.png

 Hash verification succeeded.
    Total archive file bytes 161743.
OtaArchive_RunParseTar: 7 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=975
[OtaArchive_RunParseTar]   Create/Open for write file /www/images/icons/wireless.png

 Hash verification succeeded.
    Total archive file bytes 163480.
OtaArchive_RunParseTar: 8 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=1176
[OtaArchive_RunParseTar]   Create/Open for write file /www/images/icons/wirelessfull.png0000644

 A file was found in the TAR without being mentioned in the bundle command file 
[Link local task] OtaArchive error -20199 

[Link local task] ota put done. status=-1 
[Link local task] waiting for signal from report server
[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 16% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] Error reading from mailbox, aborting progress bar... 

[Common] CC32xx MCU reset request




		 =================================================

		           local ota SDK2.40 Example Ver. 1.05      

		 =================================================




[Local ota task] Woken up from Hibernate

[Local ota task] ConfigureHttpServer for secured mode...

[Local ota task] HTTP Server Stopped

[Local ota task] HTTP Server Re-started

[Local ota task] Device is configured in default state 

[Local ota task] SimpleLinkInitCallback: started in role -2012, set the requested role 0

[Local ota task] SimpleLinkInitCallback: restarted in role 0

[Provisioning task] detected device is CC3220SF

[Local ota task] Host Driver Version: 3.0.1.46

Build Version 3.10.0.5.31.2.0.0.0.2.2.0.6

[Local ota task] WlanConnect SSID=TMSDK

[WLAN EVENT] STA Connected to the AP: TMSDK ,BSSID: b0:e5:ed:67:9d:65

[NETAPP EVENT] IP Acquired: IP=192.168.8.165 , Gateway=192.168.8.1

[Local ota task] Pinging gateway, please wait...

[Local ota task] pinging to gateway succeeded 

[Local ota task] waiting for new ota upload... 

[Link local task] HTTP GET Request

[Link local task] characteristic is: version

		 =================================================

		           local ota SDK2.30 Example Ver. 1.01      

		 =================================================




[Local ota task] Wake up on Power ON

[NETAPP EVENT] IP Acquired: IP=10.123.45.1 , Gateway=10.123.45.1

[Local ota task] ConfigureHttpServer for secured mode...

[Local ota task] HTTP Server Stopped

[Local ota task] HTTP Server Re-started

[Local ota task] Device is configured in default state 

[NETAPP EVENT] IP Acquired: IP=10.123.45.1 , Gateway=10.123.45.1

[Local ota task] SimpleLinkInitCallback: started in role 2, set the requested role 0

[Local ota task] SimpleLinkInitCallback: restarted in role 0

[Provisioning task] detected device is CC3220SF

[Local ota task] Host Driver Version: 3.0.1.41

Build Version 3.9.0.6.31.2.0.0.0.2.2.0.6

[Local ota task] WlanConnect SSID=TMSDK

[WLAN EVENT] STA Connected to the AP: TMSDK ,BSSID: b0:e5:ed:67:9d:65

[NETAPP EVENT] IP Acquired: IP=192.168.8.165 , Gateway=192.168.8.1

[Local ota task] Pinging gateway, please wait...

[Local ota task] pinging to gateway succeeded 

[Local ota task] waiting for new ota upload... 

[Link local task] HTTP GET Request

[Link local task] characteristic is: macaddress

[Link local task] characteristic is: ipaddress

[Link local task] characteristic is: ssid

[Provisioning task] detected device is CC3220SF

[Link local task] HTTP GET Request

[Link local task] characteristic is: version

[Link local task] HTTP GET Request

[Link local task] characteristic is: ipaddress

[Provisioning task] detected device is CC3220SF

[Link local task] HTT[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

P PUT Request

[Link local task] characteristic is: filename

[Link local task] value is: 1.02.tar

[Provisioning task] detected device is CC3220SF

[Link local task] Received OTA filename 1.02.tar, len = 327680 

[OtaArchive_Init] OTA archive version = OTA_ARCHIVE_2.0.0.4
[    OtaArchive_CheckVersion] current version str = 20180503150640, decimal = -1548173264
[    OtaArchive_CheckVersion] new     version str = 1.02.tar, decimal = 1
[    OtaArchive_CheckVersion] older version update - 1.02.tar
[_BundleCmdFile_Parse]    bundle cmd file=/sys/mcubootinfo.bin, sig_len=0, SHA_256_Digets=ca07d9c0c8cf718e227cc62a5198025728005c056ab53b5c8242af364fa437ed,  cert=, secured=1, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/sys/mcuflashimg.bin, sig_len=256, SHA_256_Digets=4abb083d10b2c0f9af795d0422b352d7524f80098f9cd4dbdd22054b370781f2,  cert=dummy-root-ca-cert, secured=1, bundle=1
[ota report task] OTA progress 0% 

[_BundleCmdFile_Parse]    bundle cmd file=/www/css/style.css, sig_len=0, SHA_256_Digets=40269725b8af3f678e58444efc21de7640988932ca891432bf699d26dc73b65f,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/help.html, sig_len=0, SHA_256_Digets=a69981ca6e729324b0556652d64209a692134972a648951ec379e5ec362b9e72,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/images/icons/help.png, sig_len=0, SHA_256_Digets=81d79e4b38391e7d3bbbe825d639ca9a4bae777bb1f792d6805e8616a3c7d71d,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/images/icons/menu.png, sig_len=0, SHA_256_Digets=ec6173aa201099907edf035e11fd23462499f0642e8aaa967838fddad332c3be,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/images/icons/wireless.png, sig_len=0, SHA_256_Digets=e04e33b015cf29d69124eb970d410f21c96d72776131bff908fa41ded2b8f65f,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/images/icons/wirelessfull.png, sig_len=0, SHA_256_Digets=5ea6198e7f4d1ea4d4a6317696a5d10e602797904b3a00262e02323999d7b3c4,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/images/tilogo.gif, sig_len=0, SHA_256_Digets=3e59f665ba3876aafbc0b124459df996dc85c9bc7533df63b670ba19228e2d1e,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/index.html, sig_len=0, SHA_256_Digets=e72a5da47a35a7c312baaef2e47661fd7412937119a7b9b151c1b16996f2b37f,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/js/jquery.min.js, sig_len=0, SHA_256_Digets=22642f202577f0ba2f22cbe56b6cf291a09374487567cd3563e0d2a29f75c0c5,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/js/scripts.js, sig_len=0, SHA_256_Digets=499033372e66443a41a9d407717ed82da66550b1ff067549cfe88b0c058e1f9b,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/ota.html, sig_len=0, SHA_256_Digets=066fe36281c0f54c5445771c0b9f996e961dc8b75f012225063ea344f11ce8c7,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/www/settings.html, sig_len=0, SHA_256_Digets=a7ef881e185e778773b9f56379e8b5d19181ce35fb33f714ffa57b8d8d30b2b9,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=ca-priv-key.der, sig_len=0, SHA_256_Digets=d3f34abc6a4de3f009273b4e1d0c71957835425baa0c9896aca88cb508a7ee8b,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=ca_in_cert_store, sig_len=0, SHA_256_Digets=34941765501d16a4ab776c3a74d89945f1a2575c5893069f62ffbe803f344549,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=dummy-root-ca-cert, sig_len=0, SHA_256_Digets=34941765501d16a4ab776c3a74d89945f1a2575c5893069f62ffbe803f344549,  cert=, secured=0, bundle=0
[_BundleCmdFile_Parse]    bundle cmd file=[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

dummy_ota_vendor_cert.der, sig_len=0, SHA_256_Digets=a160b855d7a00a6002922181377249a80ecd6a738d23e1dd8976c8bb7fad1bcb,  cert=, secured=0, bundle=1
[_BundleCmdFile_Parse]    bundle cmd file=/sys/servicepack.ucf, sig_len=256, SHA_256_Digets=8cf3c1054efa5322958fa80d18a6db868307964becaba33421384f69e46e7820,  cert=, secured=1, bundle=1
[ota report task] OTA progress 2% 

[OtaArchive_RunParseTar]   Create/Open for write file dummy-root-ca-cert
[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]


 Hash verification succeeded.
    Total archive file bytes 10703.
OtaArchive_RunParseTar: 1 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=975
[OtaArchive_RunParseTar]   Create/Open for write file /sys/mcubootinfo.bin

 Hash verification succeeded.
    Total archive file bytes 11280.
OtaArchive_RunParseTar: 2 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=16
[OtaArchive_RunParseTar]   Create/Open for write file /sys/mcuflashimg.bin
[ota report task] OTA progress 4% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 17% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 23% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 26% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 29% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 33% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 37% 


 Hash verification succeeded.
    Total archive file bytes 125196.
OtaArchive_RunParseTar: 3 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=112908
[OtaArchive_RunParseTar]   Create/Open for write file /www/css/style.css
[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 41% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 44% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]


 Hash verification succeeded.
    Total archive file bytes 155514.
OtaArchive_RunParseTar: 4 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=29562
[OtaArchive_RunParseTar]   Create/Open for write file /www/help.html
[ota report task] OTA progress 47% 


 Hash verification succeeded.
    Total archive file bytes 156961.
OtaArchive_RunParseTar: 5 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=801
[OtaArchive_RunParseTar]   Create/Open for write file /www/images/icons/help.png

 Hash verification succeeded.
    Total archive file bytes 158985.
OtaArchive_RunParseTar: 6 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=1289
[OtaArchive_RunParseTar]   Create/Open for write file /www/images/icons/menu.png
[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]


 Hash verification succeeded.
    Total archive file bytes 160719.
OtaArchive_RunParseTar: 7 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=975
[OtaArchive_RunParseTar]   Create/Open for write file /www/images/icons/wireless.png

 Hash verification succeeded.
    Total archive file bytes 162456.
OtaArchive_RunParseTar: 8 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=1176
[OtaArchive_RunParseTar]   Create/Open for write file /www/images/icons/wirelessfull.png
[ota report task] OTA progress 49% 


 Hash verification succeeded.
    Total archive file bytes 164408.
OtaArchive_RunParseTar: 9 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=1080
[OtaArchive_RunParseTar]   Create/Open for write file /www/images/tilogo.gif
[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]


 Hash verification succeeded.
    Total archive file bytes 172558.
OtaArchive_RunParseTar: 10 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=7182
[OtaArchive_RunParseTar]   Create/Open for write file /www/index.html
[ota report task] OTA progress 52% 


 Hash verification succeeded.
    Total archive file bytes 174583.
OtaArchive_RunParseTar: 11 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=1015
[OtaArchive_RunParseTar]   Create/Open for write file /www/js/jquery.min.js
[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 56% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 60% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 63% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 65% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 69% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 73% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]

[ota report task] OTA progress 78% 


 Hash verification succeeded.
    Total archive file bytes 259484.
OtaArchive_RunParseTar: 12 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=84380
[OtaArchive_RunParseTar]   Create/Open for write file /www/js/scripts.js
[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]


 Hash verification succeeded.
    Total archive file bytes 262658.
OtaArchive_RunParseTar: 13 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=2562
[OtaArchive_RunParseTar]   Create/Open for write file /www/ota.html
[ota report task] OTA progress 81% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]


 Hash verification succeeded.
    Total archive file bytes 272835.
OtaArchive_RunParseTar: 14 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=9155
[OtaArchive_RunParseTar]   Create/Open for write file /www/settings.html
[ota report task] OTA progress 83% 

[SOCK ERROR] an event received on socket 0
[SOCK ERROR] Recoverable error occurred during the handshake -346
[SOCK EVENT] - Unexpected Event [20x]


 Hash verification succeeded.
    Total archive file bytes 290437.
OtaArchive_RunParseTar: 15 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=17029
[OtaArchive_RunParseTar]   Create/Open for write file ca-priv-key.der
[ota report task] OTA progress 88% 


 Hash verification succeeded.
    Total archive file bytes 292520.
OtaArchive_RunParseTar: 16 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=1192
[OtaArchive_RunParseTar]   Create/Open for write file ca_in_cert_store

 Hash verification succeeded.
    Total archive file bytes 294351.
OtaArchive_RunParseTar: 17 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=975
[OtaArchive_RunParseTar]   Create/Open for write file dummy_ota_vendor_cert.der

 Hash verification succeeded.
    Total archive file bytes 295526.
OtaArchive_RunParseTar: 18 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloadi[ota report task] Error accepting client connection, error -457 

ng File Completed - Size=614
[OtaArchive_RunParseTar]   Create/Open for write file /sys/servicepack.ucf

 Hash verification succeeded.
    Total archive file bytes 326134.
OtaArchive_RunParseTar: 19 files that are mentioned in the ota.cmd were saved
[OtaArchive_RunParseTar] Downloading File Completed - Size=29686
[OtaArchive_RunParseTar] End of archive...
[Link local task] sl_extLib_OtaRun: ---- Download file completed 1.02.tar
[Link local task] ota put done. status=0 
[Link local task] waiting for signal from report server
[Common] CC32xx MCU reset request




		 =================================================

		           local ota SDK2.30 Example Ver. 1.02      

		 =================================================




[Local ota task] Woken up from Hibernate

[NETAPP EVENT] IP Acquired: IP=10.123.45.1 , Gateway=10.123.45.1

[Local ota task] ConfigureHttpServer for secured mode...

[Local ota task] HTTP Server Stopped

[Local ota task] HTTP Server Re-started

[Local ota task] Device is configured in default state 

[NETAPP EVENT] IP Acquired: IP=10.123.45.1 , Gateway=10.123.45.1

[Local ota task] SimpleLinkInitCallback: started in role 2, set the requested role 0

[Local ota task] SimpleLinkInitCallback: restarted in role 0

[Provisioning task] detected device is CC3220SF

[Local ota task] Host Driver Version: 3.0.1.41

Build Version 3.9.0.6.31.2.0.0.0.2.2.0.6

[Local ota task] WlanConnect SSID=TMSDK

[WLAN EVENT] STA Connected to the AP: TMSDK ,BSSID: b0:e5:ed:67:9d:65

[NETAPP EVENT] IP Acquired: IP=192.168.8.165 , Gateway=192.168.8.1

[Local ota task] Pinging gateway, please wait...

[Local ota task] pinging to gateway succeeded 

[Local ota task] committing new ota download... 

[Local ota task] commit succeeded 

[Local ota task] waiting for new ota upload... 

[Link local task] HTTP GET Request

[Link local task] characteristic is: version

  • Hi,

    Flashing my CC3220 Launchpad with the uniflash project provided in the latest SDK, running the latest local_ota example through the debugger, and then providing the latest .tar provided through the web interface at <cc3220 IP./ota.html resulted in no errors on my end.

    Can you try ensuring that you are using all of the items below from the latest SDK version:

    • The Uniflash project from examples/rtos/CC3220SF_LAUNCHXL/demos/local_ota/uniflash
    • The local_ota project from examples/rtos/CC3220SF_LAUNCHXL/demos/local_ota/
    • The .tar OTA bundle from examples/rtos/CC3220SF_LAUNCHXL/demos/local_ota/tirtos/ccs/

    Then, run the example again and see if you still run into the same issue?

    Regards,

    Michael

  • Hi Michael,

    When using the .tar bundle from the SDK, it works fine (except that only the first OTA progress bar messages ("[ota report task] OTA progress 1%") went out, then no more.  (see log file)

    Side question: Any idea how to fix this?

    I've started from scratch again. The .tar provided in the SDK worked fine. And then compiled my own .tar and it also worked ! I guess that last time the file got corrupted while creating the .tar file. 

    Thanks for your time ! 

    Vincent Vuarnoz

    
    
    
    		 =================================================
    
    		           local ota SDK2.40 Example Ver. 1.07      
    
    		 =================================================
    
    
    
    
    [Local ota task] Wake up on Power ON
    
    [Local ota task] ConfigureHttpServer for secured mode...
    
    [Local ota task] HTTP Server Stopped
    
    [Local ota task] HTTP Server Re-started
    
    [Local ota task] Device is configured in default state 
    
    [Local ota task] SimpleLinkInitCallback: started in role -2012, set the requested role 0
    
    [Local ota task] SimpleLinkInitCallback: restarted in role 0
    
    [Provisioning task] detected device is CC3220SF
    
    [Local ota task] Host Driver Version: 3.0.1.46
    
    Build Version 3.10.0.5.31.2.0.0.0.2.2.0.6
    
    [Local ota task] WlanConnect SSID=TMSDK
    
    [WLAN EVENT] STA Connected to the AP: TMSDK ,BSSID: b0:e5:ed:67:9d:65
    
    [NETAPP EVENT] IP Acquired: IP=192.168.8.165 , Gateway=192.168.8.1
    
    [Local ota task] Pinging gateway, please wait...
    
    [Local ota task] pinging to gateway succeeded 
    
    [Local ota task] waiting for new ota upload... 
    
    [Link local task] HTTP GET Request
    
    [Link local task] HTTP GET Request
    
    [Link local task] characteristic is: macaddress
    
    [Link local task] characteristic is: ipaddress
    
    [Link local task] characteristic is: ssid
    
    [Provisioning task] detected device is CC3220SF
    
    [Link local task] HTTP GET Request
    
    [Link local task] characteristic is: version
    
    [Link local task] HTTP GET Request
    
    [Link local task] characteristic is: ipaddress
    
    [Provisioning task] detected device is CC3220SF
    
    [Link local task] HTTP PUT Request
    
    [Link local task] [SOCK ERROR] an event received on socket 0
    [SOCK ERROR] Recoverable error occurred during the handshake -346
    [SOCK EVENT] - Unexpected Event [20x]
    
    characteristic is: filename
    
    [Link local task] value is: cc3220sf_local_ota_freertos_ota.tar
    
    [Provisioning task] detected device is CC3220SF
    
    [Link local task] Received OTA filename cc3220sf_local_ota_freertos_ota.tar, len = 327680 
    
    [OtaArchive_Init] OTA archive version = OTA_ARCHIVE_2.0.0.4
    [    OtaArchive_CheckVersion] current version str = 20180503150640, decimal = -1548173264
    [    OtaArchive_CheckVersion] new     version str = cc3220sf_local, decimal = 0
    [    OtaArchive_CheckVersion] older version update - cc3220sf_local
    [_BundleCmdFile_Parse]    bundle cmd file=/sys/mcubootinfo.bin, sig_len=0, SHA_256_Digets=ca07d9c0c8cf718e227cc62a5198025728005c056ab53b5c8242af364fa437ed,  cert=, secured=1, bundle=1
    [_BundleCmdFile_Parse]    bundle cmd file=/sys/mcuflashimg.bin, sig_len=256, SHA_256_Digets=09594e22e3d62fc68a065d66483824030fad34c7b8741d19e70985e2a1d19eb1,  cert=dummyt-root-ca-cert, secured=1, bundle=1
    [_BundleCmdFile_Parse]    bundle cmd file=/www/css/style.css, sig_len=0, SHA_256_Digets=40269725b8af3f678e58444efc21de7640988932ca891432bf699d26dc73b65f,  cert=, secured=0, bundle=1
    [_BundleCmdFile_Parse]    bundle cmd file=/www/help.html, sig_len=0, SHA_256_Digets=3e3b36240749d60e5fd1ecf4b8737f3df155a2b91eb4e8a267a4653b6a58d9ba,  cert=, secured=0, bundle=1
    [_BundleCmdFile_Parse]    bundle cmd file=/www/images/icons/help.png, sig_len=0, SHA_256_Digets=81d79e4b38391e7d3bbbe825d639ca9a4bae777bb1f792d6805e8616a3c7d71d,  cert=, secured=0, bundle=1
    [_BundleCmdFile_Parse]    bundle cmd file=/www/images/icons/menu.png, sig_len=0, SHA_256_Digets=ec6173aa201099907edf035e11fd23462499f0642e8aaa967838fddad332c3be,  cert=, secured=0, bundle=1
    [_BundleCmdFile_Parse]    bundle cmd file=/www/images/icons/wireless.png, sig_len=0, SHA_256_Digets=e04e33b015cf29d69124eb970d410f21c96d72776131bff908fa41ded2b8f65f,  cert=, secured=0, bundle=1
    [_BundleCmdFile_Parse]    bundle cmd file=/www/images/icons/wirelessfull.png, sig_len=0, SHA_256_Digets=5ea6198e7f4d1ea4d4a6317696a5d10e602797904b3a00262e02323999d7b3c4,  cert=, secured=0, bundle=1
    [_BundleCmdFile_Parse]    bundle cmd file=/www/images/tilogo.gif, sig_len=0, SHA_256_Digets=3e59f665ba3876aafbc0b124459df996dc85c9bc7533df63b670ba19228e2d1e,  cert=, secured=0, bundle=1
    [_BundleCmdFile_Parse]    bundle cmd file=/www/index.html, sig_len=0, SHA_256_Digets=d7bf04dad7a65d22ff3d44d5d0caadb4da79ffa838efa2a9bbed[ota report task] OTA progress 1% 
    
    6deaa2a3ca4e,  cert=, secured=0, bundle=1
    [_BundleCmdFile_Parse]    bundle cmd file=/www/js/jquery.min.js, sig_len=0, SHA_256_Digets=22642f202577f0ba2f22cbe56b6cf291a09374487567cd3563e0d2a29f75c0c5,  cert=, secured=0, bundle=1
    [_BundleCmdFile_Parse]    bundle cmd file=/www/js/scripts.js, sig_len=0, SHA_256_Digets=499033372e66443a41a9d407717ed82da66550b1ff067549cfe88b0c058e1f9b,  cert=, secured=0, bundle=1
    [_BundleCmdFile_Parse]    bundle cmd file=/www/ota.html, sig_len=0, SHA_256_Digets=d37906f095315cef812fd491f6406725816b0684adb2734604bd332c700c15e7,  cert=, secured=0, bundle=1
    [_BundleCmdFile_Parse]    bundle cmd file=/www/settings.html, sig_len=0, SHA_256_Digets=a7ef881e185e778773b9f56379e8b5d19181ce35fb33f714ffa57b8d8d30b2b9,  cert=, secured=0, bundle=1
    [_BundleCmdFile_Parse]    bundle cmd file=dummyt-root-ca-cert, sig_len=0, SHA_256_Digets=34941765501d16a4ab776c3a74d89945f1a2575c5893069f62ffbe803f344549,  cert=, secured=0, bundle=0
    [_BundleCmdFile_Parse]    bundle cmd file=/sys/servicepack.ucf, sig_len=256, SHA_256_Digets=e00fd39f7c7daad6a72cc634204d48f6d6d3487323b422b64c19625c5e0e315b,  cert=, secured=1, bundle=1
    [OtaArchive_RunParseTar]   Create/Open for write file dummyt-root-ca-cert
    
     Hash verification succeeded.
        Total archive file bytes 9679.
    OtaArchive_RunParseTar: 1 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=975
    [OtaArchive_RunParseTar]   Create/Open for write file /sys/mcubootinfo.bin
    [SOCK ERROR] an event received on socket 0
    [SOCK ERROR] Recoverable error occurred during the handshake -346
    [SOCK EVENT] - Unexpected Event [20x]
    
    
     Hash verification succeeded.
        Total archive file bytes 10256.
    OtaArchive_RunParseTar: 2 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=16
    [OtaArchive_RunParseTar]   Create/Open for write file /sys/mcuflashimg.bin
    
     Hash verification succeeded.
        Total archive file bytes 124948.
    OtaArchive_RunParseTar: 3 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=113684
    [OtaArchive_RunParseTar]   Create/Open for write file /www/css/style.css
    
     Hash verification succeeded.
        Total archive file bytes 155514.
    OtaArchive_RunParseTar: 4 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=29562
    [OtaArchive_RunParseTar]   Create/Open for write file /www/help.html
    
     Hash verification succeeded.
        Total archive file bytes 156961.
    OtaArchive_RunParseTar: 5 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=801
    [OtaArchive_RunParseTar]   Create/Open for write file /www/images/icons/help.png
    
     Hash verification succeeded.
        Total archive file bytes 158985.
    OtaArchive_RunParseTar: 6 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=1289
    [OtaArchive_RunParseTar]   Create/Open for write file /www/images/icons/menu.png
    
     Hash verification succeeded.
        Total archive file bytes 160719.
    OtaArchive_RunParseTar: 7 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=975
    [OtaArchive_RunParseTar]   Create/Open for write file /www/images/icons/wireless.png
    
     Hash verification succeeded.
        Total archive file bytes 162456.
    OtaArchive_RunParseTar: 8 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=1176
    [OtaArchive_RunParseTar]   Create/Open for write file /www/images/icons/wirelessfull.png
    
     Hash verification succeeded.
        Total archive file bytes 164408.
    OtaArchive_RunParseTar: 9 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=1080
    [OtaArchive_RunParseTar]   Create/Open for write file /www/images/tilogo.gif
    
     Hash verification succeeded.
        Total archive file bytes 172558.
    OtaArchive_RunParseTar: 10 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=7182
    [OtaArchive_RunParseTar]   Create/Open for write file /www/index.html
    
     Hash verification succeeded.
        Total archive file bytes 174578.
    OtaArchive_RunParseTar: 11 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=1010
    [OtaArchive_RunParseTar]   Create/Open for write file /www/js/jquery.min.js
    
     Hash verification succeeded.
        Total archive file bytes 259484.
    OtaArchive_RunParseTar: 12 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=84380
    [OtaArchive_RunParseTar]   Create/Open for write file /www/js/scripts.js
    
     Hash verification succeeded.
        Total archive file bytes 262658.
    OtaArchive_RunParseTar: 13 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=2562
    [OtaArchive_RunParseTar]   Create/Open for write file /www/ota.html
    
     Hash verification succeeded.
        Total archive file bytes 272835.
    OtaArchive_RunParseTar: 14 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=9155
    [OtaArchive_RunParseTar]   Create/Open for write file /www/settings.html
    
     Hash verification succeeded.
        Total archive file bytes 290437.
    OtaArchive_RunParseTar: 15 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=17029
    [OtaArchive_RunParseTar]   Create/Open for write file /sys/servicepack.ucf
    
     Hash verification succeeded.
        Total archive file bytes 324894.
    OtaArchive_RunParseTar: 16 files that are mentioned in the ota.cmd were saved
    [OtaArchive_RunParseTar] Downloading File Completed - Size=33566
    [OtaArchive_RunParseTar] End of archive...
    [Link local task] sl_extLib_OtaRun: ---- Download file completed cc3220sf_local_ota_freertos_ota.tar
    [Link local task] ota put done. status=0 
    [Link local task] waiting for signal from report server
    [SOCK ERROR] an event received on socket 0
    [SOCK ERROR] Recoverable error occurred during the handshake -450
    [SOCK EVENT] - Unexpected Event [20x]
    
    [ota report task] Error accepting client connection, aborting progress bar... 
    
    [Link local task] HTTP GET Request
    
    [Link local task] characteristic is: version
    
    _ReadOtaVersionFile: Error sl_FsOpen ota.dat, Status=-2017
    [Link local task] ota bundle version file  does not exist
    [Common] CC32xx MCU reset request
    ������怆���[00]��������������������������������������������������������������������������������������������������[18][06]f�����[00][18]�[18]�[18]�[18]�[18]�[18]�[18]�[18]�[18]�[18]�[18]��[1E]�[06]��[00]��`f�[06]`f`�f�f�[00][06]�f�[00][18]ff�[18]��[00]��[18]�[00][18]�[18]�[00][18]�[18]�[06][18]�[18]�[18]�[18]�[18]�[18]�[18]�[18][06]f�����[00]��������������������������������������������������������������������������������������������������[18][06]f�������怞fxf�[1E]�[06]��[00]��`f�[06]`[06]~[06]�[1E]��ff[00]�f����f���[00]��[06]�[06]`�x[18]��[00][18][18]f��fx[18]��[06]�`fx��怞fxf�[1E]�[06]��[00]��`f�[06]`[06]~[06]�[1E]��ff[00]�����x���~�f��fx��`[06]~[00]�fx[18]�~f�[18][06]`�x��[18][06]`��fx[1E]�f��fx`�[00]���`�f���������怞fxf�[1E]�[06]��[00]��`f�[06]`[06]~[06]�[1E]��ff[00][18][18][06]f`f�f[00]��fx[18]�~f�[18][06]`�[06]~��[00][06]�fx`���怞fxf�[1E]�[06]��[00]��`f�[06]`[06]~[06]�[1E]��ff[00][18][18][06]f`f�f[00]��fx[18]�~f�[18][06]`��fx�[1E][06]~[06]�[18][06]~f�`���怞fxf�[1E]�[06]��[00]��`f�[06]`[06]~[06]�[1E]��ff[00][18][06]fxxf���fx[00]����[06]`�����x���~�f��fx`�[00]����[00][18]�fxx�[06]�f[06]�`[06]`��[06]~[06]�`fx[00][18][06]f��fxf�[1E]�[06]��[00]��`f�[06]`[06]~[06]�[1E]��ff[00]��f�f�[00][06]�f��������������`�f�[06]��[18]�[06]�[1E]����[18]���[06]~[06]�[18][06]~f�`�[00]����[00][18]���f�[00]��[18]x[06]xfx�x[06]�[00]��fx`[06]`[06]~��f�[00][18]�fx[06]f~f�[1E][06]~f�`�[00][18]���f�[00][18]�[18][06]f��fxf�[1E]�[06]��[00]��`f�[06]`[06]~[06]�[1E]��ff[00]��f�f�[00][06]�f��������������`�f�[06]��[18]�[06]�[1E]����[18]�[18]�fx[1E][06]~[06]�[18][06]~f�`�[00]����[00][18]���f�[00][18]�[18][06]f��f�f��xf���f��������~�[00][18]�f�����ff[00][18]�fx`fx[1E]�`fx`�[00][18]�fxxf���fx[00]����[06]`���x�x�x[06]x昆`��怞fxf�[1E]�[06]��[00]��`f�[06]`[06]~[06]�[1E]��ff[00][18][18]�[1E][06]~[00][18][06]��f�~f�[18][06]`�ff�[18]��f�����[18]��x��[00][18]�[06][18]�`[18][1E]���[18]�ff�[06]�`�[00][18]ff�[18]��f����[00]�x��[06][18]�[18]�[00][18]�f[18]�[1E]��[18]�[18][18]�[00][18]�[00][18]�[00][18]�[18][18]�[18][18]�[00][18]�x[18][06]f��fxf�[1E]�[06]��[00]��`f�[06]`[06]~[06]�[1E]��ff[00]�f�[06]���[1E]�������f�[1E]�`[06]`��f�[06]`�����x�x[06]�[06]�[06]xf������怞fxf�[1E]�[06]��[00]��`f�[06]`[06]~[06]�[1E]��ff[00][18][18]f��`��f�[00][18][1E]�[1E]�[06]����`f�f`xfx��`�f�f�f�f���f[06]~[00]����[00]��[06]~[06]�`fx��[18]�[18]�[18]�f��[06]~�[18]�[18][06]f��f���������f[00]����x�x[06]�[06]�[06]`f�[1E]�ff[00][18]�fx[1E]fx`[06]`��fx[06]f~f�[1E][06]~怘�

  • Hi Vincent,

    I'm glad that you managed to get the local ota example working.
    I'm looking at the progress bar issue, and it seems like there is something in the otaReportServerTask() that encounters a socket error, which prevents the progress bar updates being sent to your browser. On my end, I actually encounter an error when the progress bar is at 0%. This will need some more investigation, and I will most likely be filing a bug report so that the SDK team can take a look at it. It'll probably be a while before they resolve their investigation, so I'll be closing this thread for now. I'll update this thread when I get another update on that progress bar issue.

    Let me know if you need more clarification or if you have further questions on this topic.

    Regards,
    Michael
  • Hi Michael,

    It actually happened again ! The file wirelessfull.png0000644 showed up in the bundle. 

    EDIT: unzipping the .tar file shows that the file in question is not corrupted (yet?)...

    The UniFlash project from SDK2.40 has been taken. And it worked. After changing the mcuflashimg.bin a bunch of times, the generated ota bundle contains the corrupted file. If a new UniFlash project is imported from SDK2.40, the bundle works fine again.

    Straaaaange..........