This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/AWR1443BOOST: Flashing Error

Part Number: AWR1443BOOST
Other Parts Discussed in Thread: UNIFLASH, , AWR1443

Tool/software: Code Composer Studio

Hi,

I am unable to flash the prebuit binaries of  "High accuracy range measurement -14xx".

I have a AWR1443BOOST module having ES3.0 and was trying to flash using Uniflash as prescribed in Users guide.

Best Regards,

Divya Harikumar

  • Hi Divya,

    Could you provide more info?

    Which specific file you are using? Provide Uniflash snapshot when error occurs.

    Regards,

    Jitendra

  • Hi,

    We are planning to test AWR1443BOOST (ES 3.0) module for High Accuracy Level Sensing application.

    While flashing the  following pre-built binaries using uniflash(v5.1) we got errors:

    BSS :C:\ti\mmwave_industrial_toolbox_04_00_00\labs\lab0004-high-accuracy14xx\lab0004_high_accuracy_14xx_pjt\prebuilt_binaries\xwr12xx_xwr14x x_radarss.bin

    MSS: C:\ti\mmwave_industrial_toolbox_04_00_00\labs\lab0004-high-accuracy14xx\lab0004_high_accuracy_14xx_pjt\prebuilt_binaries\xwr14xx_high_a ccuracy_mss.bin

    These are the following error.
    ---------------------------------------------------------------------
    2019/5/20 10:34:31] [INFO] Cortex_R4_0: Initialization complete.
    [2019/5/20 10:34:31] [INFO] Cortex_R4_0: Flashing process starting...
    [2019/5/20 10:34:31] [INFO] Cortex_R4_0: Connecting to COM Port COM5...
    [2019/5/20 10:34:31] [INFO] Cortex_R4_0: Reset connection to device
    [2019/5/20 10:34:31] [INFO] Cortex_R4_0: Set break signal
    [2019/5/20 10:34:31] [INFO] Cortex_R4_0: Connection to COM port succeeded. Flashing can proceed.
    [2019/5/20 10:34:31] [INFO] Cortex_R4_0: Reading device version info...
    [2019/5/20 10:34:31] [INFO] Cortex_R4_0: ** 2 files specified for flashing.
    [2019/5/20 10:34:31] [INFO] Cortex_R4_0: Checking file C:/ti/mmwave_studio_02_00_00_02/rf_eval_firmware/masterss/xwr12xx_xwr14xx_masterss.bin for correct header for AWR1443.
    [2019/5/20 10:34:31] [INFO] Cortex_R4_0: Header of C:/ti/mmwave_studio_02_00_00_02/rf_eval_firmware/masterss/xwr12xx_xwr14xx_masterss.bin file indicates it is not a valid file to flash to AWR1443: 0x43525052
    [2019/5/20 10:34:31] [ERROR] Cortex_R4_0: !!! Aborting flashing of specified files!!!
    [2019/5/20 10:34:31] [INFO] Cortex_R4_0: Disconnecting from device on COM port COM5...
    [2019/5/20 10:34:31] [INFO] Cortex_R4_0: Flashing instance clean-up initiated...
    [2019/5/20 10:34:31] [INFO] Cortex_R4_0: Instance deinitialized!
    ---------------------------------------------------------------------

    What is the reason? Let us know how to resolve the issue.

    Best regards,

    Divya Harikumar

  • Hi Divya,

    With AWR1443 ES3.0 version you need to use single MetaImage binary to flash on the device using Uniflash.

    Existing Lab application is supported with SDK 1.2 and AWR1443 ES2.0 version.

    You need to rebuild this application with SDK v2.1 version where it will generate a single MetaImage binary which you to flash to the device.

    Regards,

    Jitendra

  • Hi Jitendra,

    We installed SDK v2.1 and tried rebuilding the project using CCS unfortunately we got 13 errors(screenshot attached).

    What could be the issue? How to resolve this?

    Best Regards,

    Divya Harikumar

  • Hi Divya,

    Please follow these steps to migrate AWR1443 high_accuracy application to mmWave SDK 2.1 version

    1. Goto CCS project properties->Build->ARM Compiler->Predefined Symbols

        add new pre-define 'MMWAVE_L3RAM_NUM_BANK=6' and 'MMWAVE_SHMEM_BANK_SIZE=0x10000' (without any space)

    2. sensor_mgmt.c: change MMwave_open function parameter

    if (MMWave_open (gMmwMCB.ctrlHandle, &gMmwMCB.cfg.openCfg, NULL, &errCode) < 0)

    3. In main.c: change structure rlRfInitomplete_t to rlRfInitComplete_t

    4. Remove 'imageCreator/${MMWAVE_SDK_DEVICE}/out2rprc/out2rprc.exe ' from CCS project properties->Build->Steps-> Post-build steps

    Regards,

    Jitendra

  • Hi,

    Following errors occured :

    How can we fix this?

    Best regards,

    Divya Harikumar

  • Hi Divya,

    Above change, I have suggested based on SDK 2.1 version.

    Please select SDK version as 2.1 in the CCS project properties->General->Products->mmWave SDK..

    Regards,

    Jitendra

  • Hi Jitendra,

    I have made the changes for sdk v2.1 as per suggestion but unfortunately error still exists.

    Best Regards,

    Divya Harikumar

  • Hi Divya,

    On top of those settings, please add these also in the CCS project properties

    Build->ARM Linker->Advacned Options->Command File preprocessing.-> Pre-define MACRO

    MMWAVE_L3RAM_SIZE=0x40000
    MMWAVE_L3RAM_NUM_BANK=6
    MMWAVE_SHMEM_BANK_SIZE=0x10000
    MMWAVE_SHMEM_TCMA_NUM_BANK=0
    MMWAVE_SHMEM_TCMB_NUM_BANK=0

    And in the Project Properties->Build-> Steps-> Post-build Steps, delete last parameter of first command.

    ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/out2rprc/out2rprc.exe ${MMWAVE_SDK_DEVICE}_high_accuracy_mss.xer4f ${MMWAVE_SDK_DEVICE}_high_accuracy_mss.bin 

    Regards,

    Jitendra

  • Hi Jitendra,

    The bin was succesfully created but i couldn't flash it into the device as it aborts with the following message.

    BR,

    Divya Harikumar

  • Hi Divya,

    You need to add these post-step commands in the CCS project properties.

    Project Properties->Build-> Steps-> Post-build Steps (remove all the cmds and add these)

    ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/create_ConfigRPRC/create_ConfigRPRC.exe -s 0x00000006;${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/out2rprc/out2rprc.exe xwr14xx_high_accuracy_mss.xer4f xwr14xx_high_accuracy_mss.tmp;
    ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 xwr14xx_mmw_demo.bin 0xCF910000 ar1xxx_conf.bin 0x35510000 xwr14xx_high_accuracy_mss.tmp 0xb5510000 ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/firmware/radarss/xwr12xx_xwr14xx_radarss_rprc.bin;
    ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe xwr14xx_mmw_demo.bin xwr14xx_mmw_demo.tmp;
    ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe xwr14xx_mmw_demo.bin;

    After this build, you need to flash 'xwr14xx_mmw_demo.bin' file which will be around 127KB.

    Regards,

    Jitendra

  • Hi Jitendra,

    The bin was successfully flashed onto the board but unfortunately after loading the config there was no plot.

    What might be the issue?

    Regards,

    Divya Harikumar

  • Hi Divya,

    Could you check mmw demo or vital sign demo on your board to verify if default application works?

    Regards,

    Jitendra

  • Hi Jitendra,

    mmwdemo works well in the board.

    Regards,

    Divya Harikumar

  • Hi Divya,

    CLI command format is changed from old SDK version to v2.1 version which is causing Visualizer to not work with this application build.

    If you connect TeraTerm to CLI COM port at 115200, you should see the CLI command prompt which will prove that application which you have flashed is booting correctly.

    To make it work with the latest SDK version team we need to officially upgrade which is not a plan for this specific application. If you want to use specific application then you need to spend your energy to migrate Visualizer and application to the latest SDK version and Silicon ES3.0 version.

    Regards,

    Jitendra