Open
Description
Currently, I am working on the W25q512 module in stm32. I am writing some data in the file, and then I close the file. After that, the same file mounting failed it returned LFS_ERR_INVAL in ( founding superblock). Close the file and unmount all are successful. My Configuration is
read_size = 16
prog_size = 16
block_size = 4096
block_count = 16384
cache_size = 256
lookahead_size = 16
block_cycles = 500
I got an error here,
// found superblock?
if (lfs_pair_isnull(lfs->root)) {
err = LFS_ERR_INVAL;
goto cleanup;