Hi,
You can use writeUserBlock and readUserBlock functions.
Normally you would add a checksum to the values you save to verify their
integrity. In case of failure you can restore some factory defaults.
---
Mircea Neacsu
M: +1 (514) 591-0329
E: m...@neacsu.net
Sent in Morse code from my rotary phone
> On Sep 2, 2016, at 14:06, y...@omniverter.com
[rabbit-semi] wrote:
>
> Hello,
>
> I have some variables in my program. User can change them from HMI, but I need
keep this change in BL4S200. So user is able to power off BL4S200 and power on
again. the variable still have the value that user changes it before the last
power off.
>
> I try bbram and protected, but it seems it doesn't work.
>
> Does anybody know how to do it?