Texas Instruments
  • Samples Cart - Add Samples Samples & Purchase Cart
  • |
  • Contact Us
  • |
  • TI Worldwide: United States
  • |
  • my.TI Login
  • Products
  • Applications
  • Design Support
  • Sample & Buy

  • All Searches
TI Home » TI E2E Community » Support Forums » Microcontrollers » Stellaris® ARM® Cortex™-M Microcontroller » Stellaris® General Discussions » how to know when nearing IAR size limit?
  • Join
  • Sign In with my.TI Login

TI E2E™ Community

  • Home
  • Support Forums
  • Videos
  • Blogs
  • Groups
  • More ...
  • Go
  • Advanced Search
Share
Details
Rate This
  • 3 Replies
  • 1 Subscriber
  • 420 Views
  • Postedover 2 years ago
Options
  • Subscribe via RSS
Helpful Stellaris® LM4F Series Links
  • LM4F Series
  • LM4F MCU Applications
  • LM4F MCU Video
  • ARM Cortex-M4F Whitepaper
  • Stellaris MCU Brochure
  • LM4F232 Eval Kit
  • Tags
    • #if
    • #if defined
    • #ifdef
    • #pragma
    • %f
    • "coachability"
    • "LM Flash Programmer"
    • "LM FLASH Programmer" "command line"
    • "LM Flash Programmer" LM3S8962 USB510L
    • "LMI FTDI Driver Error"
    • "unsuccessful data search..."
    • "USB Hub" USB
    • .bin
    • .cmd
    • .map
    • .NET
    • .NET Framework
    • .NET Gadgeteer
    • .NET Micro Framework
    • .out
    • _IQfrac
    • _IQmpy
    • `
    • 0x11e
    • 1154


    Get Adobe Flash player
    Forum - Title

    how to know when nearing IAR size limit?

    Stellaris® ARM® Cortex™-M Microcontroller

    Stellaris® ARM® Cortex™-M Microcontroller

    Welcome to the Stellaris® ARM® Cortex™-M Microcontroller Section of the TI E2E Support Community. Ask questions, share knowledge, explore ideas, and help solve problems with fellow engineers. To post a question, click on the forum tab then "New Post".

    • Get this RSS feed
    • Home
    • Forums
    New Post

    how to know when nearing IAR size limit?

    This question has suggested answer(s)
    jillbensen
    Posted by jillbensen
    on Jan 2, 2010 11:17 AM
    Prodigy30 points
    I am using the 32k code size limited IAR Embedded Workbench IDE. I think I should be getting close to the code size limit. Where can I look to see the current size of my project as it applies to the limit? What will happen when I exceed the limit? Will it be something obvious like a link error? Or will it appear to work?
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • cb148787
      Posted by cb148787
      on Jan 2, 2010 12:31 PM
      Suggested Answer
      Genius4770 points
      Each time you "download/debug" your bottom results window reports size & results of action. Also - if you've created a .map file you can learn code size broken down by files and individual code blocks.

      Once you surpass code limit "download/debug" will announce that fact. (you do not have to worry about "appearances.")
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • jillbensen
      Posted by jillbensen
      on Jan 3, 2010 12:45 AM
      Prodigy30 points
      Thanks for the reply. I have previously looked at the map file, but had never really noticed all the information in the window when I download.

      Here is what I am seeing now in that window:

      Sun Jan 03 00:08:58 2010: 34325 bytes downloaded into FLASH and verified (1.85 Kbytes/sec)

      Also, the largest address I am finding in my MAP file is 0x00008615, which would correspond to 34325.

      I had been expecting that when anything over 0x8000 showed up in my map file, I would be done.

      But some other info in the map file breaks it down as follows:

      Module ro code ro data rw data
      ------ ------- ------- -------

      ( I have left out all of the individual module info)

      Gaps 22 406 3
      Linker created 44
      ------------------------------------------------------
      Grand Total: 22 482 11 843 19 641


      So maybe it is the "ro code" number (currently at 22482) that I should be tracking. Is it when this number hits 32768 that I reach the limit?

      Thanks again,

      Jill
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • cb148787
      Posted by cb148787
      on Jan 3, 2010 10:16 AM
      Suggested Answer
      Genius4770 points
      I don't know - recall that past applications "squawked" when code exceeded 32KB (or 256KB) on paid system. (and would not download/debug)

      Is it possible that you have a 30 day version - which is unlimited? Always when we have received such "overlimit" message we have been forced to "excise" code-overrun.
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    Share

    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.

    Products | Applications | Design Support | Sample & Buy RSS

    TI Worldwide | About TI | Contact Us | Investor Relations | Press Center | Corporate Citizenship | Careers | Tags | my.TI Login | All Searches | Site Map

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