FILE SYSTEM SPECIFICATION
Part 2
Version 1.0
SD Memory Card Specifications
Microsystems
Standard
SanDisk Corporation
Toshiba Corporation
February 2000
SD Group
Matsushita Electric Industrial Co., Ltd. (MEI)
CONFIDENTIAL
Microsystems
Standard
SD Memory Card Specifications / Part 2. File System Specification Version 1.0
Conditions for publication
Publisher and Copyright Holder
SD Group(MEI, SanDisk, Toshiba)
Confidentiality
This document shall be treated as confidential under the Non Disclosure Agreement which has
been signed by the obtainer. Reproduction in whole or in part is prohibited without prior written
permission of SD Group.
Exemption
None will be liable for any damages from use of this document.
Microsystems
Standard
DO NOT COPY 2000 SD Group (MEI, SanDisk, Toshiba).
FS-0
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
SD Memory Card Specifications / Part 2. File System Specification Version 1.0
This page is intentionally left blank.
Microsystems
Standard
DO NOT COPY 2000 SD Group (MEI, SanDisk, Toshiba).
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
SD Memory Card Specifications / Part 2. File System Specification Version 1.0
Part2 FILE SYSTEM SPECIFICATION
1. General.............................................................................................................................................................. FS-1
1.1 Scope ..................................................................................................................................................................... 1
1.2 Normative References ........................................................................................................................................ 2
1.3 Definitions............................................................................................................................................................ 3
1.3.1 byte............................................................................................................................................................. 3
1.3.2 defective sector ........................................................................................................................................ 3
1.3.3 descriptor.................................................................................................................................................. 3
1.3.4 file............................................................................................................................................................... 3
1.3.5 sector / block........................................................................................................................................... 3
1.3.6 partition..................................................................................................................................................... 3
1.3.7 user............................................................................................................................................................. 3
1.3.8 volume....................................................................................................................................................... 3
1.4 Notations .............................................................................................................................................................. 4
1.4.1 Numerical notation ................................................................................................................................. 4
1.4.2 Arithmetic notation................................................................................................................................. 4
1.4.3 Character strings...................................................................................................................................... 4
1.4.4 List of acronyms ..................................................................................................................................... 4
1.5 Data types ............................................................................................................................................................. 5
1.5.1 Numerical values in one-byte fields...................................................................................................... 5
1.5.2 Numerical values in two-byte fields...................................................................................................... 5
1.5.3 Numerical values in four-byte fields..................................................................................................... 5
1.5.4 Pairs of 12-bit integers ........................................................................................................................... 5
Microsystems
Standard
2. Volume Structure............................................................................................................................................. FS-7
2.1 Arrangement of the Data Area......................................................................................................................... 8
2.1.1 Physical Address...................................................................................................................................... 8
2.1.2 Physical Sector Number......................................................................................................................... 8
2.1.3 Logical Sector Number .......................................................................................................................... 8
2.1.4 Partition Area and Regular Area ........................................................................................................... 8
2.2 Arrangement of the User Area......................................................................................................................... 9
2.2.1 Clusters...................................................................................................................................................... 9
2.2.2 Status of clusters ..................................................................................................................................... 9
2.3 Arrangement of the Partition Area................................................................................................................ 10
2.4 Arrangement of the System Area................................................................................................................... 12
2.4.1 System Area............................................................................................................................................ 12
2.4.2 Partition Boot Sector ............................................................................................................................ 12
2.4.3 File Allocation Table (FAT)................................................................................................................. 12
2.4.4 Root Directory....................................................................................................................................... 12
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
DO NOT COPY 2000 SD Group (MEI, SanDisk, Toshiba).
FS-i
SD Memory Card Specifications / Part 2. File System Specification Version 1.0
3. File Structure..................................................................................................................................................FS-13
3.1 Partition Boot Sector ........................................................................................................................................ 13
3.2 File Allocation Table......................................................................................................................................... 17
3.3 File directories.................................................................................................................................................... 18
3.3.1 Characteristics........................................................................................................................................ 18
3.3.2 Directory entry types ............................................................................................................................ 18
3.3.3 General definition of Directory entry fields..................................................................................... 18
3.4 User Area............................................................................................................................................................ 20
Microsystems
Standard
DO NOT COPY 2000 SD Group (MEI, SanDisk, Toshiba).
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
FS-ii
SD Memory Card Specifications / Part 2. File System Specification Version 1.0
Annex
Annex
Annex
Annex
Annex...................................................................................................................................................................FS-21
Annex A: File System Layout................................................................................................................................. 21
Annex B: CHS Recommendation ......................................................................................................................... 22
Annex C: Sectors per Cluster and Boundary Unit Recommendation for Data Area ................................... 23
Annex D: Format Parameter Computations ....................................................................................................... 25
Microsystems
Standard
DO NOT COPY 2000 SD Group (MEI, SanDisk, Toshiba).
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
FS-iii
SD Memory Card Specifications / Part 2. File System Specification Version 1.0
List of Figures
List of Figures
List of Figures
List of Figures
Figure 2-1 : Example of Volume Structure for Data Area............................................................................ FS-7
Figure A-1 : Example of File System Layout ...................................................................................................... 21
Microsystems
Standard
FS-iv
DO NOT COPY 2000 SD Group (MEI, SanDisk, Toshiba).
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL