13 Replies Latest reply on Jun 26, 2019 2:49 PM by ViAs_2307976

    Unable to download code on CYW943907AEVAL1F Eval Board using USB connection with WICED 6.2

    ViAs_2307976

      Hi,

       

      I am trying to download code (e.g. snip.scan-CYW943907AEVAL1F download run) on CYW943907AEVAL1F eval board connected through USB but it fails during 'build apps lookup table'.

       

      This used to work with earlier WICED versions 5.x but now it fails with latest WICED 6.2.

       

      The user manual for CYW943907AEVAL1F eval board (https://www.cypress.com/file/370526/download ) says the device should comes up as :

      1. The WICED USB Serial Port is listed under Ports (COM & LPT) as shown in Figure 3-3. b.

      2. The WICED USB JTAG Port is listed under WICED USB JTAG Devices as shown in Figure 3-3.

       

      It used to come up with earlier versions like this. But with new version, it shows up for #2 as 'libusb-win32 devices' instead of 'WICED USB JTAG devices'.

       

      I tried re-installing device driver but no luck, and shows up as same.

      Please help on how to correct this error to be able to flash over USB OR it will work only with previous versions only.

       

      Thanks.

      -Vikas.

       

      Console:

      Building apps lookup table

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

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

      Makefile:351: recipe for target 'main_app' failed

      make: *** [main_app] Error 2

       

      OpenOCD log:

      Open On-Chip Debugger 0.10.0+dev-00227-g0d15c62 (2018-03-27-15:19)

      Licensed under GNU GPL v2

      For bug reports, read

      http://openocd.org/doc/doxygen/bugs.html

      trst_and_srst separate srst_nogate trst_push_pull srst_open_drain connect_assert_srst

      trst_and_srst separate srst_nogate trst_push_pull srst_open_drain connect_assert_srst

      adapter speed: 100 kHz

      adapter_nsrst_delay: 100

      Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.

      jtag_ntrst_delay: 100

      post_init_psoc6_setup

      Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

      Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

      Info : clock speed 100 kHz

      Info : JTAG tap: BCM43909.cpu tap/device found: 0x5ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x5)

      Info : BCM43909.cpu: hardware has 4 breakpoints, 4 watchpoints

      in procedure 'sflash_write_file'

      in procedure 'sflash_init' called at file "apps/waf/sflash_write/sflash_write.tcl", line 261

      in procedure 'init' called at file "apps/waf/sflash_write/sflash_write.tcl", line 155

      in procedure 'ocd_bouncer'

       

       

      force hard breakpoints

      Info : JTAG tap: BCM43909.cpu tap/device found: 0x5ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x5)

      Error: Error BCM43909.cpu: Reset was not successfully asserted

      in procedure 'sflash_write_file'

      in procedure 'sflash_init' called at file "apps/waf/sflash_write/sflash_write.tcl", line 261

      in procedure 'post_init_43909_setup' called at file "apps/waf/sflash_write/sflash_write.tcl", line 160

      in procedure 'reset' called at file "apps/waf/sflash_write/sflash_write.tcl", line 569

      in procedure 'ocd_bouncer'

        • 1. Re: Unable to download code on CYW943907AEVAL1F Eval Board using USB connection with WICED 6.2
          RaktimR_11

          The drivers have been updated post SDK 6.1 release. Please check this help article Upgrade USB Drivers for WICED Studio 6.1 for further information

          1 of 1 people found this helpful
          • 2. Re: Unable to download code on CYW943907AEVAL1F Eval Board using USB connection with WICED 6.2
            ViAs_2307976

            Updated the driver and its showing up as 'libusbk' but still code will not load.

            Showing same error:

             

            Console log:

            Creating Filesystem BCM94390x_targets.mk ...

            Downloading DCT ... build/snip.scan-CYW943907AEVAL1F/DCT.bin @ SFLASH_DCT_LOC=0x00008000

            ./tools/common/Win32/mk_wicedfs32 build/snip.scan-CYW943907AEVAL1F/filesystem.bin build/snip.scan-CYW943907AEVAL1F/resources/Staging/

            Creating Filesystem Done

            Building apps lookup table

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

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

            Makefile:351: recipe for target 'main_app' failed

            make: *** [main_app] Error 2

            09:27:18 Build Finished (took 4s.822ms)

             

            OpenOCD log:

            Open On-Chip Debugger 0.10.0+dev-00227-g0d15c62 (2018-03-27-15:19)

            Licensed under GNU GPL v2

            For bug reports, read

            http://openocd.org/doc/doxygen/bugs.html

            trst_and_srst separate srst_nogate trst_push_pull srst_open_drain connect_assert_srst

            trst_and_srst separate srst_nogate trst_push_pull srst_open_drain connect_assert_srst

            adapter speed: 100 kHz

            adapter_nsrst_delay: 100

            Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.

            jtag_ntrst_delay: 100

            post_init_psoc6_setup

            Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

            Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

            Info : clock speed 100 kHz

            Info : JTAG tap: BCM43909.cpu tap/device found: 0x5ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x5)

            Info : BCM43909.cpu: hardware has 4 breakpoints, 4 watchpoints

            in procedure 'sflash_write_file'

            in procedure 'sflash_init' called at file "apps/waf/sflash_write/sflash_write.tcl", line 261

            in procedure 'init' called at file "apps/waf/sflash_write/sflash_write.tcl", line 155

            in procedure 'ocd_bouncer'

             

            force hard breakpoints

            Info : JTAG tap: BCM43909.cpu tap/device found: 0x5ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x5)

            Error: Error BCM43909.cpu: Reset was not successfully asserted

            in procedure 'sflash_write_file'

            in procedure 'sflash_init' called at file "apps/waf/sflash_write/sflash_write.tcl", line 261

            in procedure 'post_init_43909_setup' called at file "apps/waf/sflash_write/sflash_write.tcl", line 160

            in procedure 'reset' called at file "apps/waf/sflash_write/sflash_write.tcl", line 569

            in procedure 'ocd_bouncer'

            • 3. Re: Unable to download code on CYW943907AEVAL1F Eval Board using USB connection with WICED 6.2
              RaktimR_11

              Can you confirm that the same EVK works with 5.1 SDK and does not work with 6.2 SDK?

               

              Can you please provide the device manager screenshot?

               

              From the openocd log, it seems to be a driver issue only. Please make sure to do a hard reset and clean before downloading the new target.

              ./make clean

              ./make snip.scan-CYW943907AEVAL1F WIPE=1 download run

              • 4. Re: Unable to download code on CYW943907AEVAL1F Eval Board using USB connection with WICED 6.2
                ViAs_2307976

                Yes, same EVK is working with WICED STUDIO SDK 4.0. I upgraded system to Windows 10 - and couldn't find WICED 5.0 setup online but found WICED 4.0 setup online so used that one and it is working with that.

                 

                snip.scan-BCM943907AEVAL2F download run

                 

                WICED_JTAG.PNG

                 

                 

                I did following:

                1. From WICED 6.2, ./make clean  - pass
                2. From WICED 6.2, ./make snip.scan-CYW943907AEVAL1F WIPE=1 download run - fail as compiled fine but no output on UART.
                3. From WICED 6.2, ./make snip.scan-CYW943907AEVAL1F download run - fail as compiled fine but no output on UART.
                4. Hard reset.
                5. From WICED 6.2, ./make clean  - pass
                6. From WICED 6.2, ./make snip.scan-CYW943907AEVAL1F WIPE=1 download run - fail as compiled fine but no output on UART.
                7. From WICED 6.2, ./make snip.scan-CYW943907AEVAL1F download run - fail as compiled fine but no output on UART.
                8. From WICED 4.0, ./make snip.scan-BCM943907AEVAL2F download run - pass as compiled fine and output on UART.
                • 5. Re: Unable to download code on CYW943907AEVAL1F Eval Board using USB connection with WICED 6.2
                  RaktimR_11

                  From your log, it looks like that you have a different revision of the kit (BCM943907AEVAL2F instead of the latest and greatest CYW943907AEVAL1F). Please confirm whether this assumption is wrong? If the assumption is correct, then can you port the platform files for BCM943907AEVAL2F in the WICED 6.2 and then try?

                   

                  Also I can see that the download_dct error is gone but instead the uart debug prints are missing now? Please confirm whether that is correct

                  1 of 1 people found this helpful
                  • 6. Re: Unable to download code on CYW943907AEVAL1F Eval Board using USB connection with WICED 6.2
                    ViAs_2307976

                    The board says "121-90484-01 rev04 1735EM00153" on its label.

                    With WICED 4, it has worked with BCM943907AEVAL2F only, there is no CYW943907AEVAL1F in platform.

                    With WICED 5, it was working with CYW943907AEVAL1F.

                     

                    YES, there is no download_dct error but UART not working.

                    • 7. Re: Unable to download code on CYW943907AEVAL1F Eval Board using USB connection with WICED 6.2
                      RaktimR_11

                      Please use the attached platform files and check the uart issue first. After adding the BSP in 43xxx_Wi-Fi/platforms, your make target should look like

                       

                      ./make snip.scan-BCM943907AEVAL2F download run

                       

                      To debug further, open the waf.sflash_write.c and take DEBUG_PRINT out of the commented section and check whether you are seeing anything in the serial terminal.

                      • 8. Re: Unable to download code on CYW943907AEVAL1F Eval Board using USB connection with WICED 6.2
                        ViAs_2307976

                        It didn't compile.

                         

                        Console log:

                        MAKEFILE MAKECMDGOALS=snip.scan-BCM943907AEVAL2F download run 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.scan-BCM943907AEVAL2F download run OTA2_SUPPORT is disabled

                        Building Bootloader waf.bootloader-NoOS-NoNS-BCM943907AEVAL2F-P103-SoC.43909

                        Building Tiny Bootloader waf.tiny_bootloader-NoOS-NoNS-BCM943907AEVAL2F-P103-SoC.43909

                        Building Serial Flash Loader App

                        platforms/BCM943907AEVAL2F/platform.c:289:10: error: 'gpio_button_t {aka const struct <anonymous>}' has no member named 'config'

                                 .config     = INPUT_PULL_UP,        /* No pull up BCM943907AEVAL2F - No physical Buttons, mapped to PWM_5 and SPI0 on the expansion header J6 */

                                  ^~~~~~

                        platforms/BCM943907AEVAL2F/platform.c:297:10: error: 'gpio_button_t {aka const struct <anonymous>}' has no member named 'config'

                                 .config     = INPUT_PULL_UP,        /* No pull up BCM943907AEVAL2F - No physical Buttons, mapped to PWM_5 and SPI0 on the expansion header J6 */

                                  ^~~~~~

                        platforms/BCM943907AEVAL2F/platform.c: In function 'platform_init_external_devices':

                        platforms/BCM943907AEVAL2F/platform.c:336:135: error: 'gpio_button_t {aka const struct <anonymous>}' has no member named 'config'

                             platform_gpio_init( &platform_gpio_pins[ platform_gpio_buttons[PLATFORM_BUTTON_1].gpio ], platform_gpio_buttons[PLATFORM_BUTTON_1].config );

                                                                                                                                                               ^

                        platforms/BCM943907AEVAL2F/platform.c:337:135: error: 'gpio_button_t {aka const struct <anonymous>}' has no member named 'config'

                             platform_gpio_init( &platform_gpio_pins[ platform_gpio_buttons[PLATFORM_BUTTON_2].gpio ], platform_gpio_buttons[PLATFORM_BUTTON_2].config );

                                                                                                                                                               ^

                        platforms/BCM943907AEVAL2F/platform.c: In function 'platform_get_button_press_time':

                        platforms/BCM943907AEVAL2F/platform.c:353:96: error: 'gpio_button_t {aka const struct <anonymous>}' has no member named 'config'

                             platform_gpio_init( &platform_gpio_pins[ button_gpio ], platform_gpio_buttons[button_index].config );

                                                                                                                        ^

                        make.exe[3]: *** [build/waf.bootloader-NoOS-NoNS-BCM943907AEVAL2F-P103-SoC.43909/Modules/platforms/BCM943907AEVAL2F/platform.o] Error 1

                        make.exe[3]: *** Waiting for unfinished jobs....

                        make.exe[2]: *** [main_app] Error 2

                        WICED/platform/MCU/BCM4390x/BCM94390x_targets.mk:260: recipe for target 'bootloader' failed

                        make.exe[1]: *** [bootloader] Error 2

                        make.exe[1]: *** Waiting for unfinished jobs....

                        platforms/BCM943907AEVAL2F/platform.c:289:10: error: 'gpio_button_t {aka const struct <anonymous>}' has no member named 'config'

                                 .config     = INPUT_PULL_UP,        /* No pull up BCM943907AEVAL2F - No physical Buttons, mapped to PWM_5 and SPI0 on the expansion header J6 */

                                  ^~~~~~

                        platforms/BCM943907AEVAL2F/platform.c:297:10: error: 'gpio_button_t {aka const struct <anonymous>}' has no member named 'config'

                                 .config     = INPUT_PULL_UP,        /* No pull up BCM943907AEVAL2F - No physical Buttons, mapped to PWM_5 and SPI0 on the expansion header J6 */

                                  ^~~~~~

                        platforms/BCM943907AEVAL2F/platform.c: In function 'platform_init_external_devices':

                        platforms/BCM943907AEVAL2F/platform.c:336:135: error: 'gpio_button_t {aka const struct <anonymous>}' has no member named 'config'

                             platform_gpio_init( &platform_gpio_pins[ platform_gpio_buttons[PLATFORM_BUTTON_1].gpio ], platform_gpio_buttons[PLATFORM_BUTTON_1].config );

                                                                                                                                                               ^

                        platforms/BCM943907AEVAL2F/platform.c:337:135: error: 'gpio_button_t {aka const struct <anonymous>}' has no member named 'config'

                             platform_gpio_init( &platform_gpio_pins[ platform_gpio_buttons[PLATFORM_BUTTON_2].gpio ], platform_gpio_buttons[PLATFORM_BUTTON_2].config );

                                                                                                                                                               ^

                        platforms/BCM943907AEVAL2F/platform.c: In function 'platform_get_button_press_time':

                        platforms/BCM943907AEVAL2F/platform.c:353:96: error: 'gpio_button_t {aka const struct <anonymous>}' has no member named 'config'

                             platform_gpio_init( &platform_gpio_pins[ button_gpio ], platform_gpio_buttons[button_index].config );

                                                                                                                        ^

                        make.exe[3]: *** [build/waf.tiny_bootloader-NoOS-NoNS-BCM943907AEVAL2F-P103-SoC.43909/Modules/platforms/BCM943907AEVAL2F/platform.o] Error 1

                        make.exe[3]: *** Waiting for unfinished jobs....

                        make.exe[2]: *** [main_app] Error 2

                        make.exe[1]: *** [build/snip.scan-BCM943907AEVAL2F/tiny_bootloader_bin2c.o] Error 2

                        WICED/platform/MCU/BCM4390x/BCM94390x_targets.mk:227: recipe for target 'build/snip.scan-BCM943907AEVAL2F/tiny_bootloader_bin2c.o' failed

                        platforms/BCM943907AEVAL2F/platform.c:289:10: error: 'gpio_button_t {aka const struct <anonymous>}' has no member named 'config'

                                 .config     = INPUT_PULL_UP,        /* No pull up BCM943907AEVAL2F - No physical Buttons, mapped to PWM_5 and SPI0 on the expansion header J6 */

                                  ^~~~~~

                        platforms/BCM943907AEVAL2F/platform.c:297:10: error: 'gpio_button_t {aka const struct <anonymous>}' has no member named 'config'

                                 .config     = INPUT_PULL_UP,        /* No pull up BCM943907AEVAL2F - No physical Buttons, mapped to PWM_5 and SPI0 on the expansion header J6 */

                                  ^~~~~~

                        platforms/BCM943907AEVAL2F/platform.c: In function 'platform_init_external_devices':

                        platforms/BCM943907AEVAL2F/platform.c:336:135: error: 'gpio_button_t {aka const struct <anonymous>}' has no member named 'config'

                             platform_gpio_init( &platform_gpio_pins[ platform_gpio_buttons[PLATFORM_BUTTON_1].gpio ], platform_gpio_buttons[PLATFORM_BUTTON_1].config );

                                                                                                                                                               ^

                        platforms/BCM943907AEVAL2F/platform.c:337:135: error: 'gpio_button_t {aka const struct <anonymous>}' has no member named 'config'

                             platform_gpio_init( &platform_gpio_pins[ platform_gpio_buttons[PLATFORM_BUTTON_2].gpio ], platform_gpio_buttons[PLATFORM_BUTTON_2].config );

                                                                                                                                                               ^

                        platforms/BCM943907AEVAL2F/platform.c: In function 'platform_get_button_press_time':

                        platforms/BCM943907AEVAL2F/platform.c:353:96: error: 'gpio_button_t {aka const struct <anonymous>}' has no member named 'config'

                             platform_gpio_init( &platform_gpio_pins[ button_gpio ], platform_gpio_buttons[button_index].config );

                                                                                                                        ^

                        make.exe[3]: *** [build/waf.sflash_write-NoOS-BCM943907AEVAL2F-P103-SoC.43909/Modules/platforms/BCM943907AEVAL2F/platform.o] Error 1

                        make.exe[3]: *** Waiting for unfinished jobs....

                        make.exe[2]: *** [main_app] Error 2

                        make.exe[1]: *** [sflash_write_app] Error 2

                        tools/makefiles/wiced_apps.mk:415: recipe for target 'sflash_write_app' failed

                        make: *** [main_app] Error 2

                        Makefile:351: recipe for target 'main_app' failed

                         

                         

                        14:12:42 Build Finished (took 16s.466ms)

                        • 9. Re: Unable to download code on CYW943907AEVAL1F Eval Board using USB connection with WICED 6.2
                          RaktimR_11

                          The compilation passes in my system; not sure why it fails for you. I am adding the BSP and gpio_button library here for you to re-check.

                           

                          Steps to be followed to re-check:

                          1. Place the BSP (BCM943907AEVAL2F) folder in 43xxx_Wi-Fi/platforms
                          2. Kindly place the button library in 43xxx_Wi-Fi/libraries/inputs/gpio_button
                          3. Perform a clean by using ./make clean
                          4. Then try running the make target and check for compilation error: ./make snip.scan-BCM943907AEVAL2F
                          5. Please try to check for uart debug prints by enabling #define DEBUG_PRINT in 43xxx_Wi-Fi/apps/waf/sflash_write/sflash_write.c and see whether you are getting any uart prints during the download process.
                          • 10. Re: Unable to download code on CYW943907AEVAL1F Eval Board using USB connection with WICED 6.2
                            AxLi_1746341

                            Raktim Roy wrote:

                             

                            The compilation passes in my system; not sure why it fails for you. I am adding the BSP and gpio_button library here for you to re-check.

                            This is because your sdk is different from the public sdk-6.2.1.

                            gpio_button_t does not has the member named 'config'.

                            And below changes just shows current public sdk-6.2.1 has bug in gpio_button.

                             

                                 if ( button->trigger == 0 )

                                 {

                            -        trigger = ( ( button->polarity == WICED_ACTIVE_LOW ) ? IRQ_TRIGGER_RISING_EDGE : IRQ_TRIGGER_FALLING_EDGE );

                            +        /* if trigger has not been defined for the platform, choose based on button polarity */

                            +        trigger = ( ( button->polarity == WICED_ACTIVE_LOW ) ? IRQ_TRIGGER_FALLING_EDGE : IRQ_TRIGGER_RISING_EDGE );

                            1 of 1 people found this helpful
                            • 11. Re: Unable to download code on CYW943907AEVAL1F Eval Board using USB connection with WICED 6.2
                              RaktimR_11

                              Have you been able to get it working following the last set of instructions?

                              • 12. Re: Unable to download code on CYW943907AEVAL1F Eval Board using USB connection with WICED 6.2
                                ViAs_2307976

                                Adding new platform files, it keeps failing to download dct.

                                 

                                snip.scan-BCM943907AEVAL2F download run

                                MAKEFILE MAKECMDGOALS=snip.scan-BCM943907AEVAL2F download run 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.scan-BCM943907AEVAL2F download run OTA2_SUPPORT is disabled

                                Building Bootloader waf.bootloader-NoOS-NoNS-BCM943907AEVAL2F-P103-SoC.43909

                                Building Tiny Bootloader waf.tiny_bootloader-NoOS-NoNS-BCM943907AEVAL2F-P103-SoC.43909

                                Building Serial Flash Loader App

                                prgm hdr cnt=3

                                total_size = 13600, entry_point = 0x696000

                                Loadsegment_offset = 0xA0 segment_size = 13428, segment_pad = 0

                                Loadsegment_offset = 0x3520 segment_size = 32, segment_pad = 0

                                Loadsegment_offset = 0x3544 segment_size = 140, segment_pad = 0

                                Finished Building Bootloader

                                 

                                 

                                Processing resources

                                Creating security credentials

                                Finished Building Tiny Bootloader

                                Making DCT image

                                Compiling App_Scan

                                Compiling Platform_BCM943907AEVAL2F_P103_B1

                                Compiling WICED

                                Finished Building Serial Flash Loader App

                                 

                                 

                                Compiling WWD_ThreadX_Interface

                                Compiling WICED_ThreadX_Interface

                                Compiling WWD_for_SoC.43909_ThreadX

                                Compiling Supplicant_BESL

                                Compiling Lib_DNS

                                Compiling NetX_Duo

                                Compiling Lib_Wiced_RO_FS

                                Compiling MCU_BCM4390x

                                Compiling Lib_TLV

                                Compiling Lib_base64

                                Compiling Lib_Linked_List

                                Compiling Lib_mbedTLS

                                Compiling WWD_NetX_Duo_Interface

                                Compiling WICED_NetX_Duo_Interface

                                Compiling Lib_crc

                                Compiling Lib_GPIO_button

                                Compiling common_GCC

                                Compiling 43909_Peripheral_Drivers

                                Compiling Lib_Ring_Buffer

                                Compiling Lib_DHCP_Server

                                Compiling SPI_Flash_43909_Library_BCM943907AEVAL2F

                                Compiling Uart_43909_Library_BCM943907AEVAL2F

                                Compiling Peripherals_Shared_43909_Library_BCM943907AEVAL2F

                                Compiling Tiny_Crypto_43909_Library_BCM943907AEVAL2F

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/App_Scan.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/Platform_BCM943907AEVAL2F_P103_B1.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/WICED.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/WWD_ThreadX_Interface.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/WICED_ThreadX_Interface.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/WWD_for_SoC.43909_ThreadX.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/Supplicant_BESL.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/Lib_DNS.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/NetX_Duo.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/Lib_Wiced_RO_FS.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/MCU_BCM4390x.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/Lib_TLV.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/Lib_base64.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/Lib_Linked_List.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/Lib_mbedTLS.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/WWD_NetX_Duo_Interface.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/WICED_NetX_Duo_Interface.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/Lib_crc.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/Lib_GPIO_button.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/43909_Peripheral_Drivers.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/common_GCC.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/Lib_Ring_Buffer.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/Lib_DHCP_Server.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/SPI_Flash_43909_Library_BCM943907AEVAL2F.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/Uart_43909_Library_BCM943907AEVAL2F.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/Tiny_Crypto_43909_Library_BCM943907AEVAL2F.a

                                Making build/snip.scan-BCM943907AEVAL2F/libraries/Peripherals_Shared_43909_Library_BCM943907AEVAL2F.a

                                Making snip.scan-BCM943907AEVAL2F.elf

                                 

                                 

                                Making snip.scan-BCM943907AEVAL2F.bin

                                snip.scan-BCM943907AEVAL2F

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

                                                                  |  Static |

                                              Module              |   RAM   |

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

                                App                               |     470 |

                                crc                               |    1060 |

                                Interrupt Vectors                 |     288 |

                                libc                              |   28737 |

                                Networking                        |   10271 |

                                NetX-Duo - Interfaces & Stacks    |      16 |

                                NVRam                             |    2210 |

                                Other                             |   59273 |

                                Packet Buffers                    |   22928 |

                                platform                          |     572 |

                                RAM Initialisation                |       0 |

                                resources                         |      32 |

                                Ring_Buffer                       |     140 |

                                Startup Stack & Link Script fill  |     171 |

                                ThreadX                           |   12220 |

                                TLV                               |      28 |

                                WICED                             |    5241 |

                                Wiced_RO_FS                       |     570 |

                                WWD                               |    1413 |

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

                                TOTAL (bytes)                     |  145640 |

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

                                 

                                 

                                Creating Filesystem BCM94390x_targets.mk ...

                                Downloading DCT ... build/snip.scan-BCM943907AEVAL2F/DCT.bin @ SFLASH_DCT_LOC=0x00008000

                                ./tools/common/Win32/mk_wicedfs32 build/snip.scan-BCM943907AEVAL2F/filesystem.bin build/snip.scan-BCM943907AEVAL2F/resources/Staging/

                                Creating Filesystem Done

                                Building apps lookup table

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

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

                                Makefile:349: recipe for target 'main_app' failed

                                make: *** [main_app] Error 2

                                 

                                 

                                17:36:20 Build Finished (took 1m:32s.252ms)

                                • 13. Re: Unable to download code on CYW943907AEVAL1F Eval Board using USB connection with WICED 6.2
                                  ViAs_2307976

                                  With this mod in button file and other platform files, eval board is now working with WICED.

                                   

                                  Thanks.

                                   

                                  -Vikas.