ok, cool, thaught i'd ask a stupid question...
i used the 18F4550 myself and i also use the same OSC so, i'll run through my settings, however, i'm using winpic800 with a JDM programmer...
OSC: HS oscillator, PLL enabled, HS used by USB
CPU system clock: 96MHz PLL dev 5
Oscilator selection: Devide by 5 (20MHz input)
Vbor: 2.7V
Brown-out restet: Enabled in hardware only
Watchdog: 1:32768
FCMEM enabled
IESO enabled
WDTEN enabled
PWRTEN disabled
CCP2MX enabled
PBADEN enabled
LPT1OSC enabled
MCLRE disabled
DEBUG disabled
STVREN enabled
LVP enabled
ICPORT enabled
XINST enabled
USBPLL enabled
VREGEN enabled
All CP's are disabled
All EBT's disabled
All WRT's disabled
Acording to oshonsoft's pic18 simulator IDE the BASIC code for those options are asfollows...
Code:
Define CONFIG1L = 0x3C
Define CONFIG1H = 0xCE
Define CONFIG2L = 0x17
Define CONFIG2H = 0x1F
Define CONFIG3L = 0x00
Define CONFIG3H = 0x07
Define CONFIG4L = 0xE1
Define CONFIG4H = 0x00
Define CONFIG5L = 0x0F
Define CONFIG5H = 0xC0
Define CONFIG6L = 0x0F
Define CONFIG6H = 0xE0
Define CONFIG7L = 0x0F
Define CONFIG7H = 0x40
Hopefully, some of that will help...
if not, can you post a screen shot of your programmers config options screen?
Thanks
Bookmarks