Reverse memory-stick VFAT

17 views
Skip to first unread message

Clifford Heath

unread,
Jun 16, 2017, 4:10:47 AM6/16/17
to Connected Community HackerSpace
Quite a lot of devices will accept a memory stick or USB hard drive,
like for example an Android TV that has recording functionality.
Why oh why won't it record to a NAS over WiFi? Probably for
copyright reasons.

However, why not interface an ESP8266 as a USB client, and
*interpret* a remote file system as if it was a block device with
a VFAT formatted file system? That way, the TV could record onto
a "USB stick" when it's really saving onto your NAS over WiFi.
You'd need to implement a "reverse VFAT" file system, but that
doesn't sound impossible.

Just a project idea for some enthusiastic chap. Could be a nice
little money spinner too.

Clifford Heath.

Zac Faragher

unread,
Jun 16, 2017, 4:28:55 AM6/16/17
to connected-commu...@googlegroups.com
I'd had a very similar idea a few years back - have a USB device that's basically just a Wi-Fi Dongle, but presents itself as a File System so you can stream content off a NAS or another computer.
Nothing came of it, and it was about the time that AndroidTV devices were first kicking off as well, so there wasn't really any point.

-Zac F


Clifford Heath.

--
You received this message because you are subscribed to the Google Groups "Connected Community HackerSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to connected-community-hackerspace+unsu...@googlegroups.com.
To post to this group, send an email to connected-community-hackerspace...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/connected-community-hackerspace/6AFB5D96-15CE-4139-944B-0B1CDB441A78%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

russm

unread,
Jun 16, 2017, 4:36:46 AM6/16/17
to connected-commu...@googlegroups.com
On Fri, Jun 16, 2017 at 06:10:40PM +1000, Clifford Heath wrote:
>
> However, why not interface an ESP8266 as a USB client, and
> *interpret* a remote file system as if it was a block device with
> a VFAT formatted file system? That way, the TV could record onto
> a "USB stick" when it's really saving onto your NAS over WiFi.
> You'd need to implement a "reverse VFAT" file system, but that
> doesn't sound impossible.

There's at least one existing implementation of a directory-backed
virtual FAT block device to crib from, in QEMU.

https://qemu.weilnetz.de/doc/qemu-doc.html#disk_005fimages_005ffat_005fimages

Of course it comes with a whole bunch of caveats, and *really* doesn't
like having the backing store change after it's generated the FAT
structures for the virtual block device.

Luke Weston

unread,
Jun 17, 2017, 1:22:19 AM6/17/17
to connected-commu...@googlegroups.com
The ESP8266 can boot into an SDIO mode (you need to put GPIO15 into
the right state, and connect the SPI/SDIO lines where you would
normally have the SPI flash, no flash chip is used. See datasheet.)
So in theory that could be used to give you a wireless interface to
your digital camera or whatever, like commercial WiFi SDIO card
products. (I haven't tried it.)

Maybe glueing that together with a USB SD card reader chipset would
get you started?
> --
> You received this message because you are subscribed to the Google Groups "Connected Community HackerSpace" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to connected-community-h...@googlegroups.com.
> To post to this group, send an email to connected-commu...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/connected-community-hackerspace/20170616083641.GA21248%40ha.slofith.org.
Reply all
Reply to author
Forward
0 new messages