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.

C6678 Trace

From Texas Instruments Wiki
Jump to: navigation, search

ETB - DSP[edit]

Configuring ETB[edit]

  1. Launch a debug session for C6678
  2. Connect to one or more of the DSP cores
  3. Select the DSP core that you want to enable the ETB for in the Debug View
  4. Go Tools -> Trace Control
  5. Click on the "Receiver..." button at the bottom of the dialog.
  6. Select ETB as the Receiver and click OK. Note that there may be a pause of 10-20 seconds before the properties show up in the Trace Control Dialog.
  7. Click OK again to exit the trace control dialog.

Enabling Trace[edit]

  1. On the toolbar click on the down arrow beside the breakpoint button (blue circle) and select Trace
  2. This will open the breakpoints view and there will be a Trace breakpoint listed.  Right click on it and select Breakpoint properties.
  3. Under Hardware Configuration, expand Type and What to Trace.  Select what you want to capture.  Program Address and Time Stamp are typical. Then click Ok.
  4. Check the box beside the breakpoint to enable it.  The color should change from grey to blue.
  5. You can now run your application and collect data.

Viewing Trace Data[edit]

  1. Go to Tools -> Open Trace Connection in New View -> <select the core you enabled trace on>
  2. The trace display should now open.

CPU - Pin[edit]

STM - ETB[edit]

STM - Pin[edit]