Has anyone out there ever tried to tie up FatFS to an AT45DB161?
The question is whether there is a way either not to get into an FS corruption or to get it fixed somehow without reformatting the drive?
For info: we use only 512 bytes out of the 528 available per sector and we perform writing with automatic erase. Also there is a 20k pull-up.
The problem is that after a while the filesystem becomes corrupt: we aren't able to open up a file, either existing or new (returns FR_NOT_READY). f_readdir also fails with the same error, so we can't get the file list.