PBP 2.60 upgrade and 18F4550


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Location
    Ohio, USA
    Posts
    57


    Did you find this post helpful? Yes | No

    Default

    Ok I changed them all to _FCMEN.

    Now my led does not blink anymore...but the error is gone!

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Mike2545 View Post
    Ok I changed them all to _FCMEN.
    That is what you had ??
    Error[113] c:\pbp\18f4550.inc 21 : Symbol not previously defined (_FCMEN_OFF_1H)
    Now my led does not blink anymore...but the error is gone!
    You code appears that you want to use the internal OSC but the configs show an external.

    Try this
    _FOSC_INTOSC_HS_1H
    in place of
    _FOSC_HSPLL_HS_1H

    You can go to the MPASM Suite in program files\microchip, look at the *.inc file there to see all of the config options. Do not modify that file.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jul 2009
    Location
    Ohio, USA
    Posts
    57


    Did you find this post helpful? Yes | No

    Default

    You code appears that you want to use the internal OSC but the configs show an external.

    Try this
    _FOSC_INTOSC_HS_1H
    in place of
    _FOSC_HSPLL_HS_1H

    You can go to the MPASM Suite in program files\microchip, look at the *.inc file there to see all of the config options. Do not modify that file.
    Thank a bunch...I changed the MPASM file back to FCMEM and made the PBP .INC to match, also set it to the internal OSC as you showed.

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


    Did you find this post helpful? Yes | No

    Default

    Are you up and running now?
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Jul 2009
    Location
    Ohio, USA
    Posts
    57


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Are you up and running now?
    Yes, I am...I also put in _FOSC_INTOSCIO_EC_1H so I can use PortA.6 as a digital I/O

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


    Did you find this post helpful? Yes | No

    Default

    Cool!!!
    Dave
    Always wear safety glasses while programming.

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