请问S26F512S hyperflash的擦写相关问题

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
wagu_1442321
Level 2
Level 2
10 questions asked 5 questions asked First reply posted

您好!客户主mcu是 S6J328C,用S26F512S 做图形存储,在做主mcu的bootloader,更新fyperflash图片信息升级代码过程中,这个时候测试突然通讯终端或者突然掉电,导致擦写flash失败。然后客户会遇到系统重新上电或者重新连接到通讯后,flash擦写函数会异常,擦函数也擦不掉,写入也写入不了。当前用的是我们的低级库驱动函数,正常可以擦写。但是中断后会有这个问题,初步怀疑hyperflash内部逻辑不对,请问如何恢复?谢谢

wanjiangguo

0 点赞
1 回复
SudheeshK
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

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

0 点赞