I am using NXP Micro for interfacing microSD card with FAT32 file system.
for implementation I am using drivers located at below link.
the original driver is not configured for HCS12X compiler. I have done those changes and I am able to read data from SD Card using SPI.
my issue is when I format the SD card using PC in FAT 32 mode I am unable to read THE BOOT RECORD from SD card.
I have successfully read MBR section of card, but after MBR check in SD card initialization- it checks THE BOOT RECORD and i am getting all zeros at that section.
thus the card init is failing as it is not receiving data from THE BOOT RECORD read..
- Do i need to follow some specific pattern while formatting card??
- Does all SD cards have THE BOOT RECORD section right next to MBR (as a 1st partition)