CONFIGS? setting PIC fuses? Configurations of Hardware settings of a PIC.


Results 1 to 18 of 18

Threaded View

  1. #17
    Join Date
    Dec 2012
    Location
    Tennessee
    Posts
    262


    Did you find this post helpful? Yes | No

    Question Re: CONFIGS? setting PIC fuses? Configurations of Hardware settings of a PIC.

    OK, Found problem with my fuses, not an issue till I decided to try a resonator with my 18F4550

    When I go to set fuses, I only have 4 options, where I should have 12.

    In my MPASM folder INC file for 18F4550

    ;----- CONFIG1H Options --------------------------------------------------
    _FOSC_XT_XT_1H EQU H'F0' ; XT oscillator (XT)
    _FOSC_XTPLL_XT_1H EQU H'F2' ; XT oscillator, PLL enabled (XTPLL)
    _FOSC_ECIO_EC_1H EQU H'F4' ; EC oscillator, port function on RA6 (ECIO)
    _FOSC_EC_EC_1H EQU H'F5' ; EC oscillator, CLKO function on RA6 (EC)
    _FOSC_ECPLLIO_EC_1H EQU H'F6' ; EC oscillator, PLL enabled, port function on RA6 (ECPIO)
    _FOSC_ECPLL_EC_1H EQU H'F7' ; EC oscillator, PLL enabled, CLKO function on RA6 (ECPLL)
    _FOSC_INTOSCIO_EC_1H EQU H'F8' ; Internal oscillator, port function on RA6, EC used by USB (INTIO)
    _FOSC_INTOSC_EC_1H EQU H'F9' ; Internal oscillator, CLKO function on RA6, EC used by USB (INTCKO)
    _FOSC_INTOSC_XT_1H EQU H'FA' ; Internal oscillator, XT used by USB (INTXT)
    _FOSC_INTOSC_HS_1H EQU H'FB' ; Internal oscillator, HS oscillator used by USB (INTHS)
    _FOSC_HS_1H EQU H'FC' ; HS oscillator (HS)
    _FOSC_HSPLL_HS_1H EQU H'FE' ; HS oscillator, PLL enabled (HSPLL)
    in my PBP folder INC for 18F4550

    NOLIST
    ifdef PM_USED
    LIST
    "Error: PM does not support this device. Use MPASM."
    NOLIST
    else
    LIST
    LIST p = 18F4550, r = dec, w = -311, w = -230, f = inhx32
    INCLUDE "P18F4550.INC" ; MPASM Header
    __CONFIG _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
    __CONFIG _CONFIG1H, _FOSC_INTOSC_HS_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
    __CONFIG _CONFIG2L, _PWRT_OFF_2L & _BOR_OFF_2L & _BORV_3_2L & _VREGEN_ON_2L
    __CONFIG _CONFIG2H, _WDT_OFF_2H & _WDTPS_512_2H
    __CONFIG _CONFIG3H, _CCP2MX_ON_3H & _PBADEN_OFF_3H & _LPT1OSC_OFF_3H & _MCLRE_OFF_3H
    __CONFIG _CONFIG4L, _STVREN_ON_4L & _LVP_OFF_4L & _ICPRT_OFF_4L & _XINST_OFF_4L
    NOLIST
    endif
    LIST
    EEPROM_START EQU 0F00000h
    BLOCK_SIZE EQU 32
    However in my programmer it only shows 4 options for OSC settings

    HS OSC with PLL, HS used by USB
    HS OSC, HS used by USB
    INT OSC, HS used by USB <-- Default Selected Item See the INC file in PBP
    INT OSC, XT used by USB
    How do I get it to show me XT's and the other missing items in my list so I can select XT to use with my resonator?

    ADD ON NOTE:

    in my programmer software it has the list of chips in a file , here the line from the 4550 chip for defineing the OSC options

    LIST5 FUSE1 "Oscillator" "HS OSC w/PLL, HS used by USB"=FFFF "HS osc, HS used by USB"=FCFF "Intrn osc, HS used by USB"=FBFF "Intrn osc, XT used by USB"=FAFF
    as you can see it only shows 4 items, so i'm guessing thats why i only have 4.

    now on the same file the 4480 uses this line

    "LP Osc"=F0FF "XT Osc"=F1FF "HS Osc"=F2FF "Ext RC"=F3FF "EC Osc"=F4FF "EC Port RA6"=F5FF "HSPLL"=F6FF "Ext RC"=F7FF "Int OSC"=F8FF "Int OSC Clk RA6 PortB"=F9FF "Int Osc Clk RA6"=FBFF "Int Osc Clk RA6"=FCFF
    So question is, what FXXX do I use for adding these in manually, as I figure there not universal to all chips.
    Last edited by wdmagic; - 15th March 2013 at 23:47.

Similar Threads

  1. IR trasmitter using PIC 16F84 and NE555
    By tonixxx in forum mel PIC BASIC
    Replies: 1
    Last Post: - 27th December 2012, 01:55
  2. How do I program a pic to accept inputs?
    By timbear3 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 2nd December 2012, 01:35
  3. Replies: 7
    Last Post: - 20th November 2012, 20:41
  4. Which pic? up to date basic chip for 16f877
    By tasmod in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 19th November 2012, 12:26
  5. How not to prototype your next PIC project
    By SteveB in forum General
    Replies: 3
    Last Post: - 12th November 2012, 10:35

Members who have read this thread : 0

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