STM32H573 littlefs integration in SRAM3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-05-01 10:47 AM
Hi everyone,
I'm new to embedded systems and file systems, and I'm currently trying to integrate LittleFS into the STM32H573-DK board using SRAM3 as storage.
I’ve looked at some examples and documentation, but I’m still confused about how to set things up correctly. I would really appreciate a step-by-step guide with simple explanations—not just how to do things, but also why each step is necessary.
Specifically:
How do I configure the memory and file system in STM32CubeIDE?
How should I implement the block device functions for SRAM3?
What are the important parameters when initializing LittleFS?
How do I actually test if LittleFS is working?
I'm using STM32CubeIDE for this project, and for now I’d like to stick to SRAM3 before later trying OSPI.
Any help, examples, or explanations would be greatly appreciated! Thank you in advance.
- Labels:
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-05-06 6:07 AM
Hello @ranyazmiti
Why did you choose to use LittleFS instead of FATFS or FileX? We have examples of FATFS and FileX in our STM32 firmware.
Saket_Om
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-05-06 6:28 AM
It's a university project based on littlefs, so I don't have the choice.
The integration for SRAM3 is done. I'm struggling with OSPI now, can you help me with it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-05-06 8:36 AM
Hello @ranyazmiti,
ST offers a wealth of educational resources on OSPI, tailored to various project needs. Here are some useful links:
- For OSPI with bootflash MCU: Link
- For OSPI with TouchGFX: Link
- For OSPI with external flash memory (IS25LX256 from ISSI): Link
Additionally, I recommend referring to AN5050, the reference manual (RM) for your STM32 MCU, and the programming manuals. Should you encounter any difficulties with these resources, please feel free to reach out.
Good luck with your project!
Kind regards,
DHIF Khaled
