1 Reply Latest reply on Mar 18, 2019 3:49 AM by PriyaM_16

    'download_dct' failed

    KeBe_3995361

      Hi all,

       

      I recently purchased the CYW943907AEVAL1F evaluation kit and I have an error with it.

      The thing is that I've put working some of the example projects on Wiced without any problem (scan networks, TCP client, powersave...), but I get an error after loading a project based on the 'hibernation.c' application on the micro. When I build another project (such as TCP client or scan networks) I get the "'download_dct' failed" error. How is that possible? At first both (TCP client and scan networks) were working...

       

      Do any of you have this problem? How can I solve the error?

       

      STEPS TO REPRODUCE THE PROBLEM (project files are attached)

      1) Load the 'scan.c' program on the CYW43907. The loading it's successful and the application works OK

      2) Now, load the 'hibernation.c' program building 'hibernation.mk'   -->   Loads OK the application and works fine

      3) Try again to load the 'scan.c' application building 'scan.mk'   -->  The loading operation fails: 'download_dct' error

       

      OBTAINED LOG WHEN I TRY TO LOAD A NEW PROGRAM

       

      Here is the log when I try to load the 'scan.c' project:

       

      13:23:28 **** Build of configuration Default for project 43xxx_Wi-Fi ****

      "C:\\Users\\idi01\\Documents\\WICED-Studio-6.2\\43xxx_Wi-Fi\\make.exe" snip.scan-CYW943907AEVAL1F download run

      MAKEFILE MAKECMDGOALS=snip.scan-CYW943907AEVAL1F download run OTA2_SUPPORT is disabled

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

      Building Serial Flash Loader App

      prgm hdr cnt=3

      total_size = 15492, entry_point = 0x696000

      Loadsegment_offset = 0xA0 segment_size = 15256, segment_pad = 0

      Loadsegment_offset = 0x3C40 segment_size = 32, segment_pad = 0

      Loadsegment_offset = 0x3C68 segment_size = 204, segment_pad = 0

      Finished Building Bootloader

      Finished Building Serial Flash Loader App

       

       

       

       

      snip.scan-CYW943907AEVAL1F

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

                                        |         |  Static |

                    Module              |  Flash  |   RAM   |

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

      App                               |       0 |     474 |

      crc                               |       0 |    1060 |

      Interrupt Vectors                 |       0 |     292 |

      libc                              |       0 |   30449 |

      Networking                        |       0 |   15457 |

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

      NVRam                             |       0 |    2210 |

      Other                             |       0 |   59474 |

      Packet Buffers                    |       0 |   71659 |

      platform                          |       0 |     616 |

      RAM Initialisation                |      32 |       0 |

      resources                         |       0 |      32 |

      Ring_Buffer                       |       0 |     138 |

      Startup Stack & Link Script fill  |       0 |     175 |

      ThreadX                           |       0 |   12136 |

      TLV                               |       0 |      28 |

      WICED                             |       0 |    5024 |

      Wiced_RO_FS                       |       0 |     566 |

      WWD                               |       0 |    1551 |

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

      TOTAL (bytes)                     |       0 |  201357 |

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

       

       

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

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

      make: *** [main_app] Error 2

      Makefile:351: recipe for target 'main_app' failed

        • 1. Re: 'download_dct' failed
          PriyaM_16

          Hello,

          The device should be out of  hibernation when you are trying to program the board.

          You can program the board(download application through WICED) when it comes out of hibernation. You need not wait for the timer to expire to come out of hibernation. The device can be brought out of hibernation by asserting Pin HIB_WAKE(J6.40) low.