PBP - 18F2220 Warning


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    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

  2. #2
    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, 13:55
  2. PIC16F690 PBP boundary crossing warning message
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 9th May 2008, 12: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, 20:01
  4. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th December 2005, 00:30
  5. PBP / XP Crash
    By pondindustrial in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 27th November 2005, 04: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