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.

Beginner help with CCS5 and Stellaris Dev kit

Other Parts Discussed in Thread: LMFLASHPROGRAMMER

Good morning all.

I am using the EKS-LM4F232H5QD dev kit, and CCS 5.1.0.09.

I am struggling with some basic functions in CCS and would like some help getting reliable communications between CCS and the dev kit.

I tried making a new project with the Hello World example.  Whilst it opened and compiled properly, nothing happened on screen or on the dev kit.

I then tried to open up the Blinky program from the StellarisWare files.  This compiled with some warnings. Again, no change on the board.

Today when I started work again, I noticed that the dev kit powers up, but the default program on the OLED is not running, it's just a black screen.  Furthermore, I cannot open up Hello World example, and the import function for the Blinky program isn't working either.  I fear I have done something, and I have no clue what it could be.

Is there any introductory material for CCS5, or the EKS-LM4f232?  I have found references to a workshop for the dev kit, but I can't find the actual material, just the videos explaining the details of the chip and what the workshop labs are supposed to teach.

Thank you in advance.

-Cam

  • Cam,

    I am sorry to hear you are having trouble.  After importing and compiling the CCS projects, you still need to go to the run menu and select debug.  If the board is connected, the code should be downloaded.   You will then need to start execution by selecting resume under the run menu.  If you still have trouble getting this working, you can try installing LM Flash Programmer and loading the pre-compiled binaries that come with StellarisWare.  Here is the installer: http://www.ti.com/tool/lmflashprogrammer

    This should verify if the board is working correctly and get you back to the default app (qs-logger).

    Other than the getting started guide (http://www.ti.com/lit/ml/spmu132b/spmu132b.pdf), we don't have other introductory material for the EK-LM4F232 dev kit.  Even though the devices are slightly different (but the tools are the same), you should be able to use all the videos and workshops that were developed for the Stellaris Launchpad.  All that material can be found here: http://processors.wiki.ti.com/index.php/Getting_Started_with_the_Stellaris_EK-LM4F120XL_LaunchPad_Workshop

    Thanks,

    Sean

  • I think it's great when TI Employees answer these questions -- they are the guys that really know their stuff.

    Here's some more help: (I actually used the LM4F232 training -- before the Launchpad stuff appeared...)

    http://processors.wiki.ti.com/index.php/Stellaris_ARM_Cortex-M-based_Microcontroller_Training

    The link is the training for the LM4F232 board. You may find it helpful...

    As for the Code Composer Studio... You can run the upgrade -- or re-install the latest -- 5.3 -- which is likely still in Beta. -- can't tell.

    If you did not install Stellarisware with all components -- do so:

    http://www.ti.com/tool/sw-lm3s

    Lost of the LM3S examples work as well...

    CCS V5.x

    http://processors.wiki.ti.com/index.php/Download_CCS

    Again -- I made the mistake of limiting the downloads to things on hand then picked up C2000, MSP430 C5500 etc plus LM4F series -- dumb -- but I re-installed with everything and regularly run update.

    If you get Sys/BIOS or the TIRRTOS (Free RTOS) -- make sure you check which compiler you are running -- for RTOS V5.x of the compile should be OK. Only Compiler 4.97 and below seem to work with Sys/Bios.

    The Post Processing Command line is different for the 5.x compilers as well -- they have ARM in the name instead of 470...  -- assuming you want to generate the BIN files for LMFlash.

    Cheers