I'm trying the secure ota and encounter this issue:
Following this post, WICED Smart BCM92073X OTA Firmware Upgrade (1)
After download ota_secure_firmware_upgrade, the device can be discovered and seems working.
But after reboot, it's not broadcasting and get no trace (from timer) also.
I check the OTA image footprint in NV, it is larger than 10k bytes. If I comment the following code in hello_sensor_write_handler(), then the OTA footprint will be below 10k and able to work:
else if ((len >= 1) && (handle == HANDLE_WS_UPGRADE_CONTROL_POINT))
return (ws_upgrade_ota_handle_command (attrPtr, len));
I also experience when OTA footprint 10k bytes, it will stop working before. Is there any reason and any way to solve it?
Appreciate for help!
I'm using BCM20737S
Solved! Go to Solution.
It is not obvious to us at first glance as to what could have happened.
I noted that you are doing this on a SIP module. Are you doing this FW upgrade on the tag3 or your own board?
I did some more testing with Odyssey and Wiced Smart Sensor tag. Listed down the issues as following:
When the build output indicates "OTA image footprint in NV" larger than ~10kB, the following issue will happen:
Right after programmed when USB is still attached, the board is working properly. After restart through de-attach and re-attach USB, the board will go into programming mode by itself.
Wiced Smart Sensor tag:
I tried to download projects: hellow_sensor, WICED_SENSE and ota_secure_firmware_upgrade, the issue below happens:
After download, the device will only appear in scanning result for a very short time then disappear. After restart the board, the same issue happens.
Great! The workaround solved the issue on Wiced Smart Sensor tag!
Jeremy introduced me to Mickael on issue on Odyssey. Wondering if others have any idea.
Great thanks all!