wiced 43xxx_Wi-Fi make file error

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

cross mob
BaGo_4138971
Level 3
Level 3

Hi All,

I'm new to the Wiced devices. We are using BCM943907 device in our product.

I installed the WICED-Studio-6.2.1.2-IDE-Installer to my window 10 laptop and  imported existing code.

Send the " make snip.pers-BCM943907MERCIER-ThreadX-NetX_Duo-debug ota2_download " to create make file. but i'm receiving below error.

Please help me to resolve this problem.

Microsoft Windows [Version 10.0.16299.904]

(c) 2017 Microsoft Corporation. All rights reserved.

C:\Projects\MHB3.0\CodeDoc\Sourcecode\MHB3.0_BTCombine_CRC_Review_count_115200_Review\WICED-SDK-3.6.2>make snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug ota2_download

MAKEFILE MAKECMDGOALS=snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug ota2_download OTA2_SUPPORT is enabled

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.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug ota2_download OTA2_SUPPORT is enabled

Updating ota2 bootloader version...

./apps/waf/ota2_bootloader/version.h does not exist yet.

version file needs to be updated.

FROM: 0.0

TO  : 41940.0

Updating application version...

./apps/snip/pers/version.h does not exist yet.

version file needs to be updated.

FROM: 0.0

TO  : 42921.0

Building Bootloader waf.ota2_bootloader-NoOS-NoNS-BCM943909WCD1_3.B1-SoC.43909

Building Serial Flash Loader App

Finished Building Bootloader

Processing resources

Creating security credentials

Making DCT image

Compiling App_pers

Finished Building Serial Flash Loader App

Compiling Platform_BCM943909WCD1_3_B1

Compiling NetX_Duo

Compiling Lib_USBX

Compiling WICED

Compiling Lib_SNTP

Compiling Lib_DNS

Compiling Lib_HTTP_client

Compiling Lib_command_console

Compiling Lib_command_console_wifi

Compiling Lib_Mini_Printf

Compiling Lib_OTA2_Service

Compiling Lib_Wiced_RO_FS

Compiling Platform_ak4954_driver

Compiling Lib_wm8533_dac_driver

Compiling Platform_max9860_driver

Compiling Lib_spdif_driver

Compiling WWD_ThreadX_Interface

Compiling WICED_ThreadX_Interface

Compiling WWD_NetX_Duo_Interface

Compiling WICED_NetX_Duo_Interface

Compiling Wiced_USBX_Interface

Compiling WWD_for_SoC.43909_ThreadX

Compiling Supplicant_BESL

Compiling MCU_BCM4390x

Compiling Lib_base64

Compiling Lib_OTA2

Compiling Lib_DHCP_Server

Compiling Lib_Linked_List

Compiling WICED_Lib_FileX_Interface

Compiling Lib_TLV

Compiling Lib_crypto_open

Compiling Lib_micro_ecc

Compiling Lib_crc

Compiling Lib_GPIO_button

Compiling common_GCC

Compiling 43909_Peripheral_Drivers

Compiling Lib_Ring_Buffer

Compiling SPI_Flash_43909_Library_BCM943909WCD1_3.B1

Compiling Uart_43909_Library_BCM943909WCD1_3.B1

Compiling Peripherals_Shared_43909_Library_BCM943909WCD1_3.B1

Compiling Tiny_Crypto_43909_Library_BCM943909WCD1_3.B1

Compiling USB_Host_43909_Library_BCM943909WCD1_3.B1

Compiling Ethernet_43909_Library_BCM943909WCD1_3.B1

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/App_pers.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Platform_BCM943909WCD1_3_B1.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/NetX_Duo.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_USBX.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/WICED.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_SNTP.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_DNS.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_command_console.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_HTTP_client.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_command_console_wifi.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_Mini_Printf.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_OTA2_Service.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_Wiced_RO_FS.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Platform_ak4954_driver.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_wm8533_dac_driver.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Platform_max9860_driver.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_spdif_driver.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/WWD_ThreadX_Interface.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/WICED_ThreadX_Interface.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/WWD_NetX_Duo_Interface.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/WICED_NetX_Duo_Interface.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Wiced_USBX_Interface.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/WWD_for_SoC.43909_ThreadX.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Supplicant_BESL.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/MCU_BCM4390x.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_base64.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_OTA2.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_DHCP_Server.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_Linked_List.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/WICED_Lib_FileX_Interface.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_TLV.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_crypto_open.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_micro_ecc.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_crc.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_GPIO_button.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/common_GCC.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/43909_Peripheral_Drivers.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Lib_Ring_Buffer.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/SPI_Flash_43909_Library_BCM943909WCD1_3.B1.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Uart_43909_Library_BCM943909WCD1_3.B1.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Peripherals_Shared_43909_Library_BCM943909WCD1_3.B1.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Tiny_Crypto_43909_Library_BCM943909WCD1_3.B1.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/USB_Host_43909_Library_BCM943909WCD1_3.B1.a

Making build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/libraries/Ethernet_43909_Library_BCM943909WCD1_3.B1.a

Making snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug.elf

Making snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug.bin

snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug

----------------------------------|---------|---------|

                                  |         |  Static |

              Module              |  Flash  |   RAM   |

----------------------------------+---------+---------|

App                               |       0 |  182852 |

base64                            |       0 |     980 |

crc                               |       0 |    1104 |

crypto_open                       |       0 |   41076 |

DHCP_Server                       |       0 |    3004 |

DNS                               |       0 |    3644 |

FileX                             |       0 |   21509 |

HTTP_client                       |       0 |     928 |

Interrupt Vectors                 |       0 |     500 |

libc                              |       0 |   56676 |

Linked_List                       |       0 |     644 |

micro_ecc                         |       0 |    6220 |

Mini_Printf                       |       0 |     980 |

Networking                        |       0 |   34667 |

NetX-Duo - Interfaces & Stacks    |       0 |      16 |

NVRam                             |       0 |    2128 |

OTA2                              |       0 |   13344 |

OTA2_Service                      |       0 |   20192 |

Other                             |       0 |  232801 |

Packet Buffers                    |       0 |   77872 |

platform                          |       0 |   21297 |

RAM Initialisation                |      32 |       0 |

Ring_Buffer                       |       0 |     324 |

SNTP                              |       0 |     956 |

spdif_driver                      |       0 |     328 |

Startup Stack & Link Script fill  |       0 |      88 |

Supplicant - BESL                 |       0 |   22095 |

ThreadX                           |       0 |   23888 |

TLV                               |       0 |      96 |

USBX                              |       0 |   52268 |

WICED                             |       0 |   12963 |

Wiced_RO_FS                       |       0 |    2744 |

wm8533_dac_driver                 |       0 |    2260 |

WWD                               |       0 |    4980 |

----------------------------------+---------+---------|

TOTAL (bytes)                     |       0 |  845424 |

----------------------------------|---------|---------|

Creating Filesystem BCM94390x_targets.mk ...

Downloading DCT BCM94390x_targets.mk ... @echo build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/DCT.bin @ SFLASH_DCT_LOC=0x0020d000

./tools/common/Win32/mk_wicedfs32 build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/filesystem.bin build/snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug/resources/Staging/

Creating Filesystem Done

DCT_IMAGE_SECTOR_ADDRESS := 0x0020d000  size:= 4096

WICED/platform/MCU/BCM4390x/BCM94390x_targets.mk:208: recipe for target 'download_dct' failed

make.exe[1]: *** [download_dct] Error 1

Makefile:228: recipe for target 'main_app' failed

make: *** [main_app] Error 2

C:\Projects\MHB3.0\CodeDoc\Sourcecode\MHB3.0_BTCombine_CRC_Review_count_115200_Review\WICED-SDK-3.6.2>

Thanks and regards,

Basava,

0 Likes
1 Solution

I need to install WICED\43xxx_Wi-Fi\tools\drivers\CYW9WCD1EVAL1\InstallDriver.exe driver. it solved the problem.

Regards,

Basava.

View solution in original post

0 Likes
4 Replies
PriyaM_16
Moderator
Moderator
Moderator
250 replies posted 100 replies posted 50 replies posted

Hello,

Are you facing problem in programming any snip application? Or is it specific to the make target you have posted in the response?

This error is generally seen:

1. When  the board is not connected

2. When the board is connected but drivers are not bound correctly.

Kindly check the drivers in your Device manager. It should be bound like this:

pastedImage_0.png

Hi,

Thank you for the reply.

I checked my board connection is OK and drivers are installed.

Still I'm getting this issue.  Please let me how I can understand this issue and solve it.

pastedImage_0.png

0 Likes

The driver should be libUSBK USB. It is libUSB-wWin32 in the attached snap. Kindly chnage it to libUSBK using Zadig

0 Likes

I need to install WICED\43xxx_Wi-Fi\tools\drivers\CYW9WCD1EVAL1\InstallDriver.exe driver. it solved the problem.

Regards,

Basava.

0 Likes