setting config fuses not working


Results 1 to 7 of 7

Threaded View

  1. #4
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: setting config fuses not working

    Hi queenidog.

    You will have to pick either one, but not both.

    Either use

    #config
    __CONFIG _INTRC_OSC_NOCLKOUT
    #endconfig

    or

    #config
    __CONFIG _INTOSC_OSC_NOCLKOUT
    #endconfig

    Depending on which one you want to use, probably INTOSC.

    The options Are:

    ; __CONFIG labels for PIC16F628A:
    ;
    ;CONFIG Options
    ;
    ; Oscillator Selection bits
    ; _RC_OSC_CLKOUT ;RC oscillator: CLKOUT function on RA6/OSC2/CLKOUT pin, Resistor and Capacitor on RA7/OSC1/CLKIN
    ; _ER_OSC_CLKOUT ;RC oscillator: CLKOUT function on RA6/OSC2/CLKOUT pin, Resistor and Capacitor on RA7/OSC1/CLKIN
    ; _RC_OSC_NOCLKOUT ;RC oscillator: I/O function on RA6/OSC2/CLKOUT pin, Resistor and Capacitor on RA7/OSC1/CLKIN
    ; _ER_OSC_NOCLKOUT ;RC oscillator: I/O function on RA6/OSC2/CLKOUT pin, Resistor and Capacitor on RA7/OSC1/CLKIN
    ; _INTOSC_OSC_CLKOUT ;INTOSC oscillator: CLKOUT function on RA6/OSC2/CLKOUT pin, I/O function on RA7/OSC1/CLKIN
    ; _INTRC_OSC_CLKOUT ;INTOSC oscillator: CLKOUT function on RA6/OSC2/CLKOUT pin, I/O function on RA7/OSC1/CLKIN
    ; _INTOSC_OSC_NOCLKOUT ;INTOSC oscillator: I/O function on RA6/OSC2/CLKOUT pin, I/O function on RA7/OSC1/CLKIN
    ; _INTRC_OSC_NOCLKOUT ;INTOSC oscillator: I/O function on RA6/OSC2/CLKOUT pin, I/O function on RA7/OSC1/CLKIN
    ; _EXTCLK_OSC ;EC: I/O function on RA6/OSC2/CLKOUT pin, CLKIN on RA7/OSC1/CLKIN
    ; _HS_OSC ;HS oscillator: High-speed crystal/resonator on RA6/OSC2/CLKOUT and RA7/OSC1/CLKIN
    ; _XT_OSC ;XT oscillator: Crystal/resonator on RA6/OSC2/CLKOUT and RA7/OSC1/CLKIN
    ; _LP_OSC ;LP oscillator: Low-power crystal on RA6/OSC2/CLKOUT and RA7/OSC1/CLKIN
    Last edited by ScaleRobotics; - 21st April 2012 at 18:24.
    http://www.scalerobotics.com

Members who have read this thread : 0

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

Tags for this Thread

Posting Permissions

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