Let me guess... your programmer is one of the DIY Kit 128/149/150/182 types. In MPLab, after a successful compile, Go to File->Export->OK Choose a different HEX File name, and use that to load MicroPro Obviously, if you are not using the above programmer, ignore this reply.... Rolf Phil Cross wrote: > I am using an 18F452, and am a novice, so please forgive me if I am being > stupid. > > I used to use __CONFIG commands for setting config bits, and put up with the > resultant warnings. However, I just decided to try the newer CONFIG > commands. My programmer now tells me I have a FUSE error in my HEX file. > > I used MPLAB IDE V7.30 "configure/configuration bits" command to look at > what the bits had been set to. They are different, and maybe I'm missing > something, but for the life of me I can't undertand why. To expand on this: > > OLD: > __CONFIG _CONFIG1H, _OSCS_OFF_1H & _HSPLL_OSC_1H > "configure/configuration bits" shows: > 30001 FE Oscillator HS-PLL Enabled > Osc, switch enable Disabled > > Looking at the PIC18FXX2 manual, the value FE makes no sense to me. And yet > my programmer programs this OK, and the program runs OK - correct oscillator > speed, too. > > NEW: > CONFIG OSC =HSPLL ; Use HS PLL osc. > CONFIG OSCS=OFF ; Disable osc. switching. > "configure/configuration bits" shows: > 30001 26 Oscillator HS-PLL Enabled > Osc, switch enable Disabled > > Looking at the PIC18FXX2 manual, the value 26 looks correct. However, my > programmer tells me I have a FUSE error, and won't program my chip. > > All the other values are wildly different too - I just chose the first one > as an example. > > Please could someone enlighten me? I would be very grateful. > > Regards, > Phil Cross > > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist