Re: fat32 sd-card filesystem broken

2023-09-20 Thread Nathan Hartman
On Wed, Sep 20, 2023 at 1:58 PM Petro Karashchenko < petro.karashche...@gmail.com> wrote: > Hi, > > I think that FAT32 is not a fail-safe file system by its nature. There may > be data losses (file table corruption) in case of power loss during file > write (file table update) or maybe in some

Re: fat32 sd-card filesystem broken

2023-09-20 Thread Petro Karashchenko
Hi, I think that FAT32 is not a fail-safe file system by its nature. There may be data losses (file table corruption) in case of power loss during file write (file table update) or maybe in some other cases when file system access is interrupted. I think HCC had some product called SafeFAT that

Re: fat32 sd-card filesystem broken

2023-09-20 Thread Alan C. Assis
Hi Simon, I tested it recently (not extensive test) and it was working fine (stm32f777 meadow board). Did you try to run apps/testing/fstest to push its hard(ware) limits? :-) Also a simple way to verify if FAT is working is creating a RAMDISK (formatted as FAT) and run your application using

fat32 sd-card filesystem broken

2023-09-20 Thread Simon Filgis
Dear all, Once in a while nuttx breaks the fat32 filesystem of my sd-card. Custom fork, around 1 year old. samv7, DMA enabled. I have syslog to sd-card enabled. Also a FTP server accepts files to sd-card. Has anybody observed something similar? How to start debugging such an issue? Simon --