PDA

View Full Version : Unable to set fuses on 16F676



Megahertz
- 1st January 2010, 20:23
Hi, I am having problem setting configuration fuses on 16F676
I am using MPLAB with PBP. The following statement works normally on other PICs according to their settings but on 676 it is giving errors

@ __CONFIG _XT & _WDTE_ON & _PWRTE_ON & _MCLRE_OFF & _BODEN_ON & _CP_ON & _CPD_ON

Errors are:

Error[113] D:........ Symbol not previously defined (_XT)
Error[113] D:........ Symbol not previously defined (_WDTE_ON)
Error[113] D:.........Symbol not previously defined (_BODEN_ON)
Error[113] D:.........Symbol not previously defined (_CP_ON)
Error[113] D:........ Symbol not previously defined (_CPD_ON)

Darrel Taylor
- 1st January 2010, 20:42
Open C:\Program Files\Microchip\MPASM Suite\P16F676.INC with NotePad.

Scroll to the bottom of the file, and you will see the correct names for the config bits.
<br>

Megahertz
- 2nd January 2010, 00:26
Thank you master.
It's sorted.

zakariababu
- 19th January 2012, 18:21
Hi,
Some body can help me this error massages MPLAB 8.60v?

processor 16F676
#include <P16F676.INC>
__config 0x3F4C
; _CPD_OFF & _CP_ON & _BODEN_ON & _MCLRE_OFF & _PWRTE_ON & _WDT_ON
; & _INTRC_OSC_NOCLKOUT
Error[113] : Symbol not previously defined (LADR_0x03FF)
Error[113] : Symbol not previously defined (LADR_0x03FF)
Error[113] : Symbol not previously defined (SFR_0x11)
Error[113] : Symbol not previously defined (SFR_0x11)