3 Replies Latest reply on Aug 18, 2018 9:29 PM by axel.lin_1746341

    SDK 6.2 OTA2 image build error: Illegal division by zero at ./tools/text_to_c/sector_count.pl


      I am trying to build an OTA2 image with SDK/Studio 6.2 and it is failing. In 6.1, it works.



      Creating Filesystem BCM94390x_targets.mk ...

      ./tools/common/Win32/mk_wicedfs32 build/QuickProjects.OTA_Test-CYW943907AEVAL1F-FreeRTOS-LwIP/filesystem.bin build/QuickProjects.OTA_Test-CYW943907AEVAL1F-FreeRTOS-LwIP/resources/Staging/

      Creating Filesystem Done

      Illegal division by zero at ./tools/text_to_c/sector_count.pl line 49.

      Building apps lookup table

      tools/makefiles/wiced_apps.mk:454: *** OTA2 Factory Reset Image Info File Not built!.  Stop.

      Makefile:351: recipe for target 'main_app' failed

      make: *** [main_app] Error 2



      Quickprojects.OTA_Test-CYW943907AEVAL1F-FreeRTOS-LwIP ota2_image


      I made sure the extraction mini app was build and I tried a clean and rebuild.