Standalone Lua such as the DSM Forward Programming tool do a lot of file system writing (logging) and appears to overrun some buffer in FafFs, writing file data right into the FAT, thus corrupting the file system. Using FF_FS_TINY=1 seems to mitigate this significantly, but does not appear to completely resolve this.