Unable to set fuses on 16F676


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2009
    Location
    London
    Posts
    251

    Question Unable to set fuses on 16F676

    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)
    Last edited by Megahertz; - 1st January 2010 at 20:35.

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    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>
    DT

  3. #3
    Join Date
    Nov 2009
    Location
    London
    Posts
    251


    Did you find this post helpful? Yes | No

    Question

    Thank you master.
    It's sorted.

  4. #4
    Join Date
    Oct 2011
    Location
    Bangladesh/Dhaka
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re: Unable to set fuses on 16F676

    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)




Similar Threads

  1. Pin won't stay high during Repeat...Until loop??
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 16th August 2009, 23:57
  2. Interruptus Frustratus
    By Byte_Butcher in forum General
    Replies: 16
    Last Post: - 17th April 2009, 20:36
  3. 16F628A - Stops if release power switch.
    By dene12 in forum General
    Replies: 16
    Last Post: - 14th February 2009, 07:57
  4. MicroCode Studio & WINPIC - fuses not set correctly
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 29th November 2007, 12:18
  5. error on compiling
    By parker in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th June 2005, 14:31

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts