Help!! where is the file allocation table in the SD card ??

Status
Not open for further replies.

xpratx

Junior Member level 3
Joined
Apr 8, 2010
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
india
Activity points
1,477
hi,

i want to read the file allocation table inside SD card but i cannot figure out the address where it is??

i know that MBR is at address 0 (logical) but how to find where is FAT??
 

thanks,

okay now i got partition boot record but it doesn't specify starting address of FAT. how to get to fat from here??

h**p://home.teleport.com/~brainy/fat32.htm
i am assuming the link given has correct partition boot record.
 

You are referring to a lousy commented FAT format description. There are e.g. official MS documents and surely tons of better explaining descriptions. For the FAT table sector offset, refer to the entry BPB_RsvdSecCnt at 0x0E.

MS FAT32 specification tells:
 

i don't get much of what is stated there.

but what i have found is i can read number of reserved sector from PBR and add to LBA of partition to get starting address of FAT.
is that right??

---------- Post added at 23:02 ---------- Previous post was at 22:46 ----------

ok i got it..
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…