The block size should be detectable during initial configuration as per the original SD/MMC standard. If they don't follow that standard....well there really not SD cards then and probably not worth supporting until they fix it.
NZG On Sunday 18 February 2007 8:53 pm, Bob Furber wrote: > 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 > > > > _______________________________________________ > 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 _______________________________________________ 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
