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.
AM335x Trace
IMPORTANT! The information on this page reflects CCS releases up to 5.2.0. Newer releases are better addressed by the contents of this Youtube webinar.
Contents
ETB - ARM[edit]
Configuring ETB[edit]
- Launch a debug session for AM335x
- Connect to the target
- Right click on the debug session in the Debug View and select "Show all cores"
- Select the ETB (CSETB_0) and click the connect button.
- Select the CS_DAP_DebugSS in the debug view
- Go to the Scripts menu and run Enable Trace -> Enable_ETB_CortexA8_Trace
- Wait until you see three messages in the console about ETB being enabled
- Select the Cortex_A8 in the Debug View
- Go Tools -> Trace Control
- Click on the "Receiver..." button at the bottom of the dialog.
- Select ETB as the Receiver
- Click OK.
Enabling Trace[edit]
- On the toolbar click on the down arrow beside the breakpoint button (blue circle) and select Trace
- This will open the breakpoints view and there will be a Trace breakpoint listed. Right click on it and select Breakpoint properties.
- Under Hardware Configuration, expand Type and What to Trace. Select what you want to capture. Program Address is typical. Then click Ok.
- Check the box beside the breakpoint to enable it. The color should change from grey to blue.
- You can now run your application and collect data.
Viewing Trace Data[edit]
- Go to Tools -> Open Trace Connection in New View -> <select the core you enabled trace on>
- The trace display should now open.
Demonstration[edit]
Please watch this short clip that demonstrates the process of configuring and collecting ETB Trace data on an AM3359 (BeagleBone).
- Format: MP4
- Resolution: 1280x768x32 15fps
- Size: 4.113.972 bytes
- Duration: 2:53