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

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

cross mob
c_ciavola
Level 1
Level 1
10 sign-ins First reply posted 5 sign-ins

Hi everyone I'm trying to flash ISM43903_R48_L54 with a particular test target "flash_emc".
Building apps lookup table
make [1]: *** [download_dct] Error 1
make: *** [main_app] Error 2
make: *** [Makefile.wiced: 428: flash_emc] Error 2


I am under ubuntu 22.04 and the problem is present only with this target, with others the firmware is flashed correctly.
As you will see from the logs the wiced version is 4.1. Do you have any suggestions to try?

 

sudo make -f Makefile.wiced flash_emc
make -C mbedtls/mbedtls-mbedtls-2.7.4/api-renamer "MBEDTLS_DIR=/home/cciavola/Project/product/biot-agent/.wiced-fw/mbedtls-mbedtls-2.7.4/mbedtls-mbedtls-2.7.4"
make[1]: ingresso nella directory «/home/cciavola/Project/product/biot-agent/mbedtls/mbedtls-mbedtls-2.7.4/api-renamer»
make[1]: Nessuna operazione da eseguire per «all».
make[1]: uscita dalla directory «/home/cciavola/Project/product/biot-agent/mbedtls/mbedtls-mbedtls-2.7.4/api-renamer»
tools/gen_version.sh generated/biot_version.h.new I.W.01.01_01 CB01
Building version: v1.8.2-0-ge2c3aca-CB01
Compliance ID: I.W.01.01_01
cmp -s generated/biot_version.h.new generated/biot_version.h \
&& rm -f generated/biot_version.h.new \
|| mv generated/biot_version.h.new generated/biot_version.h
if [ "$(readlink ".wiced-fw/EMC/WICED-SDK-4.1/WICED-Studio-4.1/43xxx_Wi-Fi/apps/product_emc_test")" != "/home/cciavola/Project/product/biot-agent/.wiced-fw/renamed-sources/" ]; then printf 'Need to create a root directory link for "%s".\n' "product_emc_test"; rm -f ".wiced-fw/EMC/WICED-SDK-4.1/WICED-Studio-4.1/43xxx_Wi-Fi/apps/product_emc_test"; ln -s "/home/cciavola/Project/product/biot-agent/.wiced-fw/renamed-sources/" ".wiced-fw/EMC/WICED-SDK-4.1/WICED-Studio-4.1/43xxx_Wi-Fi/apps/product_emc_test"; fi
cd ".wiced-fw/EMC/WICED-SDK-4.1/WICED-Studio-4.1/43xxx_Wi-Fi/apps/product_emc_test" && if [ "$(readlink "product_emc_test.mk")" != "/home/cciavola/Project/product/biot-agent/customer/product/emc_test/product_emc_test.mk" ]; then printf 'Need to create a make file link for "%s" -> "%s".\n' "product_emc_test.mk" "customer/product/emc_test/product_emc_test.mk"; rm -f "product_emc_test.mk"; ln -s "/home/cciavola/Project/product/biot-agent/customer/product/emc_test/product_emc_test.mk" "product_emc_test.mk"; fi
cd ".wiced-fw/EMC/WICED-SDK-4.1/WICED-Studio-4.1/43xxx_Wi-Fi"; ./make JOBS=16 EXTERNAL_WICED_GLOBAL_DEFINES=ADB_CARRIER_BOARD FW_UPGRADE_ON_EXTERNAL_FLASH=1 ADB_BIOT_WICED_MBEDTLS=1 "product_emc_test-ISM43903_R48_L54" ADB_BIOT_SOURCE_LIST=/home/cciavola/Project/product/biot-agent/customer/product/emc_test/product_emc_test_sources.mk
MAKEFILE MAKECMDGOALS=product_emc_test-ISM43903_R48_L54 OTA2_SUPPORT is disabled
product_emc_test-ISM43903_R48_L54
----------------------------------|---------|---------|
| | Static |
Module | Flash | RAM |
----------------------------------+---------+---------|
crc | 0 | 1060 |
DHCP_Server | 0 | 1574 |
DNS | 0 | 136 |
Interrupt Vectors | 0 | 288 |
iperf | 0 | 27006 |
libc | 0 | 51004 |
Networking | 0 | 17192 |
NetX-Duo - Interfaces & Stacks | 0 | 16 |
NVRam | 0 | 2243 |
Other | 0 | 101614 |
Packet Buffers | 0 | 34116 |
platform | 0 | 172 |
RAM Initialisation | 32 | 0 |
resources | 0 | 36 |
Ring_Buffer | 0 | 140 |
Startup Stack & Link Script fill | 0 | 240 |
Supplicant - BESL | 0 | 112 |
ThreadX | 0 | 12924 |
WICED | 0 | 4756 |
Wiced_RO_FS | 0 | 568 |
wlu_server | 0 | 7396 |
WWD | 0 | 2099 |
----------------------------------+---------+---------|
TOTAL (bytes) | 0 | 264692 |
----------------------------------|---------|---------|

Creating Filesystem BCM94390x_targets.mk ...
./tools/common/Linux64/mk_wicedfs32 build/product_emc_test-ISM43903_R48_L54/filesystem.bin build/product_emc_test-ISM43903_R48_L54/resources/Staging/
Creating Filesystem Done
Build complete
Making .gdbinit
cd ".wiced-fw/EMC/WICED-SDK-4.1/WICED-Studio-4.1/43xxx_Wi-Fi"; ./make JOBS=16 EXTERNAL_WICED_GLOBAL_DEFINES=ADB_CARRIER_BOARD FW_UPGRADE_ON_EXTERNAL_FLASH=1 ADB_BIOT_WICED_MBEDTLS=1 "product_emc_test-ISM43903_R48_L54" download download_apps run
MAKEFILE MAKECMDGOALS=product_emc_test-ISM43903_R48_L54 download download_apps run OTA2_SUPPORT is disabled
Building Bootloader waf.bootloader-NoOS-NoNS-ISM43903_R48_L54-SoC.43909
Building Serial Flash Loader App
Finished Building Serial Flash Loader App

Finished Building Bootloader

product_emc_test-ISM43903_R48_L54
----------------------------------|---------|---------|
| | Static |
Module | Flash | RAM |
----------------------------------+---------+---------|
crc | 0 | 1060 |
DHCP_Server | 0 | 1574 |
DNS | 0 | 136 |
Interrupt Vectors | 0 | 288 |
iperf | 0 | 27006 |
libc | 0 | 51004 |
Networking | 0 | 17192 |
NetX-Duo - Interfaces & Stacks | 0 | 16 |
NVRam | 0 | 2243 |
Other | 0 | 101614 |
Packet Buffers | 0 | 34116 |
platform | 0 | 172 |
RAM Initialisation | 32 | 0 |
resources | 0 | 36 |
Ring_Buffer | 0 | 140 |
Startup Stack & Link Script fill | 0 | 240 |
Supplicant - BESL | 0 | 112 |
ThreadX | 0 | 12924 |
WICED | 0 | 4756 |
Wiced_RO_FS | 0 | 568 |
wlu_server | 0 | 7396 |
WWD | 0 | 2099 |
----------------------------------+---------+---------|
TOTAL (bytes) | 0 | 264692 |
----------------------------------|---------|---------|

Creating Filesystem BCM94390x_targets.mk ...
Downloading DCT ... build/product_emc_test-ISM43903_R48_L54/DCT.bin @ SFLASH_DCT_LOC=0x00008000
./tools/common/Linux64/mk_wicedfs32 build/product_emc_test-ISM43903_R48_L54/filesystem.bin build/product_emc_test-ISM43903_R48_L54/resources/Staging/
Creating Filesystem Done
Building apps lookup table
make[1]: *** [download_dct] Error 1
make: *** [main_app] Error 2
make: *** [Makefile.wiced:428: flash_emc] Errore 2
0 Likes
1 Solution
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hello:

    from the description you are testing with a new particular emc,  the other image were flashed successfully.

but only DCT to 0x00008000 failed , is the description right? If so,my suggestions are you can just have a compile, and try to use the download command to download DCT image to a different location to see if it can be flashed well.   For testing the compile environment you can use our default evk to check the download process and have a compare.

View solution in original post

0 Likes
1 Reply
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hello:

    from the description you are testing with a new particular emc,  the other image were flashed successfully.

but only DCT to 0x00008000 failed , is the description right? If so,my suggestions are you can just have a compile, and try to use the download command to download DCT image to a different location to see if it can be flashed well.   For testing the compile environment you can use our default evk to check the download process and have a compare.

0 Likes