2024-03-28 10:47 PM
Hi there,
I want to try touchGFX on my homemade board with the STM32F429BIT6 and a band flash chip H27U1G8F2B.
I initial the FMC NAND flash by following the code:
and test the NAND flash as below:
The LOG output is like this(the data value sometimes change, but always data[0] err):
By the LOG, the operation of the NAND flash is successful, but the result is wrong!
Am I making a mistake?
Thanks for your help in advance!
Solved! Go to Solution.
2024-04-06 07:47 PM
I don't know what happened.
But the below setting seems to work well now:
2024-04-03 12:56 AM
Could anyone demo me how to use the FMC to extend the NAND flash?
I have already tried all the things in my mind.
I can use the SDRAM by FMC normally, but the NAND flash always err...
Thanks very much
2024-04-03 01:02 AM - edited 2024-04-03 01:03 AM
I don't know about dynamic use of NAND flash, but in case you want to use NAND flash only in case of after booting up, it must not be that much hard. Since you also have LCD and External RAM, it makes it a bit difficult to simultaneously use RAM and NAND flash at the same time.
2024-04-03 02:19 AM
Thanks for your reply.
Finally, I find the reason. I think that is a bug of HAL.
The FMC init function needs to add one line for configuring the device parameters.
For me, the code in Red Square is critical!
2024-04-06 07:47 PM
I don't know what happened.
But the below setting seems to work well now: