我现在的程序反复擦写flash数万次后,所有保存的参数都恢复了默认值。这是不是跟我擦写flash有关系?
谢谢了。急急急!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Flash正常的理论擦写次数大概是10w次,建议将所有flash块全部擦除一遍再烧写程序。
CC2530的flash cycle在几千次,和所有的flash一样,请不要重复擦写某一个区域。用一些算法就可以大大延长flash的寿命。TI协议栈的NV的写法就是个很好的参考