2025-08-20 3:20 AM - last edited on 2025-08-29 2:28 AM by Amel NASRI
Hi Everyone
Greetings
We are using an STM32U585 MCU and need to maintain a log of about 200 KB using FileX. Once the 200 KB storage is full, I don’t want LevelX to reclaim the entire file and erase it. Instead, I need the log to behave like a circular buffer, where only the oldest block of log data is erased and overwritten with new data. How this requirement can be achieved. For this requirement how much size shall be allocated by fileX(im using an external flash of 8MB).
Thanks and Regards
Philip
2025-09-19 12:15 AM
Hi @Tesla DeLorean @MFARH.1
Greetings
Thanks for the reply
I’m currently unable to determine how to repair the file system when an error occurs (e.g., FX_IO_ERROR, FX_FILE_CORRUPT ), we are not able to open files or read data, which makes it unclear how a backup can be taken or how targeted repair can be performed.
Could you please clarify:
How to proceed with repairing the file system when read access is no longer possible?
Whether there is any way to recover data or take a backup if the media cannot be read due to the error?
BR
Philip