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

From Texas Instruments Wiki
Jump to: navigation, search


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.

ETB - ARM[edit]

Configuring ETB[edit]

  1. Launch a debug session for AM335x
  2. Connect to the target
  3. Right click on the debug session in the Debug View and select "Show all cores"
  4. Select the ETB (CSETB_0) and click the connect button.
  5. Select the CS_DAP_DebugSS in the debug view
  6. Go to the Scripts menu and run Enable Trace -> Enable_ETB_CortexA8_Trace
  7. Wait until you see three messages in the console about ETB being enabled
  8. Select the Cortex_A8 in the Debug View
  9. Go Tools -> Trace Control
  10. Click on the "Receiver..." button at the bottom of the dialog.
  11. Select ETB as the Receiver
  12. Click OK.

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.

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.

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
E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article AM335x Trace here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article AM335x Trace here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article AM335x Trace here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article AM335x Trace here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article AM335x Trace here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article AM335x Trace here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article AM335x Trace here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article AM335x Trace here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article AM335x Trace here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity