美文网首页
nordic ble pstorage记录

nordic ble pstorage记录

作者: rick_2016 | 来源:发表于2017-12-08 13:46 被阅读0次

pstorage

1 memory map

memory map

2 注意事项

  • memory register时最小分配单位为一个扇区, 所以,用户需要将数据进行合理的组织

  • 传输的数据需要4字节对齐

  • memory clear时,需要为扇区大小的整数倍

  • update可以不用显示调用擦除(实际是会通过swap分区结合,并进行数据擦除), update太频繁会影响flash寿命

  • load操作、store操所、clear操作和update操作都不是立即完成的

相关文章

网友评论

      本文标题:nordic ble pstorage记录

      本文链接:https://www.haomeiwen.com/subject/lvmubxtx.html