cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

spdodd
New Contributor

Hello, I am currently working on a project that will be using OTA2.  I was starting by just trying to build and test via the provided `ota2_example`.

From following the guide provided in the documentation, I have built the ota2_extract application via

- `snip.ota2_extract-CYW954907AEVAL1F`

This is successful, however upon building the ota2_example with

- `snip.ota2_example-CYW954907AEVAL1F ota2_image download run`

The build fails with the following error

---------------------------------------------------------------------------------------------------------------------------------------

Creating Filesystem BCM94390x_targets.mk ...
Downloading DCT ... build/snip.ota2_example-CYW954907AEVAL1F/DCT.bin @ SFLASH_DCT_LOC=0x0020d000
./tools/common/Win32/mk_wicedfs32 build/snip.ota2_example-CYW954907AEVAL1F/filesystem.bin build/snip.ota2_example-CYW954907AEVAL1F/resources/Staging/
Creating Filesystem Done
Illegal division by zero at ./tools/text_to_c/sector_count.pl line 49.
Finished Building OTA2 Failsafe

Building apps lookup table
tools/makefiles/wiced_apps.mk:455: *** OTA2 Factory Reset Image Info File Not built!. Stop.
make.exe[1]: *** Waiting for unfinished jobs....
Makefile:351: recipe for target 'main_app' failed
make: *** [main_app] Error 2

---------------------------------------------------------------------------------------------------------------------------------------

This is with an unmodified example, so I'm not sure exactly what is going wrong here, but would appreciate any ideas.

 

0 Likes
1 Solution
Leo_Liu2
New Contributor II

Adding  download_apps in your make target should solve your problem,as below:

snip.ota2_example-CYW954907AEVAL1F ota2_image download download_apps run

More information,please refer to link. https://community.cypress.com/t5/WICED-Studio-Wi-Fi-Combo/OTA2-example-on-the-QuickSilver-platform/m...

 

View solution in original post

0 Likes
1 Reply
Leo_Liu2
New Contributor II

Adding  download_apps in your make target should solve your problem,as below:

snip.ota2_example-CYW954907AEVAL1F ota2_image download download_apps run

More information,please refer to link. https://community.cypress.com/t5/WICED-Studio-Wi-Fi-Combo/OTA2-example-on-the-QuickSilver-platform/m...

 

View solution in original post

0 Likes