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.

IWR1443BOOST: Uniflash fails to program demo software.

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

I am using the zone occupancy demo software as a starting point to modify for our use. I can compile the demo in CCS and load it in on the board in debug mode without issues. But, when I try to use uniflash (4.5) to put it in flash to test outside I get the following console output:

[1/8/2019, 12:14:07 PM] [INFO] Cortex_R4_0: Initialization complete.
[1/8/2019, 12:14:07 PM] [INFO] Cortex_R4_0: Flashing process starting...
[1/8/2019, 12:14:07 PM] [INFO] Cortex_R4_0: Connecting to COM Port COM7...
[1/8/2019, 12:14:07 PM] [INFO] Cortex_R4_0: Reset connection to device
[1/8/2019, 12:14:07 PM] [INFO] Cortex_R4_0: Set break signal
[1/8/2019, 12:14:07 PM] [INFO] Cortex_R4_0: Connection to COM port succeeded. Flashing can proceed.
[1/8/2019, 12:14:07 PM] [INFO] Cortex_R4_0: Reading device version info...
[1/8/2019, 12:14:07 PM] [INFO] Cortex_R4_0: ** 1 files specified for flashing.
[1/8/2019, 12:14:07 PM] [INFO] Cortex_R4_0: Checking file C:/Users/andy/workspace_v8/mmw_mss_14xx/Debug/xwr14xx_mmw_mss.bin for correct header for IWR1443.
[1/8/2019, 12:14:07 PM] [INFO] Cortex_R4_0: Header of C:/Users/andy/workspace_v8/mmw_mss_14xx/Debug/xwr14xx_mmw_mss.bin file indicates it is not a valid file to flash to IWR1443: 0x355a03d1
[1/8/2019, 12:14:07 PM] [ERROR] Cortex_R4_0: !!! Aborting flashing of specified files!!!
[1/8/2019, 12:14:07 PM] [INFO] Cortex_R4_0: Disconnecting from device on COM port COM7...
[1/8/2019, 12:14:07 PM] [INFO] Cortex_R4_0: Flashing instance clean-up initiated...
[1/8/2019, 12:14:07 PM] [INFO] Cortex_R4_0: Instance deinitialized!
How do I fix this? I need to load it in flash and run from there!
  • Hello Charles,

    Please use the mmWave device markings described in the IWR1443 Errata doc to confirm if you have an IWR1443 ES2.0 or ES3.0.  If you have an ES2.0 device you should be using mmWave-SDK v1.2.0.5 as described in the Zone Occupancy Detection - 14xx lab setup guide.  If you have an ES3.0 device then you will need to use mmWave-SDK v2.1.0.4 instead.

    Please mark as answered if your issue is resolved or reply if more support is needed.

    Regards,

    John

  • This creates a new issue. Lab 16 will not compile without errors using SDK 2.1.0.4. The first 4 errors are about an undefined Identifiers. The other 2 are about syntax errors. There were no errors reported with SDK 1.2.0.5 and the exact same source code. It looks like a header file somewhere in the SDK stuff got changed. How do I fix that?
  • OK, it looks like the #define SOC_XWR14XX_MSS_L3RAM_SIZE MMWAVE_L3RAM_NUM_BANK*MMWAVE_SHMEM_BANK_SIZE on line 316 in c:\ti\mmwave_sdk_02_01_00_04\packages\ti\common\sys_common_xwr14xx.h is failing because neither of the identifiers that are to be multiplied are defined anywhere. At least when I highlight them, right click and select open declaration the IDE does nothing, as if it can't find one. And, the fact that those are the first two of the identifiers causing the errors in compilation. Those failures probably cause the rest.
  • Hi Charles,

    There is actually no mmWave sensor source code contained in the Zone Occupancy Detection lab (lab16).  It relies on the mmWave SDK demo running on the mmWave device and thus only contains a projectspec which allows importing the mmWave SDK demo found in the mmWave SDK as a CCS project.  As you have seen, the current projectspec included with the Zone Occupancy Detection lab only supports mmWave SDK 1.2.

    In order to compile the mmWave SDK demo for mmWave SDK 2.1 please use the 14xx - mmWave SDK Demo lab on the TI Resource Explorer which currently supports mmWave SDK 2.1.

    Regards,

    John

  • Worked like a charm. Thanks for the guidance.