8 Replies Latest reply on Jul 13, 2016 10:33 AM by hefuyou

    down load OTA_FR error

    hefuyou

      12:01:12 **** Build of configuration Default for project WICED-SDK ****
      "E:\\WICED_WIFI_3_7_0\\WICED-SDK-3.7.0\\WICED-SDK\\make.exe" snip.ota_fr-BCMUSI22 download download_apps
      MAKEFILE MAKECMDGOALS=snip.ota_fr-BCMUSI22 download download_apps OTA2_SUPPORT is disabled
      Making config file for first time
      +-----------------------------------------------------------------------------------------------------+
      | IMPORTANT NOTES                                                                                     |
      +-----------------------------------------------------------------------------------------------------+
      | Wi-Fi MAC Address                                                                                   |
      |    The target Wi-Fi MAC address is defined in <WICED-SDK>/generated_mac_address.txt                 |
      |    Ensure each target device has a unique address.                                                  |
      +-----------------------------------------------------------------------------------------------------+
      | MCU & Wi-Fi Power Save                                                                              |
      |    It is *critical* that applications using WICED Powersave API functions connect an accurate 32kHz |
      |    reference clock to the sleep clock input pin of the WLAN chip. Please read the WICED Powersave   |
      |    Application Note located in the documentation directory if you plan to use powersave features.   |
      +-----------------------------------------------------------------------------------------------------+
      MAKEFILE MAKECMDGOALS=snip.ota_fr-BCMUSI22 download download_apps OTA2_SUPPORT is disabled
      Building Bootloader
      Building Serial Flash Loader App
      MAKEFILE MAKECMDGOALS=waf.sflash_write-NoOS-BCMUSI22-SDIO OTA2_SUPPORT is disabled
      Making config file for first time
      +-----------------------------------------------------------------------------------------------------+
      | IMPORTANT NOTES                                                                                     |
      +-----------------------------------------------------------------------------------------------------+
      | Wi-Fi MAC Address                                                                                   |
      |    The target Wi-Fi MAC address is defined in <WICED-SDK>/generated_mac_address.txt                 |
      |    Ensure each target device has a unique address.                                                  |
      +-----------------------------------------------------------------------------------------------------+
      | MCU & Wi-Fi Power Save                                                                              |
      |    It is *critical* that applications using WICED Powersave API functions connect an accurate 32kHz |
      |    reference clock to the sleep clock input pin of the WLAN chip. Please read the WICED Powersave   |
      |    Application Note located in the documentation directory if you plan to use powersave features.   |
      +-----------------------------------------------------------------------------------------------------+
      MAKEFILE MAKECMDGOALS=waf.sflash_write-NoOS-BCMUSI22-SDIO OTA2_SUPPORT is disabled
      WICED/platform/MCU/STM32F4xx/peripherals/platform_watchdog.c:55:0: warning: "DBG_WATCHDOG_TIMEOUT_MULTIPLIER" redefined
           #define DBG_WATCHDOG_TIMEOUT_MULTIPLIER    (3600)
      ^
      In file included from ././WICED/platform/MCU/STM32F4xx/../platform_stdio.h:11:0,
                       from WICED/platform/MCU/STM32F4xx/peripherals/platform_watchdog.c:30:
      ./platforms/BCMUSI22/./platform_config.h:29:0: note: this is the location of the previous definition
      #define DBG_WATCHDOG_TIMEOUT_MULTIPLIER ( 1875 )
      ^
      WICED/platform/MCU/STM32F4xx/peripherals/platform_watchdog.c:55:0: warning: "DBG_WATCHDOG_TIMEOUT_MULTIPLIER" redefined
           #define DBG_WATCHDOG_TIMEOUT_MULTIPLIER    (3600)
      ^
      In file included from ././WICED/platform/MCU/STM32F4xx/../platform_stdio.h:11:0,
                       from WICED/platform/MCU/STM32F4xx/peripherals/platform_watchdog.c:30:
      ./platforms/BCMUSI22/./platform_config.h:29:0: note: this is the location of the previous definition
      #define DBG_WATCHDOG_TIMEOUT_MULTIPLIER ( 1875 )
      ^
      Compiling App_SFlash_write
      Compiling Platform_BCMUSI22
      Compiling WICED
      Compiling WWD_NoOS_Interface
      Compiling Lib_SPI_Flash_Library_BCMUSI22
      Compiling Lib_GPIO_button
      Finished Building Bootloader

      Compiling Lib_Wiced_RO_FS
      Processing resources
      Creating security credentials
      Compiling STM32F4xx
      Making DCT image
      Compiling common_GCC
      Compiling STM32F4xx_Peripheral_Drivers
      Compiling Lib_Ring_Buffer
      Compiling Lib_crc
      Compiling STM32F4xx_Peripheral_Libraries
      Making build/waf.sflash_write-NoOS-BCMUSI22-SDIO/libraries/App_SFlash_write.a
      Making build/waf.sflash_write-NoOS-BCMUSI22-SDIO/libraries/Platform_BCMUSI22.a
      Making build/waf.sflash_write-NoOS-BCMUSI22-SDIO/libraries/WICED.a
      Making build/waf.sflash_write-NoOS-BCMUSI22-SDIO/libraries/WWD_NoOS_Interface.a
      Making build/waf.sflash_write-NoOS-BCMUSI22-SDIO/libraries/Lib_SPI_Flash_Library_BCMUSI22.a
      Making build/waf.sflash_write-NoOS-BCMUSI22-SDIO/libraries/Lib_GPIO_button.a
      Making build/waf.sflash_write-NoOS-BCMUSI22-SDIO/libraries/Lib_Wiced_RO_FS.a
      Making build/waf.sflash_write-NoOS-BCMUSI22-SDIO/libraries/STM32F4xx.a
      Making build/waf.sflash_write-NoOS-BCMUSI22-SDIO/libraries/common_GCC.a
      Making build/waf.sflash_write-NoOS-BCMUSI22-SDIO/libraries/STM32F4xx_Peripheral_Drivers.a
      Making build/waf.sflash_write-NoOS-BCMUSI22-SDIO/libraries/Lib_Ring_Buffer.a
      Making build/waf.sflash_write-NoOS-BCMUSI22-SDIO/libraries/Lib_crc.a
      Making build/waf.sflash_write-NoOS-BCMUSI22-SDIO/libraries/STM32F4xx_Peripheral_Libraries.a
      Making waf.sflash_write-NoOS-BCMUSI22-SDIO.elf

      Making waf.sflash_write-NoOS-BCMUSI22-SDIO.bin
      waf.sflash_write-NoOS-BCMUSI22-SDIO
      ----------------------------------|---------|---------|
                                        |         |  Static |
                    Module              |  Flash  |   RAM   |
      ----------------------------------+---------+---------|
      App                               |       0 |   21126 |
      Host MCU-family library           |       0 |   11340 |
      Interrupt Vectors                 |       0 |     388 |
      libc                              |       0 |     548 |
      platform                          |       0 |    1156 |
      Ring_Buffer                       |       0 |      40 |
      SPI_Flash_Library_BCMUSI22        |       0 |     908 |
      Startup Stack & Link Script fill  |       0 |     486 |
      WWD                               |       0 |     176 |
      ----------------------------------+---------+---------|
      TOTAL (bytes)                     |       0 |   36168 |
      ----------------------------------|---------|---------|

      Build complete
      Finished Building Serial Flash Loader App

      Compiling App_OTA_fr_run
      Compiling Platform_BCMUSI22
      Compiling WICED
      Compiling Lib_OTA_Server
      Compiling Lib_SPI_Flash_Library_BCMUSI22
      Compiling Lib_GPIO_button
      Compiling WWD_ThreadX_Interface
      Compiling WICED_ThreadX_Interface
      Compiling WWD_for_SDIO_ThreadX
      Compiling Supplicant_BESL
      Compiling Lib_DNS
      Compiling NetX_Duo
      Compiling Lib_Wiced_RO_FS
      Compiling STM32F4xx
      Compiling Lib_TLV
      Compiling Lib_base64
      Compiling Lib_Linked_List
      Compiling Lib_crypto_open
      Compiling Lib_micro_ecc
      Compiling WWD_NetX_Duo_Interface
      Compiling WICED_NetX_Duo_Interface
      Compiling common_GCC
      Compiling STM32F4xx_Peripheral_Drivers
      WICED/platform/MCU/STM32F4xx/peripherals/platform_watchdog.c:55:0: warning: "DBG_WATCHDOG_TIMEOUT_MULTIPLIER" redefined
           #define DBG_WATCHDOG_TIMEOUT_MULTIPLIER    (3600)
      ^
      In file included from ././WICED/platform/MCU/STM32F4xx/../platform_stdio.h:11:0,
                       from WICED/platform/MCU/STM32F4xx/peripherals/platform_watchdog.c:30:
      ./platforms/BCMUSI22/./platform_config.h:29:0: note: this is the location of the previous definition
      #define DBG_WATCHDOG_TIMEOUT_MULTIPLIER ( 1875 )
      ^
      Compiling Lib_Ring_Buffer
      Compiling Lib_crc
      Compiling Lib_DHCP_Server
      Compiling STM32F4xx_Peripheral_Libraries
      Making build/snip.ota_fr-BCMUSI22/libraries/App_OTA_fr_run.a
      Making build/snip.ota_fr-BCMUSI22/libraries/Platform_BCMUSI22.a
      Making build/snip.ota_fr-BCMUSI22/libraries/WICED.a
      Making build/snip.ota_fr-BCMUSI22/libraries/Lib_OTA_Server.a
      Making build/snip.ota_fr-BCMUSI22/libraries/Lib_SPI_Flash_Library_BCMUSI22.a
      Making build/snip.ota_fr-BCMUSI22/libraries/Lib_GPIO_button.a
      Making build/snip.ota_fr-BCMUSI22/libraries/WWD_ThreadX_Interface.a
      Making build/snip.ota_fr-BCMUSI22/libraries/WICED_ThreadX_Interface.a
      Making build/snip.ota_fr-BCMUSI22/libraries/WWD_for_SDIO_ThreadX.a
      Making build/snip.ota_fr-BCMUSI22/libraries/Supplicant_BESL.a
      Making build/snip.ota_fr-BCMUSI22/libraries/Lib_DNS.a
      Making build/snip.ota_fr-BCMUSI22/libraries/NetX_Duo.a
      Making build/snip.ota_fr-BCMUSI22/libraries/Lib_Wiced_RO_FS.a
      Making build/snip.ota_fr-BCMUSI22/libraries/STM32F4xx.a
      Making build/snip.ota_fr-BCMUSI22/libraries/Lib_TLV.a
      Making build/snip.ota_fr-BCMUSI22/libraries/Lib_base64.a
      Making build/snip.ota_fr-BCMUSI22/libraries/Lib_Linked_List.a
      Making build/snip.ota_fr-BCMUSI22/libraries/Lib_crypto_open.a
      Making build/snip.ota_fr-BCMUSI22/libraries/Lib_micro_ecc.a
      Making build/snip.ota_fr-BCMUSI22/libraries/WWD_NetX_Duo_Interface.a
      Making build/snip.ota_fr-BCMUSI22/libraries/WICED_NetX_Duo_Interface.a
      Making build/snip.ota_fr-BCMUSI22/libraries/common_GCC.a
      Making build/snip.ota_fr-BCMUSI22/libraries/STM32F4xx_Peripheral_Drivers.a
      Making build/snip.ota_fr-BCMUSI22/libraries/Lib_Ring_Buffer.a
      Making build/snip.ota_fr-BCMUSI22/libraries/Lib_crc.a
      Making build/snip.ota_fr-BCMUSI22/libraries/Lib_DHCP_Server.a
      Making build/snip.ota_fr-BCMUSI22/libraries/STM32F4xx_Peripheral_Libraries.a
      Making snip.ota_fr-BCMUSI22.elf

      Making snip.ota_fr-BCMUSI22.bin
      snip.ota_fr-BCMUSI22
      ----------------------------------|---------|---------|
                                        |         |  Static |
                    Module              |  Flash  |   RAM   |
      ----------------------------------+---------+---------|
      App                               |     293 |       0 |
      base64                            |     521 |       0 |
      crc                               |    1060 |       0 |
      crypto_open                       |   41125 |       1 |
      DHCP_Server                       |    1476 |     132 |
      DNS                               |      68 |      44 |
      Host MCU-family library           |   14611 |    2481 |
      Interrupt Vectors                 |     388 |       0 |
      libc                              |   33826 |    3136 |
      micro_ecc                         |    6212 |       0 |
      Networking                        |    4880 |   13276 |
      NetX-Duo - Interfaces & Stacks    |       0 |      16 |
      OTA_Server                        |    8239 |     696 |
      Other                             |   45436 |     535 |
      Packet Buffers                    |       0 |   23086 |
      platform                          |    1260 |     252 |
      RAM Initialisation                |    2492 |       0 |
      resources                         |      16 |       0 |
      Ring_Buffer                       |     112 |       0 |
      SPI_Flash_Library_BCMUSI22        |     856 |       0 |
      Startup Stack & Link Script fill  |      54 |       7 |
      Supplicant - BESL                 |   23355 |     615 |
      ThreadX                           |    8596 |     396 |
      Wi-Fi Firmware                    |  363808 |       0 |
      WICED                             |    3445 |     960 |
      WWD                               |   14679 |    3039 |
      ----------------------------------+---------+---------|
      TOTAL (bytes)                     |  574316 |   48672 |
      ----------------------------------|---------|---------|

      Downloading Bootloader ...
      Building apps lookup table
      Download complete

      Downloading DCT ...
      Download complete

      Downloading Application ...
      Download complete

      Downloading FR_APP build/snip.ota_fr-BCMUSI22/binary/snip.ota_fr-BCMUSI22.stripped.elf at sector 1  address 4096...
      make.exe[1]: *** [FR_APP_DOWNLOAD] Error 1
      tools/makefiles/wiced_apps.mk:227: recipe for target 'FR_APP_DOWNLOAD' failed
      make: *** [main_app] Error 2
      Makefile:286: recipe for target 'main_app' failed