pstorage
1 memory map

memory map
2 注意事項(xiàng)
memory register時(shí)最小分配單位為一個(gè)扇區(qū), 所以,用戶需要將數(shù)據(jù)進(jìn)行合理的組織
傳輸?shù)臄?shù)據(jù)需要4字節(jié)對(duì)齊
memory clear時(shí),需要為扇區(qū)大小的整數(shù)倍
update可以不用顯示調(diào)用擦除(實(shí)際是會(huì)通過swap分區(qū)結(jié)合,并進(jìn)行數(shù)據(jù)擦除), update太頻繁會(huì)影響flash壽命
load操作、store操所、clear操作和update操作都不是立即完成的