OTA2 does not work with FreeRTOS+LwIP?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

In SDK-3.5.2, The ota2_example snip code only valid for ThreadX

VALID_OSNS_COMBOS  := ThreadX-NetX ThreadX-NetX_Duo

I think the main problem is the implementation in wiced_ota2_service.c

uses wiced_rtos_init_event_flags related APIs which is not implemented in

LwIP.

Do you have plan to make ota2 work with FreeRTOS+LwIP in next release?

0 Likes
1 Solution
VikramR_26
Employee
Employee
25 sign-ins 10 sign-ins 10 comments on KBA

Presently OTA2 has been verified and tested using our new platform 43907 using ThreadX and NetX/NetX_Duo. would request you to wait when we have it ready for FreeRTOS and LwIP.

View solution in original post

0 Likes
8 Replies
VikramR_26
Employee
Employee
25 sign-ins 10 sign-ins 10 comments on KBA

Presently OTA2 has been verified and tested using our new platform 43907 using ThreadX and NetX/NetX_Duo. would request you to wait when we have it ready for FreeRTOS and LwIP.

0 Likes
Anonymous
Not applicable

Hi,

Will OTA2 upgrade process work with FreeRTOS in the upcoming version, if yes when is the ETA?

Suchitra

I just checked SDK-3.7.0, OTA2 still does not work with FreeRTOS build.

0 Likes

If my understanding is correct, supporting OTA2 for FreeRTOS should be trivial.

All it needs is to implement below APIs:

wiced_rtos_init_event_flags

wiced_rtos_wait_for_event_flags

wiced_rtos_set_event_flags

wiced_rtos_deinit_event_flags

We provide the following resources for OTA2 within the SDK:

Sample App:

/WICED-SDK/apps/snip/ota2_example

AppNote:

/WICED-SDK/doc/WICED-OTA2.pdf

There will be some updates to follow shortly which outline platform and OS specific support.

0 Likes
Anonymous
Not applicable

any updates

0 Likes

vik86 wrote:

Presently OTA2 has been verified and tested using our new platform 43907 using ThreadX and NetX/NetX_Duo. would request you to wait when we have it ready for FreeRTOS and LwIP.

Your statement is incorrect, OTA2 does not work out of the box even on the latest SDK-3.7.0.

It needs update from

OTA2 Update for SDK-3.7.0

It has been more than 6 months since you replied, any update about OTA2 for LwIP build?

0 Likes

Just wondering if next SDK release will support OTA2 for LwIP build?

0 Likes