Yahoo Groups archive

Lpc2000

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

Message

Re: SD card boot sector location

2005-12-22 by derbaier

--- In lpc2000@yahoogroups.com, "theothervmax" <vmax@g...> 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.
> Regards,
> Max
>

You probably will not find any information on the subject of the FAT
Boot Sector location in MMC/SD card documentation. The FAT structures
are specific to the FAT file system and unrelated to the physical
device supporting the file system. There is a short and simple article
on using the FAT file system on MMC/SD cards at

 http://www.circuitcellar.com

The article title is "Portable FAT Library for MCU Applications" from
issue 176 in March 2005.


-- Dave

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.