Skip to main content
Explorer
February 12, 2024
Question

no FATFS in stm32u59 ?

  • February 12, 2024
  • 2 replies
  • 2904 views

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.

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    April 3, 2024

    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.

     

    AnassoumiAuthor
    Explorer
    April 3, 2024

    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 ? 

    Super User
    April 3, 2024

    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