Yahoo Groups archive

Lpc2000

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

Thread

Non-Volatile Memory

Non-Volatile Memory

2005-06-09 by Tom Convent

Hello Guys,
 
                   LPC devices had an non-volatile area where variables can be initialliazed to hold values even after power switch off or processor reset. I want to write a program where I can store a byte and read the same byte after processor power on (the variable byte would not loose data even processor is switch off).
 
Can someone puts light on how to achieve this task ?? does someone sloved this problem before ?? 
 
should I store my variable in non-volatile area ??
 
waiting for your replies guys.  
 
Thanks, TOM
 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]

Re_ [lpc2000] Non-Volatile Memory

2005-06-09 by Ralf Knorr

Hi Tom,
I'm using 2106 and 2114 and I think the only possible way to store 
internal data is to use the IAP function. But than you will use minimum 
an 8kB flash sector to store only one byte. Important is also, that you 
can only erase the whole 8kB sector completely. for storing data in a nv 
area I use an extern I2C eeprom.
Regards,
Ralf

Tom Convent schrieb:

> Hello Guys,
>
>                    LPC devices had an non-volatile area where 
> variables can be initialliazed to hold values even after power switch 
> off or processor reset. I want to write a program where I can store a 
> byte and read the same byte after processor power on (the variable 
> byte would not loose data even processor is switch off).
>
> Can someone puts light on how to achieve this task ?? does someone 
> sloved this problem before ??
>
> should I store my variable in non-volatile area ??
>
> waiting for your replies guys. 
>
> Thanks, TOM
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> [Non-text portions of this message have been removed]
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/lpc2000/
>        
>     * To unsubscribe from this group, send an email to:
>       lpc2000-unsubscribe@yahoogroups.com
>       <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>        
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>

-- 

Mit freundlichen Gr\ufffd\ufffden / Best regards
Ralf Knorr
___________________________________________________________________________________________ 

* Author: *
Dipl.-Ing. Ralf Knorr (FH)
Development: Area leader Software
Bury GmbH & Co KG
Robert-Koch-Str. 1-7
32584 L\ufffdhne
Germany
*Phone:*     +49 (0) 5732 9706 0
*Fax:*          +49 (0) 5732 9706 209
*Email:*       knorr@... <mailto:knorr@...>
*Internet:*  http://www.thb.de <http://www.thb.de/>

This email and any files transmitted with it are confidential and 
intended for the adressee only.
If you are not the adressee you may not copy, forward, disclose or 
otherwise use it, or any part of it, in any form whatever.
If you have received this e-mail in error please notify the sender and 
ensure that all copies of this e-mail and any files transmitted with it 
are deleted.

Any views or opinions represented in this e-mail are solely those of the 
author and do not necessarily represented those of Bury GmbH &Co KG or 
its affiliate companies.
___________________________________________________________________________________________

Re: Re_ [lpc2000] Non-Volatile Memory

2005-06-10 by Sridhar gadda

Hello Ralf, 
 
                      I agree with you that external eeprom is an option, but we have a choice to use NV-area of LPC so that overall cost of broad can come down significantly. Yes, but care to be taken that it erase 8KB sector. 
 
 Tom  IAP functions are to be used to stroed internally. 
 
thanks,
 
Sridhar
 
    

Ralf Knorr <knorr@...> wrote:
Hi Tom,
I'm using 2106 and 2114 and I think the only possible way to store 
internal data is to use the IAP function. But than you will use minimum 
an 8kB flash sector to store only one byte. Important is also, that you 
can only erase the whole 8kB sector completely. for storing data in a nv 
area I use an extern I2C eeprom.
Regards,
Ralf

Tom Convent schrieb:

> Hello Guys,
>
>                    LPC devices had an non-volatile area where 
> variables can be initialliazed to hold values even after power switch 
> off or processor reset. I want to write a program where I can store a 
> byte and read the same byte after processor power on (the variable 
> byte would not loose data even processor is switch off).
>
> Can someone puts light on how to achieve this task ?? does someone 
> sloved this problem before ??
>
> should I store my variable in non-volatile area ??
>
> waiting for your replies guys. 
>
> Thanks, TOM
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> [Non-text portions of this message have been removed]
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/lpc2000/
>        
>     * To unsubscribe from this group, send an email to:
>       lpc2000-unsubscribe@yahoogroups.com
>       <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>        
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>

-- 

Mit freundlichen Grüßen / Best regards
Ralf Knorr
___________________________________________________________________________________________ 

* Author: *
Dipl.-Ing. Ralf Knorr (FH)
Development: Area leader Software
Bury GmbH & Co KG
Robert-Koch-Str. 1-7
32584 Löhne
Germany
*Phone:*     +49 (0) 5732 9706 0
*Fax:*          +49 (0) 5732 9706 209
*Email:*       knorr@... <mailto:knorr@...>
*Internet:*  http://www.thb.de <http://www.thb.de/>

This email and any files transmitted with it are confidential and 
intended for the adressee only.
If you are not the adressee you may not copy, forward, disclose or 
otherwise use it, or any part of it, in any form whatever.
If you have received this e-mail in error please notify the sender and 
ensure that all copies of this e-mail and any files transmitted with it 
are deleted.

Any views or opinions represented in this e-mail are solely those of the 
author and do not necessarily represented those of Bury GmbH &Co KG or 
its affiliate companies.
___________________________________________________________________________________________ 





---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  
   To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]

RE: Re_ [lpc2000] Non-Volatile Memory

2005-06-10 by Matthias Hertel

Hello Sridhar,
you should consider the I2C EEPROM if you have a lot of write cycles to that
memory area. It is cheaper to replace in the circuit when it should fail. If
there are only sporadic memory writes you should use the on-chip flash,
because read access is a lot faster
 
Matthias


  _____  

From:
sentto-11453166-7604-1118393519-matthias.hertel=web.de@...ups.yahoo.
com
[mailto:sentto-11453166-7604-1118393519-matthias.hertel=web.de@...
s.yahoo.com] On Behalf Of Sridhar gadda
Show quoted textHide quoted text
Sent: Friday, June 10, 2005 10:52 AM
To: lpc2000@yahoogroups.com
Subject: Re: Re_ [lpc2000] Non-Volatile Memory


Hello Ralf, 

                      I agree with you that external eeprom is an option,
but we have a choice to use NV-area of LPC so that overall cost of broad can
come down significantly. Yes, but care to be taken that it erase 8KB sector.


Tom  IAP functions are to be used to stroed internally. 

thanks,

Sridhar

    

Ralf Knorr <knorr@...> wrote:
Hi Tom,
I'm using 2106 and 2114 and I think the only possible way to store 
internal data is to use the IAP function. But than you will use minimum 
an 8kB flash sector to store only one byte. Important is also, that you 
can only erase the whole 8kB sector completely. for storing data in a nv 
area I use an extern I2C eeprom.
Regards,
Ralf

Tom Convent schrieb:

> Hello Guys,
>
>                    LPC devices had an non-volatile area where 
> variables can be initialliazed to hold values even after power switch 
> off or processor reset. I want to write a program where I can store a 
> byte and read the same byte after processor power on (the variable 
> byte would not loose data even processor is switch off).
>
> Can someone puts light on how to achieve this task ?? does someone 
> sloved this problem before ??
>
> should I store my variable in non-volatile area ??
>
> waiting for your replies guys. 
>
> Thanks, TOM
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> [Non-text portions of this message have been removed]
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/lpc2000/
>        
>     * To unsubscribe from this group, send an email to:
>       lpc2000-unsubscribe@yahoogroups.com
>       <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>        
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>

-- 

Mit freundlichen Grüßen / Best regards
Ralf Knorr
____________________________________________________________________________
_______________ 

* Author: *
Dipl.-Ing. Ralf Knorr (FH)
Development: Area leader Software
Bury GmbH & Co KG
Robert-Koch-Str. 1-7
32584 Löhne
Germany
*Phone:*     +49 (0) 5732 9706 0
*Fax:*          +49 (0) 5732 9706 209
*Email:*       knorr@... <mailto:knorr@...>
*Internet:*  http://www.thb.de <http://www.thb.de/>

This email and any files transmitted with it are confidential and 
intended for the adressee only.
If you are not the adressee you may not copy, forward, disclose or 
otherwise use it, or any part of it, in any form whatever.
If you have received this e-mail in error please notify the sender and 
ensure that all copies of this e-mail and any files transmitted with it 
are deleted.

Any views or opinions represented in this e-mail are solely those of the 
author and do not necessarily represented those of Bury GmbH &Co KG or 
its affiliate companies.
____________________________________________________________________________
_______________ 





---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  
   To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



  _____  

Yahoo! Groups Links


*	To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  

*	To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
<mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
  

*	Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> . 




[Non-text portions of this message have been removed]

RE: Re_ [lpc2000] Non-Volatile Memory

2005-06-10 by Tom Convent

Hello, 
 
            I just want to experiment that I stored a variable of 8bits at non-volatile area, switch off processor and read the same variable in next power on. 
 
 Does anyone of you written IAP function ?? I would be thankful if someone forward IAP code.  I am using lpc2129 and Keil enviornment. 
 
once again thanks guys
 
Regards,
 
Tom Convent 

Matthias Hertel <matthias.hertel@...> wrote:
Hello Sridhar,
you should consider the I2C EEPROM if you have a lot of write cycles to that
memory area. It is cheaper to replace in the circuit when it should fail. If
there are only sporadic memory writes you should use the on-chip flash,
because read access is a lot faster

Matthias


  _____  

From:
sentto-11453166-7604-1118393519-matthias.hertel=web.de@....
com
[mailto:sentto-11453166-7604-1118393519-matthias.hertel=web.de@...
s.yahoo.com] On Behalf Of Sridhar gadda
Show quoted textHide quoted text
Sent: Friday, June 10, 2005 10:52 AM
To: lpc2000@yahoogroups.com
Subject: Re: Re_ [lpc2000] Non-Volatile Memory


Hello Ralf, 

                      I agree with you that external eeprom is an option,
but we have a choice to use NV-area of LPC so that overall cost of broad can
come down significantly. Yes, but care to be taken that it erase 8KB sector.


Tom  IAP functions are to be used to stroed internally. 

thanks,

Sridhar

    

Ralf Knorr <knorr@...> wrote:
Hi Tom,
I'm using 2106 and 2114 and I think the only possible way to store 
internal data is to use the IAP function. But than you will use minimum 
an 8kB flash sector to store only one byte. Important is also, that you 
can only erase the whole 8kB sector completely. for storing data in a nv 
area I use an extern I2C eeprom.
Regards,
Ralf

Tom Convent schrieb:

> Hello Guys,
>
>                    LPC devices had an non-volatile area where 
> variables can be initialliazed to hold values even after power switch 
> off or processor reset. I want to write a program where I can store a 
> byte and read the same byte after processor power on (the variable 
> byte would not loose data even processor is switch off).
>
> Can someone puts light on how to achieve this task ?? does someone 
> sloved this problem before ??
>
> should I store my variable in non-volatile area ??
>
> waiting for your replies guys. 
>
> Thanks, TOM
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> [Non-text portions of this message have been removed]
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/lpc2000/
>        
>     * To unsubscribe from this group, send an email to:
>       lpc2000-unsubscribe@yahoogroups.com
>       <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>        
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>

-- 

Mit freundlichen Grüßen / Best regards
Ralf Knorr
____________________________________________________________________________
_______________ 

* Author: *
Dipl.-Ing. Ralf Knorr (FH)
Development: Area leader Software
Bury GmbH & Co KG
Robert-Koch-Str. 1-7
32584 Löhne
Germany
*Phone:*     +49 (0) 5732 9706 0
*Fax:*          +49 (0) 5732 9706 209
*Email:*       knorr@thb.de <mailto:knorr@...>
*Internet:*  http://www.thb.de <http://www.thb.de/>

This email and any files transmitted with it are confidential and 
intended for the adressee only.
If you are not the adressee you may not copy, forward, disclose or 
otherwise use it, or any part of it, in any form whatever.
If you have received this e-mail in error please notify the sender and 
ensure that all copies of this e-mail and any files transmitted with it 
are deleted.

Any views or opinions represented in this e-mail are solely those of the 
author and do not necessarily represented those of Bury GmbH &Co KG or 
its affiliate companies.
____________________________________________________________________________
_______________ 





---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  
   To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



  _____  

Yahoo! Groups Links


*      To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  

*      To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
<mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
  

*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> . 




[Non-text portions of this message have been removed]



---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  
   To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


		
---------------------------------
Discover Yahoo!
 Find restaurants, movies, travel & more fun for the weekend. Check it out!

[Non-text portions of this message have been removed]

RE: Re_ [lpc2000] Non-Volatile Memory

2005-06-10 by Matthias Hertel

http://www.keil.com/download/docs/298.asp

  _____  

From:
sentto-11453166-7607-1118406630-matthias.hertel=web.de@....
com
[mailto:sentto-11453166-7607-1118406630-matthias.hertel=web.de@...
s.yahoo.com] On Behalf Of Tom Convent
Show quoted textHide quoted text
Sent: Friday, June 10, 2005 2:30 PM
To: lpc2000@yahoogroups.com
Subject: RE: Re_ [lpc2000] Non-Volatile Memory


Hello, 

            I just want to experiment that I stored a variable of 8bits at
non-volatile area, switch off processor and read the same variable in next
power on. 

Does anyone of you written IAP function ?? I would be thankful if someone
forward IAP code.  I am using lpc2129 and Keil enviornment. 

once again thanks guys

Regards,

Tom Convent 

Matthias Hertel <matthias.hertel@...> wrote:
Hello Sridhar,
you should consider the I2C EEPROM if you have a lot of write cycles to that
memory area. It is cheaper to replace in the circuit when it should fail. If
there are only sporadic memory writes you should use the on-chip flash,
because read access is a lot faster

Matthias


  _____  

From:
sentto-11453166-7604-1118393519-matthias.hertel=web.de@....
com
[mailto:sentto-11453166-7604-1118393519-matthias.hertel=web.de@...
s.yahoo.com] On Behalf Of Sridhar gadda
Sent: Friday, June 10, 2005 10:52 AM
To: lpc2000@yahoogroups.com
Subject: Re: Re_ [lpc2000] Non-Volatile Memory


Hello Ralf, 

                      I agree with you that external eeprom is an option,
but we have a choice to use NV-area of LPC so that overall cost of broad can
come down significantly. Yes, but care to be taken that it erase 8KB sector.


Tom  IAP functions are to be used to stroed internally. 

thanks,

Sridhar

    

Ralf Knorr <knorr@...> wrote:
Hi Tom,
I'm using 2106 and 2114 and I think the only possible way to store 
internal data is to use the IAP function. But than you will use minimum 
an 8kB flash sector to store only one byte. Important is also, that you 
can only erase the whole 8kB sector completely. for storing data in a nv 
area I use an extern I2C eeprom.
Regards,
Ralf

Tom Convent schrieb:

> Hello Guys,
>
>                    LPC devices had an non-volatile area where 
> variables can be initialliazed to hold values even after power switch 
> off or processor reset. I want to write a program where I can store a 
> byte and read the same byte after processor power on (the variable 
> byte would not loose data even processor is switch off).
>
> Can someone puts light on how to achieve this task ?? does someone 
> sloved this problem before ??
>
> should I store my variable in non-volatile area ??
>
> waiting for your replies guys. 
>
> Thanks, TOM
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> [Non-text portions of this message have been removed]
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/lpc2000/
>        
>     * To unsubscribe from this group, send an email to:
>       lpc2000-unsubscribe@...m
>       <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>        
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>

-- 

Mit freundlichen Grüßen / Best regards
Ralf Knorr
____________________________________________________________________________
_______________ 

* Author: *
Dipl.-Ing. Ralf Knorr (FH)
Development: Area leader Software
Bury GmbH & Co KG
Robert-Koch-Str. 1-7
32584 Löhne
Germany
*Phone:*     +49 (0) 5732 9706 0
*Fax:*          +49 (0) 5732 9706 209
*Email:*       knorr@... <mailto:knorr@...>
*Internet:*  http://www.thb.de <http://www.thb.de/>

This email and any files transmitted with it are confidential and 
intended for the adressee only.
If you are not the adressee you may not copy, forward, disclose or 
otherwise use it, or any part of it, in any form whatever.
If you have received this e-mail in error please notify the sender and 
ensure that all copies of this e-mail and any files transmitted with it 
are deleted.

Any views or opinions represented in this e-mail are solely those of the 
author and do not necessarily represented those of Bury GmbH &Co KG or 
its affiliate companies.
____________________________________________________________________________
_______________ 





---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  
   To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



  _____  

Yahoo! Groups Links


*      To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  

*      To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
<mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
  

*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> . 




[Non-text portions of this message have been removed]



---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  
   To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


            
---------------------------------
Discover Yahoo!
Find restaurants, movies, travel & more fun for the weekend. Check it out!

[Non-text portions of this message have been removed]



  _____  

Yahoo! Groups Links


*	To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  

*	To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
<mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
  

*	Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> . 




[Non-text portions of this message have been removed]

Re: Re_ [lpc2000] Non-Volatile Memory

2005-06-10 by johnthomasedwardtimm

If you have a free 8 KB sector, why not write successive 32 byte 
blocks until you reach the end of the sector and then erase.  You can 
search linearly to find the most recent block of nv-data (blank flash 
is all "f's").  This method works well and adheres to the 
various "rules" regarding flash programming.

JT

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.