Internal eeprom code for lpc2134

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Internal eeprom code for lpc2134

691 Views
bilal6043
Contributor I

Hi i am working on a program where i need to store variables and arrays in internal eeprom so that after reset of MCU i cn access them and again rewrite them

i am using lpc2134 controller. need a sample code for storing variable to internal eeprom

0 Kudos
3 Replies

583 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi,

The LPC2134 device doesn’t have internal EEPROM. It has internal Flash with In-Application-Programming (IAP) capabilities, that could be used for storing non-volatile variables.

For additional details regarding this you could refer to application note AN10256 "Using IAP for LPC2000 Arm devices” at the following link:

https://www.nxp.com/docs/en/application-note/AN10256.pdf

 
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

583 Views
bilal6043
Contributor I

hi carlos.. thanks for the reply.. i use this sample in my application... i need to ask if i reset the micro controller (reset power) variable still stored inside internal flash? 

0 Kudos

583 Views
bilal6043
Contributor I

Also if you could provide some light on the example code by nxp ... as for me its not stroing any values in flash.. or may i am not getting it right 

0 Kudos