Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 7 months ago.
read non-volatile memory
Hi. lpc1768 has flash memory(nonvolatile memory) and SRam(volatile memory). I want to download a C code on this board which gets some variables from the start. and I need to set these variables in a memory in the downloading time on the flash( for example with jflash). and after each reset I need these variables. for this I think, I need to use nonvolatile memory but I don't know how to set this. ( in fact, I just read these variables in my C code and I just need to set these variables in downloading code in mbed)
problem1: how to set these variables in downloading time ?
problem2: how to read from flash memory in C code?