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/AWR1642BOOST: Unable to run "srr_visualization" application after running srrDemo on Code Composer Studio

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: AWR1642

Tool/software: Code Composer Studio

Hi, I am trying to run a SRR demo through code composer studio and then run the visualizer however I get the following errors in the console output in code composer studio: 

Error: Unable to configure the profile 0 [Error 38]
Error: Please ensure that the XXXCfg CLI command is invoked before starting the sensor

(After running the visualization application again):
Error: MMWDemoMSS mmWave open configuration failed [Error code -203227134]
Error: Please ensure that the XXXCfg CLI command is invoked before starting the sensor
Error: MMWDemoMSS mmWave open configuration failed [Error code -203227134]
Error: Please ensure that the XXXCfg CLI command is invoked before starting the sensor

Prior to this, I flashed the ccsdebug.bin file onto the awr1642 and built both the srrdemo_16xx_mss and srrdemo_16xx_dss files by following the instructions in the provided user guide for the srr automotive lab demo (i.e. creating the target configuration file, grouping the necessary cores). The output I got in the console after selecting and running "group 1" as indicated in the user guide was as follows:

[Cortex_R4_0] Debug: Launched the Initialization Task
[C674X_0] Heap L1 : size 16384 (0x4000), free 1216 (0x4c0)
Heap L3 : size 786432 (0xc0000), free 229376 (0x38000)
[Cortex_R4_0] Debug: Initialized the mmWave module
[C674X_0] Heap L2 : size 49152 (0xc000), free 20464 (0x4ff0)
[Cortex_R4_0] Debug: Synchronized the mmWave module
Debug: CLI is operational

Would you be able to point me in the right direction towards solving this issue?

Thank you

  • Are you able to run the pre-built binaries provided in the release folder?

    thank you

    Cesar

  • Hi Cesar,

    I am able to run the visualizer after flashing the pre-built (srrdemo_16xx.bin) file onto the radar however I am unable to run it through CCS after flashing the xwr16xx_ccsdebug.bin image to the radar and following the build instructions in the AutoSrr_usersguide.

    Thank you

    Stan

  • Stan,

    When rebuildling the demo in CCS, make sure that you have SDK v2.0 installed on your PC as this is the version required to build this lab.

    This SDK version can be downloaded here: https://software-dl.ti.com/ra-processors/esd/MMWAVE-SDK/02_00_00_04/index_FDS.html 

    Additionally, you will need to flash the CCS debug image from SDK v2.0 when attempting to run this lab. The CCS debug image needs to come from the same SDK version the demo is built on.

    Regards,
    Kyle

  • Hi Kyle,

    Thanks a lot for your help! After flashing the demo bin file from the SDK 2.0 and running srr_visualization.exe, I am able to see outputs on the X-Y scatter plot.

    My next question is that, I would like to obtain the radar data packets and inspect them on my own by reading my computer's serial port, preferably in C with the hopes of mapping the locations of the obstacles detected onto a 2D array that I will create. I intend on writing my own code in a separate IDE to accomplish this. Is there a better approach to what I intend to do, i.e. would it be easier to leverage demo code provided already by TI to do what I want?

    Thanks again,

    Stan

  • Stan,

    We have provided our MATLAB source code as a reference for further visualizer development. There are certainly other approaches for visualizing the output from the radar. A few of the labs in the Industrial Toolbox use a Python visualizer.

    Ultimately, this decision is left up to you. Once the output data leaves the AWR1642, it is up to the user to determine an appropriate of displaying the output data to a user.

    As long as you understand the TLV output data, then you should be in a good position for developing your application.

    Regards,
    Kyle

  • Thanks Kyle! I will refer to those when developing my own application.

    -Stan