Error Building ota2_example w/ Wiced Studio 6.6 for CYW954907AEVAL1F

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

cross mob
spdodd
Level 1
Level 1
5 sign-ins First reply posted First question asked

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
Level 2
Level 2
Distributor - Zenitron(GC)
25 sign-ins 10 sign-ins 5 replies posted

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
Level 2
Level 2
Distributor - Zenitron(GC)
25 sign-ins 10 sign-ins 5 replies posted

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...

 

0 Likes