srange warning


Closed Thread
Results 1 to 11 of 11

Thread: srange warning

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: srange warning

    Hi,

    Your code compiles fine for a 12LF1552 using PBP 3.0.8.4 and MPASM 5.45.

    I don't have 2.6C available to try with but it seems as if the warning is thrown by the assembler and not by the compiler. Googling a bit further suggests that the problem might be due to a corrupt or incompatiable .inc file for the device (that would be the .inc file in the MPASM folder, not in the PBP folder).

    You didn't say which version of MPASM you're using but I'd try updating or re-installing MPLAB. I'm attaching the p12LF1552.inc file from my MPASM installation (renamed to .txt to able to upload it). You could try replacing yours with this one and see if it helps.

    /Henrik.
    Attached Files Attached Files

  2. #2
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: srange warning

    Are you sure you chose the correct device to compile for? I saw this once when I accidentally changed devices and the new choice had less ram.

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: srange warning

    Hi !

    I don't know where I can see the version of MPASM.
    I use under (at the moment) 600 words when there is 2k in PIC12LF1552.
    And I will upgrade to PIC 3.0 very soon and I suspect that it can be a
    question of something that is amended in the latest version.

    keymuu

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: srange warning

    Hi,
    I don't know where I can see the version of MPASM.
    You can see which version of MPASM you're using in the progress window during the assembly process:
    Name:  MPASM 1.PNG
Views: 417
Size:  9.3 KB

    If, for some reason you don't see that you can always start the MPASM GUI application (MPASMWIN.exe) in the MPASM installation folder and see it there:
    Name:  MPASM 2.PNG
Views: 452
Size:  50.6 KB

    I use under (at the moment) 600 words when there is 2k in PIC12LF1552.
    Yes but are you sure that you're actually compiling for the 12LF1552 and not for another device, by mistake. Are you using MicroCodeStudio, do you have the 12LF1552 selected in the dropdown list?

    Before you upgrade to PBP3 (which I highly recommend anyway) you can try replacing the MPASM .inc file with the one in my previous post. Make sure you save the old one.

    /Henrik.

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: srange warning

    Hello,

    the version of MPASM is 5.39

    kind regards

    keymuu

  6. #6
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: srange warning

    Then I'd try an update of MPLAB.
    Go here and download a new version. I'm currently on v8.85 but I'd grab the last v8 there is (v8.92).

    /Henrik.

  7. #7


    Did you find this post helpful? Yes | No

    Default Re: srange warning

    Hi!

    I have now PBP 3.08 and MPLAB is something like 8.95, but I have a problem,
    my PBP3 is a "Trial Edition" and I don't understand why.

    When I installed PBP3 I did NOT check the empty checkbox between PBP3 and
    MPLAB not so far from the beginning of the installation.

    Maybe this is not the correct place for this question, if not then where should
    i address my question, to who or to what instans.

    keymuu

Similar Threads

  1. Warning !
    By lerameur in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th November 2010, 20:06
  2. Warning and Message
    By dhouston in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 10th September 2009, 16:57
  3. Mplab 8.20 warning
    By Acetronics2 in forum General
    Replies: 2
    Last Post: - 28th January 2009, 22:55
  4. Warning[202]
    By Del Tapparo in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 24th October 2008, 17:41
  5. warning message
    By pic beginner in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd July 2004, 02:53

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