你好, 我正在研發一個項目, 在出廠前需要儲存一些數據, 考慮成本和產品尺寸, 用到該芯片其中一個功能, FLASH里设置當作EEPROM用, 但研發途中發現有一定機會率在第一次上電時會有數據丢失, 請問會有人遇過相關情況和如何解決?同時會有silabs 的技術工程可以幫忙解答嗎?謝謝!
Hi All, I am developing a product, due to the product size and cost consideration, I use one of the MCU function - EEPROM emulation. but I found that there is a possibility that the data will be lost during the first power-up. could anyone can help it? thanks
You need to provide more detailed information.
1. you see only 1 bit changed. or a whole page changed.
2. the bit flip from '1' to '0' or '0' to '1'.
Read this KBA and see if you have follow it.
update: it should be the read flash error problem, the data has not lost, it can read correctly in another power cycle. but then the problem is changed to is it need to monitor the VDD during power-up? (but the sample code has not this monitor stage)
You could upload your schematic (pdf format) first to see if there problem in it.
Be sure include all the power supply part.
Are you saying that the flash read problem happens randomly, or is it only happening on the first power up? Can you please provide your schematic?