Thanks for help.. But I only use c18 for bootload hex. I'm using PBP with microcode studio for my software...
I didn't change lines.. PDFSUSB works fine.. I'm using 20 MHZ Crystal with 15pf capacitor...
I wrote DEFINE OSC 48 but it's faster.. It causes also problems on serial comm with another PICs...
I think config bits are normal...
#pragma config PLLDIV = 5 // (20 MHz input)
#pragma config CPUDIV = OSC1_PLL2
#pragma config USBDIV = 2 // Clock source from 96MHz PLL/2
#pragma config FOSC = HSPLL_HS
Bookmarks