Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Storing in RAM

2005-06-08 by soren_t_hansen

--- In lpc2000@yahoogroups.com, Sridhar gadda <sridhargadda@y...> wrote:
> Hello,
>  
>             I want to write a program which stores a variable in RAM
so that when processors get reset, the stored value in RAM should not
loose data. Again after reset the processor, I want to read the
variable. I am using lpc2129 and ULINK for downlaoding firmware. Can
any one suggests me how to proceed ?? does someone encounterd this
problem before ??
>  
> I am looking forward to your replies
>  
> best regards, 
>  
> Sridhar

The RAM looses its content in a reset. If you want your program to
hold variables after a reset, you have to store them in Flash.

Best Regards
Søren

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.