Thanks for all the responses guys, some interesting ideas.
I don't really want to put all of my EEPROM data into one structure, as
I have many eeprom variables with initializers distributed across a
number of files.
What I ended up doing, was to change the .eep output format to binary,
then I
> Ditto. Declare the variables twice, once with a name that is obvious to
> you is EEPROM in the EEPROM space, and again with a name that is obvious
> to you is stored in FLASH. Then when/if you wish to restore EEPROM
> contents to their initial default values use the PGM modifier to read
> from FL
Hi,
I am using for many years a system, I published as open source (LGPL
like) at http://www.ethernut.de/en/documents/phat.html. Look for
'SPIFlashFileSystem' link to a zip file.
This is a complete project, but there is a subdirectory eeparams,
which can be extracted from it.
Common problem
On Wed, Oct 21, 2009 at 07:40:50AM -0700, Parthasaradhi Nayani wrote:
>
> >From: Michael Clift
> >
> >??? Hi, I am using winavr, and would like to include the default
> >eeprom values (normally output >to .eep) in flash memory. I want to
> >do this so that my application can easily default the >e
>From: Michael Clift
>
> Hi, I am using winavr, and would like to include the default eeprom values
>(normally output >to .eep) in flash memory. I want to do this so that my
>application can easily default the >eeprom.
Hello,
EEPROM data in FLASH memory? then the easy way is to use the PGM
gcc-list-bounces+palmerinotallarico=vodafone...@nongnu.org] Per
conto di Prashant D. Kharade
Inviato: mercoledì 21 ottobre 2009 12.35
A: Michael Clift; avr-gcc-list@nongnu.org
Oggetto: RE: [avr-gcc-list] including default eeprom values in flash memory
Hi,
One method, which I have read on the net &
October 2009 15:04
To: avr-gcc-list@nongnu.org
Subject: [avr-gcc-list] including default eeprom values in flash memory
Hi, I am using winavr, and would like to include the default eeprom
values (normally output to .eep) in flash memory. I want to do this so
that my application can easily default
Hi, I am using winavr, and would like to include the default eeprom
values (normally output to .eep) in flash memory. I want to do this so
that my application can easily default the eeprom. Whats the best way to
do this? can it be done with a modification to the linker script? or
should it be d