Part Number: LAUNCHCC3235MOD
Other Parts Discussed in Thread: CC3220SF, CC3235SF
Hi All,
We have recently moved from CC3220SF to CC3235SF MOD part. Migration was very easy. Everything seems to be fine except OTA. Below is the issue.
Details about Versions
Part: CC3235SF MOD
SDK:- simplelink_cc32xx_sdk_3_10_00_04
Service pack:- sp_4.2.0.3_3.1.0.5_3.1.0.17.bin
Problem Description:-
When I am issuing an OTA update to our firmware. It is going till the end. But failing at "Platform_Reset();" which calls MAP_PRCMHibernateCycleTrigger();
After this I dont see that the platform is resetting. The same code used to work in CC3220SF but not working in cc3235SF;
below is some portion of log:
Hash verification succeeded.
[21:52:37.044] Total archive file bytes 372802.
[21:52:37.050] OtaArchive_RunParseTar: 5 files that are mentioned in the ota.cmd were saved
[21:52:37.059] OtaArchive_RunParseTar: Downloading File Completed - Size=1090
[21:52:37.066] OTA_run: entry, state=8
[21:52:37.071] OtaArchive_RunParseTar: parsing archive file header
[21:52:37.078] OtaArchive_RunParseTar: skip block align RecvBufLen=1440, SkipAlignSize=446
[21:52:37.087] OtaArchive_RunParseTar: FileType=0, FileName=ota_cert.der, FileSize=1109
[21:52:37.095] OTA_run: entry, state=8
[21:52:37.100] Create/Open for write file ota_cert.der
[21:52:37.200] OTA_run: entry, state=8
[21:52:37.221] OtaArchive_RunParseTar: Write size 1109 [21:52:37.221] to file ota_cert.der [21:52:37.221] total 1109.
[21:52:37.232]
Hash verification succeeded.
[21:52:37.237] Total archive file bytes 374869.
[21:52:37.243] OtaArchive_RunParseTar: 6 files that are mentioned in the ota.cmd were saved
[21:52:37.252] OtaArchive_RunParseTar: Downloading File Completed - Size=1109
[21:52:37.259] OTA_run: entry, state=8
[21:52:37.264] OtaArchive_RunParseTar: parsing archive file header
[21:52:37.271] OtaArchive_RunParseTar: skip block align RecvBufLen=1440, SkipAlignSize=427
[21:52:37.279] OtaArchive_RunParseTar: FileType=0, FileName=/sys/servicepack.ucf, FileSize=27382
[21:52:37.289] OTA_run: entry, state=8
[21:52:37.294] Create/Open for write file /sys/servicepack.ucf
[21:52:39.871] OTA_run: entry, state=8
[21:52:39.894] OtaArchive_RunParseTar: Write size 1440 [21:52:39.894] to file /sys/servicepack.ucf [21:52:39.894] total 1440.
[21:52:39.906] OTA_run: entry, state=8
[21:52:39.931] OtaArchive_RunParseTar: Write size 1440 [21:52:39.931] to file /sys/servicepack.ucf [21:52:39.931] total 2880.
[21:52:39.943] OTA_run: entry, state=8
[21:52:39.967] OtaArchive_RunParseTar: Write size 1440 [21:52:39.968] to file /sys/servicepack.ucf [21:52:39.968] total 4320.
[21:52:39.980] OTA_run: entry, state=8
[21:52:40.004] OtaArchive_RunParseTar: Write size 1440 [21:52:40.004] to file /sys/servicepack.ucf [21:52:40.005] total 5760.
[21:52:40.016] OTA_run: entry, state=8
[21:52:40.041] OtaArchive_RunParseTar: Write size 1440 [21:52:40.041] to file /sys/servicepack.ucf [21:52:40.041] total 7200.
[21:52:40.053] OTA_run: entry, state=8
[21:52:40.077] OtaArchive_RunParseTar: Write size 1440 [21:52:40.078] to file /sys/servicepack.ucf [21:52:40.078] total 8640.
[21:52:40.090] OTA_run: entry, state=8
[21:52:40.114] OtaArchive_RunParseTar: Write size 1440 [21:52:40.114] to file /sys/servicepack.ucf [21:52:40.115] total 10080.
[21:52:40.127] OTA_run: entry, state=8
[21:52:40.151] OtaArchive_RunParseTar: Write size 1440 [21:52:40.151] to file /sys/servicepack.ucf [21:52:40.151] total 11520.
[21:52:40.163] OTA_run: entry, state=8
[21:52:40.188] OtaArchive_RunParseTar: Write size 1440 [21:52:40.188] to file /sys/servicepack.ucf [21:52:40.188] total 12960.
[21:52:40.200] OTA_run: entry, state=8
[21:52:40.224] OtaArchive_RunParseTar: Write size 1440 [21:52:40.225] to file /sys/servicepack.ucf [21:52:40.225] total 14400.
[21:52:40.237] OTA_run: entry, state=8
[21:52:40.261] OtaArchive_RunParseTar: Write size 1440 [21:52:40.262] to file /sys/servicepack.ucf [21:52:40.262] total 15840.
[21:52:40.274] OTA_run: entry, state=8
[21:52:40.298] OtaArchive_RunParseTar: Write size 1440 [21:52:40.299] to file /sys/servicepack.ucf [21:52:40.299] total 17280.
[21:52:40.311] OTA_run: entry, state=8
[21:52:40.335] OtaArchive_RunParseTar: Write size 1440 [21:52:40.336] to file /sys/servicepack.ucf [21:52:40.336] total 18720.
[21:52:40.348] OTA_run: entry, state=8
[21:52:40.372] OtaArchive_RunParseTar: Write size 1440 [21:52:40.373] to file /sys/servicepack.ucf [21:52:40.373] total 20160.
[21:52:40.385] OTA_run: entry, state=8
[21:52:40.409] OtaArchive_RunParseTar: Write size 1440 [21:52:40.410] to file /sys/servicepack.ucf [21:52:40.410] total 21600.
[21:52:40.422] OTA_run: entry, state=8
[21:52:40.446] OtaArchive_RunParseTar: Write size 1440 [21:52:40.446] to file /sys/servicepack.ucf [21:52:40.447] total 23040.
[21:52:40.458] OTA_run: entry, state=8
[21:52:40.483] OtaArchive_RunParseTar: Write size 1440 [21:52:40.483] to file /sys/servicepack.ucf [21:52:40.483] total 24480.
[21:52:40.495] OTA_run: entry, state=8
[21:52:40.520] OtaArchive_RunParseTar: Write size 1440 [21:52:40.520] to file /sys/servicepack.ucf [21:52:40.520] total 25920.
[21:52:40.532] OTA_run: entry, state=8
[21:52:40.557] OtaArchive_RunParseTar: Write size 1440 [21:52:40.557] to file /sys/servicepack.ucf [21:52:40.557] total 27360.
[21:52:40.569] OTA_run: entry, state=8
[21:52:40.575] OtaArchive_RunParseTar: Write size 22 [21:52:40.575] to file /sys/servicepack.ucf [21:52:40.575] total 27382.
[21:52:40.587]
Hash verification succeeded.
[21:52:40.592] Total archive file bytes 403190.
[21:52:40.737] OtaArchive_RunParseTar: 7 files that are mentioned in the ota.cmd were saved
[21:52:40.746] OtaArchive_RunParseTar: Downloading File Completed - Size=27382
[21:52:40.753] OTA_run: entry, state=8
[21:52:40.757] OtaArchive_RunParseTar: parsing archive file header
[21:52:40.764] OtaArchive_RunParseTar: skip block align RecvBufLen=1418, SkipAlignSize=266
[21:52:40.773] OtaArchive_RunParseTar: End of archive...
[21:52:40.778] _SaveOtaVersionFile: save version file also in the bundle, version=
[21:52:41.252] OTA_run: ---- Download file completed
[21:52:41.427] OtaRunStep: status from Ota_run: Download done, status = 104
[21:52:41.434]
[21:52:41.436] OtaImageTestingAndReset: download done
[21:52:41.441] OtaImageTestingAndReset: call sl_Stop to move the bundle to testing state
[21:52:41.450] OtaImageTestingAndReset: reset the platform to test the new image...
Below is the code snippet where it is stopping:
case OTA_RUN_STATUS_DOWNLOAD_DONE:
ota_printf("OtaRunStep: status from Ota_run: Download done, status = %d\r\n", Status);
OtaCount_Done++;
ota_printf("\n\n\n\n");
ota_printf("OtaImageTestingAndReset: download done\n");
ota_printf("OtaImageTestingAndReset: call sl_Stop to move the bundle to testing state\n");
ota_printf("OtaImageTestingAndReset: reset the platform to test the new image...\n");
sl_Stop(SL_STOP_TIMEOUT);
Platform_Reset(); // IT IS STOPPING HERE
Any help is highly appreciated. I am stuck here.
Thanks,
krishna