What is this error : Address Limit of FFFh Exceeded


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    747

    Default What is this error : Address Limit of FFFh Exceeded

    C:\PBP>pbpw -p16f88 charge.bas
    PICBASIC PRO(TM) Compiler 2.60, (c) 1998, 2009 microEngineering Labs, Inc.
    All Rights Reserved.
    PM Assembler 4.08, Copyright (c) 1995, 2006 microEngineering Labs, Inc.
    Warn C:\PBP\CHARGE.ASM 468 : [102] Code Crosses Boundary @ 800h
    Error C:\PBP\CHARGE.ASM 959 : [218] Address Limit of FFFh Exceeded
    Error C:\PBP\CHARGE.ASM 960 : [218] Address Limit of FFFh Exceeded
    Error C:\PBP\CHARGE.ASM 960 : [218] Address Limit of FFFh Exceeded
    Error C:\PBP\CHARGE.ASM 960 : [218] Address Limit of FFFh Exceeded
    Error C:\PBP\CHARGE.ASM 961 : [218] Address Limit of FFFh Exceeded
    Error C:\PBP\CHARGE.ASM 961 : [218] Address Limit of FFFh Exceeded
    Error C:\PBP\CHARGE.ASM 961 : [218] Address Limit of FFFh Exceeded
    Error C:\PBP\CHARGE.ASM 962 : [218] Address Limit of FFFh Exceeded
    Error C:\PBP\CHARGE.ASM 962 : [218] Address Limit of FFFh Exceeded
    Error C:\PBP\CHARGE.ASM 962 : [218] Address Limit of FFFh Exceeded
    Error C:\PBP\CHARGE.ASM 963 : [218] Address Limit of FFFh Exceeded
    Error C:\PBP\CHARGE.ASM 963 : [218] Address Limit of FFFh Exceeded
    Error C:\PBP\CHARGE.ASM 963 : [218] Address Limit of FFFh Exceeded
    Error C:\PBP\CHARGE.ASM 964 : [218] Address Limit of FFFh Exceeded
    Error C:\PBP\CHARGE.ASM 964 : [218] Address Limit of FFFh Exceeded
    Fatal C:\PBP\CHARGE.ASM 964 : [300] Too Many Errors


    K

  2. #2
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    Ok I found it, exceeded the memory of the chip
    I used the 16f877a, but now I am getting errors that it do not recognize, the INTRC_OSC, CCPMX_ON, MCLR_ON mode......

    K

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hello again,
    If you open up the file P16F877A.inc found in the microchip\mpasm.suite you will find (all / only) the configs that work for that chip, as well as every possible register. Every PIC has such a file there.
    The error is just saying that that config is unsupported.
    Last edited by Archangel; - 24th November 2010 at 20:18.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  4. #4
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    I am thinking of using the PIC16F2455 because it has a lot more memory, and I am running out of it on the pic16F88. I never used the PIB18 series, is it the to program or is it much harder ? I am going a project for a christmas gift, I dont have time to learn a new technology.

  5. #5
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Keep track of your gosub / return and gotos so you do not get stack overflow or underflows a return should only be approached from a gosub and gosub should always be terminated with return. You should not make word vars unless you actually need them, so as to save memory space. When you post a project, you will make it far easier to debug if you include ALL the code including the setup code, configs and variables. If you do not need IF/THEN/ELSE/ENDIF use a simple IF/THEN
    one liner to save memory.
    18F chips MAY require a programmer upgrade, I found my JDM did not work and had to buy PICKit2.
    Last edited by Archangel; - 25th November 2010 at 03:48.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  6. #6
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    Hi well i will post the full 500 line program tomorrow.
    As for the programmer I use the Olimex programmer with usb connection. works great with the 16F series says it works with the 18F too but never tried it. just wandering if the programming if the ports is much di8fferent..
    ken

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