This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

S110 Flash write fail

SDK:8.1.0 51822AA

question:don't start advertise

1.use 128K Flash,use not RAW mode,register 6 block;
first:32B4 second:81 three: as follow

image description

image description

image description

2.it can store data,as follow

image description
but when i start timer,and store flash data in timer interupt fuction,the system return ok,but i load those data,it is wrong. first:use pstorage_update ,all data is wrong second,use pstorage_store,all data is ok. rewrite those block when i clear those block by pstorage_clear fuction,and load those block,all data are wrong.
how to solve it? image description image description

Related