You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
When attempting to perform a BLE OTA of the M4 firmware using the iot-pa-ble-ota_fwup_efr_connect example, the "sl_si91x_fwup_load" will hang for 5s and then return 7 (timeout). This will usually happen within the first 5 'chunks' of fw data being parsed.
I have found that adding "osDelay(1)" immediately before the function calls (ln1104 and ln1107) fixes this.
SW and HW
SIWG917 BRD4338A Rev12
Simplicity SDK v2024.6.2
Wiseconnect3_sdk_3.3.3
Simplicity Studio version (if applicable)
SV5.9.3.1
Is the issue reproducible with SDK sample application or only user application?
Sample application - configured for M4 update (have not tried TA update) To Reproduce
Steps to reproduce the behavior:
Go to SiWx917/ble/iot-pa-ble-ota_fwup_efr_connect
Open ble_config.h
Set "FW_UPGRADE_TYPE" to "M4_FW_UP"
Run the example
Use either the "Si917-OTA Firmware Update.exe" tool or the Si Connect app to connect to the SIWG917 and upload an application. I used the BLE Heart Rate Example.
Using logging or any other debug tools, check the return value of "sl_si91x_fwup_load" for each firmware packet.
Within a 1-5 packets, there is a timeout event.
Expected behavior
The sample SHOULD parse all the firmware packets and execute the firmware update
Actual behavior
The fwup times out
Additional context
I had to slow down the connection interval to between 30-100, otherwise I'd often get GATT write events while the fwup function was still running , and miss the packet.
I added some logging to view the packet parsing.
The final packet ALWAYS times out, I don't get the expected value of 0x10003 when the process is complete. But resetting the device after the final packet is sent does kick it into the new application.
The text was updated successfully, but these errors were encountered:
Summary
When attempting to perform a BLE OTA of the M4 firmware using the iot-pa-ble-ota_fwup_efr_connect example, the "sl_si91x_fwup_load" will hang for 5s and then return 7 (timeout). This will usually happen within the first 5 'chunks' of fw data being parsed.
I have found that adding "osDelay(1)" immediately before the function calls (ln1104 and ln1107) fixes this.
iot-pa-ble-ota_fwup_efr_connect configured for M4 FW update
SIWG917 BRD4338A Rev12
Simplicity SDK v2024.6.2
Wiseconnect3_sdk_3.3.3
SV5.9.3.1
Sample application - configured for M4 update (have not tried TA update)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The sample SHOULD parse all the firmware packets and execute the firmware update
Actual behavior
The fwup times out
Additional context
I had to slow down the connection interval to between 30-100, otherwise I'd often get GATT write events while the fwup function was still running , and miss the packet.
I added some logging to view the packet parsing.
The final packet ALWAYS times out, I don't get the expected value of 0x10003 when the process is complete. But resetting the device after the final packet is sent does kick it into the new application.
The text was updated successfully, but these errors were encountered: