'DEFINE OSC 8' seems to be ignored by PBP ?


Closed Thread
Results 1 to 19 of 19

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    So, anybody understand why the preferred Microchip config method gave me an error ?
    Nope, I do not understand it but there are lots of things I do not understand. I just know that the new way does not work well for me when I tried it a time or two so I figure why fight it. Use the way that has worked for years.

    Maybe it is something for a later version of MPASM?
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Hi, Dave

    Just found µChip writes :

    Code:
    @ CONFIG BOR = ON, PWRT = ON, BORV = 27
    With spaces around " = " sign ...

    too weak to give a decent conclusion...

    BTW ... I found a nice tool in the MPLAB Help ... Config values tables for the 18x series !!!
    but none for 10,12 and 16 Series

    Alain
    Last edited by Acetronics2; - 25th May 2010 at 14:50.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Thanks Alain.
    I will give it a try later. But as you mentioned to our masked friend.
    If it is not broke do not try fixing it.

    Looks like a cleaner way though...
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    The new style config directives can't be inserted directly into your code. These only
    work when in the default PBP device include files.

    See post #3 in this thread; http://www.picbasic.co.uk/forum/showthread.php?t=9145&
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Hi, Bruce,

    Thanks for the tip ...

    [Humour ON]

    So, If I understand it well ...

    When we want non-defaults Configs through PbP, we have to comment the .inc relevant lines ...

    And if we want to use the new configs with PbP, we have to re-install them into those .inc files ...

    Did I get It correctly ???

    [Humour OFF]

    Regards
    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Thanks Bruce!
    I like the configs in code space so it looks like the old way is the way for now.
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Nov 2008
    Posts
    96


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Thanks Bruce!
    I like the configs in code space so it looks like the old way is the way for now.
    FWIW I like it in my code space too, I miss enough stuff now without hiding more info in INCs. So I guess it's the _config method for a while longer :-)
    Martin

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