config fuses w/MPASM


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2005
    Posts
    1,073

    Default config fuses w/MPASM

    I'm trying to convert to MPASM in order to use Darrel's Instant Interrupts.

    I have an existing app that compiled error free using PM and...
    Code:
    asm
            DEVICE PIC12F629, INTRC_OSC_NOCLKOUT	;4MHz INT OSC
            DEVICE PIC12F629, WDT_OFF		;WATCHDOG
            DEVICE PIC12F629, PWRT_ON		;POWER ON TIMER
            DEVICE PIC12F629, MCLR_OFF		;GPIO.3 = INPUT
            DEVICE PIC12F629, BOD_ON		;BROWNOUT RESET
            DEVICE PIC12F629, PROTECT_OFF		;CODE PROTECT
            DEVICE PIC12F629, CPD_OFF		;EEPROM PROTECT
    endasm
    I've changed the configuration to...
    Code:
    @ __config _INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_ON & _MCLRE_OFF & _BODEN_ON & _CP_OFF & _CPD_OFF
    and MCS now gives me this...
    Code:
    Error[118] c:\pbp]mr26x.asm 56: Overwriting previous address contents [2007]
    2007 is the address of the 12F629 CONFIG register.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Thank you.

Similar Threads

  1. 18F4550 Bootloader enter via eeprom setting
    By bradb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd November 2008, 23:51
  2. Error 0X0000008E when connecting a 18F2550 USB HID
    By FranciscoMartin in forum USB
    Replies: 8
    Last Post: - 16th October 2008, 17:20
  3. 18F Config fuses
    By Angus Anderson in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 18th December 2007, 15:59
  4. PortE problems (PIC18F4455)
    By RubenR in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 12th July 2006, 15:26
  5. Installation sequence
    By Demon in forum General
    Replies: 23
    Last Post: - 11th July 2006, 03:56

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