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.

DM6446 Trace

From Texas Instruments Wiki
Jump to: navigation, search

ETB[edit]

Configuring ETB[edit]

  1. Launch a debug session for DM6446
  2. Connect to the ARM9
  3. Right click on the debug session in the Debug View and select "Show all cores"
  4. Expand the Non Debuggable Devices node
  5. Select the ETB (ETB11_0) and click the connect button.
  6. Select the ARM9 in the Debug View
  7. Go Tools -> Trace Control
  8. Make sure the ARM9 tab is selected in the dialog.
  9. Click on the "Receiver..." button at the bottom of the dialog.
  10. 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.
  11. 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 is 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.
  6. If your program runs past the exit point you may not be able to see trace data.  In this case put a breakpoint on your last line of code.

Viewing Trace Data[edit]

  1. The trace display may have opened automatically after configuring ETB.  If not you will need to open it.
  2. Go to Tools -> Open Trace Connection in New View -> <select the core you enabled trace on>
  3. The trace display should now open.


Validation Status[edit]

Notes which version of CCS the instructions were verified with.

  • Windows: CCSv5.2.0.00047 PASSED

ETB - DSP[edit]

Directing trace data from the DSP to ETB is not supported by this device.