#FatFs
Today's challenge, build an offline FatFS compatible with MicroPython...

Should be straightforward right, RIGHT? 😬
June 23, 2025 at 10:10 AM
Also introducing FatFsPP, a thin C++14 wrapper showing the strengths of devkitPro's fork of FatFs: github.com/TuxSH/fatfspp
GitHub - TuxSH/fatfspp: Thin C++14 wrapper around devkitPro's fork of FatFs
Thin C++14 wrapper around devkitPro's fork of FatFs - TuxSH/fatfspp
github.com
October 12, 2025 at 11:56 PM
ラズピコからラズピコへ uf2 を書き込みできた。左から右へ、点滅周期の違う2種類の L チカプログラムを交互に書き込んでる (Pico-PIO-USB、TinyUSB、FatFs) #shapolab
November 16, 2025 at 2:27 AM
If you’ve ever logged data to an SD card or saved files on a #microcontroller, you've probably used FatFs without realizing it. As I'm working on a port for it, I'm reminded what a great embedded #OpenSource project looks like.
👇
shawnhymel.com/3113/an-ode-...

#embedded #programming #Arduino
December 30, 2025 at 4:00 PM
Fats of the day ^_^ fatfs of the day yay! #bugs
April 25, 2025 at 2:27 AM
This is so funny. For FlippyDrive's remote SD Card access we are proxying Block access. So I need to embed FatFs into the Desktop app and then route that into an FTP server bound to localhost
January 3, 2025 at 1:53 AM
Okay, I have FatFS integrated, and it's able to read the directory on the SD. That's good progress, I think.
November 18, 2024 at 2:32 AM
I needed to get a FAT filling system working on the Agon. I’d written all the low level SD stuff and was looking to write the file system. Discovered FatFS. It was more or less drop-in code even when compiled on a quirky and old Zilog C compiler for the eZ80 CPU. Saved me weeks of coding I reckon.
If you’ve ever logged data to an SD card or saved files on a #microcontroller, you've probably used FatFs without realizing it. As I'm working on a port for it, I'm reminded what a great embedded #OpenSource project looks like.
👇
shawnhymel.com/3113/an-ode-...

#embedded #programming #Arduino
December 30, 2025 at 4:28 PM
nftw is pretty good, makes recursively copying a filesystem from native to FatFS an absolute breeze.

Most of my pain was just me being very, very bad at C.
June 23, 2025 at 7:02 PM
-FatFs bugs enable physical access attacks on a load of devices
-Password spray attack targets M365 and bypasses MFA
-AI agent caught deploying ransomware in live hacks
-Webinar platform sues security firms over bad IOCs

Newsletter: news.risky.biz/risky-bullet...
Podcast: risky.biz/RBNEWS585/
July 3, 2026 at 8:51 AM
Taking a break from GUI and font stuff to work up a half decent internal wrapper around FatFS for loading whole files, since mmap() isn’t available.
December 7, 2024 at 1:10 AM
I'm going to have to do the digging, I think. I've got a very specific MicroPython + FatFS setup that needs to hit the right balance 🤣
July 2, 2025 at 4:56 PM
I think the fatfs library might, but I haven't checked 😬

Kinda implied by them supporting it, though also implied it doesn't by it being previously hard-coded to 1.
July 2, 2025 at 4:46 PM
Quite possibly the ugliest music player in history. The visual design could use a bit of work. #stm32 #i2s #dma #SDIO #fatfs

Videos will be posted here: https://www.youtube.com/playlist?list=PLVfOnriB1RjWT_fBzzqsrNaZRPnDgboNI
May 8, 2025 at 12:51 AM
Wikipedia says pretty much what I'd expect, though the assumption is that FAT typically uses *two* tables even if the redundancy is very rarely required. FatFS- prior to v14- didn't even support creating a filesystem with more than one.

Guess which version of FatFS MicroPython uses.... 👀
July 2, 2025 at 10:27 AM
Seven FatFs bugs expose IoT devices to memory corruption and data leaks, threatening infrastructure and chains worldwide. Vulnerabilities could enable data access on systems. #CyberSecurity #IoT https://securityaffairs.com/194808/security/seven-bugs-in-fatfs-put-iot-and-embedded-devices-at-risk.html
Seven Bugs in FatFs Put IoT and Embedded Devices at Risk
runZero found 7 flaws in FatFs, a filesystem used in IoT and embedded devices. Bugs can cause memory corruption, crashes, or data leaks.
securityaffairs.com
July 7, 2026 at 12:32 PM
Wonderfully written and a beautiful reminder to us that the flashy implementations we see are unpinned by open source labors of love like ChaN’s FatFs.
December 30, 2025 at 7:09 PM
New: The new President of the Financial Action Task Force discusses her priorities, the next round of mutual evaluations, and more, in a recent @acamsmldc.bsky.social interview (free to read): www.moneylaundering.com/news/fatfs-n...
November 26, 2024 at 10:49 AM
So I -
Create a new dummy "ram" disk by malloc'ing a bunch of bytes somewhere.
Glue FatFS to this by implementing ioctl, read and write
Run f_mkfs to make the filessystem
Run nftw to recurse a directory and f_mkdir + copy files
Use write function to track written bytes
Save a truncated .bin
June 23, 2025 at 7:03 PM
The plan for the SD card is roughly as follows:

- Make code to access the SPI protocol through the VERA.
- Make code to get block-level access to SD cards.
- Port elm-chan.org/fsw/ff/00ind... fatfs to run on Sentinel 65X, to give us full FAT32 and ExFAT support on SD
FatFs - Generic FAT Filesystem Module
Open source FAT filesystem for embedded projects
elm-chan.org
June 3, 2025 at 12:27 AM
New question - is it now FATFS, or just FAFS?
May 29, 2025 at 1:28 PM
(Guess which genius added a FATFS label function and set up a board to write the label every boot....)
July 4, 2026 at 8:44 AM
My very first implementation of this idea involved staging a complete, real FATFS in PSRAM, copying all the files over and then syncing them back on eject… it sort of worked but it was horrible.

Suffice to say the writeable-only-from-a-host-PC FATFS setup on Badgeware was irritating.
July 4, 2026 at 9:46 AM
ESPConnect is a browser-based management tool for ESP8266 and ESP32 microcontrollers, enabling flash memory operations, partition visualization, detailed chip info, and file system management for SPIFFS, LittleFS, and FATFS without desktop installation.
ESPConnect - a convenient tool for ESP8266/ESP32 in the browser - flash, partitions, information
ESPConnect is a browser-based management tool for ESP8266 and ESP32 microcontrollers, enabling flash memory operations, partition visualization, detailed chip info, and file system management for SPIFFS, LittleFS, and FATFS without desktop installation.
www.elektroda.com
December 17, 2025 at 1:45 PM