PDA

View Full Version : config fuses w/MPASM



dhouston
- 30th July 2006, 16:23
I'm trying to convert to MPASM in order to use Darrel's Instant Interrupts.

I have an existing app that compiled error free using PM and...
asm
DEVICE PIC12F629, INTRC_OSC_NOCLKOUT ;4MHz INT OSC
DEVICE PIC12F629, WDT_OFF ;WATCHDOG
DEVICE PIC12F629, PWRT_ON ;POWER ON TIMER
DEVICE PIC12F629, MCLR_OFF ;GPIO.3 = INPUT
DEVICE PIC12F629, BOD_ON ;BROWNOUT RESET
DEVICE PIC12F629, PROTECT_OFF ;CODE PROTECT
DEVICE PIC12F629, CPD_OFF ;EEPROM PROTECT
endasm
I've changed the configuration to...
@ __config _INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_ON & _MCLRE_OFF & _BODEN_ON & _CP_OFF & _CPD_OFF
and MCS now gives me this...
Error[118] c:\pbp]mr26x.asm 56: Overwriting previous address contents [2007]
2007 is the address of the 12F629 CONFIG register.

mister_e
- 30th July 2006, 16:26
http://www.picbasic.co.uk/forum/showpost.php?p=6775&postcount=5

dhouston
- 30th July 2006, 16:38
Thank you.