Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SL-UP] Add OTA Support for series3 #94

Merged
merged 4 commits into from
Nov 11, 2024

Conversation

jmartinez-silabs
Copy link
Contributor

The implementation of the Series 3 bootloader OTA API differs from that of Series 2. It utilizes an RTOS thread-safe mechanism, so it can't be wrapped in critical sections like Series 2.

Currently, the Secure element is not thread safe in series3, so, during bootloader ota API calls, the thread stack must be locked.

Also, at the moment, Some OTA process steps on series 3 are slow, and leave the device unresponsive to other task. Add some traces and small osDelay to provide some form of feedback to the user that the device is "working". This is temporary.

Dev notes:
For CMP, Zigbee must be locked to but we don't have this possibility currently.
The Secure element thread safeness will probably be fixed before Zigbee provide us with a locking mechanism so we will see for release.

@jmartinez-silabs jmartinez-silabs requested a review from a team as a code owner November 11, 2024 17:41
@jmartinez-silabs jmartinez-silabs added the sl-up This TAG indicates that this commit needs to be upstreamed to CSA before its next release. label Nov 11, 2024
@selissia selissia self-requested a review November 11, 2024 19:51
@jmartinez-silabs jmartinez-silabs merged commit 736240f into release_2.5-1.4 Nov 11, 2024
12 checks passed
@jmartinez-silabs jmartinez-silabs deleted the sl-up/OTA_support_series3 branch November 11, 2024 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sl-up This TAG indicates that this commit needs to be upstreamed to CSA before its next release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants