- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
Solved! Go to Solution.
- Labels:
-
WICED Studio Wi-Fi Combo
- Tags:
- CYW954907AEVAL1F
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.