You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code for reading data from the NAND Flash in the stm32f7xx_hal_nand.c is *buff = *(uint8_t *)deviceaddress; rather than *(__IO uint8_t *)deviceaddress; which may cause the data always to be the first data read from the nand flash when code is optimized by the compiler.
The code for reading data from the NAND Flash in the stm32f7xx_hal_nand.c is
*buff = *(uint8_t *)deviceaddress;
rather than*(__IO uint8_t *)deviceaddress;
which may cause the data always to be the first data read from the nand flash when code is optimized by the compiler.https://github.com/STMicroelectronics/stm32f7xx_hal_driver/blob/a89b85ba16ab07f42165ca67949c0366a9ea1c3a/Src/stm32f7xx_hal_nand.c#L638
https://github.com/STMicroelectronics/stm32f7xx_hal_driver/blob/a89b85ba16ab07f42165ca67949c0366a9ea1c3a/Src/stm32f7xx_hal_nand.c#L1288
And the bug is still exists in this version:

The text was updated successfully, but these errors were encountered: