I found E2END in this directory and file:
C:\Program Files\Atmel\AVR Tools\AvrAssembler2\Appnotes\m8def.inc
It is NOT in this file
C:\Program Files\Atmel\AVR Tools\AvrAssembler\Appnotes
Note the "2" in the pathname for the former, not the latter.
Go figure.
Steve
===========
Mega8 chip...
; ***** DATA MEMORY DECLARATIONS
*****************************************
.equ FLASHEND = 0x0fff ; Note: Word address
.equ IOEND = 0x003f
.equ SRAM_START = 0x0060
.equ SRAM_SIZE = 1024
.equ RAMEND = 0x045f
.equ XRAMEND = 0x0000
.equ E2END = 0x01ff
.equ EEPROMEND = 0x01ff
.equ EEADRBITS = 9
#pragma AVRPART MEMORY PROG_FLASH 8192
#pragma AVRPART MEMORY EEPROM 512
#pragma AVRPART MEMORY INT_SRAM SIZE 1024
#pragma AVRPART MEMORY INT_SRAM START_ADDR 0x60
======================================================================
'
-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of Kathy Quinlan
Sent: Sunday, July 10, 2005 7:47 AM
To: AVR-Chat@yahoogroups.com
Subject: Re: [AVR-Chat] Bootloader troubles
Gustavo Goretkin wrote:
> Thank you for your reply. I'm trying to assemble the code, but im
> experiencing some trouble,
> ldi R26,low(E2END-1) ; increment Chip Erase Counter
> located at address E2END-1
> ldi R27,high(E2END-1) ;
>
> I don't quite understant what E2END is, and where it is supposed to be
> defined/ equated
> thanks again
>
> stevech wrote:
I would hazard a guess that E2END is value equivalent to the last
location of the EEPROM. I am not sure if this is an Atmel define or a
complier one.
Regards,
Kat.
Yahoo! Groups LinksMessage
RE: [AVR-Chat] Bootloader troubles E2END
2005-07-11 by stevech
Attachments
- No local attachments were found for this message.