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.

Tms570ls3137 & xds560v2STM

Other Parts Discussed in Thread: TMS570LS3137

Hi,

I have tms570ls3137 and xds560v2STM and  connected between  devices. But now I do not know that how can I  trace data or system.I did not find any document about xds560v2STM. I use code composer 5.4. Where can i any document about using of xds560v2STM.I have a lot of source about installation of xds560v2STM but not using of xds560v2STM

  • Hans,

    The xds560v2STM doesn't support ETM trace on TMS570.

    The emulator you need for this is:  https://estore.ti.com/TMDSEMUPROTRACE-Spectrum-Digital-XDS560v2-PRO-TRACE-Receiver-P3135.aspx

     

  • hi,

    can I  not any trace with xds560v2STM in Tms570 ? Or  can ı not use System Analyzer  in CCS  with this emulator. I understand that ı must change this emulator. İs it true? I can not system trace with it.

  • Hans,

    System Trace is something different than ETM trace.  I've not used it before but my understanding is that it's a sort of 'interconnect' trace to help debug things going on in an SOC design where you've got DMAs and smart peripherals.
    It apparently only takes a few pins to support system trace, and the system trace emulators do not have nearly enough capture bandwidth or memory to support the 32-bit ETM trace that TMS570 has.  That's why you need the higher end emulator.

    We don't have any system trace features on the TMS570 interconnect;  so there's nothing to trace with the STM on a TMS570 product.

     

  • Thank you for helping.

    In a document, XDS200 Price / Performance - balanced Debug Probe suitable for tms570ls3137. By the way, Is XDS200 ISO device suitable for TMS570.

  • Hans,

    Yes.  Blackhawk has Hercules products explicitly listed http://www.blackhawk-dsp.com/support/DeviceCompare.aspx?EMU_FILTER=usb200.   Spectrum digital says ARM/Cortex so you might double check with them if you want to order theirs.

    The ISO should be independent of the emulator;  it's galvanic isolation between the emulator and the target for debugging systems where there might be a big voltage difference between your PC and the target.

    ISO technologies vary - I don't know what each vendor is using (opto, capacitive, etc.) and speed can vary with technology choice.   So you might want to find out about the specific isolation technology and what this means for the max JTAG clock frequency across the barrier before deciding.    You also might want to consider a regular emulator with an ISO adapter, which could give you some flexibility to remove the ISO when you don't need it.

  • Hi,

    I did not understant. In this document, TMS570ls3137 has Cortex R4 , but ı can not see here. Can I do System or Core trace in TMS570ls3137.

    Also, when I looked  at Blackhawk site, I see that Tms570 support the xds560v2STM..I did not understand anything.

    Thank you for helping.

  • However, I want to learn, can i do real time trace ? If I can do, How and with which emulator ? 

  • Hi Hans,

    You can read about ETB type trace here:  http://processors.wiki.ti.com/index.php/Embedded_Trace_Buffer

    Please note that the ETB trace row lists only Cortex-A devices where Hercules is Cortex-R4F

    ETB is not supported on Hercules as it requires a trace buffer on each chip.   Hercules has ETM trace on some products, this is the 'pins' type trace where there limit to trace depth depends on the memory in the emulator or trace capture box.   The main issue with this type of trace is that you need a special type of emulator that can both capture a large # of pins and have the memory to store the data that is captured.  

    In the second table Hercules is listed as being supported by the STM emulator and this is true.  I have one on my desk and it works well.   But Hercules doesn't have STM functionality so there is nothing to trace through STM,  what you do get is a very fast emulator.

    Sorry if this is confusing.  I've had to ask the same questions myself in the past to understand all the acronyms. 

  • hi,

    Finally we can say that, XDS560v2 ProTrace and STM ı cannot use on TMS570 for trace real time. And Tms570ls3137 has not Embedded trace Buffer. Because ETB is not available in Cortex - R4. It has a ETM. If I want to trace, I must use it. is it true ?..(When I look TMS570ls3137 technical reference , it has  ETM(not available ETB))
  • Hans,

    https://estore.ti.com/TMDSEMUPROTRACE-Spectrum-Digital-XDS560v2-PRO-TRACE-Receiver-P3135.aspx 

    will support TMS570 trace;  although it's not released today.   Let me check on the estimated release date.

    We have been shown a demonstration of the tool work with Hercules though - so it's 'real' just not yet released.

    There are also non-TI solutions that support Trace today (Lauterbach, iSystems) but they have their own IDE environments too (not CCS).

     

  • Hello Hans,

    One point for clarification - the TMS570LS3137 includes an ETM-R4 for Coresight based ARM processor trace subsystem.  There are many ARM options which can be added to a CoreSight trace subsystem; they are not specific to processor. 

    The Hercules products did not include ETB as the typical trace capture memory size requested by customers made an on-chip buffer cost prohibitive.  The only trace sink on the product is the TPIU, which provides a parallel pin interface with up to 32 data pins.  This allows far greater trace bandwidth than an ETB system, but does require a more complex tool to capture the trace data.

    Best Regards,

    Karl

  • Hans,

    I checked w. our internal tools team;  they expect to push an update to CCS that adds support for ETM trace on Hercules very soon;  check for this in early December.

     EDIT:  Sorry I need to clarify.  This push will support ETM trace on the XDS560v2 Pro Trace product. 
     Again, no plans to support Hercules trace on the STM because it's not got the bandwidth/memory needed to do the job properly.