Hi all,
We have a Panasonic SD Highcapacity card with speed class2.We are
developing SDHC compatible host and host driver in WinCE as per SD
Spec2.0.We have problems in the SDHC initialization sequence eventhough
we have followed the init sequence as per the spec2.0.
1)In windows,it shows that the device size of the card is
3.92GB(detected with SDHC card reader).But in WinCE,while issuing
CMD9(reading CSD before reading FAT) the device size parameter in the
CSD reister shows just 128KB.why this difference?
2)The spec says that the SD_security field(in SCR register) should
point to Security SpecVer2.0.But in CMD51(READ_SCR),we have this field
pointed to SpecVer1.0.Will this affect the init sequence?FYI,the SDHC
card reader detects the same card well.
3)While reading FAT(cmd17 with 32bit argument all zeroes),we get
MBR(Master Boot Record) reading error.But in the file system
specification(2.0) the MBR contents(0 to 446 bytes of 512 bytes) are
not given and it is given in the spec that the MBR contents are not
restricted.We get the MBR contents as zeroes.FYI,for normal SD cards
also the MBR contents are all zeroes.The only difference between the SD
and SDHCs' first FAT contents is the partition table contents(next
16bytes of 512 bytes).But our SDHC contents satisfies either one of the
specified FAT32 file system values as per the file system
specification.
4)We found no partition name for the SDHC card and when we tried to
create the partition in the storagemanager(WinCE),even the SDHC card
reader failed to detect the card.
We tried the same procedure for a normal SDcard and it also shows the
same
status as below:
0x83fc8800: FATFS!InitVolume: invalid BPB, volume deemed invalid
0x83fc8800: FATFS!InitVolume: FAT version: 12
0x83fc8800: FATFS!InitVolume: Cluster Size (Sectors): 0 ?!!!!!
Do we need to change anything to make the FAT version as 32?
Pls suggest..........
Thanks in advance.
Regards,
Praba