This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem about fatfs and QSPI on nRF52840

Hi, I was using nRF52840 , flash is mx25L25645GM2, I used fatfs with QSPI ,but I found fatfs was unstable,After some time, the stored file would dispear.Sometime there were scrambling symbols in my files

  • no

    Could you help me resolving it?

  • I had a similar issue yesterday,  on a 16MB QSPI Winbond W25Q128JVSIQ, there was one block on the whole flash that would corrupt, it was repeatable and happened at the same location across devices.   It would also cause large block writes to fail too.

    I changed NRF_BLOCK_DEV_QSPI_FLAG_CACHE_WRITEBACK to 0, and it now works fine.  Seems to be a bug in the CACHE_WRITEBACK code.

1 2 3 4 5