• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » Code Composer Studio » Code Composer Forum » error #10099-D: program will not fit into available memory
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • Forums

    error #10099-D: program will not fit into available memory

    This question is answered
    Chris Hammond1
    Posted by Chris Hammond1
    on Apr 25 2012 04:15 AM
    Prodigy20 points

    Hello 

    I am new to the TI launchpad and I am unable to get the hello World example to compile and run, Blink works fine tho. From what I can tell I should have enough memory on the MSP430G2553 Chip that came with the Launchpad but its not working. I have set the -printf_support=minimal and tried noFloat, but its still not working.

    Below you can find the code and the error, Any Help Would Be Great!

    Thanks Chris

    This is the code

    #include <stdio.h>
    void main(void) {
    	printf("Hello World!\n");
    }
    
    
    And this is the error I get

    'Building target: hello world.out'
    'Invoking: MSP430 Linker'
    "C:/ti/ccsv5/tools/compiler/msp430/bin/cl430" -vmsp --abi=eabi -g --define=__MSP430G2553__ --diag_warning=225 --display_error_number --printf_support=minimal -z -m"hello world.map" --stack_size=80 --heap_size=80 -i"C:/ti/ccsv5/ccs_base/msp430/include" -i"C:/ti/ccsv5/tools/compiler/msp430/lib" -i"C:/ti/ccsv5/tools/compiler/msp430/include" --reread_libs --warn_sections --rom_model -o "hello world.out" "./hello.obj" -l"libc.a" "../lnk_msp430g2553.cmd"
    <Linking>
    warning #10247-D: creating output section ".data" without a SECTIONS
    specification
    "../lnk_msp430g2553.cmd", line 63: error #10099-D: program will not fit into
    available memory. run placement with alignment fails for section ".cio"
    size 0x120 . Available memory ranges:
    RAM size: 0x200 unused: 0x2e max hole: 0x2c
    error #10010: errors encountered during linking; "hello world.out" not built

     
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Lisa TI
      Posted by Lisa TI
      on Apr 25 2012 07:41 AM
      Guru100155 points

      Hi Chris,

      I think this is an issue with the example.  I have see the exact same thing.  Let me look into this and see if there is a work around.

      Best Regards,

      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Apr 25 2012 11:19 AM
      Verified Answer
      Verified by Lisa TI
      Guru100155 points

      Hi Chris,

      it appears that even though you can select this as an example, the "Hello World" example is not supported on some launchpad devices as they simply really do not have the space for printf support.

      Sorry to have to disappoint.

      Best Regards,
      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jan Van Loock
      Posted by Jan Van Loock
      on Jun 18 2012 06:39 AM
      Prodigy20 points

      Hi, Lisa

      I just start with the launchpad and I have the same. There is plenty of space for it, there must be something else. The Mc is the MSP340G2553 with 16kb and 512 bytes. So in the G serie the best. 

      Best Regarts,

      Jan

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jan Van Loock
      Posted by Jan Van Loock
      on Jun 19 2012 05:02 AM
      Prodigy20 points

      Dear all,

      After some modifications with "--printf_support=minimal" in de linker command the flash memory was reduced but this was not the problem, but the .cio takes 0x120 bytes from the RAM. In fact there is no reason to do that. We need 1kB of RAM!! The reason is that the Stdio routines are used as one package with a big bufferspace in RAM. I am worry about two things, the linker don’t extract the printf function from the library, so the whole package is used. If you have limited flash memory then it is waste of memory, and together with the package it reserve to much RAM memory. So we need an other library package, or some modifications, or options in the linker to set. I try to find a modification to reduce the amount of RAM and who to manipulate the linker. It will be great if somebody know a .obj library with a printf function with much less RAM. 

      Best regards

      Jan

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    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.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use