SDHC 4GB max usable space

Thread Starter


Joined Feb 2, 2012
I have interfaced SDHC,C4,4GB memory card with MCU.

It can only be written in blocks of 512 bytes.

Now if its 4GB then no of total blocks of 512 bytes should be = 8388608 blocks.
But max no of blocks I can use 0-7741439 i.e total of blocks = 7741440 blocks.

Do last space of card is fixed/not avilable.i.e total 4096MB & available 3780MB,
less of 316MB.