FAT filesystem appears to be corrupted

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
jms
Posts: 108
Joined: Thu May 05, 2016 8:29 pm
Contact:

Re: FAT filesystem appears to be corrupted

Post by jms » Tue Jul 12, 2016 4:03 pm

Maybe I will take a look at adding SPIFFS. By coincidence it says it was inspired by YAFFS which I have used recently (well YAFFS2 on NAND) and some years back did some StrongARM work for Aleph1 down the road who kind of commissioned YAFFS. It's a small world.

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: FAT filesystem appears to be corrupted

Post by deshipu » Tue Jul 12, 2016 6:20 pm

That would be a great addition! I think the way it is done, it would also become available for all other ports.

I think there is a flash-friendly filesystem implemented for the microbit, maybe that would be useful: https://github.com/bbcmicrobit/micropyt ... lesystem.c

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: FAT filesystem appears to be corrupted

Post by pythoncoder » Wed Jul 13, 2016 4:42 am

deshipu wrote:That would be a great addition! I think the way it is done, it would also become available for all other ports.
Yes indeed :D
Peter Hinch
Index to my micropython libraries.

jms
Posts: 108
Joined: Thu May 05, 2016 8:29 pm
Contact:

Re: FAT filesystem appears to be corrupted

Post by jms » Fri Aug 12, 2016 1:54 pm

I have now got a basic SPIFFS filesystem on a simulated flash going under MicroPython on UNIX.

There's a lot I haven't done like integrate it properly (with the open built-in for example) or create many of the methods one might expect for files and there's some hackery but it does seem to work and am starting on ESP integration now.

Post Reply