cancel
Showing results for 
Search instead for 
Did you mean: 

Difficulty of flash write for NAND flash MX30LF4G28AC using STM32

JitendraD_26
Visitor

Hii Community member,

I need technical help from someone who had faced this issue earlier described as below:

I am currently working on STM32H723ZG mcu in which i had interfaced NAND flash of MX30LF4G28AC using FMC peripheral.

As per our hardware test routine, I am checking flash test in which first a block gets erased and then each page is verify whether it is erased or not. Then a dummy buffer of 4096 get writes in a page and then read back into another buffer and comparing them.

 During comparison, my test passes for some pages and fails for some pages within block. When checked for failed pages, it is found that only last byte i.e. 4095th byte is differing. 

Although i had done configuration for 4Gbit model in cubeMx, my test routine is working for 2Gbit model.

I would welcome any suggestion or some guidance point to resolve my issue.

If any code snippet required, i will share on this chat.

@TDK 

1 REPLY 1
TDK
Super User

This sounds like an MPU configuration error. Like it's using a cached value instead of querying the memory again.

If you feel a post has answered your question, please click "Accept as Solution".