avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Non initialized data in EEPROM


From: Erik Christiansen
Subject: Re: [avr-gcc-list] Non initialized data in EEPROM
Date: Fri, 8 Dec 2006 12:31:19 +1100
User-agent: Mutt/1.5.9i

On Thu, Dec 07, 2006 at 03:50:48PM +0200, dimax un wrote:
> I do not want to strip the whole eeprom section but some array in it.
> BTW what if I will initialize array in eeprom with 0xFF. Can it make
> avrdude to skip pages that are totally FF'ed ?

OK, then initialising the one variable explicitly at run-time, and
still removing the section entirely would probably be be the easiest
way out. ;-)

Regards,
Erik


> 
> On 12/7/06, Erik Christiansen <address@hidden> wrote:
> >On Thu, Dec 07, 2006 at 10:41:26AM +0200, dimax un wrote:
> >>
> >> As far as I can see I will have to declare special section without
> >> "loadable" flag so that it will not be taken to produce image. This
> >> may require to access linker scripts and I do not want to do it very
> >> much. Probably there is any other option?
> >
> >You could add  --remove-section=.eeprom to the avr-objcopy command
> >producing the hex file.
> >
> >Erik
> >
> >
> >_______________________________________________
> >AVR-GCC-list mailing list
> >address@hidden
> >http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
> >
> 
> 
> -- 
> ;-------------------------------------------------------
> ; Micro connection to the MacroVision
> ; http://www.xdimax.com
> ;--------------------------------------------------------




reply via email to

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