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.

Emulator for Omap-L138

Other Parts Discussed in Thread: OMAP-L138

Dear E2E,

I need to use Emulator XDS560 for DSP OMAP-L138.

I need to bring up (debug) the new HW based on OMAP-L138.

Does Emulator XDS560 support the simple "command line interface" like:

WR (write) <address> <data>

RD (read) <address>?

Thank you for your help,

Boris Ruvinsky

802-877-4978

  • Boris,

    The XDS560 emulator needs to be used with Code Composer Studio (CCS) development environment.  Are you aware of this?  The XDS560 provides a communication channel to the target system (OMAP-L138) that CCS uses for debug.  CCS uses the Eclipse IDE for user interaction.  The IDE can open a memory window to the target that allows you to monitor memory location and change RAM memory contents. 

    Here is a Wiki page that gives you access to information on the different releases of CCS: http://processors.wiki.ti.com/index.php/Category:CCS.  CCSv5.1 is the latest release, though I think that the OMAP-L138 EVM ships with CCSv4.  I recommend that you move to CCSv5.1 for your development efforts as it is the latest release.

    Regards.

  • Hi Timmy.

    Thank you for your respond.

    I know that Emulator XDS560 needs to be used with CCS.

    I asked my question to find out if XDS560 have some special "command line" mode.

    According to your respond - the "command line" interface is not supported. Is this true?

    This "command line" mode allows simple interraction with the target.

    Some different emulator like "WindRiver" support simple "command Line" interface and I thought that XDS560 can do it also.

    Thank you,

    Boris

  • Boris,

    Your understanding is correct, there is no separate user interface for a stand-alone XDS560 emulator.  Is there a reason you want to use a simple command-line interface instead of CCS?

    Regards.

  • Tommy,

    Thank you for your respond.

    The simple command-line interface allows to send the simple sequences to setup the internal registers.

    This is usually very convenient for the HW design engineers when you need to debug and bring up the first HW build.

    I am a HW designer and my task is to bring up the first (uncertain) HW based on OMAP-L138.

    That would be much easier with simple very "certain" command-line interface than using C or GEL which looks as C also.

    XDS560 is designed as I understood for design and debug the C SW on the reliable HW using CCS environment. Is this correct?

    Thank you,

    Boris

     

     

  • Boris,

    Our HW design teams use XDS and CCS for silicon and board bring up.  As long as the CPU is in a good state you are able to connect to the target with the XDS / CCS and modify registers, view / modify memory, load simple test programs, etc..  If the CPU is not in a good state, then I don't think that even a simple command-line interface would work since the debug HW for the processor is actually part of the chip.

    It's true that XDS560 / CCS is a powerful tool for SW development and debug, but it is also good for HW development.  Using GEL scripts you can simplify accessing HW, but someone has to develop the scripts.  That is what we do internally as do a number of our customers.

    Hope this helps.

    Regards.

  • Hi Tommy.

    Thank you for your respond and help.

    That is what I am doing now with emulator XDS560.

    The HW looks OK. I was able to setup the PLL manually by manipulating the registers settings in the correct order in the view>registers window.

    That was not a big fun. As soon as i have a mistake - I need to re-start CCS. 

    But I don't have the experience for now with GEL files.

    Can the project consist of one GEL file only? I don't want to use much C programming.

    I thought - I could create a GEL file with just registers settings and run the GEL.

    But I am not sure how create the project which is only one GEL file.

    Can you help me with that or can you recommend some documents for reading?

    I am familiar with C a little but would prefer to write just linear sequence with registers settings. It is very easy in C.

    And it is exactly what I did with "command-line' emulators.

    So my questions are:

    1.  Can I have the project which consist of one GEL file only?

    2.  Can you send to me some simple example of this type of project (GEL file only)?

    Thank you for your help,

    Boris

  • Boris,

    You can use a GEL file with Target Configuration to start Debug session.  I think if you don't have an active project you might get a warning, but it should still work.  There are some tutorials under that getting started guide on how to start debug session and how to create a project here: http://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v5#Getting_Started.  You might use the Hello World example as a simple project to make CCS more happy, but then use your GEL script for all your work.  Here is intro to GEL files: http://processors.wiki.ti.com/index.php/GEL

    Regards.