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.

Cannot reload Data Logger App from Keil IDE back into Stellaris LM4F232H5QD Eval Board

Other Parts Discussed in Thread: LMFLASHPROGRAMMER, SYSBIOS

I received board with data logger app preinstalled and it worked great. I then tested and loaded a few example programs to get familiar with process. Everything worked well. I now want to reload the Data logger app back into the board the the Keil uVision4 app reports after compiling it is 39K size and to big to load. I erased all programs from board. There is only 32k of flash memory on the board.How can I reduce the size of the data logger program or change what memory I store it in Like the 256K of SD memory on Chip?

  • Bob:

    I switched to Code Composer Studio for just this problem... But to solve your problem. Use the LMFlash utility. It should be on the disk you received.

    Or you can do a search on this site:

    http://www.ti.com/tool/lmflashprogrammer

    If you don't have an account you will need to set up one and answer the survey every time. If you have not downloaded the latest version of the DVD -- do so. I suspect you can also update your Kickstart at the provider site -- I did that with IAR and the latest version is much better than even the latest DVD.

    Isn't it fun getting started on something new <rolls eyes>...????

  • Dave,

    Thanks Much. Using the Flash utility program as you suggested worked great. Are you saying the Kiel has extra overhead that CCS doesn't and doesn't compile as well. I'm not really in love with the usability of Keil. Is CCS easier to use?

    At one time I had it loaded from the website before I received board. I uninstalled it when I received board. I seem to remember it looking easier to use but didn't have board to test it with. I remember it was huge and took forever to load.

    I'm new to this but will start a project soon and I need the easiest and best IDE I can get.

    I suppose no reason I can't have both on PC.

    Bob

  • Bob:

    The Sharing forum lets posts go right away -- this one is moderated and is real slow on weekends. You may want to switch the forum ...

    I suspect IAR is the easiest -- but have not tried the rest.

    Quite frankly CCS has a lot of quirks -- but -- if you have a TI board plugged in there is no code size limit for that board. I have successfully compiled to a 150K binary with CCS.

    I switched because everything I wanted to do needed large binaries. I also wanted Ethernet for data collection -- so that is why I got an EKS-LM3S6965. Ordered from Newark Thursday at 5PM -- got it by 3:30PM Friday Aug 31-- been working with it all weekend. Would prefer LM4F232 board -- but no Ethernet...

    Also -- I ordered C2000 Piccolo launchpad and MSP430 Launchpad with audio DSP attachment at same time. CCS lets me work on all of these without changing compilers.

    Sooooo --- I grit my teeth and smile, smile smile! Thank you TI!

    BTW: If you consider this as answered -- mark it verified and people quit looking.

    Also -- some of my recent posts are about configuring the new CCS 5.2 compiler. More will follow.

    If you do not have $4K per family of processors -- siuggest you consider CCS 5.2 -- it will make you happy re money you did not spend.

    If you do switch -- find a cours for a LM3S or LM3F board -- perhaps one of the 1.5 day versions and modify the code to use with your system -- there is lots to learn from following them. It's surprisiing how much you can earn from a course that parallels the examples so closely.

    Cheers!

  • Agree w/many/most of Dave's remarks. 

    May be important for you to note that while CCS indeed supports the variety of MCU's Dave lists - all are confined to single vendor!  ARM has multiple MCU vendors - each w/their own blend of, "best practice" implemenation, price points, and (importantly) product availability.  Some of their ads may even give glimpse of the MCU - rather than singular focus upon header/discretes...

    IAR & Keil (among others) provide such expanded support...

  • cb1:

    In different circumstances I would be pushing your viewpoint. It's just the money... I don't have enough.

    As cb1 points out people should consider many factors when making a tool set decision -- if I were working with many different vendors I would make exactly his decisions without a lot of thought -- because it is a good way to look at the issues.

    People should realize that I have dealt with Texas Instruments for over fourty years and have a soft spot for their products -- mostly due to Stellar support (pun intended). After looking at everything I wanted to do and my MCU selections I reappraised my selection (went pure TI) and my budget (closer to $Zero than you might imagine) and decided that since I had little choice -- I would make CCS5 work. Of course I am counting on TI to"make it right" -- even if it does take a while. Tool chains are big and complicated these days so I do not expect miracles -- just steady improvement.

    This weekend I figured out how to get the bigger and more complicated demos like qs-ek-lm3s6965 compiling and linking on CCSV5.2 -- based on re-creating from first principles rather than an "import". (The Linking issue is not well explained...) I also got the bigger SysBIOS demos loaded and running up to Version 4.96 (but not 5.01) of the compiler on CCSV5.2. So that satisfies my current and foreseeable needs.

    Bottom line -- my decision process is much simpler and more clear cut and totally driven by my pocketbook.