[QUOTE=Darrel Taylor;42974]For a 20Mhz crystal ...
Code:
     __CONFIG    _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
     __CONFIG    _CONFIG1H, _FOSC_HSPLL_HS_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
Dear Darrel,
just tried above code and demo2_dt.txt but no luck..showing "USB DEVICE NOT RECOGNISED"

i'll send you the schematic 2morrow..plz go through it..
using PICKIT2 V2.10 PROGRAMMER (NEED TO CHANGE ANY SETTINGS?)

REGARDS..