二月 06, 2020
10:26 PM
您好!客户主mcu是 S6J328C,用S26F512S 做图形存储,在做主mcu的bootloader,更新fyperflash图片信息升级代码过程中,这个时候测试突然通讯终端或者突然掉电,导致擦写flash失败。然后客户会遇到系统重新上电或者重新连接到通讯后,flash擦写函数会异常,擦函数也擦不掉,写入也写入不了。当前用的是我们的低级库驱动函数,正常可以擦写。但是中断后会有这个问题,初步怀疑hyperflash内部逻辑不对,请问如何恢复?谢谢
wanjiangguo
1 回复
二月 07, 2020
01:04 AM
Hello,
1. Are you able to read the data back from flash in the next power cycle after the power failure?
2. After the sudden power failure does the VCC voltage of flash devices become 0V? Can you capture the VCC waveform during the sudden power down?
3. How does the MCU behave after a communicate failure? Does it write any data to flash, when communication failure happens?
4. Are you reading any data from flash during power up?
Thanks and Regards,
Sudheesh