config


Closed Thread
Results 1 to 13 of 13

Thread: config

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Posts
    59

    Default config

    Can anyone tell me why this does not work?

    I started with "@ DEVICE MCLRE_OFF, INTRC_OSC, WDT_OFF, LVP_OFF, BOD_OFF, PWRT_ON, PROTECT_OFF" in PBP2.50 and need to know the proper syntax for PBP3?

    #config
    __config _MCLR_OFF & _INTRC_OSC & _PROTECT_ON & _WDT_OFF & _BOD_OFF & _PWRT_OFF
    #endconfig

    Thanks

    Roger

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


    Did you find this post helpful? Yes | No

    Default Re: config

    Post all your code and model of PIC.

    What errors do you get? How does it "not work"?

    Robert

  3. #3
    Join Date
    Mar 2008
    Posts
    59


    Did you find this post helpful? Yes | No

    Default Re: config

    Quote Originally Posted by Demon View Post
    Post all your code and model of PIC.

    What errors do you get? How does it "not work"?

    Robert
    I am using a 16f628a. I was unable to compile because of undefined symbol "INTRC_OSC"

    this seems to work
    #config
    __config _INTOSC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_OFF & _LVP_OFF & _CP_ON
    #endconfig



    I was having problems with the "INTOSC_OSC_NOCLKOUT" in PBP2.5 this was "INTRC_OSC". I would like to see a list of all of these changes if anyone know where to find them?

    Thank you very much for your reply Robert!

    Roger

  4. #4
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default Re: config

    Have you read this?

    http://www.picbasic.co.uk/forum/showthread.php?t=543

    Did you change to MPASM instead of PM?

    Robert

  5. #5
    Join Date
    Mar 2008
    Posts
    59


    Did you find this post helpful? Yes | No

    Default Re: config

    I just received my new PBP3 and this documents seems to say that the PM assembler is no longer supported?

    http://pbp3.com/downloads/Migrating%...0to%20PBP3.pdf

    Please take a look and tell me I am wrong. I have used PBP for many years and change is not my favorite thing

    Thanks for all of your help!

    Roger

  6. #6
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default Re: config

    PM is now "extinct".

    You have to download MPLAB X (I think), and then point to MPASM.

    You don't have to use MPLAB, you only need the new assembler.

    Robert


    Edit:
    http://www.picbasic.co.uk/forum/showthread.php?t=18520
    Last edited by Demon; - 1st June 2014 at 03:51.

Similar Threads

  1. PIC12F675 - config
    By Vezito in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th June 2011, 20:29
  2. Config 18F25K22
    By mpardinho in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th April 2011, 19:08
  3. config help please?
    By karenhornby in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 17th June 2008, 23:49
  4. Need help with config
    By Darrenmac in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 25th February 2008, 06:57
  5. Config 16F873A
    By mpardinho in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd October 2007, 12:18

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