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.

Real Time Analysis How To?

Guru 15580 points

I would like to measure the MIPS consumption of my application running on a C5515 eZDSP USB Stick. However, in CCS4 the Tools->RTA control panel is greyed out. How can I measure the CPU load of my application?

Thanks!

MikeH

  • Hi Mike,

    The 5515 USB Stick has an embedded XDS100 emulator. XDS100 does not support RTDX (which RTA relies on)

    Thanks

    ki

  • Ki-Soo,

    Thanks for the answer. What would you suggest as the minimum hardware EVM that would allow RTA?

    Mike

     

  • Pretty much any emulator besides XDS100 (XDS510, XDS560) would support RTA. You would need an EVM that supports such emulation (whether on-board or support for an external emulator).

    ki

  • Hi Ki-Soo

    Your answer has confused me because I am using the C5515 eZdsp Usb Stick and running the helloworld BIOS example.

    Having added the DSP/BIOS configuration file (.tcf) to the project I find the RTA appears to be selectable and the CPU Load graph and Statistics are working, it appear, in real-time which I understand to mean that RTDX is working.

    Regards, Andrew.

  • I'm confused too. I looked at this FAQ:

    http://processors.wiki.ti.com/index.php/XDS100#Q:_Does_DSP.2FBIOS_Real_Time_Analysis_with_RTDX_work.3F

    And all it says is RTDX is NOT supported but it doesn't explain how RTA is working (maybe using a different transport?). I'm trying to get some clarification. I'll post here as soon as I get one.

  • Thanks Ki-Soo

    In the mean-time this link on setting up a DSP/BIOS project (required for instrumentation like the CPU Load graph) may help Mike:

    http://rtsc.eclipse.org/docs-tip/Demo_of_DSPBIOS_5.x_Project_Creation_in_CCSv4

    Once built you should find the RTA is no longer greyed out.

    Regards, Andrew.

  • Thanks Andrew. I'll give it a try.

    Mike

     

  • Nice hat it works with the USB Stick...

    But does RTA work with Spectrum Digital TMX320C5505 EVM and DSP Bios, too?

    I don`t understand how the emulation works on this EVM.

    In the description is written that there is a Embedded JTAG emulation via Mini USB. I think this means that there isn`t a XDS100.

    On the board I find the TMS320DA255ZHH that I don`t know what it is for

    What benefits do I have with the compatible XDS510USB PLUS?


  • Turns out that XDS100 has the capability to handle RTA to some degree. The documentation says XDS100 does not support RTDX because extensive testing is not done been done with it and it is not recommended for use. 

    steffen_ger said:

    But does RTA work with Spectrum Digital TMX320C5505 EVM and DSP Bios, too?

    I don`t understand how the emulation works on this EVM.

    In the description is written that there is a Embedded JTAG emulation via Mini USB. I think this means that there isn`t a XDS100.

    I think the one on the Spectrum Digital EVM is an XDS510, though I'm not positive. You can check with Spectrum Digital for confirmation

    steffen_ger said:
    What benefits do I have with the compatible XDS510USB PLUS?

    You can check Spectrum Digital's site for the differences between XDS510 and XDS510 PLUS

    http://emulators.spectrumdigital.com/files/Emulator_Comparison_1a.pdf

     

     

  • Andrew,

    I was able to follow the flash demo and successfully set up a DSP/BIOS config file. However, when I build the project I get an error stating that duplicate typedef specifiers were found in tistdtypes.h. There is a warning in tistdtypes.h saying

    "

    /*

    * These types are also defined by other TI components. They are bracketed

    * with _TI_STD_TYPES to avoid warnings for duplicate definition. The

    * The Uint16, etc. definitions were provided in early 2.x versions of CSL

    * that did not have _TI_STD_TYPES protection.

    *

    * You may get warnings about duplicate type definitions when using this

    * header file with 2.x CSL. You can use the '-pds303' compiler option to

    * suppress these warnings.

    */

    =================================================================

    I have searched and cannot find where the duplicate specifier is. Have you seen this before? Any idea how to fix?

    thx

    MikeH

     

  • Mike,

     

    Did you overcome the "duplicate  typedef specifiers in tistdtypes.h" problem? I have just encountered it using a L137 EVM with CCSv4.2.

     

    Regards,

     

    Donald

  • Donald,

    Wow, ancient history...:) I believe I did solve it but have moved on to a different EVM board. I suggest you search your BSL files for a duplicate "types.h" file. I believe Spectrum Digital provides their own version of "types.h" which re-defines types used in their BSL library.

    MikeH