Quote Originally Posted by mister_e View Post
Open USBDemo.PBP, look at the top of it.

about now?
It look equal, it is like this:
__CONFIG _CONFIG1H, _FOSC_XTPLL_XT_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
; ; ; Oscillator Switchover mode disabled
; ; Fail-Safe Clock Monitor disabled
; XT oscillator, PLL enabled, XT used by USB
and is exactly eqal....
By the way, why do you suspect your own code?
I have not changed anything within it and that is why I'm confused here...

That would be great if you could tell us wich MPASM version you're using.
Downloaded it yesterday, it is 5.20

All config fuses can be found in the MPASM Suite folder.

The default installation path is C:\Program Files\Microchip\MPASM Suite

First USBDemo was for the 18F4550 if you're using something else, you'll need to change some files... or go at the following
http://www.picbasic.co.uk/forum/show...8&postcount=99
HTH
I'm using 18F4550, so hopefully there is no need to mess up things more in my mind, too many things to think over already...