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.

howto (re)build shipped examples for ek-lm4f232 with Code Sourcery Lite

Other Parts Discussed in Thread: CODECOMPOSER

Hi folks,

I just purchased an Stellaris Development Kit with LX4F232 MCU and played a litte with. I wanted to rebuild the given examples residing in StellarisWare/boards/ek-lm4f232 using the free toolchain from Code Sourcery (arm-2012.03-56-arm-none-eabi). I adopted the makedefs at StellarsWare/ so "make" could find the free compiler suite. My special interrest goes to the example "qs-logger" which nearly fulfils half of the requirements of the application I have to create .... so I use it as starting point.

The Makefile builds ( after some "make clean") the application but which is a non working! The LM Flash cannot flash it into the controller and there are huge differences between the files - both binaries are about 53 Kbyte ( gcc: 53.480 Bytes - sourcerygxx: 52.272 Bytes ) the ELF-files (qs-logger.axf) instead differ about more then a magnitute of ten ( gcc:134.483 Bytes - sourcerygxx: 3.003.917 Bytes ).

What could I have done wrong? The directory of qs-logger (as any other example) containes the linker description files (qs-logger_xxx.ld) where the qs-logger.ld should act for the Code Sourcery Lite as I think.

I there some good readable documentation for using free tools for the Stellaris 4f232 based boards?

Any help will be greatly appreciated.

--jens

 

 

  • Jens,

    Code Sourcery has supported (and worked) with all of our LM3Sxxxx devices in the past.  However, they have not yet added support for the LM4Fxxx devices, meaning they have not added the Debug libraries needed to compile and jtag connect.   This is why you will see there is not a Stellarisware CD available for the EK-LM4F232 kit.  I recommend you use CCS in the interim.  CCS comes with a time limit, but is not code size limited. 

    Lela

  • Thanks Lela,

     

    I just changed to CodeComposer studio but had fallen in other trouble with ... CCS installer demanded some eclipse installation with CDT newer then 8.0, so I downloaded eclipse-cpp-indigo-SR2-incubation-win32 and gave it to the code composer installer. The installer made its job for about 1/2 hour and finalized withour any error message. I set as license the "license with 90 days evaluation period". When I try to follow the readme "Quickstart-Eval-Kit-CCS.pdf" I have no "Project->Import Existing CCS Eclipse Project" in eclipse. Eclipse's "Help->About Eclipse->Eclipse Installation Details" show me a whole buch of TI delivered software from "ARM Bios6" up to "XDCTools". The configuration tab shows no conspicuousness at all. The "Help->Code Composer Studio Licensing Information" shows some valid license with ticking 90 days counter"

    The only thing worth mentioning is that we are behind some thick firewall so I even wonder that all installation should have occured without error because online updating normaly fails.

    What can I do to get some working CCS Eclipse?

    Thanks in advance

    --jens 

  •  

    Jens,

    I am unfamilar with that error.  What OS are you using?  You can try asking the E2E support for CCS at http://e2e.ti.com/support/development_tools/code_composer_studio/default.aspx.

    You can do an uninstall, and reinstall.  Do the reinstall with the attached (see additional email.)  At Processor support, check Stellaris Cortex M MCUs, and at JTAG select any that you will be using (the XDS560 is unconfirmed to work, so do not select.)  Leave the install path to the default until you have it up and running.  Attached is also a Quick Start to get the LM4Fxxx up and running with CCS.  The quick start says that you need WIndows 7, but it is not limited to windows 7.   Visit CCS forum for support for non windows OS.

    5086.Quickstart-Eval-Kit-CCS.pdf

    Lela

  • Hell Lela,

    "Code Sourcery" right now have support for EK-LM4F232 kit??

    If is yes, please send the link for download.

    Thankyou.