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

Wi-Fi Combo Forum Discussions

MaFa_974161
Level 5
Level 5
100 sign-ins 50 replies posted 50 questions asked

Hello.

I have developed a project using CYW954907AEVAL1F.

I need the possibility to let user to upgrade my APP without using an external programmer. 

 

I browsed "snip/ota_fr" and I notice that it starts an OTA server (see "wiced_ota_server_start" in "ota_fr.c" row 205).

 

I browsed the source of OTA server on "libraries\daemons\ota2_server" and I observed that in "wiced_ota2_server.c" there are two functions that are called. The first is ...

 

wiced_ota2_image_write_data( BUFFER, OFFSET, SIZE)

 

that I understand it programs FLASH with the new incoming APP version.

 

I modify my project makefile by adding CYW954907AEVAL1F

 

$(NAME)_COMPONENTS := filesystems/ota2

 

and I add a call to "wiced_ota2_image_write_data" in my source.

 

When I try to make my project the linker says to me  

 

"undefined reference to `wiced_ota2_image_write_data'"

 

What I'm missing ?

0 Likes
1 Solution
PRI
Moderator
Moderator
Moderator
5 likes given 10 likes received 100 sign-ins

I believe you want to use OTA2 for your project and "snip/ota_fr" is based on OTA. The "libraries\daemons\ota2_server" is the source of OTA2 server not OTA. 

"43xxx_Wi-Fi/doc/WICED-OTA2.pdf" is  the path for doc on OTA2 that you can go through  for more info.

Thanks,

Phanindra.

View solution in original post

0 Likes
1 Reply
PRI
Moderator
Moderator
Moderator
5 likes given 10 likes received 100 sign-ins

I believe you want to use OTA2 for your project and "snip/ota_fr" is based on OTA. The "libraries\daemons\ota2_server" is the source of OTA2 server not OTA. 

"43xxx_Wi-Fi/doc/WICED-OTA2.pdf" is  the path for doc on OTA2 that you can go through  for more info.

Thanks,

Phanindra.

0 Likes