PIC USB Programmer


Results 1 to 30 of 30

Threaded View

  1. #12
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Theory

    Once connected, all USB devices must identify themselves to the host. This is called “enumeration.” In the identification process, the host determines the power needs of the USB devices and allows or denies the device to increase its load from 100-mA maximum to 500-mA maximum.


    Theory vs. Reality

    USB ports do not limit current. Although the USB spec provides details about how much current a USB port must supply, there are mile-wide limits on how much it might supply. Though the upper limit specifies that the current never exceed 5 A, a wise designer shouldn't rely on that. In any case, a USB port can never be counted on to limit its output current to 500 mA, or any amount near that. In fact, output current from a port often exceeds several amperes since multiport systems (such as PCs) frequently have only one protection device for all ports in the system. The protection device is set above the total power rating of all the ports. Therefore, a 4-port system may supply more than 2 A from one port if the other ports are not loaded. Furthermore, while some PCs use 10% to 20% accurate IC-based protection, others use less accurate polyfuses (fuses that reset themselves) that will not trip until the load is 100% or more above the rating.

    USB ports rarely, if ever, turn off power. The USB spec isn't specific about this, but it's sometimes believed that USB power may be disconnected as a result of failed enumeration, or other software or firmware problems. In actual practice, no USB host shuts off USB power for anything other than an electrical fault (such as a short). Most notebook and mother-board makers are unwilling to pay for fault protection, let alone smart power switching. So no matter what dialog takes place between a USB peripheral and host, 5 V (at either 500 mA or 100 mA, or even maybe 2 A or more) will be available. This is born out by the appearance in the market of USB-powered reading lights, coffee mug warmers, and other items that have no communication capability. They may not be “compliant,” but they function.

    Source:
    http://powerelectronics.com/mag/powe...attery_faster/

    For the pdf version of the article, including diagrams:
    http://powerelectronics.com/ar/Maxim.pdf
    Last edited by Luciano; - 18th March 2005 at 15:15.

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. USB programmer for PIC
    By amindzo in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd September 2008, 14:16
  3. Programmer for USB PIC devices
    By Doormatt in forum USB
    Replies: 1
    Last Post: - 29th August 2006, 11:47
  4. USB programmer problems
    By uiucee2003 in forum USB
    Replies: 2
    Last Post: - 15th August 2006, 23:47
  5. USB PIC without USB Connection
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th December 2005, 17:39

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts