Page 1 of 1

Storing parameters to nonvolatile memory

Posted: Sat Mar 23, 2013 6:46 pm
by zamek
Hi All,

Is there any way to store short data to flash from my code? For example I need to measure 8 channel temperatures with pt100. It would be very cool, if I can store normalization parameters to flash.

thx
Zamek.

Re: Storing parameters to nonvolatile memory

Posted: Sat Mar 23, 2013 6:54 pm
by Tectu
By "normalized parameters", you mean some values you need for calculation? Why not using const then?
Otherwise, this might be of your interests.


~ Tectu

Re: Storing parameters to nonvolatile memory

Posted: Sat Mar 23, 2013 8:03 pm
by zamek
Hi,

Yes, I have to calculating the correct value based on the linear equation. I need to store 4 parameters to each channel.
If I should store it in const, I need to recompile the sw, if somebody changes a sensor.
If I should store it to flash, I can make an auto standardization.

thx,
Zamek