View Full Version : [218] Address Limit of 7FFh Exceeded
Vando
- 5th September 2006, 07:51
[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?
Melanie
- 5th September 2006, 11:13
Have you told the compiler the correct PIC you're using? 7FFh is 2k, so it looks like it thinks that's the limit.
Vando
- 5th September 2006, 11:24
This is the batch file i use to run PBP.
Is there any reason why -p16F648A wouldn't work?
@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
Vando
- 6th September 2006, 04:27
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.
Powered by vBulletin® Version 4.1.7 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.