cancel
Showing results for 
Search instead for 
Did you mean: 

no FATFS in stm32u59 ?

Anassoumi
Associate III

Hello everyone,

I'm currently working with a custom board that utilizes the STM32U599 microcontroller, and I'm attempting to establish communication with an SD card. The IDE I'm using presents the option of FileX alongside ThreadX; however, my application is exclusively built on FreeRTOS. I've noticed through various discussions that FATFS is commonly implemented for SD card interactions, but I'm unable to find this option, even after perusing the uninstalled packages in the IDE. My familiarity with integrating SD card functionality with STM microcontrollers is quite minimal. Could anyone provide some guidance or recommendations on how to proceed with this setup? Thank you in advance.

4 REPLIES 4
Saket_Om
ST Employee

Hello @Anassoumi 

With the STM32CubeU5 firmware package, there has been a migration from FATFS to FileX for file system management. FileX is a robust file system that comes with the Azure RTOS suite.

 

I hope my answer has helped you. When your question is answered please close this topic by marking as Best the reply that answered you, it will help others find that answer faster. Thanks for your contribution.

 

If your question is answered, please close this topic by clicking "Accept as Solution".

Thanks
Omar

Thanks for your reply , My application is heavily based on freertos at this point so I don't believe that i can use FileX, what would you recommend for such case ? 

Andrew Neil
Evangelist III

FatFS is  generic code - you can just use it as any other source code:

http://elm-chan.org/fsw/ff/

 

See also:

https://community.st.com/t5/stm32cubemx-mcus/fatfs-middleware-for-stm32u5-mcus/m-p/658424/highlight/true#M27766

which has a GitHub link to download ST's port of FatFS

Sorry to ask - but answer after 2 months ... how this?

If you feel a post has answered your question, please click "Accept as Solution".