2025-07-01 9:59 AM
Hello Microsoft Community,
I’m currently working on implementing a file system using FileX and LevelX on external NOR Flash (IS25LP064D) connected to the STM32U585AII6Q board.
Flash Memory Specifications:
Requirement:
I need to create a .txt log file using FileX and once the file reaches 100 KB, it should be deleted and a new file created in its place.
Media Initialization Parameters Used:
Issue:
When writing logs using FileX, I receive a FX_IO_ERROR after a few logs are written—even though there is still available space on the flash.
My Questions:
Thanks
Shilpa
2025-07-01 7:18 PM
You should use 4KB sectors. 1 per cluster.
Instrument the IO layer to understand why it fails.