NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
DSPTrace EDMA Example
Introduction[edit]
This article provides the instructions for running the DSP Trace ETB example using the EDMA to extend the ETB size using target memory on a C66xx based processor.
Requirements[edit]
- The project files for the libraries and examples are provided in the CCSv4 format. The library and example was imported and tested with CCSv5.1.0.09.
- XDS560v2 System Trace connected to a C66xx target
- Latest Examples_X.X.zip, provided from Gforge site. Extract the zip file to \cToolsLib directory.
- c:\temp directory must be created if it doesn't already exist.
Instructions[edit]
- Start CCS and launch the target configuration for the C66xx based target.
- From the debug window, highlight the C66XX_0 core, right click and select "Connect Target"
- From the menu, select Run->Load->Load Program...
- Browse to location \cToolsLib\Examples\bin and select the file dsptrace_tietb-edma_d_corepacN.c6670.out
- Run/Resume(F8) the example. Note: While the example runs, trace data is automatically DMA'd from the ETB to the DMA buffer. The data will get transferred using CIO to c:\temp\DSP_etbdata.bin.
- Status will be provided in the console window.
Results[edit]
To see the results in a CCS Trace Display window:
- Open a command window at <CCS install dir>\ccs_base\emulation\analysis\bin and execute the following: >bin2tdf -bin C:/temp/DSP_etbdata.bin -app C:\CToolsLib\Examples\bin\dsptrace_tietb-edma_corepacN.c6670.out -procid 66x -sirev 1 -rcvr ETB -output C:/temp/dspTietbEdma_C6670.tdf -dcmfile c:/temp/foo.dcm -sourcepaths C:\CToolsLib\Examples\C667x\DSPTrace_TIETB_EDMA_Ex_CorePacN
- In CCS select Tools->Trace Analyzer->Open Trace File in New View...
- Select file dspTietbEdma_C6670.tdf from c:\temp
- The Trace Display will show the trace results