Other Parts Discussed in Thread: UNIFLASH
Hi team,
The customer has feedback that the lock issue happened again after migrating to SDK 6_10_00_05. Please kindly assist to suggest what could cause this issue, thanks.
Best regards,
Shuyang
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.
Hi Shlomi,
The issue is exactly the same as the old thread. Any suggestions?
BR,
Shuyang
So the customer started clean and upgraded the SDK (and servicepack?) and the it happened again?
As Jan suggested in the previous post, lock state may happen because of the 2nd bootloader implementation.
In lock state, there is no way to recover other than to reprogram the device.
Most lock states are as a result of bad security operations with the file system and I am not sure what you did.
Shlomi
Hi Shlomi,
The customer upgraded the SDK but not the servicepack, they are using the servicepack coming with the CC3220MOD from factory.
Below is the Uniflash readout from 2 locked module and 1 normal module:
locked module sdk_2_10_00_04:
locked module sdk_6_10_00_05:
Normal module:
Some more background: the customer only updated the application code, but not the 2nd bootloader. The 2nd bootloader can start normally and load the application, application print log shows the device is locked.
BR,
Shuyang
Hi,
Hard to tell just from the description why NWP got locked.
The only way is maybe to connect an NWP logger and capture but if the application is stuck I am not sure it is doable.
Just to double check, you are stuck on sl_Start() API, right?
Shlomi
Hi Shlomi,
The program does not stuck on sl_Start(), but on sl_WlanPolicySet() and sl_DeviceGet().
sl_WlanPolicySet(): [line:688, error code:-14343] WLAN error, please refer "WLAN ERRORS CODES" section in errors.h
sl_DeviceGet(): [line:24, error code:-2011] Device error, please refer "DEVICE ERRORS CODES" section in errors.h
BR,
Shuyang
Thanks,
So at least sl_Start() works so you can mux out the NWP logger.
Can you please follow the procedure described in the following post and check if you can capture logs?
Shlomi
Hi Shlomi,
Please find the log as attached:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2022.12.06 20:40:40 =~=~=~=~=~=~=~=~=~=~=~= � -� -1{� ( �� �� � � � -� -1{� ( Lc � � � � � � �! '�/sys/certstore.lst ��J � � -��J -��J � -� �J �� � � �*� �1 � � � � *� � ��;�O z.*� ��<q\ � *� x�B �1 �� � � � � � '�/sys/servicepack.ucf ���`� �e(� �e( �! '�/sys/servicepack.ucf ���`� Fe( � �� � � �� �� !+)� � `a aA �-� -1{� ( �! '�/sys/certstore.lst ��J � � -��J � -��J � -� �J �� `a aA �! '�/sys/mdmpcfg.ini ��I�� Fe( �! '�/sys/pmcfg.ini �I�� Fe( \ a"