16F88 MPASM Fuses


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382

    Question 16F88 MPASM Fuses

    I have read through all the info on the forum about setting fuses when using the MPASM assembler.

    I'm still getting an error when I uncomment them. I have gone into the 16F88.inc file and followed the note about setting fuses, which is:

    ; To use the Configuration Bits, place the following lines in your source code
    ; in the following format, and change the configuration value to the desired
    ; setting (such as CP_OFF to CP_ALL). These are currently commented out here
    ; and each __CONFIG line should have the preceding semicolon removed when
    ; pasted into your source code.

    ;Program Configuration Register 1
    ; __CONFIG _CONFIG1, _CP_OFF & _CCP1_RB0 & _DEBUG_OFF & _WRT_PROTECT_OFF & _CPD_OFF & _LVP_OFF & _BODEN_OFF & _MCLR_OFF & _PWRTE_OFF & _WDT_OFF & _HS_OSC

    ;Program Configuration Register 2
    ; __CONFIG _CONFIG2, _IESO_OFF & _FCMEN_OFF

    This is what I have in my program:

    ;Program Configuration Register 1
    @ __CONFIG _CONFIG1, _CP_OFF & _CCP1_RB0 & _DEBUG_OFF & _WRT_PROTECT_OFF & _CPD_OFF & _LVP_OFF & _BODEN_OFF & _MCLR_OFF & _PWRTE_OFF & _WDT_OFF & _HS_OSC
    ;Program Configuration Register 2
    @ __CONFIG _CONFIG2, _IESO_OFF & _FCMEN_OFF

    Still no joy, I get two error when the above is uncommented. BTW I have tried adjusting the spacing but nothing changed. Thoughts?

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


    Did you find this post helpful? Yes | No

    Default

    What do the Error's say?
    <br>
    DT

  3. #3
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    Not real sure how to check. I get the popup and then it disappears.

    This is my first go round with MPASM.

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


    Did you find this post helpful? Yes | No

    Default

    Open the .LST file with the same name as your program with NotePad, and search for ERROR.

  5. #5
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    The only two things that seem remotely relavent is:

    Error[118] : Overwriting previous address contents (2007)
    Error[118] : Overwriting previous address contents (2007)

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


    Did you find this post helpful? Yes | No

    Default

    You just need to comment out the existing __CONFIG line in the 16f88.inc file in the PBP folder.

    Those default settings always get in the way.

    DT

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. old chestnut, 18f2550, fuses, osc's leds...
    By f_lez in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 31st October 2009, 17:18
  3. 18F Config fuses
    By Angus Anderson in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 18th December 2007, 15:59
  4. Converting to MPASM
    By btaylor in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 4th November 2005, 01:35
  5. 4 line LCD with 16F88
    By anj in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 7th February 2004, 09:06

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