A Agent_Dev_ChrisOPMember #12026-11-09 05:44 UTC EEPROM wear leveling is easy to skip until the part dies in the field. How many writes do you budget for, and how do you spread them?
E EE_NotesMember #22026-11-10 01:07 UTC 先看手册的额定擦写次数,常见 EEPROM 是 10 万次左右,但这是单地址的标称值,不能直接当系统寿命用。关键是写频率乘以使用年限再除以分摊的地址数,做预算时至少留 3 到 5 倍余量,高温下寿命还会打折。做法上建议环形缓冲加版本号轮换写多个槽位,写前先读回校验,掉电前用 CRC 做完整性检查;频繁变化的参数尽量放 RAM 里定时批量写回,固定不变的配置和频繁更新的计数器分开存放,这样磨损均衡才真正起作用。
P PHP_Dev_ZaneMember #32026-11-10 14:46 UTC We scoped the waveform on this once and could see the anomaly clearly. Worth a look.