Using flash for storing non-volatile data for my application

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by maszup on Thu May 02 16:07:47 MST 2013


is it possible to read/write into e.g. flash memory 0x1A07000 to store there some application's parameters even after power down?

i keep my M4 code at flash 0x1A000000 and M0 code at 0x1B000000 and I know that my code is less engough so that it does not overlap on my parameters data.

anyway if i try to do memcpy to this address (0x1A070000) i got the hard fault error.

thanks for any kind of help.