Go Down

Topic: MKR boards - keep data safe (Read 346 times) previous topic - next topic

didiergm

Hello

I need to be able to keep some configuration data (less than 100 bytes) safe from being overwritten even after a new program upload. I know that there is no EEProm on the MKR series board so I was wondering if there was a way to write into the program flash memory, may be at a location where chances are very high that the program has very little chance to grow so much that this location will get erased/overwritten.

An I need to be able to read/write from within the program, not at programming time

Any idea ?

thanks in advance for your thoughts

Juraj

Hello

I need to be able to keep some configuration data (less than 100 bytes) safe from being overwritten even after a new program upload. I know that there is no EEProm on the MKR series board so I was wondering if there was a way to write into the program flash memory, may be at a location where chances are very high that the program has very little chance to grow so much that this location will get erased/overwritten.

An I need to be able to read/write from within the program, not at programming time

Any idea ?

thanks in advance for your thoughts
https://github.com/cmaglie/FlashStorage
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

Go Up