I Noticed that esp-idf has made some updates to VFS.
The filesystem seems to work (all files read as expected) after erase_flash and then flashing the fatfs image to the partition offset. But it does not persist a reboot (e.g. it cannot be mounted after reset button is toggled, or after a software triggered reboot)
I (2381) wl_flash: updateV1_V2 Update from V1 to V2, crc=0x0e06d47d,
I (2401) wl_flash: updateV1_V2 max_pos=505, pos=123, state.ver=1, state2.ver=1
and after reset
W (2572) vfs_fat_spiflash: f_mount failed (13)
I (2572) vfs_fat_spiflash: Formatting FATFS partition, allocation unit size=512
I (4792) vfs_fat_spiflash: Mounting again
All data lost((
Latest esp-idf (VFS V2?) cannot be mounted after reboot
-
- Posts: 2
- Joined: Thu Oct 12, 2017 4:58 am
Re: Latest esp-idf (VFS V2?) cannot be mounted after reboot
Hi brp80000,
Thanks for post.
The bug is fixed. A bugfix will be published soon.
Regards,
Dmitry
Thanks for post.
The bug is fixed. A bugfix will be published soon.
Regards,
Dmitry
Re: Latest esp-idf (VFS V2?) cannot be mounted after reboot
Earlier in the debugging process I used hard reset and all fatfs content remained in place. Today I found that after powering down all fatfs content goes missing. Is this some kind of mistake or should it be?
Who is online
Users browsing this forum: No registered users and 118 guests