WiFi SD Card hacked - useful for the prop?
Cluso99
Posts: 18,069
I just noticed on Hack-a-day that the Transcend WiFi SD card has been easily hacked.
http://hackaday.com/2013/08/12/hacking-transcend-wifi-sd-cards/
I wondered if this could be a simple way to add both SD and WiFi to a Prop chip, so thought I would post this here.
Now, I am going to add those special words of wisdom... "it's impossible"
http://hackaday.com/2013/08/12/hacking-transcend-wifi-sd-cards/
I wondered if this could be a simple way to add both SD and WiFi to a Prop chip, so thought I would post this here.
Now, I am going to add those special words of wisdom... "it's impossible"
Comments
-Phil
-Tor
Finally. a way to run Linux on your Propeller, just get a DIP Prop and glue one of those WIFI SD cards on top:)
A Simple hack job there might be:
1) Prop writes file(s) to a specified location on SD card as usual.
2) The SD cards ARM sees that file(s) change at that location.
3) ARM sends file(s) out over WIFI, using whatever protocol.
4) Likewise in reverse.
Of course what we would like is a more direct connection from SD interface to ARM without going through the file system, more like some serial channel, no idea about that.
Also, it looks like the PQI Air card works the same: http://www.newegg.com/Product/Product.aspx?Item=N82E16820141601 , except uses Micro SD, rather than built-in flash.
DogP
Strangely enough there is a thread going on now about using the PII as a self hosted system so as to be secure where it was pointed out that many peripherals you might use are vulnerable. This is a classic case.
I wondered too if the SPI interface works. Maybe it's time to do a full SD driver??
It'd also be nice to know how it's connected, to see if there's an efficient way to make this work as a WiFi device (map a device to the SD card space, and have a protocol for making a network connection through it). It could easily be done by writing a file, having the ARM monitor that file, process the command, and send back the relevant data... but if it's actually writing the flash, and having Busybox constantly looking at the flash, that seems inefficient (and possibly a quick way to wear out the flash).
And yeah... a full SD driver on the Prop would be nice... I know there's extra overhead involved, but I'd imagine the 4-bit parallel interface would more than make up for the extra computations required.
Pat
If a Prop had a fast interface into such a networked SD card, with the WiFi handler mapping it on the other side as a "drive", maybe on the Windows side the paging system could map it into Windows memory and thus create shared memory? Use Memory Mapped Files as the access technique? The advantage of Memory Mapped Files is that the OS handles all the complexity, like flushing "dirty" chunks, no need to be "constantly looking".
I don't know for sure, but it seems likely that the PQI card doesn't support SPI mode either. I only quickly tested it, but I put a Micro SD card in a device (which I think runs SPI mode) using a regular Micro SD card adapter, and it worked perfectly... then I used the PQI card as the adapter and it didn't work. Yet in another board (which uses SD mode, not SPI), it had no problem booting Linux from the Micro SD card using the PQI as the adapter.
I'll be bringing these cards with me to the Propellerpowered Expo tomorrow... hopefully someone will have a Prop board that uses SD that maybe we can play around with these on.
Pat
http://code.google.com/p/propforth/wiki/SDsetupREVISITED
Unfortunately, nobody at the expo had a Prop w/ SD (everyone uses Micro SD).
Pat