cancel
Showing results for 
Search instead for 
Did you mean: 

FatFS implementation on external flash of STM32F413 Discover

JLEE.61
Associate II

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?

6 REPLIES 6
Ons KOOLI
Senior III

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.61
Associate II

@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.

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

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.

JLEE.61
Associate II

@Ons KOOLI​ @Community member​ 

Sorry for reply late.

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

Thanks.​

Ons KOOLI
Senior III

Hi JLEE.6,

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

Best Regards,

Ons.