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/IWR1443BOOST: MMWAVE-IWR1443: unable to run demos from industrial tool kit

Part Number: IWR1443BOOST
Other Parts Discussed in Thread: UNIFLASH, IWR1443

Tool/software: Code Composer Studio

Hey all,

I'm trying to run the labs given in the Industrial Toolbox (v3.2.0) under mmWave Sensors. My device is an IWR1443BOOST, which just arrived so it should be the latest version.

The 'mmWave SDK Demo' works fine but other labs did not. I tried the gesture demo where instruction told me to load the prebuild binaries through Uniflash. But when I tried it, it says the file header does not allow itself to be flashed onto my device. Here's a screenshot:

And here's the console message from Uniflash:

[3/12/2019, 4:02:27 PM] [INFO] Cortex_R4_0: Initialization complete.
[3/12/2019, 4:02:27 PM] [INFO] Cortex_R4_0: Flashing process starting...
[3/12/2019, 4:02:27 PM] [INFO] Cortex_R4_0: Connecting to COM Port COM5...
[3/12/2019, 4:02:27 PM] [INFO] Cortex_R4_0: Reset connection to device
[3/12/2019, 4:02:27 PM] [INFO] Cortex_R4_0: Set break signal
[3/12/2019, 4:02:48 PM] [ERROR] Cortex_R4_0: Initial response from the device was not received. Please power cycle device before re-flashing.
[3/12/2019, 4:02:48 PM] [ERROR] Cortex_R4_0: Not able to connect to serial port. Recheck COM port selected and/or permissions.
[3/12/2019, 4:02:48 PM] [INFO] Cortex_R4_0: Flashing instance clean-up initiated...
[3/12/2019, 4:02:48 PM] [INFO] Cortex_R4_0: Instance deinitialized!
[3/12/2019, 4:03:29 PM] [INFO] Cortex_R4_0: Initialization complete.
[3/12/2019, 4:03:29 PM] [INFO] Cortex_R4_0: Flashing process starting...
[3/12/2019, 4:03:29 PM] [INFO] Cortex_R4_0: Connecting to COM Port COM5...
[3/12/2019, 4:03:29 PM] [INFO] Cortex_R4_0: Reset connection to device
[3/12/2019, 4:03:29 PM] [INFO] Cortex_R4_0: Set break signal
[3/12/2019, 4:03:49 PM] [ERROR] Cortex_R4_0: Initial response from the device was not received. Please power cycle device before re-flashing.
[3/12/2019, 4:03:49 PM] [ERROR] Cortex_R4_0: Not able to connect to serial port. Recheck COM port selected and/or permissions.
[3/12/2019, 4:03:49 PM] [INFO] Cortex_R4_0: Flashing instance clean-up initiated...
[3/12/2019, 4:03:49 PM] [INFO] Cortex_R4_0: Instance deinitialized!
[3/12/2019, 4:06:56 PM] [INFO] Cortex_R4_0: Initialization complete.
[3/12/2019, 4:06:56 PM] [INFO] Cortex_R4_0: Flashing process starting...
[3/12/2019, 4:06:56 PM] [INFO] Cortex_R4_0: Connecting to COM Port COM5...
[3/12/2019, 4:06:56 PM] [INFO] Cortex_R4_0: Reset connection to device
[3/12/2019, 4:06:56 PM] [INFO] Cortex_R4_0: Set break signal
[3/12/2019, 4:06:56 PM] [INFO] Cortex_R4_0: Connection to COM port succeeded. Flashing can proceed.
[3/12/2019, 4:06:56 PM] [INFO] Cortex_R4_0: Reading device version info...
[3/12/2019, 4:06:56 PM] [INFO] Cortex_R4_0: ** 2 files specified for flashing.
[3/12/2019, 4:06:56 PM] [INFO] Cortex_R4_0: Checking file C:/ti/mmwave_industrial_toolbox_3_2_0/labs/lab0009-gesture-recog-twirl/prebuilt_binaries/xwr12xx_xwr14xx_radarss.bin for correct header for IWR1443.
[3/12/2019, 4:06:56 PM] [INFO] Cortex_R4_0: Header of C:/ti/mmwave_industrial_toolbox_3_2_0/labs/lab0009-gesture-recog-twirl/prebuilt_binaries/xwr12xx_xwr14xx_radarss.bin file indicates it is not a valid file to flash to IWR1443: 0xb55a03d1L
[3/12/2019, 4:06:56 PM] [ERROR] Cortex_R4_0: !!! Aborting flashing of specified files!!!
[3/12/2019, 4:06:56 PM] [INFO] Cortex_R4_0: Disconnecting from device on COM port COM5...
[3/12/2019, 4:06:56 PM] [INFO] Cortex_R4_0: Flashing instance clean-up initiated...
[3/12/2019, 4:06:56 PM] [INFO] Cortex_R4_0: Instance deinitialized!

Then I tried to build the project in Code Composer Studio (v8). But the build failed due to errors in the code. See the following screenshot and error messages. The project was straight from the Industrial Toolkit without any modification.

Description    Resource    Path    Location    Type
#167 too few arguments in function call    sensor_mgmt.c    /gesture_swipe_14xx_mss    line 277    C/C++ Problem
#20 identifier "MMWAVE_L3RAM_NUM_BANK" is undefined    main_swipe.c    /gesture_swipe_14xx_mss    line 704    C/C++ Problem
#20 identifier "MMWAVE_SHMEM_BANK_SIZE" is undefined    main_swipe.c    /gesture_swipe_14xx_mss    line 704    C/C++ Problem
#20 identifier "ptrRFInitCompleteMessage" is undefined    main_swipe.c    /gesture_swipe_14xx_mss    line 1558    C/C++ Problem
#20 identifier "rlRfInitomplete_t" is undefined    main_swipe.c    /gesture_swipe_14xx_mss    line 1558    C/C++ Problem
#29 expected an expression    main_swipe.c    /gesture_swipe_14xx_mss    line 1562    C/C++ Problem
#66 expected a ";"    main_swipe.c    /gesture_swipe_14xx_mss    line 1562    C/C++ Problem
gmake: *** [all] Error 2    gesture_swipe_14xx_mss             C/C++ Problem
gmake[1]: *** [main_swipe.oer4f] Error 1    gesture_swipe_14xx_mss             C/C++ Problem
gmake[1]: *** [sensor_mgmt.oer4f] Error 1    gesture_swipe_14xx_mss             C/C++ Problem
gmake[1]: Target 'main-build' not remade because of errors.    gesture_swipe_14xx_mss             C/C++ Problem
#169-D argument of type "int32_t *" is incompatible with parameter of type "rlCalibrationData_t *"    sensor_mgmt.c    /gesture_swipe_14xx_mss    line 277    C/C++ Problem
Product 'mmWave SDK' v1.2.0.05 is not currently installed. A compatible version 2.1.0.04 will be used.    gesture_swipe_14xx_mss        gesture_swipe_14xx_mss    Problem

The same thing happens for all other labs other than the out-of-box SDK demo. I wish to get at least the gesture lab working. Can someone help me with this?

Many thanks in advance.

Ziheng (Leo) Li

  • Hi Ziheng,

    The Twirl and Swipe gesture labs have not been ported to run on IWR1443 ES3.0 silicon (which is the production version of the silicon you have on your EVM).

    1. These labs are based on SDK 1.2.x which is compatible only with Silicon revision ES2.0 while the production rev i.e. ES3.0 is compatible only with SDK 2.1 and beyond. You are not able to flash the binaries on your EVM because the binary image format changed between SDK 1.2 and 2.1. So the current pre-built binaries are not compatible with the EVM.

    2. Your CCS build is failing because the lab requires SDK 1.2.0.5 (as indicated in the error message) but you are using SDK 2.1. Even if you install SDK 1.2.0.5, you will be able to compile but won't be able ti run the lab because SDK 1.2 is not compatible with the production silicon.

    Regards
    -Nitin
  • Thank you, Nitin, that explains a whole lot.

    I think it leaves me with the question of how different is SDK2.1 from SDK 1.2. Or is it practical to make a gesture application ourselves based on the source code of given demo?

    Best,

    -Ziheng

  • Hi Ziheng,

    You can try to port the existing gesture demo to SDK 2.1. Please refer to the following thread for more details:

    RTOS/AWR1443: Vital Signs: SDK migration 1.2 to SDK 2.1 (The general process applies to all demos which are currently based on SDK 1.2)

    Regards

    -Nitin

  • Thank you Nitin, that answers all my questions!

    Cheers,
    Ziheng