• 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 » Microcontrollers » Stellaris® ARM® Microcontrollers » Stellaris® ARM® LM3S Microcontrollers Forum » persistent data storing of few data bytes => flash !?
Share
Stellaris® ARM® Microcontrollers
  • Forum
Options
  • Subscribe via RSS
Helpful Stellaris® LM4F Series Links
  • LM4F Series
  • Stellaris PinMux Utility
  • Stellaris® LM4F120 LaunchPad
  • LM4F MCU Applications
  • LM4F MCU Video
  • ARM Cortex-M4F Whitepaper
  • Stellaris MCU Brochure
  • LM4F232 Eval Kit
  • persistent data storing of few data bytes => flash !?

    persistent data storing of few data bytes => flash !?

    This question is not answered
    Tobias Droessler
    Posted by Tobias Droessler
    on Aug 16 2012 01:48 AM
    Prodigy115 points

    Hello,

    i have to store 32-48 Byte persistent / not volatile and use LM3S5Y36 ( 16kB Flash).

    The data muste be changeable during livetime ( config data from user).

    I've read the datasheet and there is a note that the flash is

    a) only eraseable in 1KB arrays and b) the 4 KB block have to be rewritten after 6 programming cycles of the flash. 

    That means I have to keep  a 4KB- Block flash empty ( for 48 Bytes used data)  and can use only the remaining 12KB flash for code!?

    Is there an other way to store persistent, RW - data inside the controller ???? 

    flash configuration-data
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • cb1_mobile
      Posted by cb1_mobile
      on Aug 16 2012 07:27 AM
      Guru22040 points

      Tobias Droessler
      an other way to store persistent, RW - data inside the controller ???? 

      You've bumped against an unpleasant fact - does seem wasteful.   Perhaps simple 8 pin or SOT 5/6 pin EEProm is an easier - and more memory efficient solution...

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • slandrum
      Posted by slandrum
      on Aug 16 2012 14:03 PM
      Mastermind9510 points

      You don't necessarily have to keep the 4K empty, but when you need to rewrite it, you'll need to copy it to RAM to be able to write it back.  Of course, that's a very big burden on a part that only has 8K of RAM.

      The next question is how often does the configuration data need to be changed?  If config changes are very rare, and it's acceptable to reboot after making them, then you can almost certainly get by with using a very minimal amount of flash.  If config changes are very frequent, then flash is probably not the correct place for them anyway.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Tobias Droessler
      Posted by Tobias Droessler
      on Aug 17 2012 01:02 AM
      Prodigy115 points

      Hi, Thanks for your ideas ..

      The Configuration data is changed only a few times for setting parameters for working application. But I can't limit this to 6 times. And after setting new config data the controller must be reseted, but it not solves the problem of the unused 4KB block - or ?

        So the only possibility is to keep this 4 KB empty or rewrite it every time( to keep it simple not every 6th time). Are there solutions/experiences with rewriting code flash? I don't know how complex this is.

      rewriting flash code
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • cb1_mobile
      Posted by cb1_mobile
      on Aug 17 2012 08:31 AM
      Guru22040 points

      Will saw my limb bit further... the fact that a capability is possible - often is imperfect justification for its adoption!   Your objective is simple, straightforward - the MCU, "swallow everything" approach... anything but...

      An SOT EEProm very much accomplishes your goal - quickly, easily and at minimal cost/size penalty.

      While you "do battle" with this lingering issue - other aspects of your project are delayed, may suffer.  Should your "volume" reach high numbers you may always "reconsider" - simply not "fill" the tiny SOT - and at that time - with that business justification - battle again with this complex, awkward & inefficient (but all in one) "solution!"

      Big picture and proper guarding/management of vital resources - focus on the "real" issues - far more vital - imho...

      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