[218] Address Limit of 7FFh Exceeded


Closed Thread
Results 1 to 4 of 4
  1. #1
    Vando's Avatar
    Vando Guest

    Default [218] Address Limit of 7FFh Exceeded

    [218] Address Limit of 7FFh Exceeded

    I get this error when compiling, I have just crossed over the 2k barrier.
    I have a 16F648A which has 4k of program memory and I'm using PicBasic Pro Compiler 2.46.

    Can anyone tell me why I'm getting this error?

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Have you told the compiler the correct PIC you're using? 7FFh is 2k, so it looks like it thinks that's the limit.

  3. #3
    Vando's Avatar
    Vando Guest


    Did you find this post helpful? Yes | No

    Default

    This is the batch file i use to run PBP.

    Is there any reason why -p16F648A wouldn't work?

    Code:
    @echo off
    
    REM - File dir
    cd C:\Documents and Settings\Daniel\My Documents\Work\PIC\PicBasic Pro\projects\heat_main\
    
    REM - PIC - Programme name
    pbp -p16F648A main
    
    
    pause
    Last edited by Vando; - 5th September 2006 at 19:39.

  4. #4
    Vando's Avatar
    Vando Guest


    Did you find this post helpful? Yes | No

    Default

    I found the problem.

    I had copied

    @ DEVICE pic16F648A, INTRC_OSC_NOCLKOUT
    @ DEVICE pic16F648A, WDT_ON
    etc.

    from a pic16F628A example and had forgot to change the pic to a 16F648A.

Similar Threads

  1. Instant Interrupts - Revisited
    By Darrel Taylor in forum Code Examples
    Replies: 772
    Last Post: - 17th February 2016, 22:14
  2. Bit/Byte array for Hserin/Hserout
    By mrx23 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 1st September 2006, 23:07
  3. Jump into eeprom address
    By Lotondo in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 22nd April 2006, 18:29
  4. RF Transmitter
    By et_Fong in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th October 2005, 16:34
  5. 18f452 internal eprom help
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 13th July 2004, 15:50

Members who have read this thread : 1

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