gnupic: Re: [gnupic] org H'2100', EEPROM and "Warnung:Address exceeds maximum range for this processor."


Previous by date: 28 Oct 2007 17:47:31 +0000 Re: [gnupic] org H'2100', EEPROM and "Warnung:Address exceeds maximum range for this processor.", David
Next by date: 28 Oct 2007 17:47:31 +0000 gputils CVS->SVN, David
Previous in thread: 28 Oct 2007 17:47:31 +0000 Re: [gnupic] org H'2100', EEPROM and "Warnung:Address exceeds maximum range for this processor.", David
Next in thread:

Subject: Re: [gnupic] =?utf-8?q?org=09H=272100=27?=, EEPROM and "Warnung:Address exceeds maximum range for this processor."
From: ####@####.####
Date: 28 Oct 2007 17:47:31 +0000
Message-Id: <200710281845.26816.ttww@gmx.de>

Am Sonntag, 28. Oktober 2007 schrieb David:
> On Sun, 28 Oct 2007 12:58:14 +0100
....
> Now that I think about it, could you pass along a little more info?
> What directives are you actually using to declare the data (e.g.
> 'DATA'), and do you get a warning with just an empty 'ORG' (no data)?
>
OK, here a stripped down example:

----snip----snip----snip----snip----snip----snip----snip----snip----snip----snip----snip----snip----snip	
	;list      	p=12F675
	#include 	<p12f675.inc>

	__CONFIG  _CP_OFF & _WDT_OFF & _BODEN_ON & _PWRTE_ON & _INTRC_OSC_NOCLKOUT & 
_MCLRE_OFF & _CPD_OFF

	;---------------------------------------------------------------------
	org		0x000		; start of program memory (reset-vector)
	;---------------------------------------------------------------------

start:
	goto	start		; endless loop...


	;---------------------------------------------------------------------
	org	H'2100'			; EEPROM-Data:
	;---------------------------------------------------------------------

	DE	"Hello world..."
		
end

----snip----snip----snip----snip----snip----snip----snip----snip----snip----snip----snip----snip----snip	

Compiled with:
	gpasm -c  -pp12f675 -w0 demo.asm

I got these messages:
demo.asm:19:Warning [220] Address exceeds maximum range for this processor.
demo.asm:19:Warning [220] Address exceeds maximum range for this processor.
demo.asm:19:Warning [220] Address exceeds maximum range for this processor.
demo.asm:19:Warning [220] Address exceeds maximum range for this processor.
demo.asm:19:Warning [220] Address exceeds maximum range for this processor.
demo.asm:19:Warning [220] Address exceeds maximum range for this processor.
demo.asm:19:Warning [220] Address exceeds maximum range for this processor.
demo.asm:19:Warning [220] Address exceeds maximum range for this processor.
demo.asm:19:Warning [220] Address exceeds maximum range for this processor.
demo.asm:19:Warning [220] Address exceeds maximum range for this processor.
demo.asm:19:Warning [220] Address exceeds maximum range for this processor.
demo.asm:19:Warning [220] Address exceeds maximum range for this processor.
demo.asm:19:Warning [220] Address exceeds maximum range for this processor.
demo.asm:19:Warning [220] Address exceeds maximum range for this processor.

> > > It looks like ultimately we'll also need the eeprom bounds
> > > separately in gpasm.
> >
> > The definition may be: 0x2100-0x21ff[,0x03000-0x030ff...] (But I think
> > that's clear :-))
>
> Yeah, I was going by the numbers in gputils' default lkr script
> (although I couldn't turn up anything about 12F625...did you mean
> 635?). Those files frequently have mistakes in them, but we take the
> lazy evaluation approach and say that it's right until a user
> complains, and then it's easy to fix =).
Ops, sorry i mean 12f675 ...


bye,
	Thomas Welsch


Previous by date: 28 Oct 2007 17:47:31 +0000 Re: [gnupic] org H'2100', EEPROM and "Warnung:Address exceeds maximum range for this processor.", David
Next by date: 28 Oct 2007 17:47:31 +0000 gputils CVS->SVN, David
Previous in thread: 28 Oct 2007 17:47:31 +0000 Re: [gnupic] org H'2100', EEPROM and "Warnung:Address exceeds maximum range for this processor.", David
Next in thread:


Powered by ezmlm-browse 0.20.