Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: SD card boot sector location

2005-12-22 by theothervmax

First of all, thanks for everyone replied.

One article called "The master boot record (MBR) and what it does" states: 
"The master boot record is always located at cylinder 0, head 0, and sector 1, the first sector on the disk".
My current problem is that I can't see ANYTHING in the first sector on my disk (SD card), as well as in the following 248 sectors, nothing but all zeroes. Yes, I can see the volume boot sector (at rather a weird location 249), both file allocation tables, root directory and so on...
I tried both FAT16 and FAT32 on this card, and the result is just the same: boot sector number 249. 



--- In lpc2000@yahoogroups.com, Tom Walsh <tom@o...> wrote:
>
> theothervmax wrote:
> 
> >Hi all,
> >I have an SD card formatted by means of a PC card reader. When I try to access the card via SPI, it seems that the boot sector's number is 249. All sectors below this location read as zeroes. The card's volume is 1 GB. The file system is FAT16.
> >The question is: why 249 ? It must be described somewhere, but I failed to find anything in "ProdManualSDCardv1.9" and some other documents.
> >  
> >
> 
> You have to go out on the net and visit the many fine sites which have 
> taken the time to fully explain the FAT filesystem.  This subject, is 
> literally, older than the Internet..
> 
> Regards,
> 
> TomW
> 
> 
> -- 
> Tom Walsh - WN3L - Embedded Systems Consultant
> http://openhardware.net, http://cyberiansoftware.com
> "Windows? No thanks, I have work to do..."
> ----------------------------------------------------
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.