Hi,
My fatfs could not create windows compatible fat files on my 256Mb compact
flash card. The disk works fine within eCos but the files newer shows up on
my windows machine. A 128 mb card works fine. I traced down the problem to
how the partition table is read. The current implementation uses the two
C/H/S fields to find the start and end of each disk partition (offset 1 and
5).
My 256Mb compact flash works if I change the code to read the absolute start
position and size fields (offset 8 and 12). Se patch below.
I don't know how read the partition table in a correct way so it would be
nice If someone could suggest a more generally applicable code change.