STM32F7 SDCard Access from QSPI Image
Hi All,
We are using STM32F746 MCU with external Memory.
We use internal flash for bootloader image and our main image is on QSPI memory.
We read something about STM32F7 HW issues for example to access QSPI using DMA, Cache's need to be disabled.
On the other hand, if we disable Cache, execution speed on QSPI memory is not enough for SDCard/SDIO interfaces.
If we enable the D and I Cache's, SDCard reads are not stable. Sometimes opens (fopen() ) a file sometimes does not. We are using FatFS.
If it is about caching, I am trying to open a file in a loop until it success like below
while (fopen(FILE) != SUCCESS && retryCount-- > 0);
I assume it will cache required instructions but still I could have a stable system.
Is it risky to read SDCard from Image on QSPI Memory or are we missing something?
Thank you.
