• 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 » Digital Signal Processors (DSP) » OMAP™ Processors » OMAP-L13x, AM1x and C674x Processors Forum » MMC/SD Failures
Share
OMAP™ Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Resources
  • OMAP-L1x DSP+ARM9™-based Processors Product Folder
  • OMAP3525/30 DSP+ARM Cortex™-A8-based SOCs Product Folder

  • Top OMAPL Wiki Links
  • OMAPL3x Schematic Review Checklist
  • OMAPL13x Boot resources

  • OMAPL Document Resources
  • OMAPL137 Technical reference manual
  • OMAPL138 Technical reference manual
  • OMAPL Boot loader App Notes
  • Forums

    MMC/SD Failures

    This question is not answered
    Thomas Stauffer
    Posted by Thomas Stauffer
    on Apr 23 2012 05:16 AM
    Prodigy130 points

    We developed our own PCB with an OMAP-L138 (and some boards with an AM1806). Linux is used as OS and U-Boot as bootloader. We have problems with the SD-Card. Both U-Boot and Linux have occasional problems (but far too often) while accessing the SD-Card, to a degree that U-Boot cannot read anything at all and Linux returns wrong data to the upper layers (which leads to other errors, like wrong md5sums which were manually created, although the SD-Card is still ok, as tested on another system). Analyzing it more thoroughly there are CRC errors (the status bit of the SD/MMC controller leads to this). We use the recommended Pull Ups and wire lengths are within a margin < 26 mm compared to CLK (equals ca. 0.2 ns). After many tests we got the following results:

    - We have tried many different SD-Cards, including Industrial Grade SD-Cards, which does not change anything
    - Failures occure while reading and writing (droping the OS filesystem cache to force it)
    - Failures occure on the OMAP-L138 and AM1806
    - Lower the main PLL clock does not help
    - Lower the SD-Card clock (from 38 MHz) down to 8 MHz does not help
    - The problem cannot be triggered on both OMAP-L138 Zoom Eval Boards we own (which not even have Pull Ups, they were added on a later design we assume)
    - Our OMAP-L138s/AM1806s have Revision 2.0, the CPUs on the Zoom Eval Boards have Revision 1.1
    - Cooling down the CPU (refigerant spray) almost immediately triggers the error
    - Heating the CPU has neither a positive, nor a negative effect
    - Inserting a delay (with a gate) in the CLK signal (of ca. 5 ns) avoids ALL hardware related problems so far (neither cooling, nor manually inducing EMI, triggered the error anymore)

    From our perspective (which may be wrong) it looks like the CPU has a silicon bug at least since Revision 2.0

    - Sometimes it happens that the whole OS locks up (which can be analyzed with the SysRq debug option from Linux, where one can see, that the MMC/SD driver waits forever), this is quite likely the problem of an unstable MMC/SD driver. I modified the driver from U-Boot slightly to test if it's possible to recover automatically after the CPU was cooled down, and indeed it was possible, so I assume the driver from Linux should be able to do that as well. Not sure if TI cares about that at all (IMHO software should assume that hardware may occasionaly fail, not sending an interrupting or whatever).

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Norman Wong
      Posted by Norman Wong
      on May 01 2012 14:54 PM
      Guru14880 points

      No much to suggest. I think the OMAP-L138 has internal pullups that are sufficient for MMC/SD operation. I have had problems where the MMC/SD controller is very sensitive to processor supply voltage that is too high.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Thomas Stauffer
      Posted by Thomas Stauffer
      on May 02 2012 03:18 AM
      Prodigy130 points

      Thanks for your hint.

      The first Zoom Eval Baords do not have a Pull Up and work well, therefore I agree. The newer design guides from TI suggest that one needs Pull Ups, that's why I mentioned it explicitly.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Norman Wong
      Posted by Norman Wong
      on May 02 2012 07:42 AM
      Guru14880 points

      Our custom OMAP-L137 board does not use pullups for space reasons. I'll have to get our HW guys to check the newer design guides.

      For me, the card works fine except when I was using an analog power supply that was easily bumped. The card started exhibiting problems when the power supply strayed upward. I vaguely remember a touch above 3.3V was bad. Something to do with the card logic level theshold.

      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