I having an odd problem with interfacing to compact flash card.
The Identify command works perfictly.
The Read sector command seems to work except that the sector I read does not seem to be correct.
For exampel if I set the
Sector number 20h,
Cyl Low to 0
Cyl High to 0
Head to E0h (I'm using LBA mode)
With these setting I would expect to get sector 32 (20h) but I get sector 0 here (boot sector)
So far I have not been able to do any writes.
Anyone have any ideas what's going on?
Oh well looks like I'm going to answer my own question, just in case anyone else is interested. The data I was looking at sector 0 is not the boot block but the master boot record which has the partition information. This information included the location of the the boot sector. Now I know, now you know.