18F2550 Compile problem


Closed Thread
Results 1 to 5 of 5
  1. #1

    Default 18F2550 Compile problem

    I trie to compile the example program, USBCDC but i get the following error:

    Warning[230]c:\pbp\18f2550.inc 20: __CONFIG has been deprected for PIC18 devices. Use directive CONFIG.

    Can anybody tell me what to do?

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    This is not an error, just a warning.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,604


    Did you find this post helpful? Yes | No

    Default

    Hi,
    First of all you need to use MPASM for the 18X series, so switch to that if you haven't allready. Then have a look here:

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

    Specificly the post from Steve (mister_e) on 29th october -05.

    The latest version of PBP (2.47) hides that warning but I think it's best to get used to the new way Microchip wants it.

    Hope it helps!
    /Henrik Olsson.

  4. #4
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by NL2TTL
    I trie to compile the example program, USBCDC but i get the following error:

    Warning[230]c:\pbp\18f2550.inc 20: __CONFIG has been deprected for PIC18 devices. Use directive CONFIG.

    Can anybody tell me what to do?
    Its not an ERROR otherwise it would say "Error".

    Its a WARNING that the syntax you are using to declare the configuration has been superceeded by a "new improved" version.

    At the moment both methods work but in a later version of the assembler your declaration may no longer be supported.

    There are several threads covering the topic.

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

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

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

    Hope that helps
    Keith

    www.diyha.co.uk
    www.kat5.tv

  5. #5


    Did you find this post helpful? Yes | No

    Default

    After a few modification on the include file the pic is up and running again.
    Thank you all

Similar Threads

  1. Problem to compile my program
    By wagner in forum Off Topic
    Replies: 5
    Last Post: - 7th July 2008, 20:17
  2. Array problem (18F2550)
    By Ronald123 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th January 2008, 18:47
  3. 18F2550 MCRL/RE3 problem with USB bootloader Microchip
    By Ronald123 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 24th September 2007, 10:48
  4. Problem with A port on 18F2550
    By NL2TTL in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 9th May 2007, 22:59
  5. PIC18F452 Compile Problem
    By scottl in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 21st October 2006, 10:47

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