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.

Bink an LED on OMAP!



I have gone through the TI OMAP/davinchi training in Chicago and I still do not have an answer for a simple question! I hope posting it here will give me an answer.

 

How do I use CCS version 4 to blink an LED on OMAP/davinchi/sitara *without* using linux?

 

TI have done an amazing work supporting Linux but my assignment from the company I work for is to port our OS to TI's Cortex-A8 processor. I have no problem working with ARM processors but I have never used TI tools before. You would think the TI tools will have a project ready for the TI processor to blink an LED ... you know blink LED is the "hello world" of embedded systems.

This should be too simple to ask but I have been looking for 3 weeks and have gone thought the 4-day training to still not have an answer.... I only want to blink an LED on ANY OMAP board. I prefer beagleboard but any board is fine, I would buy it!

 

Gus

  • Gus

    Here's a quick C program that I created to demonstrate the blinking LEDs. 

    This was tested on a Beagleboard using code composer and a JTAG emulator. 

    *** I'll post it shortly. The file attchement seems to be broken right now.

    BRs

      Paul

      

  • I've edited the previous post and attached the file with a ".txt" extension.

      Paul

  • Thanks Paul and I appreciate your quick response but this is not what I need :( but will help me out too

     

    Like I said in my first post. I am experinced in processors but my problem is in Code Composer. I am new to TI parts but have used ARM from other companies for long years.

     

    The question is: how do I take your code example and compile it and load it to the board using code composer? CCS V4 doesn't have any project setup for OMAP parts. There is only "generic Cortex-A8" and so I am missing any configuration and linker scripts to get the code to actually compile.

    Then when it is compiled, how do I load it on the device if CCS V4 doesn't have OMAP configuration? Someone said I need "GEL" file but I have no idea what that is! I am even okay with command line compiling if you give me the files I need with instructions but I still need to be able to debug using CCS V4 using JTAG.

     

    TI processors look very promising and I look forward to work on them.

  • You'll probably want to start here to learn more about using CCS.

     

    http://processors.wiki.ti.com/index.php/Category:CCS

    Regards,

    James

  • Maybe I am still not clear on what I need!

     

    I need the missing scripts/setup files to get CCS to load a program over JTAG and debug it on an OMAP board.

     

    For example, how did Paul test the blink LED example he sent me? How did he load it on the beagle board and test it?

  • Gus

    I've created a quick how-to for you. I don't currently have access to a Beagleboard or JTAG to test it and capture pictures for the last step but it should be good enough to get you to where you want to be.

    Paul

    Getting started with Code Composer V4.docx
  • I am very impressed with the way you handle support. I have worked with lead TI competitors on ARM processors for years (not saying names) and I have never seen such great support from them.

     

    We are already impressed with TI processors and now this great support on top...just fantastic!

     

    One last question please. I still haven't ordered JTAG yet and been looking around trying to see our options. Our current JTAGs are not supported by CCS so they would be no help! Anyway, my questions is this, I am seeing JTAGs that cost under $100 and others over $1000!!! Can you help me understand on why JTAGs for OMAP are either really cheap or really expensive? I mean why not $400 JTAG for example? Why such difference in price?

    Also, since you are referring to Spectrum Digital XDS510USB Emulator in the doc I am assuming this is the one you are using? Is this the JTAG mostly used to test CCS?

     

    Thank you very much for all the great help.

  • Gus

    Looking at the Beagleboard schematic is uses 1.8v for the JTAG interface. This will actually not work with the XDS510USB as it only supports 3v-5v interfaces. I've updated the document in th eprevious post to reflect the change to Blackhawk emulator (560 class) and included an additional screenshot.

    I'm no expert on the JTAG emulator but Spectrum Digital and Blackhawk are the manufacturers of the emulators I use on a regular basis. Both vendors have multiple models available. Which to choose depends very much on your budget and features required.   Here are links to these vendors:

    http://www.blackhawk-dsp.com/

    http://www.spectrumdigital.com

    Checkout the features of the XDS100 class of emulators. It provides a very cost effective entry point.  

    http://processors.wiki.ti.com/index.php/XDS100#What_is_the_XDS100.3F

      Paul