[uClinux-dev] 5282 and 2GB SD cards

Bob Furber bob at steroidmicros.com
Sun Feb 18 21:53:48 EST 2007


Hi Wolfgang,

> 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.

Good stuff! 

Does this mean that if the csd.c_size read from the card should be doubled on 2GB cards? Then the 2GB card can be treated by the software exactly as if it were a 1GB card, but, with twice as many blocks?

While on the subject, would you know how 4GB cards can be accessed? The little information that I have found indicates that the SDHC (High Capacity) has not yet caught on and that large SD cards do not follow a clear standard.

Thanks,

Bob Furber





More information about the uClinux-dev mailing list