SDCARD in 4 bit mode ?
jazzed
Posts: 11,803
Has anyone tried to use an SDCARD in 4-bit mode (D[0..3] + CLK + CMD) ?
Comments
The Solomon LCD driver chip I'm using has an SD card interface and works in 4-bit mode. You read or write blocks at a time. Combining that with the 8-bit data bus to the Prop should make for some lightning fast transfers...
Anyway I've tried it in a FPGA, and I get impressive 9.6Mbytes/sec reading files in multiblock mode, would be amazing if you get a good performance in pchip !!.
Is really strictly proprietary this mode ? (as Mike said).. I listen some other guys talking about it as possibe partial free code, the sd asosication gives a simplified specification of the driver for free.
I'm sure that you will get into trouble if you sell products that use the 4 bit mode, but why shouldn't they allow to use 4 bit mode in private projects?
Maybe it's cheap? Somebody could build the driver, and just distribution limit access to it. When a purchase is made, supply a binary, and "reference code". That would resolve both the private project problem (and that should be obvious enough for me not to write it here), and open the door for those commercial, or simply non-private uses. I'm sure there is some base fee, and then a per instance royalty. It might not be difficult, or too expensive.
Maybe take up a collection, fund the initial development, and then have somebody be the point of distribution?
I would be interested in participating in something like this. Really fast SD card has it's merits.
If we can figure out a 3-instruction method that works for any set of 4 (contiguous) pins, I can work that into a new rev of the FSRW block driver. The real bonus to this method would be that the clock/read timing requirements would drop, so everybody could always use the fast mode...no need to use the safe version by default.
The simplified SD spec _does_ include information about using the 4-bit data mode, so I believe it is OK to implement the basics. (Note: I do not remember off the top of my head if CRC checks are required by the 4-bit mode...if so, that overhead would probably negate the speedup.)
Jonathan
So, for a slightly less than 2x speedup, would people be willing to fix the SD I/O pins?
Jonathan
Why not have a design that would use 2 devices?
I guess you couldn't use FAT with the files unless the data was identical.
I have board ready to fab that uses 2 Winbond chips (4 bits each).
Having 2 SD cards wouldn't be much different except for space required.
General membership in the SD Card Association is $2000 per year.
http://www.sdcard.org/developers/faq/
PJMonty and I were having lunch the other day and chatting about this. We agreed that it seems odd that SD Card Association seems to want to discourage the use of SD cards by anyone except big vendors. Isn't it in their interest to sell more cards by providing the full communications spec to any would-be developer?
Maybe the membership fee is just for the "secure" part of the SD spec...
My feeling is that not too many people would give up 2 more pins of Prop1 when it is plenty fast as is....