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.

IWRL6432BOOST: Method to embed a cfg file into a radar binary file

Part Number: IWRL6432BOOST
Other Parts Discussed in Thread: IWRL6432, IWRL6432AOP, SYSCONFIG, CCSTUDIO

Tool/software:

Hello,

I am currently conducting tests in the following environment:

[RADAR SENSOR]: IWRL6432 EVM
[SDK]: MMWAVE_L_SDK_05_05_00_02
[Radar Toolbox]: 2.20.00.05
[Visualizer]: Industrial Visualizer

In the Industrial Visualizer, to conduct a test, you typically need to:

1. Connect to the radar sensor.
2. Use Select Configuration to choose a .cfg file.
3. Execute Start and Send Configuration to load and run the radar configuration.

I would like to load the contents of the .cfg file directly into the binary without needing to manually select the .cfg file in the Industrial Visualizer and immediately begin testing.

Could you please advise on how to proceed with this?


Note: I am currently developing a board to operate the IWRL6432AOP and ultimately wish to directly load and run the radar's .cfg file contents from the board itself.

  • Hi,

    Thanks for your query. Please allow us a couple of days to respond

    Regards

  • Hello, 

    There are two methods that can be used to achieve this. Both methods require that you import the motion and presence detection example into Code Composer Studio (CCS) and make some changes. (More info on importing the demo in the 'Build the Firmware from Source Code' section on this page).

    The first method is to use the CLI Removal feature. This feature removes the CLI task and a JSON file containing the configuration parameters must be uploaded in sysconfig. There is some more info about this on this page.

    The second method is to use the Quick Eval feature. You can enable the QUICK EVAL setting in sysconfig for the example project. Then in mmw_cli.c, you can list each of the configuration commands in radarCmdString (or radarCmdStringAOP if AOP device is used). Note, you may need to update MAX_RADAR_CMD to match the number of commands in your configuration.

    Both options are enabled in the MPD_DEMO tab of example.syscfg.

    Whichever method is chosen, after making the changes, you can rebuild the example project and reflash the board with the updated appimage. If your configuration is valid then the sensor will begin chirping and outputting data once it receives power without the need to configure over UART. Then in the industrial visualizer, you can connect and use the 'Start without Send Cfg' option to begin visualizing the data. 

    Best Regards,

    Josh 

  • Hi, Josh,

    I tried the first method you recommended (CLI Removal). After loading example.syscfg in Code Composer Studio Theia, I configured it as shown in the attached image.

    However, when I selected "LOAD FROM JSON," no Window appeared to select a JSON file, and nothing else happened.

    Could you please check and provide guidance on this issue?

    Test Environment:

    • Code Composer Studio Theia: Version 1.4.1.1
    • Sysconfig: Version 1.20.0

    Sincerely,
    SeungCheol Kim

  • Hi SeungCheol Kim, 

    It seems that you are correct and there appears to be a bug with this feature in CCS Theia (I have just tested this with the latest version 1.5.0 and the bug is still present). I will report the bug to the CCS team to have it addressed. In the meantime, can you please use the Eclipse version of the CCS IDE (CCSTUDIO) for this feature?

    Best Regards,

    Josh

  • Hi Josh,

    Following your comments, I used the Eclipse version of the CCS IDE (CCSTUDIO) to perform the CLI Remove.

    I initially encountered an issue but was able to resolve it by installing Node.js, following the guidance in this link:
    e2e.ti.com/.../5362565

    After generating the binary and running it with the Industrial Visualizer, I confirmed that the point cloud information is displayed correctly.

    However, Object Tracking did not work.

    Upon checking the example.syscfg file, it seems that the tracking-related information from the JSON file is not being loaded.

    Could you please check this issue and provide guidance on how to resolve it?

    Sincerely,
    SeungCheol Kim

  • Hi SeungCheol, 

    I'm looking into this and will get back to you shortly. 

    Best Regards,

    Josh

  • Hi SeungCheol, 

    My sincere apologies for the delayed response. Thank you for your patience. I have come to find out that the CLI Removal option does not currently support the tracking or microdoppler/classification processing. If you wish to enable a "hard-coded configuration" that uses the object tracking functionality please utilize the QUICK EVAL method that I mentioned above. 

    Best Regards,

    Josh 

  • Thank you for your response.

    I will proceed with the second method as you suggested.

    Sincerely,
    SeungCheol Kim
  • Hi SeungCheol, 

    No problem. I'll close this thread for now and if you have any issues you can post a reply and the thread will reopen. 

    Best Regards,

    Josh