220nF is the value recommended in the datasheet.
The 22 ohms should be fine. I've just never seen them before. Your reference to the SN65220 helped with that problem.17.2.2.8 Internal Regulator
The PIC18FX455/X550 devices have a built-in 3.3V regulator
to provide power to the internal transceiver and
provide a source for the internal/external pull-ups. An
external 220 nF (±20%) capacitor is required for stability.
Ok on the +5V.
I prefer to detect the plugged status in a USB interrupt, because it tells you when it's communicating with the computer. The way you have it, it only detects if it's plugged into a port or hub. But that's not going to help the problem at this point.
There are several things that can go wrong here, we'll just have to work through it.
You mentioned before ...
> The programmer configuration is: ...
Are you setting the config's manually in the programmer's software?
If so, is the VREGEN bit enabled? (Turns on the 3.3v regulator)
I assume you've blinked an LED somewhere to verify the oscillator is running at the correct speed.
On these chips, if the main oscillator isn't working, it can switch over to the internal oscillator at a different freq.
Bookmarks