This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ETM Trace Debugging with AM335x

Hello,

i can find in the AM335x Datasheet (SPRS717D –OCTOBER 2011–REVISED MAY 2012) on page one:

Emulation/Debug -JTAG - Embedded Trace Module - Embedded Trace Buffer.

And on page 3 i can see Debug Interface Support Architecture
– JTAG/cJTAG for ARM (Cortex-A8)
– Embedded Trace Module (ETM) and Embedded Trace Buffer (ETB)

But i can not find the ETM Pins in the PIN-MAP.

I visited TI at Embedded World but no one knows about it. The EMU0-4 Pins ae not ETM, they are TI special pins i have been told.

So i am asking the queston here: Where to connect an emulator to ETM Trace Pins?

Or did TI forget to bond out the ETM?

Regards, Reinhold

  • Proved on Beaglebone with steps in: http://processors.wiki.ti.com/index.php/AM335x_Trace 

    The Enable_Trace->Enable_ETB_CortexA8_Trace() script is included in ccs5.2 and later GEL files  (AM335x_trace_dapdebugss.gel file)

    To quickly prove in WinXP Version: 5.1.0.08020 (and need vmlinux file which I copied from Linux PSP so w/o source), was able to get a trace on Beaglebone running Linux (attached screenshot). 
    Just using on-board Beaglebone XDS100v2.
     
     Source files are listed on the left (from the vmlinux file though the files are actually present back on Linux). Function call, disassembly, program address, cycles, etc. 
    all listed after that. Beaglebone Linux console window is just sitting with prompt open. Need to figure out how to trigger trace better.
     
    Pretty cool!
  • Hi Joe,

    thanks, but ETB support was not my question.

    I am looking for real full trace via ETM.

    ETM is mentioned in the datasheet, twice, but i can not find it on any Pin of the Chip.

    Regards, Reinhold