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.

AM5726: tpiu trace

Part Number: AM5726
Other Parts Discussed in Thread: TMDSEMU560V2STM-U, TMDSEMUPROTRACE

Hi,

Is tpiu trace possible in the following environment?

emulator: TMDSEMU560v2STM-U
connector: TI 20-Pin CTI

1 TMS
2 TRST
3 TDI
4 TDIS
5 VTRef
6 KEY
7 TDO
8 GND
9 RTCK
10 GND
11 TCK
12 GND
13 EMU0
14 EMU1
15 RESET
16 GND
17 EMU2
18 EMU3
19 EMU4
20 GND

EMU0=tpiu_data0
EMU1=tpiu_data1
EMU2=tpiu_clk
EMU3=tpiu_ctrl
EMU4=tpiu_data2
EMU5=tpiu_data3

I am executing  the Configure_EMU0_4_For_TPIU() function of the following gel.

C:\ti\ccsv8\ccs_base\emulation\boards\am571x\gel\AM571x_tpiu.gel

Also, does it support 1pin mode trace?
EMU0=tpiu_data0
EMU1=tpiu_clk

Best Regards,
Shigehiro Tsuda

  • Shigehiro-san,

    TPIU is the name of the generic Trace Port Interface Unit and can be configured to be used by many different types of Trace. 

    The configuration shown above allows the user to perform Core and System Trace via the ETB (as it only requires JTAG) or System Trace via external pins (the cTI 20-pin connector features pins EMU0~4)

    1-pin Trace is not supported by our tools.

    Additioal details can be seen in the Trace webinar at:

    https://youtu.be/G3noymHTvGI

    Hope this helps,

    Rafael

  • Hi Rafael,

    Thank you for quick reply.

    Are the following emulators supported for core trace using EMU0-4?
    1.TMDSEMUPROTRACE
    2.TMDSEMU560V2STM-U
    Both are used by converting mipi 60pin connector to cTI 20-pin connector.

    Best Regards,
    Shigehiro Tsuda



  • Shigehiro-san,

    Unfortunately no. My previous reference (Trace webinar) explains how the hardware requires the additional Trace EMU signals present on the MIPI-60 pin to support core trace exported to the external pins.  

    Core Trace using the ETB does not require any EMU pins.

    Regards, 

    Rafael

  • Hi Rafael,

    Thank you for quick reply.

    Is core tracing possible without using ETB?
    Because the ETB size is as small as 32KB, I want to check the trace using the EMU0-4 pins using the external memory of the emulator.

    The description of the TMDSEMU560V2STM-U website includes the following.

    https://www.blackhawk-dsp.com/products/jtag-emulators/usb560v2


    System Trace Support 1-4 pin System Trace with 128MByte Buffer
    Can't use this?

    environment
    evm:AM572x IDK
    CCS:CCS v8.3.0

    I tried with the following procedure, but it does not work properly.
    1. Select IDK_AM572x in TargetConfiguration and connect
    2. Select CS_DAP_DebugSS and execute
    Run Scripts-> Tpiu_utility-> Configure_EMU0-4_FOR_TPIU
    3. Select A15
    4.Run Tools-> Hardware Trace Analyzer-> PC trace
    5. Select as follows

    6.Start

    The following error occurs:


    Is it necessary to set the XDS560V2 emulator as an EMU pin definition (EMU2 is used as CLOCK)?

    Best Regards,
    Shigehiro Tsuda

  • Hi Rafael,

    Thank you for your support.

    The TMDSEMUPROTRACE emulator website is the following description.
    www.ti.com/.../TMDSEMUPROTRACE

    ARM core pin trace (ETM) is available for AM437x, 66AK2x, RM46x, RM57x, TMDS570LS31x/21x and TMS570LC43x devices

    Is the emulator supported for core trace using EMU0-4?

    Best Regards,
    Shigehiro Tsuda

  • Shigehiro-san,

    Core trace requires more pins than EMU0~4 alone. The webinar I mentioned in my second reply above contains all the details. 

    Regards,

    Rafael

  • Hi Rafael,

    Thank you for your support.
    I understand thet Core trace is not support with XDS560v2.
    Is the following STM using EMU pins supported?
    processors.wiki.ti.com/.../Calibrating_XDS560v2_System_Trace_for_STM_Collection

    The webinar you introduced has the following content.

    When using XDS560v2 STM, will the following work simultaneously?
    1. PC trace from ETB with JTAG interface
    2. Traces such as memory from PC Tracer with EMU0-4 pins(STM pin Trace?)

    Best Regards,
    Shigehiro Tsuda

  • Shigehiro-san,

    Perhaps I should clarify: 

    shigehiro tsuda said:
    I understand thet Core trace is not support with XDS560v2.

    Core trace exported via EMU pins 0~19 is not supported by the XDS560v2 STM but is supported by XDS ProTrace. 

    Core trace stored in the ETB is supported by all JTAG Debug Probes. 

    System trace exported via EMU pins 0~4 is supported by the XDS560v2 STM and XDS ProTrace but not supported by XDS100, XDS110, XDS200.

    System trace stored in the ETB is supported by all JTAG Debug Probe. 

    There are other considerations the webex gets into, but the summary of support is shown above. 

    shigehiro tsuda said:
    When using XDS560v2 STM, will the following work simultaneously?
    1. PC trace from ETB with JTAG interface
    2. Traces such as memory from PC Tracer with EMU0-4 pins(STM pin Trace?)

    The Trace interface can acommodate many types of Trace simultaneously, thus it is possible to configure this. However, the major problem is the risk of running into gaps of data caused by the excessive data that is transferred between the Debug Probe and the device. 

    Please let me know if there are any questions. 

    Hope this helps,

    Rafael