[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Storing Variables in EEPROM instead of RAM
- Date: Mon, 23 Nov 2009 10:12:36 -0600
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- Subject: Storing Variables in EEPROM instead of RAM
On 11/23/2009 08:57 AM, Leonard Bise wrote:
>
> Hello all,
>
> First of all I'm still a novice at this so I hope my questions won't
> be too stupid.
>
> What I'm trying to achieve is to place variables in EEPROM instead of
> RAM at the moment of the linking.
> What would be the easiest way to achieve this?
>
Normally the linker script deals only with memory that is
easy to load into. If EEPROM requires special programming
to write (which I think it should), then you will have to go through
some special procedure. You might be able to arrange this but
whatever loads your program will have to recognize the address
range of EEPROM (vs RAM) and do the right thing).
> I hope you can help me thanks in advance.
>
> L?onard.
--
Joel Sherrill, Ph.D. Director of Research& Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985