element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum SD Card Problem - can anyone explain the reason why ?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 8 replies
  • Subscribers 664 subscribers
  • Views 681 views
  • Users 0 members are here
Related

SD Card Problem - can anyone explain the reason why ?

GreenYamo
GreenYamo over 13 years ago

As more people are getting the Pi's delivered, along with the problems of power supplies there also seems to be a problem with SD cards.

 

Now, I know that sometimes standards aren't quite as standard as they could be, but it seems very hit and miss what works and what doesn't. I have a number of SD cards for my cameras and they have all worked in the different devices, from an old 512 Meg card up to the gigabyte cards we have available today.

 

I have always tried to buy known makes (Sandisk mainly) and they have performed without fault in my camera equipment.

 

Can someone explain why these problems seem to affect the pi so much ? Surely you would design to the lowest common denominator and make sure that a good range of cards would work that are built to the SD standard, or am I missing something?

 

Thank you.

 

Steve

  • Sign in to reply
  • Cancel
  • Former Member
    Former Member over 13 years ago

    Hi Steve,

     

    I think I have the same problem as you.

     

    I have a 32GB SD-Card by SanDisk, but at startup my PI says:

    mmc0: Timeout waiting for hardware.

    Not once - seems like 3 or 4 screens full on a 1920x1080 screen.

     

    Thats odd, and it even seems not to respond when I want to login.

    I will try some more but I think I will have it replaced.

     

    Thanks

    Tim

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago

    You need to either recompile your kernel,or apply the updates (firmware repo) from: raspberrypi · GitHub

     

    Easy method: download the firmware repo and copy the the contents of the boot directory to the boot partition of your SDcard.

     

    Compilation details on cross compiling a kernel (linux repo) can be found here: http://elinux.org/Rpi_kernel_compilation

     

    the running current .config file (needed to compile working kernel) can be found on a running raspberry pi in /proc/config.gz

     

    Worked for me... There is a known bug in the current SDHI driver which has been resolved in the nightly/weekly build in the repository mentioned above.

     

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to Former Member

    Many people are experiencing X and lxde (the window manager) problems.

     

    Please read http://www.raspberrypi.org/phpBB3/viewtopic.php?f=2&t=5169&p=69379 & http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&t=5851 for a possible solution.

     

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • GreenYamo
    GreenYamo over 13 years ago in reply to Former Member

    @John,

     

    Does this answer all problems for the SD cards ? There is quite a list here: http://elinux.org/RPi_VerifiedPeripherals#Problem_SD_Cards

     

    @Tim: A lot of Sandisk cards on the list.

     

    To be honest, I can't understand why there is such a problem with cards, they seem to work fine with *every* other piece of equipment I have used them in.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to GreenYamo

    Steve,

      According to page 65 of

    https://www.element14.com/community/docs/DOC-43016

     

    the SD card interface is provided by Arasan, and compliant with

     

    • SDTm Host Controller Standard Specification Version 3.0 Draft 1.0

    • SDIOTm card specification version 3.0

    • SDTm Memory Card Specification Draft version 3.0

    • SDTm Memory Card Security Specification version 1.01

    • MMCTm Specification version 3.31,4.2 and 4.4

     

    I don't know if other Arasan SD card controllers have similar issues.

    The Roku 2 uses microSD, but the same SoC, and they apparently

    have a working system.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to Former Member

    In my limited understanding of this post

    http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=7665

     

    it appears the R-Pi is doing some odd things with the SD Card interface (like treating clock speed as if every card is a MMC card, instead of using the recommended SD card clocks)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • GreenYamo
    GreenYamo over 13 years ago in reply to Former Member

    In my *extremely* limited understanding of that post, it looks like it is trying to do something it shouldn't be trying to do ?

     

    Like I say above, I have lots of equipment that takes SD cards and they all just work - surely the SD specifications are well enough known and worked to now that to try something outside of those specs isn't a good idea ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to GreenYamo

    For anyone who hasn't been following over on the 'other' forums, there's a newer kernel + firmware available that has proved to have much better results with all manner of SD cards. It achieves much better performance - up to 5x on simple sequential read tests, due to configuring the cards and the interface properly.  It's very much worth trying. Especially if you had problems before.

     

    Note that you really must update both kernel and firmware at the same time as there's a dependency on what clock speed the firmware sets vs what the kernel expects.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube