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 / IWR1642:iwr1642-ccs

Part Number: IWR1642

Tool/software: Code Composer Studio

Dear all

Now want to go to the next step and import the CCS project,

but  have been parked here, as shown in the figure.

  • I have followed the steps of the user guide, still parked here.
  • Hi Mason,

    You will need to download the offline version of Code Composer Studio (CCS), version 7.4 or later. Find it here. Then you can import and compile the project.

    Regards,

    Justin

  • Dear Justin 

     \

    I Can`t  found this option ,where can found TI v7.4.16

    Is This option ??

    I don`t understand what is the mean about Debug ??  Which one ? As the figure 

    I don`t understand what is the mean about Debug ?? Which one ? As the figure

    How to get?

    Follow 
    xwr16xx_pplcount_dss.bin
    xwr16xx_pplcount_dss.xe674
    and
    xwr16xx_pplcount_mss.bin
    xwr16xx_pplcount_mss.xer4f
    xwr16xx_pplcount_lab.bin

  • Just have version TI V8.2.2

  • Is it wnat to install an offline version of CCS?
  • I am installing online installer ,
    online installer is not working ?
  • Now . My Code Composer Studio(CCS)is 7.4 version
  • Hello Mason,

    The .xe674 file and .bin file (for DSS) will appear in the debug folder.  Inside the Project Explorer tab->pplcount_16xx_dss->debug.

  • Hi Mason,

    Are you still having issues?

    Regards,
    Justin
  • Dear Justin 

    YES.

    Still staying in yesterday's question, still can't successfully import build dss and mss,

    can not found TI V7.4.16 version, I hope that I can solve this problem quickly, go to the next step to use matlab to grab the data.

  • Hi Mason,

    To install the correct compiler:

    1) In Code Composer Studio, select help->Install Code Generation Compiler Tools

    2) This will bring up a list of all Compilers available. Make sure to deselect "Show only the latest versions of software"

    Select C6000 7.4.16 and install it.

    From your pictures, it looks like you have successfully imported the project. What is the issue with import?

    Regards,

    Justin

  • Not shown in the Debug2 file
    Xwr16xx_pplcount_dss.bin
    Xwr16xx_pplcount_dss.xe674
    And
    Xwr16xx_pplcount_mss.bin
    Xwr16xx_pplcount_mss.xer4f
    Xwr16xx_pplcount_lab.bin these options

    So importing build dss.mss is not successful

    It should be2e.ti.com/.../2636953 shown to you in the picture.

    I will try again a few more times,

    Thank you for your patience.
  • These will appear after you compile the demo. After compiling DSS, you will be able to find:
    xwr16xx_pplcount_dss.bin
    xwr16xx_pplcount_dss.xe674

    After compiling MSS, you will find:
    xwr16xx_pplcount_mss.bin
    xwr16xx_pplcount_mss.xer4f
    xwr16xx_pplcount_lab.bin

    Regards,
    Justin
  • Hi Justin 

    Where can I see the principle of people counting docuements ,
    How to sense, how to sense people, objects, how to distinguish people, or other objects

    When importing CSS, accidentally pressing Rebulid before, now pplcount_16xx_dss
      And pplcount_16xx_mss are all anti-white, can not be selected, what should I do in this situation??

    I reinstalled CCS Installer and mmwave_industrial_toolbox_2_3_0 and it still didn't

    Thank you 

  • Hi Mason,

    To understand how the demo works, see our TI Design.

    CCS will not let you import a demo if a folder exists in the workspace with the same name.  Either make a new workspace, or go into the current workspace and make sure to delete the folders with People Counting in the name.  These do not get fully deleted when you delete a project in CCS, but will prevent you from re importing the project.

    Regards,

    Justin

  • Where can I find Work AREA?
    Where can I find the people counting folder to delete?

  • I have found
  • Hi Mason,

    Are you able to import the projects now?

    Thanks,
    Justin
  • Hi Justin

    I have installed TI v7.4.16 version

    Still the same can not be found in the Debug folder
    Xwr16xx_pplcount_dss.bin
    Xwr16xx_pplcount_dss.xe674
    And
    Xwr16xx_pplcount_mss.bin
    Xwr16xx_pplcount_mss.xer4f
    Xwr16xx_pplcount_lab.bin

    Only these items, as shown

  • Is the Rebulid file unsuccessful?

    Buildfile generation error occurred..
    Product 'com.ti.mmwave_industrial_toolbox' v2.3.0 is not currently installed and no compatible version is available. Please install this product or a compatible version.
    Build stopped..

    I think this is the error expressed by this message, which can not be imported.

    But I already have mmwave_industrial_toolbox' v2.3.0 installed.
    A compatible version means?

  • Hi justin

    Already imported.

    I did this step according to the user guide.

    (Use the steps in Picture 1)

    1.

    2.

    May I ask if I should do the steps of Picture 1 or Picture 2? Still can??

    How can I use matlab to capture test data afterwards?
    Which information is important, like signal, radio wave, sensed data

    Is the teaching document about data acquisition in matlab??

    As shown in Figure 3, is the data displayed by matlab correct?
    Or what steps have I missed??

    thank you

    3.

  • Hi Mason,

    Use option 1 for flashing the EVM if you just want to test the performance of the device and software.  If you want to modify and debug the software, use the second option.

    The data format you are seeing in matlab is correct.  The point cloud contains the detected points from the Radar, and the target list contains the tracked objects. The format of this data is explained in the User's guide in the data formats section.

    If the demo is not performing as well as you would expect, please see the Customization guide for steps to improve performance.

    Regards,

    Justin

  • Hi Justin 

    As shown

    Is it possible to do this function?? To do the same, how can I proceed?

    Is to use Matlab or CCS to get the data?

    Take this picture as an example, character positioning, speed, distance


    Is the capture of the above information also obtained from matlab?

    Which are the item title names of the signal, antenna, and radar feedback data?

  • Hi Mason,

    This data, position, speed, acceleration, is sent from the device to Matlab. You can see the data format in the user's guide, in the Data Formats section. In Matlab, this data is parsed at line 613.

    Regards,

    Justin

  • Dear Justin 

    I reinstalled the software.

    Why is pplcount_16xx_dss not Rebulid?

    But pplcount_16xx_mss can be Rebulid?
    Dss has no rebulid success, mss has rebulid successfully
    Where is the problem?The error message is as follows

    (((

    **** Clean-only build of configuration Debug for project pplcount_16xx_dss ****

    "G:\\ccsv8\\utils\\bin\\gmake" -k -j 4 clean -O

    DEL /F "xwr16xx_pplcount_dss.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "xwr16xx_pplcount_dss.xe674"
    RMDIR /S/Q "configPkg\"
    DEL /F "RADARDEMO_aoaEstCaponBF.oe674" "RADARDEMO_aoaEstCaponBF_DopplerEst.oe674" "RADARDEMO_aoaEstCaponBF_heatmapEst.oe674" "RADARDEMO_aoaEstCaponBF_matrixInv.oe674" "RADARDEMO_detectionCFAR.oe674" "RADARDEMO_detectionCFAR_priv.oe674" "RADARDEMO_rangeProc.oe674" "RADARDEMO_rangeProc_priv.oe674" "RADARDEMO_rangeProc_utils.oe674" "cycle_measure.oe674" "dss_config_edma_util.oe674" "dss_data_path.oe674" "dss_main.oe674" "radarOsal_malloc.oe674" "radarProcess.oe674"
    DEL /F "RADARDEMO_aoaEstCaponBF.d" "RADARDEMO_aoaEstCaponBF_DopplerEst.d" "RADARDEMO_aoaEstCaponBF_heatmapEst.d" "RADARDEMO_aoaEstCaponBF_matrixInv.d" "RADARDEMO_detectionCFAR.d" "RADARDEMO_detectionCFAR_priv.d" "RADARDEMO_rangeProc.d" "RADARDEMO_rangeProc_priv.d" "RADARDEMO_rangeProc_utils.d" "cycle_measure.d" "dss_config_edma_util.d" "dss_data_path.d" "dss_main.d" "radarOsal_malloc.d" "radarProcess.d"
    找不到 G:\Users\mn\workspace_v8\pplcount_16xx_dss\Debug\xwr16xx_pplcount_dss.hex
    找不到 G:\Users\mn\workspace_v8\pplcount_16xx_dss\Debug\xwr16xx_pplcount_dss.xe674
    Finished clean

    **** Build Finished ****

    **** Build of configuration Debug for project pplcount_16xx_dss ****

    "G:\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O

    rm -f G:/Users/mn/workspace_v8/pplcount_16xx_dss/xwr16xx_pplcount_dss.bin
    makefile:199: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f G:/Users/mn/workspace_v8/pplcount_16xx_dss/xwr16xx_pplcount_dss.bin, ...) failed.
    make (e=2): 系統找不到指定的檔案。

    gmake[1]: [pre-build] Error 2 (ignored  )))

  • Dear Justin 

    I reinstalled the software

    Why is pplcount_16xx_dss not Rebulid?
    But pplcount_16xx_mss can be Rebulid?
    Dss has no rebulid success, mss has rebulid successfully
    Where is the problem?

    The error message is as follows

    ((**** Clean-only build of configuration Debug for project pplcount_16xx_dss ****

    "G:\\ccsv8\\utils\\bin\\gmake" -k -j 4 clean -O

    DEL /F "xwr16xx_pplcount_dss.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "xwr16xx_pplcount_dss.xe674"
    RMDIR /S/Q "configPkg\"
    DEL /F "RADARDEMO_aoaEstCaponBF.oe674" "RADARDEMO_aoaEstCaponBF_DopplerEst.oe674" "RADARDEMO_aoaEstCaponBF_heatmapEst.oe674" "RADARDEMO_aoaEstCaponBF_matrixInv.oe674" "RADARDEMO_detectionCFAR.oe674" "RADARDEMO_detectionCFAR_priv.oe674" "RADARDEMO_rangeProc.oe674" "RADARDEMO_rangeProc_priv.oe674" "RADARDEMO_rangeProc_utils.oe674" "cycle_measure.oe674" "dss_config_edma_util.oe674" "dss_data_path.oe674" "dss_main.oe674" "radarOsal_malloc.oe674" "radarProcess.oe674"
    DEL /F "RADARDEMO_aoaEstCaponBF.d" "RADARDEMO_aoaEstCaponBF_DopplerEst.d" "RADARDEMO_aoaEstCaponBF_heatmapEst.d" "RADARDEMO_aoaEstCaponBF_matrixInv.d" "RADARDEMO_detectionCFAR.d" "RADARDEMO_detectionCFAR_priv.d" "RADARDEMO_rangeProc.d" "RADARDEMO_rangeProc_priv.d" "RADARDEMO_rangeProc_utils.d" "cycle_measure.d" "dss_config_edma_util.d" "dss_data_path.d" "dss_main.d" "radarOsal_malloc.d" "radarProcess.d"
    找不到 G:\Users\mn\workspace_v8\pplcount_16xx_dss\Debug\xwr16xx_pplcount_dss.hex
    找不到 G:\Users\mn\workspace_v8\pplcount_16xx_dss\Debug\xwr16xx_pplcount_dss.xe674
    Finished clean

    **** Build Finished ****

    **** Build of configuration Debug for project pplcount_16xx_dss ****

    "G:\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O

    rm -f G:/Users/mn/workspace_v8/pplcount_16xx_dss/xwr16xx_pplcount_dss.bin
    makefile:199: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f G:/Users/mn/workspace_v8/pplcount_16xx_dss/xwr16xx_pplcount_dss.bin, ...) failed.
    make (e=2): 系統找不到指定的檔案。

    gmake[1]: [pre-build] Error 2 (ignored)))

  • Hi Mason,

    When you press rebuild, the compiler first tries to delete all the old .bin and object files. Because you have already cleaned, the compiler will show this error. However, this will not cause the build to fail.  I have encountered the same error and had the software build successfully.

    If you are seeing "Target main-build not remade because of errors" then the build is failing. Statements that cause the build to fail will be highlighted in red as well.

    Do you have the c6000 7.4.16 version of the compiler installed? This is required for a successful build. 

    Regards,

    Justin

  • YES . I installed it c6000 7.4.16 .

    If there is no component success, is the test data of Matlab directly correct?
  • Point cloud has three items, what do they represent? Speed Distance?

  • Hi Mason,

    Each column is a point: Data is by row:
    Range (meters)
    Angle (radians)
    Velocity (meters)
    SNR

    Regards,
    Justin
  • Dear Justin

    How do look at the data of people's movement tracks?
    Where will it show up?
    I want to get information on the movement track of people. How do I judge from the data that there are several people, moving traces, whether the signal is stable, and whether the positioning is accurate?

    Thank you
  • Hi Mason,

    The column after point cloud is targetlist. This is a struct containing:
    numTargets - number of detected people, will refer to this as N
    TID - 1xN matrix with Targed ID number
    S - 6xN matrix with target infor:
    S[1] = X
    S[2] = Y
    S[3] = Velocity X
    S[4] = Velocity Y
    S[5] = Acceleration X
    S[6] = Acceleration Y

    G - 1xN matrix with gating value for each target. Used to determine which point is associated with which target.

    Regards,
    Justin
  • Dear Justin

    OK.

    It seems that the usage of matlab, the grammar should also understand.

    Thank You 

  • Hi Mason,

    Do you have the information you need?

    Regards,
    Justin
  • Dear Justin

    I want to do some data on the number of people positioning, moving position, positioning is accurate,
    For example, in a room to determine whether the person's mobile positioning is accurate, whether it can penetrate the wall sensing signal

    I feel very confused now, what do I want to do? How do I read the information?
    Will enter the situation faster.
    Do you understand what I'm saying?

    Thank you
  • Dear Justin 

    What do these items mean?
    DONE?

    Point cloud 4X7 single
    What does 4 stand for?
    7 is the signal?
    Benchmark, starting point Why is the difference so big?
    What are these units?

    Thank you

  • Hi Mason,

    Regarding:
    timestamp, start, benchmarks, done:
    These are metrics used by the software designers to benchmark the software. They were determining time in ms to process the result. Each frame lasts 50 ms, so a difference of 3 or 4 ms is fine.

    You will mostly be interested in the Point Cloud, target list, and target index.
    Point cloud contains data for each point. It will always be 4 rows by N columns, where N is the number of points. So in the first row from your example, Point Cloud is 4x7 as there are 7 points.

    Target list contains information about the targets. Device will never send more than 20 in a frame. There is one target for each person. See my previous post and the User's guide for information about the data structure. For location, you will be interested in S[1], which is the X coordinate, and S[2], which is the Y coordinate. Assume the IWR1642 is at (0, 0).

    Finally the target index relates each point to a tracked object (target). Target list and target index are sent 1 frame after point cloud is sent, so target list[frame m] will have values for point cloud[frame m-1]. See the user's guide for an explanation of the target index data structure.

    Regards,
    Justin
  • Hi Justin 

    How do  get these sensory data? Where do you want to see the code of this data? Is it a C program?


    Can the original code be modified?

    Where do I look at the source code of the data?

    Thank you 

  • Hi Mason,

    This data is available in the FHist, inside the TargetList struct. 

    You can view the task_app.c file in the People Counting MSS to see where this data comes from.

    You can view the task_mbox.c file in People Counting MSS to see how this data is sent to the Matlab GUI.

    Raw radar data is processed in the DSS project. You can view those C files to see the data flow.

    Regards,

    Justin

  • Dear  Justin 

    What is the sensing principle of iwr1642 is PIF and Tof?

    The actual test range is about 6 meters?

    It seems that  can't feel through the wall?

    Thank you 

  • Hi,

    IWR1642 uses FMCW principles to sense.  TI has a training series designed to educate users on these fundamentals.  Please see this series for an explanation of FMCW.

    The actual raw data processing is handled by the DSS. So if you want to see the code that applies these principles, see the DSS project.

    Range is based on the chirp configuration.  We have different chirps for different ranges.

    The device can see through some materials, others it can't. See our People Counting through Materials experiment for more.

    Regards,

    Justin

  • Hi Mason,

    This thread has gone well beyond its original scope, so I am closing it. Feel free to start another thread.

    Regards,
    Justin
  • Hi Justin 

    How to change the code in MSS ( SNR threshold to 200 from 250.)
    Is it modified in CCS?

    If it is modified in CCS, is it necessary to use the second method?
    As shown below

    thank you

  • Hi Mason,

    I need you to start another thread, as this question is beyond the scope of the original thread. I will happily answer your question in another thread.

    Regards,
    Justin
  • Hi Justin

    I have opened a new question.
    (e2e.ti.com/.../720484)

    thank you