PDA

View Full Version : 18F2320 and "fuse" settings



Brian
- 15th February 2005, 20:41
Anyone have any idea why the fuse setting for an 18f2320 using MPASM assembler will not recognize this statement.

@ __CONFIG _CONFIG3H, _MCLRE_OFF_3H & _PBAD_DIG_3H & _CCP2MX_C1_3H

I get the error below.

Overwriting previous address contents (0000)
Overwriting previous address contents (0001)

According to the P18F2320.inc file this should work and Melanie's example from another post.

Any help would be appreciate. Changing these settings everytime I program the chip is getting old.

Thanks,
Brian

mister_e
- 15th February 2005, 20:50
This is because PBP set some fuses for you... kinda default setting. You can remove those 'default setting' by opening the according .INC file in your PBP directory... not in Microchip,Mpasm,MPLAB or else.

just place a ; before every config line and save the file.

now you'll be in business ;)

For all my PIC i remove PBP default setting in .INC files.

Brian
- 15th February 2005, 20:52
thanks Bruce told me the same thing.

I appreciate the fast response. I will try it now.

Been scratching my head on this one for awhile. I hoped to find it myself but gave up today as you can see.

Brian
- 15th February 2005, 20:55
That got it. Thanks