This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

lpc17xx store variable

hello can i store some variables in lpc17xx flash?
i think it is possible because flash is a type of non volatile memory. i wanted to store some hardware related information into flash that may not be large. These variable should not change if application programs kept changing. can u point out the examples/ theory behind that.

Thanks in advance
rahul

Parents Reply Children
  • The chip has IAP support. And there is a user manual that does give you a lot of information.

    You might use a pointer to a struct, in which case you don't have to worry about any linker configuration file for placing variables in the flash region.

    Another thing is that you need a RAM copy when reprogramming a flash sector.