> >>> please note that ALL SD cards have 512 bytes blocksize. All I/O is > >>> in 512 Byte blocks. > >>> > >>> The blocksize of 1KByte which is reported for 2GB cards is ONLY to > >>> compute the capacity of the card. O I C, sorry I didn't read your earlier email before replying.
I can't believe they did that, it's horribly dirty and completely against the MMC protocol specification. Yes they need to specifiy a larger block size to declare the total disk size that large, but they could have actually set the block size to it like the specification states and just supported CMD16. According to the MMC 3.1 spec, CMD 16 is defined as: "sets the block length (in bytes) for all following block commands (read and write). Default block length is specified in the CSD." I guess it is what it is, but man that's stupid. Buy MMC cards, fight the power. (You know those switches don't do anything anyway) Personally I'll probably just force all cards to a 512 block size. Any card that ignores this command and wants to use a different size is just going to have to be declared unsupported to support this new SD garbage. To be fair, I've never seen a card that encorporated anything but a 512 block size, but it's the principle of the thing that bugs me. thanks for the heads up, NZG _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
