• 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 » Re: Flash write problem
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
  • Forums

    Re: Flash write problem

    This question is not answered
    Gaston Schelotto
    Posted by Gaston Schelotto
    on Apr 23 2012 14:23 PM
    Expert2225 points

    Brian,

    I am facing to the same problem than abrophy when running at 80MHz. My bootloader application sometimes returns a bad-CRC error - this happens very rarely but enough to puzzles me :-) In order to detect the error I have wrote a routine by doing successive writes from 0x9000(above the bootloader location) to 0x3AA8C (total 203404 bytes) that is:

    address content
    0x09000 0x00000000
    0x09001 0x00000001
    ··· ···
    0x3AA8C 0x0000C6A2

    Next I perform a 32bit-CRC, compare it with a 32bit-CRC generated by a PC application and check them if they are different. Here's the result when CRCs are not equal:

    In this case content of address 0x27910 is 0x00007844 instead 0x00007A44.

    The strange thing is I am using C3 revision of LM3S9B96 and this issue seems to be fixed in C revisions. Could you confirm this?

    Regards,
    Gaston

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • slandrum
      Posted by slandrum
      on Apr 23 2012 23:21 PM
      Mastermind9510 points

      I see that this question is marked as answered, but I don't see any answer, or even any follow-up posts.  Has something broken in the forum?

      Edit:  After adding my reply, the question is no longer marked as answered.  I'm not given the option of deleting this reply, though.  It definitely looks as if something odd is happening on the website.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Gaston Schelotto
      Posted by Gaston Schelotto
      on Apr 24 2012 10:38 AM
      Expert2225 points

      Yes indeed, very strange... Further, I have received no email notification of slandrum's last post.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Stellaris Paul
      Posted by Stellaris Paul
      on Apr 24 2012 10:52 AM
      Expert8170 points

      Is this on a reference board or on a custom board?  If it is on a custom board were all of the workarounds for the flash  errata followed in the board design.

      Does this happen at lower system frequencies?  I realize that the one errata related to speed was removed in C3, but it would still be a good data point.

      Also you should be taking some care in writing these devices too many times or you could run into the flash endurance errata on this class of devices.

      The errata for that revision is located here http://www.ti.com/lit/er/spmz538k/spmz538k.pdf.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Gaston Schelotto
      Posted by Gaston Schelotto
      on Apr 27 2012 11:29 AM
      Expert2225 points

      Stellaris Paul
      Is this on a reference board or on a custom board?  If it is on a custom board were all of the workarounds for the flash  errata followed in the board design.

      Yes, this is a custom board. I have checked the RevC3 errata you have attached and I found at chapter 4.5 there may be a risk of flash corruption at power on. it could be the issue because sometimes -not always- I get a bad CRC at power on using the flash test application explained at the first post. When it fails I retry the test (without performing a hw reset) and it often fails again. Then I need to do multiple retries - sometimes 10/20 times - until getting a correct CRC.

      Maybe the flash controller is touched after an invalid power on sequence and then it remains affected during some time - even if a software reset is performed -. In this regard I will suggest my client to check this sequence.

      Stellaris Paul
      Does this happen at lower system frequencies?  I realize that the one errata related to speed was removed in C3, but it would still be a good data point.

      There is no problem at 50MHz.

      Stellaris Paul
      Also you should be taking some care in writing these devices too many times or you could run into the flash endurance errata on this class of devices.

      Yes, I already noticed about this. Although I have performed in some boards more than 500 WR cycles on a flash sector and -till now - their flash seem to be okay.

      Regards,
      Gaston 

      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