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/TDA2SX: HW trace analyzer

Guru 10750 points
Part Number: TDA2SX

Tool/software: Code Composer Studio

Hi All,

We want to get statistics on the system behavior (memory throughput) and for that we are trying to use the HW trace analyzer, the issue is that we are not getting data, is there anything else we need to do before using this feature? we are using the ETB with 14p Jtag connection,

We have already went over the sprac17b.pdf document,

The below is what we are getting,

https://e2eprivate.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/325/8484.Capture.JPG

Many Thanks,

HR

  • Adding more details:

    CCS 7.3.0.19, TI Emulators 7.0.48.0

  • HR, 

    The screenshot did not go through. Please resend. 

    Also, please send the .ccxml file and the type of HW you are using. If you are using a specific TDA2X board, I will have to source it from someone to try to reproduce this. 

    ETB in general works well, unless there is a bug or another issue with the XML and/or GEL files used. In this case, have you ever tested this in the latest release of the tools?

    Regards,

    Rafael

  • Hello Rafael,

    The TDA2x board is a specific one, Please find attached the screenshot, Jtag connector and the .ccxml file,

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <configurations XML_version="1.2" id="configurations_0">
    <configuration XML_version="1.2" id="Blackhawk XDS560v2-USB System Trace Emulator_0">
            <instance XML_version="1.2" desc="Blackhawk XDS560v2-USB System Trace Emulator_0" href="connections/BH-XDS560v2-USB_Connection.xml" id="Blackhawk XDS560v2-USB System Trace Emulator_0" xml="BH-XDS560v2-USB_Connection.xml" xmlpath="connections"/>
            <connection XML_version="1.2" id="Blackhawk XDS560v2-USB System Trace Emulator_0">
                <instance XML_version="1.2" href="drivers/tixds560icepick_d.xml" id="drivers" xml="tixds560icepick_d.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/tixds560arm9.xml" id="drivers" xml="tixds560arm9.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/tixds560cs_dap.xml" id="drivers" xml="tixds560cs_dap.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/tixds560cortexM.xml" id="drivers" xml="tixds560cortexM.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/tixds560cs_child.xml" id="drivers" xml="tixds560cs_child.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/tixds560c66xx.xml" id="drivers" xml="tixds560c66xx.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/tixds560dap_pc.xml" id="drivers" xml="tixds560dap_pc.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/tixds560cortexA15.xml" id="drivers" xml="tixds560cortexA15.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/tixds560csstm.xml" id="drivers" xml="tixds560csstm.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/tixds560etbcs.xml" id="drivers" xml="tixds560etbcs.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/tixds560arp32.xml" id="drivers" xml="tixds560arp32.xml" xmlpath="drivers"/>
                <property Type="choicelist" Value="0" id="JTAG TCLK Frequency (MHz)"/>
                <platform XML_version="1.2" id="platform_0">
                    <instance XML_version="1.2" desc="TDA2x_0" href="devices/TDA2x.xml" id="TDA2x_0" xml="TDA2x.xml" xmlpath="devices"/>
                    <device HW_revision="2.0, 1.x" XML_version="1.2" description="TDA2x SoC for ADAS&#10;Cortex A15 and C66x DSP" id="TDA2x_0" partnum="TDA2x" simulation="no">
                        <router HW_revision="1.0" XML_version="1.2" description="ICEPick_D Router" id="IcePick_D_0" isa="ICEPICK_D">
                            <subpath id="IPU_1_C1">
                                <router HW_revision="1.0" XML_version="1.2" description="CS_DAP Router" id="CS_DAP_2" isa="CS_DAP">
                                    <subpath id="CortexM4_IPU_1_C1">
                                        <cpu HW_revision="1.0" XML_version="1.2" desc="ICECrusherCS_1" description="Cross Triggering" deviceSim="false" id="ICECrusherCS_0" isa="cs_child"/>
                                    <cpu HW_revision="1.0" XML_version="1.2" description="Cortex_M4 CPU" deviceSim="false" id="Cortex_M4_1" isa="Cortex_M4">
                                            <property Type="filepathfield" Value="TDA2x\TDA2xx_cortexM4_startup.gel" id="GEL File"/>
                                        </cpu>
                                    </subpath>
                                </router>
                            </subpath>
                            <subpath id="IPU_2_C0">
                                <router HW_revision="1.0" XML_version="1.2" description="CS_DAP Router" id="CS_DAP_3" isa="CS_DAP">
                                    <subpath id="CortexM4_IPU_2_C0">
                                        <cpu HW_revision="1.0" XML_version="1.2" desc="ICECrusherCS_2" description="Cross Triggering" deviceSim="false" id="ICECrusherCS_0" isa="cs_child"/>
                                    <cpu HW_revision="1.0" XML_version="1.2" description="Cortex_M4 CPU" deviceSim="false" id="Cortex_M4_2" isa="Cortex_M4">
                                            <property Type="filepathfield" Value="TDA2x\TDA2xx_cortexM4_startup.gel" id="GEL File"/>
                                        </cpu>
                                    </subpath>
                                </router>
                            </subpath>
                            <subpath id="IPU_2_C1">
                                <router HW_revision="1.0" XML_version="1.2" description="CS_DAP Router" id="CS_DAP_4" isa="CS_DAP">
                                    <subpath id="CortexM4_IPU_2_C1">
                                        <cpu HW_revision="1.0" XML_version="1.2" desc="ICECrusherCS_3" description="Cross Triggering" deviceSim="false" id="ICECrusherCS_0" isa="cs_child"/>
                                    <cpu HW_revision="1.0" XML_version="1.2" description="Cortex_M4 CPU" deviceSim="false" id="Cortex_M4_3" isa="Cortex_M4">
                                            <property Type="filepathfield" Value="TDA2x\TDA2xx_cortexM4_startup.gel" id="GEL File"/>
                                        </cpu>
                                    </subpath>
                                </router>
                            </subpath>
                            <subpath id="dap">
                                <router HW_revision="1.0" XML_version="1.2" description="CS_DAP Router" id="CS_DAP_0" isa="CS_DAP">
                                    <property Type="filepathfield" Value="TDA2x\TDA2xx_dap_startup.gel" desc="GEL File_0" id="GEL File"/>
                                    <subpath id="Cortex_A15_MPUSS">
                                        <router HW_revision="1.0" XML_version="1.2" description="CS_DAP_PC Router" id="CS_DAP_PC_0" isa="CS_DAP_PC">
                                            <subpath id="cortex_a15_0">
                                                <cpu HW_revision="1.0" XML_version="1.2" description="CortexA15 CPU" deviceSim="false" id="CortexA15_0" isa="CortexA15">
                                                    <property Type="filepathfield" Value="TDA2x\TDA2xx_cortexa15_cpu0_startup.gel" id="GEL File"/>
                                                </cpu>
                                            </subpath>
                                        <property Type="filepathfield" Value="TDA2x\TDA2xx_CS_DAP_PC_Utility.gel" id="GEL File"/>
                                        <subpath id="cortex_a15_1">
                                                <cpu HW_revision="1.0" XML_version="1.2" description="CortexA15 CPU" deviceSim="false" id="CortexA15_1" isa="CortexA15">
                                                    <property Type="filepathfield" Value="TDA2x\TDA2xx_cortexa15_cpu1_startup.gel" id="GEL File"/>
                                                </cpu>
                                            </subpath>
                                        </router>
                                    </subpath>
                                <subpath id="EVE_01">
                                        <cpu HW_revision="1.0" XML_version="1.2" description="ARP32 CPU" id="ARP32_EVE_1" isa="TMS700C40XX">
                                            <property Type="filepathfield" Value="TDA2x\TDA2xx_ARP32_startup.gel" id="GEL File"/>
                                        </cpu>
                                    </subpath>
                                    <subpath id="EVE_02">
                                        <cpu HW_revision="1.0" XML_version="1.2" description="ARP32 CPU" id="ARP32_EVE_2" isa="TMS700C40XX">
                                            <property Type="filepathfield" Value="TDA2x\TDA2xx_ARP32_startup.gel" id="GEL File"/>
                                        </cpu>
                                    </subpath>
                                    <subpath id="EVE_03">
                                        <cpu HW_revision="1.0" XML_version="1.2" description="ARP32 CPU" id="ARP32_EVE_3" isa="TMS700C40XX">
                                            <property Type="filepathfield" Value="TDA2x\TDA2xx_ARP32_startup.gel" id="GEL File"/>
                                        </cpu>
                                    </subpath>
                                    <subpath id="EVE_04">
                                        <cpu HW_revision="1.0" XML_version="1.2" description="ARP32 CPU" id="ARP32_EVE_4" isa="TMS700C40XX">
                                            <property Type="filepathfield" Value="TDA2x\TDA2xx_ARP32_startup.gel" id="GEL File"/>
                                        </cpu>
                                    </subpath>
                                </router>
                            </subpath>
                            <property Type="filepathfield" Value="TDA2x\TDA2xx_ICEPickD_Utility.gel" desc="GEL File_1" id="GEL File"/>
                        <subpath id="IVA_iCONT1">
                                <cpu HW_revision="1.0" XML_version="1.2" description="ARM9_ICONT1" deviceSim="false" id="ARM9_ICONT1" isa="ARM9">
                                    <property Type="filepathfield" Value="TDA2x\TDA2xx_ivahd_startup.gel" id="GEL File"/>
                                </cpu>
                            </subpath>
                        <subpath id="IVA_iCONT2">
                                <cpu HW_revision="1.0" XML_version="1.2" description="ARM9_ICONT2" deviceSim="false" id="ARM9_ICONT2" isa="ARM9">
                                    <property Type="filepathfield" Value="TDA2x\TDA2xx_ivahd_startup.gel" id="GEL File"/>
                                </cpu>
                            </subpath>
                        <subpath id="IPU_1_C0">
                                <router HW_revision="1.0" XML_version="1.2" description="CS_DAP Router" id="CS_DAP_1" isa="CS_DAP">
                                    <subpath id="CortexM4_IPU_1_C0">
                                        <cpu HW_revision="1.0" XML_version="1.2" description="Cortex_M4 CPU" deviceSim="false" id="Cortex_M4_0" isa="Cortex_M4">
                                            <property Type="filepathfield" Value="TDA2x\TDA2xx_cortexM4_startup.gel" id="GEL File"/>
                                        </cpu>
                                    </subpath>
                                </router>
                            </subpath>
                        <subpath id="DSP_1">
                                <cpu HW_revision="1.0" XML_version="1.2" description="C66xx CGEM+FP CPU" deviceSim="false" id="C66xx_DSP1" isa="TMS320C66XX">
                                    <property Type="filepathfield" Value="TDA2x\TDA2xx_dsp_startup.gel" id="GEL File"/>
                                </cpu>
                            </subpath>
                            <subpath id="DSP_2">
                                <cpu HW_revision="1.0" XML_version="1.2" description="C66xx CGEM+FP CPU" deviceSim="false" id="C66xx_DSP2" isa="TMS320C66XX">
                                    <property Type="filepathfield" Value="TDA2x\TDA2xx_dsp_startup.gel" id="GEL File"/>
                                </cpu>
                            </subpath>
                        </router>
                    </device>
                </platform>
            </connection>
        </configuration>
    </configurations>
    

    Many Thanks,

    HR

  • Hello Rafael,

    Have you had the chance to check this issue?

    Many Thanks,

    HR

  • HR,

    I was able to get System Trace data without issues on my Vayu EVM Rev G1 (Silicon 1.1), but I have CCSv7.4.0 with Emupack 7.0.100.1.

    I used an adapter from the MIPI-60 pin of the BH560v2 to a TI 14-pin, so I could reproduce the scenario as close as possible. 

    Two aspects that may be relevant to your data capture: 

    - When performing Trace analysis, I try to start the hardware from a reproducible initial condition: straight from power on with no previous runs. Also, when issues arise I erase the Trace temporary files located at %HOMEPATH%/.TI-trace directory and click on the small Red Arrow at the bottom of the Trace Configuration box to reset everything to default settings before I start my configurations. 

    - Another detail that prevented another user from getting Trace data was the MMU settings of the DSP. If you are using MMU, please check the thread below for some details that may help you overcome this. 

    https://e2e.ti.com/support/tools/ccs/f/81/p/794279/2976139#2976139 

    Apart from this I really am not sure what may be happening; usually the ETB works very well in a multitude of scenarios. 

    I will keep investigating what may be wrong and certainly report back in case I find anything relevant. 

    Hope this helps,

    Rafael