Config error.


+ Reply to Thread
Results 1 to 4 of 4

Thread: Config error.

  1. #1
    Join Date
    Dec 2013
    Posts
    3

    Default Config error.

    Hi all, i have a problems when I try to use a external oscillator.
    in the pic 12f683 I'm using the next instruction for use a HS oscillator:

    @__CONFIG_ _HS_OSC;

    and in the 16f88 I'm using this:

    @ CONFIG CONFIG1, HS OSC;
    @ CONFIG CONFIG2, IESO OFF & FCMEN OFF;

    when I compile in both programs send an error message like this:

    __CONFIG directives cannot be used with CONFIG directives

    Someone know what i'm doing wrog?

    a lot of Thanks.

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,256

    Default Re: Config error.

    Which version of PBP and assembler do you use?

    Robert

    Edit: http://www.picbasic.co.uk/forum/showthread.php?t=543
    Last edited by Demon; - 15th December 2013 at 04:19. Reason: link

  3. #3
    Join Date
    Dec 2013
    Posts
    3

    Default Re: Config error.

    I'm using MPASM in microcode, I already correct that error, but now i have another problem, I use this instruction:

    @ include "p16f88.inc"
    @ __CONFIG _CONFIG1, _HS_OSC

    @ include "p16f88.inc"
    @ __CONFIG _CONFIG1, _HS_OSC;

    in both programs apppear this error:

    Overwritting previous adress contents (2007)

    Do you know how to fix it?

    Thanks

  4. #4
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,817

    Default Re: Config error.

    Quote Originally Posted by Gerardo View Post
    I'm using MPASM in microcode, I already correct that error, but now i have another problem, I use this instruction:

    @ include "p16f88.inc"
    @ __CONFIG _CONFIG1, _HS_OSC

    @ include "p16f88.inc"
    @ __CONFIG _CONFIG1, _HS_OSC;

    in both programs apppear this error:

    Overwritting previous adress contents (2007)

    Do you know how to fix it?

    Thanks
    Since you have already found this thread: http://www.picbasic.co.uk/forum/showthread.php?t=543
    I would suggest you go back and read it, paying special attention to post 5
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. ERROR line 90: Sintax error----> [TabIndex]
    By martintorres in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 9th September 2012, 04:29
  2. Replies: 1
    Last Post: - 30th March 2012, 04:13
  3. Config Error message
    By sinoteq in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 12th July 2010, 11:08
  4. Compiler Error EMM Command line in Config.nt
    By Boots in forum FAQ - Frequently Asked Questions
    Replies: 2
    Last Post: - 16th February 2005, 05:32
  5. Compiler Error: EMM Comand Line in Config.nt
    By Boots in forum mel PIC BASIC
    Replies: 0
    Last Post: - 13th February 2005, 04:37

Posting Permissions

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