Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
The sector size used to be 512bytes (may have increased, I'm not sure). So this means it is easier to read and write if you have more that 512 bytes. You can function with <512b; but it will be difficult and limited (e.g. reading/writing contiguous bytes is possible, but a file system may not be).
Are you sure you need 512 kilo bits? Seems like a lot for a microcontroller, and an unusual way to express it. You would need an external RAM for most devices that I know. That would be more commonly expressed as 64 kilo Bytes.
Maybe you could post your reference; we can only guess unless we know more about the design.
Like dougy83 surmised, I think he means 512bytes. The block size is 512 bytes and anything less means you can only write partial blocks to the card. You can deal with that if you aren't using a file system and don't care about a bit of wasted space, but if you are trying to implement a file system you need to be able to write full blocks to the card.
I think he is questioning it because he misinterpreted 512b as 512kb. Obviously 512kb is way off the scale. 512b is the minimum for the write buffer, but clearly there is some other overhead for other variables you are using.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.