18F25K20 osc setting problem


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Location
    The Netherlands
    Posts
    39


    Did you find this post helpful? Yes | No

    Default Re: 18F25K20 osc setting problem

    Thanks Dave,

    A lott of errors. like:

    (,) illegal character

    (_CONFIG1H) illegal opcode
    (_CONFIG2H) illegal opcode
    (_CONFIG3H) illegal opcode
    (_CONFIG4L) illegal opcode

    The 18F25K20 is the same as on the Amicus18 boards. I read about some problem with MPASM for this PIC.

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: 18F25K20 osc setting problem

    @Gevo What version of the compiler are you using?

    George

  3. #3
    Join Date
    Jul 2005
    Location
    The Netherlands
    Posts
    39


    Did you find this post helpful? Yes | No

    Default Re: 18F25K20 osc setting problem

    Hi George,

    PBP 2.60C
    MicroCode Studio 3.0.0.5
    MPASM ? I have MPLAB IDE v8.84

  4. #4
    Join Date
    Jul 2005
    Location
    The Netherlands
    Posts
    39


    Did you find this post helpful? Yes | No

    Default Re: 18F25K20 osc setting problem

    I have update MPLAB IDE to v8.92

    So, MPASM is now v5.51

    I think this is the last version of MPLAB IDE

  5. #5
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: 18F25K20 osc setting problem

    Gevo, This compiles just fine for me.

    #CONFIG
    __CONFIG _CONFIG1H, _FOSC_INTIO67_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
    __CONFIG _CONFIG2H, _WDTEN_ON_2H & _WDTPS_512_2H
    __CONFIG _CONFIG3H, _CCP2MX_PORTC_3H & _PBADEN_OFF_3H & _LPT1OSC_OFF_3H & _HFOFST_ON_3H & _MCLRE_ON_3H
    __CONFIG _CONFIG4L, _STVREN_ON_4L & _LVP_OFF_4L & _XINST_OFF_4L
    #ENDCONFIG

    In fact I use MPLAB 8.73a
    I am how ever using PBPX 3.0.7.4
    Dave Purola,
    N8NTA
    EN82fn

  6. #6
    Join Date
    Jul 2005
    Location
    The Netherlands
    Posts
    39


    Did you find this post helpful? Yes | No

    Default Re: 18F25K20 osc setting problem

    Hi Dave,

    Thanks for your input. This give errors for PBP Pro...

    error (122) Illegal opcode (_CONFIG1H)
    error (122) Illegal opcode (_CONFIG2H)
    error (122) Illegal opcode (_CONFIG3H)
    error (122) Illegal opcode (_CONFIG4L)

    If have plans to upgrade to PBP3 :-)

  7. #7


    Did you find this post helpful? Yes | No

    Default Re: 18F25K20 osc setting problem

    I think the #CONFIG syntax was introduced with v3.

    George

  8. #8


    Did you find this post helpful? Yes | No

    Default Re: 18F25K20 osc setting problem

    @Gevo What version of the compiler are you using?

    George

Similar Threads

  1. DEFINE OSC Serout problem
    By Bonxy in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 10th April 2010, 17:19
  2. 18F25K20 and EEPROM - Bug ???
    By BigWumpus in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 2nd March 2009, 21:14
  3. 18F25K20 & ANSEL = Error
    By BigWumpus in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th December 2008, 02:36
  4. 18f2550 USB OSC Problem
    By serkanc in forum USB
    Replies: 10
    Last Post: - 29th October 2008, 20:52
  5. Setting OSC pins to o/p's
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 20th October 2005, 21:34

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

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