TI E2E Community
Tiva™ ARM® Microcontrollers
Tiva™ ARM® C Series Microcontrollers Forum
howto (re)build shipped examples for ek-lm4f232 with Code Sourcery Lite
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.
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.
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
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.