lpcware

How to read data from a specific Flash address in order write it on a variable

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Burkhard on Tue Jun 17 08:55:30 MST 2014
Dear programers,

I would like to use the LPC810M021FN8 for a new application.
In order to save the state of the device before turning it off I save that state to the flash page which starts with the address 0xC00.

Here comes the problem: How do I read that value which is stored the flash address 0xC00?

Any easy to understand C code would be much appreciated!

I use for writing the state to the address this code: http://www.lpcware.com/content/forum/eeprom-emulation

Thanks in advance!
Burkhard

Outcomes