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/IWR6843ISK-ODS: How to debug SDK demo with CCS.

Part Number: IWR6843ISK-ODS
Other Parts Discussed in Thread: IWR6843, , IWR6843AOPEVM, IWR6843AOP

Tool/software: Code Composer Studio

Hi,

I would like to debug SDK demo with CCS. SDK version is 3.3.

The purpose is to see the results of every single fft calculations(range fft, doppler fft, angle fft...) done in DSP.

When I looked in "C:\ti\mmwave_sdk_03_03_00_03\packages\ti\demo\xwr68xx\mmw" folder, 

I found no project files to import into CCS, though I expected MSS and DSP project files to be there.

How can I do step debugging of IWR6843 DSP (and MSS) with CCS?

Best Regards,

Fields

  • Hello,

    At this point, the mmWave SDK does not contain an out of box demo for IWR6843ISK-ODS. However, you can find a point cloud demo for IWR6843ISK-ODS in mmWave Industrial Toolbox at this link. The demo provides the required CCS project and instructions on how to run it in CCS debug mode (for step by step debugging) in the user guide (Look under the Developer's Guide section).

    68xx ODS - Point Cloud Demo

    FYI: This is the new ODS Point Cloud demo that was released in Industrial Toolbox 4.1.0 and it uses the HWA (Hardware Accelerator) for point cloud processing. This is derived from the out of box demo for IWR6843AOPEVM which is found in MMWAVE-SDK-AOP (So if you want to understand the details of the processing chain, please install MMWAVE-SDK-AOP and refer to the xwr64xx_mmw_demo in tht HTML documentation available at: file:///C:/ti/mmwave_sdk_03_02_00_06_AOP/docs/mmwave_sdk_module_documentation.html.

    Thanks

    -Nitin 

  • Hi Nitin,

    Thank you for your answer. However, now I am confused about the demos that all look similar to me.

    What is the difference among the following demos?

    - Industrial Toolbox 4.1.0

        - labs

            - out_of_box_demo

                - 68xx_aop_mmwave_sdk_hwa

                - 68xx_mmwave_sdk_dsp

                - 68xx_mmwave_sdk_hwa

                - 68xx_ods_point_cloud_demo

    - mmwave_sdk_03_03_00_03

            - demo

                - xwr64xx

                - xwr68xx

    - mmwave_sdk_03_02_00_06_AOP

            - demo

                - xwr64xx

                - xwr68xx

    Best regards,

    Fields

  • Hi Fields,

    "What is the difference among the following demos?"

    Let me try to clear the confusion here:

    1. The mmWave SDK includes the Out of Box demo with source and pre-compiled binaries for the corresponding platform, along-with makefile (using command line) based build infrastructure and corresponding instructions in the SDK user guide. So the following are provided in the corresponding mmWave SDKs

    - mmwave_sdk_03_03_00_03

            - demo

                - xwr64xx

                - xwr68xx

    - mmwave_sdk_03_02_00_06_AOP (Currently IWR6843AOP is supported with this separate SDK)

            - demo

                - xwr64xx

                - xwr68xx

    2. The SDK demos, however do not include CCS projects to allow compiling the source using CCS so we provide the "OOB demo labs"  in mmWave Industrial Toolbox to bridge this gap. Each of these labs provides a CCS project and easy to follow user guide for the underlying OOB demo from the mmWave SDK. The OOB demo labs only provide CCS project wrappers while using the source code from the corresponding mmWave SDK Demos.

    - Industrial Toolbox 4.1.0

        - labs

            - out_of_box_demo

                - 68xx_aop_mmwave_sdk_hwa (CCS project and instructions for the OOB demo in mmwave_sdk_03_02_00_06_AOP)

                - 68xx_mmwave_sdk_dsp (CCS project and instructions for - xwr68xx DSP based demo in mmwave_sdk_03_03_00_03)

                - 68xx_mmwave_sdk_hwa (CCS project and instructions for - xwr68xx HWA based demo in mmwave_sdk_03_03_00_03)

    3. The 68xx_ods_point_cloud_demo is a slight deviation from the general description in item# 2 because this lab includes both the source code and CCS projects for the 68xx ODS demo. The reason here is that mmWave SDK itself today does not include an Out of Box Demo for the IWR6843ISK-ODS antenna module. So as indicated in my original response, we derived this demo from the out of box demo for IWR6843AOPEVM which is found in MMWAVE-SDK-AOP, due to similarity of antenna designs between IWR6843ISK-ODS and IWR6843AOPEVM  

    Regards

    -Nitin   

  • Hi Nitin,

    Thank you. Now I think I understood the difference between "SDK demo" and "OOB demo lab".

    So, "OOB demo lab" is same as "SDK demo" in terms of function and performance but different in how they are delivered("OOB demo lab" is delivered as CCS project so that it is easier to compile and debug.). Am I correct?

    And still, I don't understand the difference between xwr68xx and xwr64xx.

    I can't find any radar device whose name is "xwr64xx", so I suppose that xwr64xx sdk demo is targeted at ,for example, IWR6843 radar device. Is there a timing that I should use xwr64xx demo with IWR6843 device that I have?

    Best regards,

    Fields

  • Hi Fields,

    So, "OOB demo lab" is same as "SDK demo" in terms of function and performance but different in how they are delivered("OOB demo lab" is delivered as CCS project so that it is easier to compile and debug.). Am I correct?

    Yes, that is correct on both parts, function and performance, as the lab uses the same source files and compiles them with the exact same build options (in CCS) as used in the SDK makefiles.

    And still, I don't understand the difference between xwr68xx and xwr64xx.

    Please refer to this note in the user guide for 68xx ISK - mmWave SDK Demo - HWA version lab.

    NOTE: This version of the SDK out-of-box demo is for IWR68xx EVM but only uses the on-chip Hardware FFT acclerator (HWA) and does not utilize the on-chip c674x DSP. In this User Guide many of labels show xWR64xx but the demo is compatible with the IWR68xx device. The name xwr64xx is reserved for future devices without the on-chip c674x DSP core.

    So essentially, 64xx based demos do not use the DSP and are supposed to run on the IWR6843 EVM only (the DSP is simply not used). 

    Thanks

    -Nitin