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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 USB Thumb Drive Causing Reboots
  • 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 7 replies
  • Subscribers 679 subscribers
  • Views 1151 views
  • Users 0 members are here
  • raspberry
  • pi
  • usb
  • reboot
Related

USB Thumb Drive Causing Reboots

GeorgeIoak
GeorgeIoak over 13 years ago

I know this has been discussed both here and over on the RPi forums. A lot of talk has gone into the power rails but I haven't seen anyone definitely finding what actually causes the RPi to reboot. I have a "newer" Rev 1 board which has zero ohm resistors at the USB power lines. By adding extra capacitance I can eliminate the reboots but the drive is not always enumerated.

 

Measuring on the scope I can see the 5V rail dip a bit but the 3.3V and 1.8V appear to be stable. I'm powering the RPi through the GPIO header so that would bypass the F1 fuse at the incoming rail.

 

I'm wondering if I'm missing something glitching on the 1.8V rail or is this some type of kernel error causing the reboot? I don't see anything in the log files but I'm also not a Linux guru so maybe I'm not looking in the right places. I did ask this question the other day on the RPi forums but it seems like more engineers hang out here so I'm hoping to eliminate the fluffy comments and opinions.

 

If I missed this somewhere I apologize but hope you'll point me to the right thread.

 

I haven't torn apart a Roku2 but I see that it uses the same LAN9512 and BCM2835 so I'd be curious to see how they did their layout. I can see limiiting the current with the poly fuses but once those are gone and you have a supply with plenty of current and a strong rail I don't see why inserting a drive should cause a reboot. Perhaps this is all related to the problem of the LAN9512 1.8V output tied to the RPi 1.8V rail?

 

Looking forward to hearing what this community has to say!

  • Sign in to reply
  • Cancel
Parents
  • msilveus
    msilveus over 12 years ago

    Hi George,

     

    One way to troubleshoot the problem is connect your thumb drive through a powered USB hub to eliminate the possiblity that you are pulling too much current away from the RPi. The biggest clue is that you are seeing a dip in the 5V rail which can cause the RPi to reboot if it goes below a certain threshold point.even for just a moment.

     

    Mike

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

    This is a known issue on the rev2 board.  It fails to reach USB hotplug standards.

     

    The issue is when you connect the device,It draws too much current...which then causes the raspberry pi to restart.

     

    As Mike said above, the only way to counter the issue is to use a powered hub.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • wallarug
    wallarug over 12 years ago in reply to msilveus

    This is a known issue on the rev2 board.  It fails to reach USB hotplug standards.

     

    The issue is when you connect the device,It draws too much current...which then causes the raspberry pi to restart.

     

    As Mike said above, the only way to counter the issue is to use a powered hub.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • bodgy
    bodgy over 12 years ago in reply to wallarug

    A USB device should not ask for more than 100mA when first attached, only once the host has satisfied itself that the correct configuration file has been read, can the  device request more current.

     

    What happens if the drive is powered externally? - Whoops o course a thumb drive doesn't have external power - that'll teach me not to read fully.

     

    What might happen is that the network data gets priority over the USB data as the netowkr chip is both LAN and USB combined and the chip suddenly uses more power causing a glitch.

     

     

     

    Colin

     

    Message was edited by: Colin Barnard

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

    bodgy wrote:

     

    A USB device should not ask for more than 100mA when first attached...

     

    What might happen is that the network data gets priority over the USB data as the netowkr chip is both LAN and USB combined and the chip suddenly uses more power causing a glitch.

    I think it's most likely good old charge sharing.  When you plug in a USB device with a large discharged 5V capacitor RasPi's capacitors have to provide a big current to make all capacitor voltages equal.  If the USB device's capacitor is too large, the transferred charge causes RasPi's 5V to glitch low.  This didn't happen much on Rev 1 RasPi's since polyfuses F1 and F2 slowed the charging of the plugged-in capacitor.

     

    I saw this many years ago with BeagleBoard rev B4 and wrote up a theory about it.

    • 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