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 Is the RPI SD card clocking speed established at startup?
  • 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 6 replies
  • Subscribers 666 subscribers
  • Views 458 views
  • Users 0 members are here
  • overheating_problem
  • raspberry_pi
  • rpi
  • sdcard
Related

Is the RPI SD card clocking speed established at startup?

Former Member
Former Member over 12 years ago

Hi,

 

My RPI crashes after a while....

 

1. Is the SD card clock speed "discovered" by RPI at start up by it trying to find the fastest clock which works or is this speed fixed?

2. Does the working maximum clock rate for an SD card drop as it warms up?

3. I note that cooling the RPI SD card but not the RPI from a crashed RPI with freezer spray seems to make it much more likely the RPI will reboot successfully.

 

Thanks,

 

Nick

  • Sign in to reply
  • Cancel
  • wallarug
    wallarug over 12 years ago

    Currently the SD card slot is not using the maximum spec of the SD card.  There are people who have fixed this problem and are trying to get the foundation to incorporate the performance of the SD card into the next image.

     

    See this: http://www.raspberrypi.org/phpBB3/viewtopic.php?p=91559 for more information.

     

    I can not answer Q2 and Q3.  Sorry.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • GreenYamo
    GreenYamo over 12 years ago

    Hello Nick, that crashing sounds like it could be a power problem, rather than something to do with the SD card ? What is the spcfication of the charger you are using ?

     

    Some of the early Pi's seem to be sensitive to heat as well, my first Pi needs power removed and a good rest before it will boot back up again (although doesn't crash), the second, later model is fine with all peripherals being the same as for the first.

     

    Also check that your SD card is on the working list:http://elinux.org/RPi_VerifiedPeripherals#SD_cards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • johnbeetem
    johnbeetem over 12 years ago

    I've heard of people solving mysterious crashes by setting "vm.min_free_kbytes" to a larger value.  For example, here is a RasPi forum thread I found by searching for "min_free_kbytes" on the raspberrypi.org front page: http://www.raspberrypi.org/phpBB3//viewtopic.php?f=71&t=11445&start=25.

     

    I've never tried this myself.

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

    Thank you.  The link is very interesting.

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

    Fergus Byrne wrote:

     

    Currently the SD card slot is not using the maximum spec of the SD card.  There are people who have fixed this problem and are trying to get the foundation to incorporate the performance of the SD card into the next image.

     

    See this: http://www.raspberrypi.org/phpBB3/viewtopic.php?p=91559 for more information.

    As the instigator of that thread, I'll point out that most of the fixes are already incorporated in the current Raspbian image. In essence the driver now uses the maximum speed that the R-Pi hardware can support in combination with your card.

    You're correct that this may not be the maximum the card can support, but this is largely due to the faster modes requiring the interface to run at 1.8v and the R-Pi only being capable of running the sd interface at 3.3v.

     

    There's still work to be done - seems that some people are having data corruption problems.  The latest changes to try to sort that have recently been pulled, see https://github.com/raspberrypi/linux/pull/70 but this may take some time to appear in a released image. In the meantime you may get the updates uring the 'rpi-update' command if it's in your chosen distro. If it's not, get it here https://github.com/Hexxeh/rpi-update

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

    Nicholas Toop wrote:

     

    1. Is the SD card clock speed "discovered" by RPI at start up by it trying to find the fastest clock which works or is this speed fixed?

    2. Does the working maximum clock rate for an SD card drop as it warms up?

    3. I note that cooling the RPI SD card but not the RPI from a crashed RPI with freezer spray seems to make it much more likely the RPI will reboot successfully.

    1. The card is interrogated at boot/card insertion, the card has some details of what it thinks it supports that the driver will make use of to work out what speeds to try. Eventually there's some tuning where the driver will attempt a speed and if it fails try another, usually slower, speed until it finds one that works.

     

    2. Unlikely. Even so, the driver won't attempt to renegotiate the speed unless the card is removed, or possibly if there's an error and it tries to recover. If you follow through the threads Fergus linked to you'll see that once a 'working' speed has been chosen it tends to stick with it, even if that means it takes 30mins to boot..

     

    3. Do you have some different cards you can try ?  One of the issues with sd cards is that there are many counterfeit cards, especially on places like ebay. So it's possible to get a card labelled as a 8GB class 10 card that in reality is a 2GB class 2. If the descriptor in the card has been modified then there's the chance you're effectively overclocking the card.

     

    As others have said, check the wiki for compatible cards, get one from somewhere reputable.   As suggested by John several times elsewhere on this forum, the wiki troubleshooting section is always worth a read http://elinux.org/R-Pi_Troubleshooting

    • 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