SanDisk SDSDH-1024 Product Manual - Page 43

Data Interchange Format and Card Sizes

Page 43 highlights

Revision 2.2 Chapter 3 - SD Card Interface Description SD Card Product Manual 3.5.7 SD Card Registers in SPI Mode In SPI mode, all the card's registers are accessible. Their format is identical to the format in the SD Card mode. However, a few fields are irrelevant in SPI mode. In SPI mode, the card status register has a different, shorter, format as well. Refer to the SPI Protocol section for more details. 3.6 Data Interchange Format and Card Sizes In general, SD Card data is structured by means of a file system. The SD Card File System Specification, published by the SD Association, describes the file format system that is implemented in the SanDisk SD Card. In general, each SD Card is divided into two separate DOS-formatted partitions as follows: • User Area-used for secured and non-secured data storage and can be accessed by the user with regular read/write commands. • Security Protected Area-used by copyright protection applications to save security related data and can be accessed by the host using the secured read/write command after doing authentication as defined in the SD Security Specification. The security protected area size is defined by SanDisk as approximately one percent of the total size of the card. Tables 3-31 and 3-32 describe the user and protected areas for all SanDisk SD Cards. Table 3-31 User Area DOS Image Parameters Capacity 16 MB 32 MB 64 MB 128 MB 256 MB 512 MB 1 GB 2 GB Total LBAs 28,800 59,776 121,856 246,016 494,080 990,976 1,984,000 3,917,072 Number of Partition System Area Sectors 39 45 57 95 155 275 519 519 Total Partition Sectors 28,743 59,725 121,817 245,919 493,979 990,627 1,983,495 3,967,239 User Data Sectors User Data Bytes 28,704 59,680 121,760 245,824 493,824 990,352 1,982,976 3,966,720 14,696,448 30,556,160 62,341,120 125,861,888 252,837,888 507,060,224 1,015,283,712 2,030,960,640 Table 3-32 Capacity 16 MB 32 MB 64 MB 128 MB 256 MB Protected Area DOS Image Parameters Total LBAs 352 736 1,376 2,624 5,376 Number of Partition System Area Sectors 35 37 37 35 37 Total Partition Sectors 351 733 1,373 2,611 5,365 User Data Sectors 316 696 1,336 2,576 5,328 User Data Bytes 161,792 356,352 684,032 1,318,912 2,727,936 © 2004 SanDisk Corporation 3-23 12/08/04

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123

Chapter 3 – SD Card Interface Description
Revision 2.2
SD Card Product Manual
© 2004 SanDisk Corporation
3-23
12/08/04
3.5.7
SD Card Registers in SPI Mode
In SPI mode, all the card’s registers are accessible. Their format is identical to the format in
the SD Card mode. However, a few fields are irrelevant in SPI mode. In SPI mode, the card
status register has a different, shorter, format as well. Refer to the SPI Protocol section for
more details.
3.6
Data Interchange Format and Card Sizes
In general, SD Card data is structured by means of a file system. The SD Card File System
Specification, published by the SD Association, describes the file format system that is
implemented in the SanDisk SD Card. In general, each SD Card is divided into two
separate DOS-formatted partitions as follows:
User Area
—used for secured and non-secured data storage and can be accessed by the
user with regular read/write commands.
Security Protected Area
—used by copyright protection applications to save security
related data and can be accessed by the host using the secured read/write command
after doing authentication as defined in the SD Security Specification. The security
protected area size is defined by SanDisk as approximately one percent of the total size
of the card. Tables 3-31 and 3-32 describe the user and protected areas for all SanDisk
SD Cards.
Table 3-31
User Area DOS Image Parameters
Capacity
Total
LBAs
Number of
Partition
System Area
Sectors
Total Partition
Sectors
User Data
Sectors
User Data
Bytes
16 MB
28,800
39
28,743
28,704
14,696,448
32 MB
59,776
45
59,725
59,680
30,556,160
64 MB
121,856
57
121,817
121,760
62,341,120
128 MB
246,016
95
245,919
245,824
125,861,888
256 MB
494,080
155
493,979
493,824
252,837,888
512 MB
990,976
275
990,627
990,352
507,060,224
1 GB
1,984,000
519
1,983,495
1,982,976
1,015,283,712
2 GB
3,917,072
519
3,967,239
3,966,720
2,030,960,640
Table 3-32
Protected Area DOS Image Parameters
Capacity
Total
LBAs
Number of
Partition
System Area
Sectors
Total Partition
Sectors
User Data
Sectors
User Data
Bytes
16 MB
352
35
351
316
161,792
32 MB
736
37
733
696
356,352
64 MB
1,376
37
1,373
1,336
684,032
128 MB
2,624
35
2,611
2,576
1,318,912
256 MB
5,376
37
5,365
5,328
2,727,936