Skip to main content
Visitor II
December 17, 2020
Question

FatFS implementation on external flash of STM32F413 Discover

  • December 17, 2020
  • 5 replies
  • 1412 views

Hi,

I have STM32F413 Discovery borad and want to implement fatfs in external flash(N25Q128A13EF840F) of EVB.

Do you have any doc or examples code that you can refer to?

    This topic has been closed for replies.

    5 replies

    Visitor II
    December 17, 2020

    Hi JLEE.6,

    Did you refer to the STM32CubeF4 Firmware package ? under directory: \STM32Cube_FW_F4_\Projects\STM32F413H-Discovery\Applications\FatFs

    Best Regards,

    Ons.

    JLEE.61Author
    Visitor II
    December 17, 2020

    @Ons KOOLI​ 

    Thanks for reply.

    As you mentioned that there are USB Disk and uSD of Fatfs.

    I 'm looking for an example of FATFS running on external flash memory(N25Q128A) connected to the STM32F413 Discovery board.

    Thanks.

    Visitor II
    December 17, 2020

    Hi JLEE.6,

    Unfortunately, There is no example provided by ST in the Firmware package.

    But you can refer to these :

    interface external flash to stm32 by fatfs

    FATfs on STM32F767 and external Flash

    FatFS on QSPI Flash

    Fatfs on external flash

    Best Regards,

    Ons.

    Graduate II
    December 17, 2020

    If you have working BSP code to erase, read, and write, then integrate that into the DISKIO layer.

    Use 4KB sectors unless you're keen on managing the deblocking.

    The NOR Flash erase/write will be SLOW

    JLEE.61Author
    Visitor II
    December 21, 2020

    @Ons KOOLI​ @Community member​ 

    Sorry for reply late.

    If have any questions, I'll ask you again.

    Thanks.​

    Visitor II
    March 1, 2021

    Hi JLEE.6,

    Can you please mark this question as answered by checking Select as Best.

    Best Regards,

    Ons.