• TI Thinks Resolved

CCS/CC3220SF-LAUNCHXL: cloud OTA - OtaArchive_RunParseTar Error occur large memory Firmware file

Expert 1200 points

Replies: 3

Views: 60

Part Number: CC3220SF-LAUNCHXL

Tool/software: Code Composer Studio

hai ,

am work with cloud ota using dropbox server ,

i have same issue at memory store in OTA File OtaArchive_RunParseTar 

my error is 

OtaArchive_RunParse: set state=ARCHIVE_STATE_PARSE_HDR
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: filetype=5, directory=20190214185156_CC3220SF_Loadcell_OTA_Image/
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: filetype=5, directory=20190214185156_CC3220SF_Loadcell_OTA_Image/0/
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: filetype=5, directory=20190214185156_CC3220SF_Loadcell_OTA_Image/1/
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: filetype=5, directory=20190214185156_CC3220SF_Loadcell_OTA_Image/2/
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: FileType=0, FileName=ota.cmd, FileSize=2367
[_BundleCmdFile_Parse] bundle cmd file=/sys/mcuflashimg.bin, sig_len=256, SHA_256_Digets=13b6ba43b7290f5c9031ed913cd2b1cd9961b814f3ffc481127acacd3a5ea96e, cert=dummy-trusted-cert, secured=1, 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-trusted-ca-cert, sig_len=0, SHA_256_Digets=07ad6ba74b3921009edf184cb382c05a32baacf9c767f74427c094b2c56aa135, cert=, secured=0, bundle=0
[_BundleCmdFile_Parse] bundle cmd file=dummy-trusted-cert, sig_len=0, SHA_256_Digets=19bef7bca12e10815591cee2771f4208abb2a78d18f74402253c05c4ea020626, 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=0
[_BundleCmdFile_Parse] bundle cmd file=energia.bin, sig_len=0, SHA_256_Digets=d56fe4162e2bc5cc3ee88b262c2d75db3f23eb33e5f46a9c126185d0ae51b8ba, cert=, secured=0, bundle=0
[_BundleCmdFile_Parse] bundle cmd file=/sys/servicepack.ucf, sig_len=256, SHA_256_Digets=8cf3c1054efa5322958fa80d18a6db868307964becaba33421384f69e46e7820, cert=, secured=1, bundle=1
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: skip block align RecvBufLen=1440, SkipAlignSize=194
OtaArchive_RunParseTar: FileType=0, FileName=ota.sign, FileSize=70
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: skip block align RecvBufLen=664, SkipAlignSize=442
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: FileType=0, FileName=dummy-trusted-cert, FileSize=1013
Create/Open for write file dummy-trusted-cert
OtaArchive_RunParseTar: Write size 928 to file dummy-trusted-cert total 928.
OtaArchive_RunParseTar: Write size 85 to file dummy-trusted-cert total 1013.

Hash verification succeeded.
Total archive file bytes 7669.
OtaArchive_RunParseTar: 1 files that are mentioned in the ota.cmd were saved
OtaArchive_RunParseTar: Downloading File Completed - Size=1013
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: skip block align RecvBufLen=1355, SkipAlignSize=11
OtaArchive_RunParseTar: FileType=0, FileName=/sys/mcuflashimg.bin, FileSize=41220
Create/Open for write file /sys/mcuflashimg.bin
OtaArchive_RunParseTar: Write size 832 to file /sys/mcuflashimg.bin total 832.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 2272.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 3712.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 5152.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 6592.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 8032.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 9472.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 10912.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 12352.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 13792.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 15232.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 16672.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 18112.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 19552.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 20992.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 22432.
OtaArchive_RunParseTar: Write size 1200 to file /sys/mcuflashimg.bin total 23632.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 25072.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 26512.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 27952.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 29392.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 30832.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 32272.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 33712.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 35152.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 36592.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 38032.
OtaArchive_RunParseTar: Write size 1440 to file /sys/mcuflashimg.bin total 39472.
OtaArchive_RunParseTar: Write size 780 to file /sys/mcuflashimg.bin total 40252.
OtaArchive_RunParseTar: Write size 968 to file /sys/mcuflashimg.bin total 41220.

Hash verification succeeded.
Total archive file bytes 49412.
OtaArchive_RunParseTar: 2 files that are mentioned in the ota.cmd were saved
OtaArchive_RunParseTar: Downloading File Completed - Size=41220
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: skip block align RecvBufLen=1440, SkipAlignSize=252
OtaArchive_RunParseTar: FileType=0, FileName=dummy-root-ca-cert, FileSize=975
Create/Open for write file dummy-root-ca-cert
OtaArchive_RunParseTar: Write size 676 to file dummy-root-ca-cert total 676.
OtaArchive_RunParseTar: Write size 299 to file dummy-root-ca-cert total 975.

Hash verification succeeded.
Total archive file bytes 51151.
OtaArchive_RunParseTar: 3 files that are mentioned in the ota.cmd were saved
OtaArchive_RunParseTar: Downloading File Completed - Size=975
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: skip block align RecvBufLen=1141, SkipAlignSize=49
OtaArchive_RunParseTar: FileType=0, FileName=dummy-trusted-ca-cert, FileSize=970
Create/Open for write file dummy-trusted-ca-cert
OtaArchive_RunParseTar: Write size 580 to file dummy-trusted-ca-cert total 580.
OtaArchive_RunParseTar: Write size 390 to file dummy-trusted-ca-cert total 970.

Hash verification succeeded.
Total archive file bytes 52682.
OtaArchive_RunParseTar: 4 files that are mentioned in the ota.cmd were saved
OtaArchive_RunParseTar: Downloading File Completed - Size=970
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: skip block align RecvBufLen=1050, SkipAlignSize=54
OtaArchive_RunParseTar: FileType=0, FileName=dummy_ota_vendor_cert.der, FileSize=614
Create/Open for write file dummy_ota_vendor_cert.der
OtaArchive_RunParseTar: Write size 614 to file dummy_ota_vendor_cert.der total 614.

Hash verification succeeded.
Total archive file bytes 53862.
OtaArchive_RunParseTar: 5 files that are mentioned in the ota.cmd were saved
OtaArchive_RunParseTar: Downloading File Completed - Size=614
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: skip block align RecvBufLen=826, SkipAlignSize=410
OtaArchive_RunParseTar: parsing archive file header
OtaArchive_RunParseTar: FileType=0, FileName=energia.bin, FileSize=88876
Create/Open for write file energia.bin
OtaArchive_RunParseTar: Write size 928 to file energia.bin total 928.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 2368.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 3808.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 5248.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 6688.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 8128.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 9568.
OtaArchive_RunParseTar: Write size 476 to file energia.bin total 10044.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 11484.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 12924.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 14364.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 15804.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 17244.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 18684.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 20124.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 21564.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 23004.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 24444.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 25884.
OtaArchive_RunParseTar: Write size 544 to file energia.bin total 26428.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 27868.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 29308.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 30748.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 32188.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 33628.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 35068.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 36508.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 37948.
OtaArchive_RunParseTar: Write size 1440 to file energia.bin total 39388.
OtaArchive_RunParseTar: Error - SaveFileChunk - (-10337)
OTA_run: ERROR OtaArchive_RunParse, Status=-20107

OtaRunStep: FATAL ERROR from Ota_run -21004 !!!!!!!!!!!!!!!!!!!!!!!!!!!

Test failed: State = 6, Event = 17
Event handler failed..!!

how to solve this issue 

Thanks

Selva