[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Initialized data and > 64k program

From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Initialized data and > 64k program
Date: Thu, 2 Jan 2003 14:05:09 +0100 (MET)

Sorry for the very late answer.  No idea whether you've already solved
your problem in the meantime, so just for the records:

Geoffrey Wossum <address@hidden> wrote:

> My guess is that the init code which copies the initial values from 
> flash to RAM only works when the values are stored below 64 kb.

Nope.  That code has explicitly been designed to allow the
initialization values for .data to be beyond 64 KB.  Only normal
.progmem access is restricted to < 64 KB.

> Also, I see avrmega103.* scripts, but no avrmega128.* scripts. Does
> the atmega128 target use the avr5.* scripts?

The old (explicitly named) linker scripts are no longer used.  They
are still installed by avr-binutils to remain compatible with older
compiler versions, but currently, only the scripts avr1 through avr5
are in use.

J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/
avr-gcc-list at http://avr1.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]