Skip to main content
Visitor II
December 10, 2025
Question

Looking for a working STM32H5 SDMMC + FileX + ThreadX example project (not FatFS)

  • December 10, 2025
  • 1 reply
  • 84 views

Hi, I’m trying to get SDMMC + FileX + ThreadX working on an STM32H5 (NUCLEO-H563ZI) and I can’t find any complete example. SDMMC works on its own, but once I enable FileX, fx_media_open fails and no files get created. I’ve tried the H573 FileX examples, aligning buffers, using 1-bit mode, and adapting the fx_stm32_sd_driver_template, but nothing has worked so far. Does anyone have a minimal working example project that shows FileX mounting the SD card through SDMMC and writing a simple text file? Even a small CubeIDE project or code snippet would be extremely helpful.

    This topic has been closed for replies.

    1 reply

    ST Employee
    December 12, 2025

    Hello @Jainxu , 

    Please refer to the FileX applications available on GitHub, particularly the Fx_uSD_File_Edit application  tailored for the STM32H573I-DK board.
    To ensure your project works correctly, please carefully consult the README file included with the application. It contains detailed explanations and instructions on how the example functions and how to properly integrate it.

    Br