Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
It seems your schematic diagram isnot complete.
anyway, i think you have to remove any large capacitance from power lines, because when USB conection stablished,
high surge current may drawn from USB port.
you can use smaller value insted.
another solution is to use small series resistor through USB (+5V), to limit surge current.
I think Davood is probably right here, you are getting a surge current due to the large caps charging up on the VCC line. To verify this try changing D2 to a ferrite bead and see if this helps. The ferrite bead would be a better solution than a small value resistor as you will get a smaller DC drop on the VCC line, though this may not be a problem as your PIC will have a wide operating voltage range as long as you are running at low frequencies.
As I too had the problem and was searching for a solution I found the information below, however All I did was to reinstall Service pack to solvel the problem.
At first ,it is a microsoft problem!!(Why I think that? cause if I disconnect everything from USB then restart,it pops up again!!)Nothing wrong with your PC or notebook,I've got the same message "Power surge on hub port"which keeps showing up and gets on my nerves )I've never had this problem before,it appeared just after I installed SP2 and the rest of ...packs,well solution 1 - uninstall SP2 and you'll be fine,solution 2 reinstall XP then install ONLY SP2 and from on disable any updates...I think this bug is included in some XP hotfix which is installed right after SP2 installation.
right click START ,choose properties,choose taskbar then customize ,and select power surge...and select ALWAYS HIDE
this way you get rid of the pop-up message and just don't worry about it )
The USB protocol states that when you plug in a device, it must not draw more than 100mA.
Then, during enumeration, the device can request up to 500mA from the port.
You should really have a way of of switching the psu to the rest of the circuit off untill after the request for more current is acknowledged.