Tool/software: TI C/C++ Compiler
Hi
Most of the time I am facing the SL_DEVICE_EVENT_FATAL_SYNC_LOST issue while provisioning as well as in OTA update.
I am using AWS-IOT Shadow protocol to perform the OTA operation.
Part name : CC3220SF-LAUNCHXL- launchPad Rev-A
SDK: SimpleLink_CC32xx v2_10_00_04
Please find the traces below and help me out how to resolve this issue.
Provisioning fail trace:
22 3036 [pthread] [INFO ][DEMO][3036] [Provisioning task] Connection to AP succeeded 23 3037 [pthread] [INFO ][DEMO][3037] [Provisioning task] IP address is X.X.X.X 24 3038 [pthread] [INFO ][DEMO][3038] [Provisioning task] detected device is CC3220SF 26 3039 [iot_thread] [INFO ][DEMO][3039] [POWER MANAGER] SET TO BURST MODE. 27 3039 [iot_thread] [INFO ][DEMO][3039] Successfully initialized the demo. Network type for the demo: 1 28 3040 [iot_thread] [INFO ][DEMO][3040] watchdog registration done 29 3102 [iot_thread] [INFO ][DEMO][3102] [ERROR] - FATAL ERROR: Sync loss detected n 30 3110 [iot_thread] [ERROR][DEMO][3102] FS - Couldn't close file. error status -2005 31 3118 [iot_thread] [ERROR][DEMO][3118] adiSmsGetDeviceConfiguration(): ERROR: getting device configuration from file 33 3119 [iot_thread] [INFO ][DEMO][3119] [POWER MANAGER] SET TO BURST MODE. 34 3147 [iot_thread] [INFO ][DEMO][3147] [RSESET] Restart immediately
OTA - Fail Trace
143 11129 [OTA Task] [prvDefaultCustomJobCallback] Received Custom Job inside OTA Agent. 144 11129 [OTA Task] [prvParseJobDoc] Ignoring job without ID. 145 11129 [OTA Task] [prvOTA_Close] Context->0x200000a0 147 11231 [NetRecv] [INFO ][DEMO][11231] [SECURE-SOCKET-ERR] ERROR: -2005 Socket receive failed. 148 11231 [NetRecv] ERROR: -2005 Socket receive failed. 146 11230 [OTA Task] [INFO ][DEMO][11230] [ERROR] - FATAL ERROR: Sync loss detected n 149 11231 [OTA Task] [prvPAL_SetPlatformImageState] Bundle rollback failed after abort (-2005).
Regards,
Suresh