PBP - 18F2220 Warning


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2007
    Posts
    4

    Default PBP - 18F2220 Warning

    I just upgrated to MicroCode Studio PLus(V2.3.0.0) and PBP 2.47. Now when I complie for my PIC18F2220 I get a warning--
    "Warning [221] c:/pbp/18f2220.inc 18:Invalid message number(23)"

    Any ideas?

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by DenFrod View Post
    I just upgrated to MicroCode Studio PLus(V2.3.0.0) and PBP 2.47. Now when I complie for my PIC18F2220 I get a warning--
    "Warning [221] c:/pbp/18f2220.inc 18:Invalid message number(23)"

    Any ideas?
    So show us the line that's generating the error...

  3. #3
    Join Date
    Feb 2007
    Posts
    4


    Did you find this post helpful? Yes | No

    Default

    I can't as I don not know. The program 'END' is line 121 and there are no other errors. Thanks

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by DenFrod View Post
    I can't as I don not know. The program 'END' is line 121 and there are no other errors. Thanks
    Well then start commenting out lines until the error goes away...
    Or do something crazy like look in the datasheets for the assembler (whether it's PM or MPASM) and figure out what Warning 221 means...

  5. #5
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289


    Did you find this post helpful? Yes | No

    Talking

    Inside the file 18F2220.INC you can find line 18:

    LIST p = 18F2220, r = dec, w = -311, w = -230, f = inhx32

    (look at the warning message!)

    Maybe you are using an old version of the MPASM ? Maybe this old version of MPASM doesn't know message 311 or 230 ?
    PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2

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


    Did you find this post helpful? Yes | No

    Default

    MPASM warning #221 = Invalid message number.

    The message number specified for displaying or hiding is not a valid
    message number.

    You either have w = -23 in your header file, or as BigWumpus already
    mentioned, you have an old version of MPASM that doesn't recognize
    the warning message this entry (w = -230) is trying to disable.

    It should look like this;

    LIST p = 18F2220, r = dec, w = -311, w = -230, f = inhx32

    If that causes an error, then you should update to a newer version of
    the MPASM assembler.
    Regards,

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

Similar Threads

  1. PBP Book
    By Bruce in forum Off Topic
    Replies: 83
    Last Post: - 4th October 2021, 12:55
  2. PIC16F690 PBP boundary crossing warning message
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 9th May 2008, 11:17
  3. Compiler differences between PBP 2.33 & 2.46
    By nikopolis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd May 2006, 19:01
  4. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th December 2005, 23:30
  5. PBP / XP Crash
    By pondindustrial in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 27th November 2005, 03:16

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