STORiUM Secure Digital Card

STORiUM Secure Digital Card
STORiUM
Secure Digital Card
Secure Digital Card Series, Min.32MB ~ Max.512MB
SD & SPI Interface Mode
GENERAL DESCRIPTION
SD Memory Card (Secure Digital Memory Card) is a memory card that is specifically designed to meet the security,
capacity, performance and environment requirements inherent in newly emerging audio and video consumer electronic
devices. The SD Memory Card will include a copyright protec-tion mechanism that complies with the security of the
SDMI standard and will be faster and capable for higher Memory capacity. The SD Memory Card security system uses
mutual authentication and a "new cipher algorithm" to protect from illegal usage of the card content. A none secured
access to
the user‘ s own content is also available. The physical form factor, pin assignment and data transfer protocol are
forward compatible with the MultiMediaCard with some additions.
The SD Memory Card communication is based on an advanced 9-pin interface (Clock, Command, 4xData and
3xPower lines) designed to operate in at maximum operating frequency of 25MHz of and low voltage range. The
communication protocol is defined as a part of this specification. The SD Memory Card host interface supports
regular MultiMediaCard operation as well. In other words, MultiMediaCard forward compatibility was kept.
Actually the main difference between SD Memory Card and MultiMediaCard is the initialization process.
FEATURES
-
-
-
Targeted for port able and stationary applications
Voltage range :
SD Memory Card Basic communication (CMD0, CMD15, CMD55, ACMD41): 2 .0 - 3 .6 V
Other commands and memory access : 2.7 - 3.6 V
SDLV Memory Card (low voltage) - Operating voltage range : 1.6 - 3.6 V
Designed for read-only and read/write cards.
Variable clock rate 0-25MHZ
Up to 10MByte/secRead/Write rate (using 4parallel data lines).
Maximum data rate with up to 10 cards
Correction of memory field errors
Card removal during read operation will never harm the content
Forward compatibility to Multi Media Card Copy rights Protection Mechanism-Complies with highest security of
SDMI standard.
Password Protection of cards(option)
Write Protect feature using mechanical switch
Built -in write protection features (permanent and temporary )
Card Detection (Insertion/Removal).
Application specific commands
Comfortable erase mechanism
Protocol attributes of the communication channel :
SD Memory Card Communication Channel
Six-wire communication channel (clock, command, 4 data lines)
Error-protected data transfer
Single or Multiple block oriented data transfer
SD Memory Card thickness is defined as either 2.1mm (normal) and 1.4mm (Thin SD Memory Card).
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
1 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
PRODUCT SPECIFICATIONS
Capacities :
32, 64, 128, 256 and up to 512 MB (formatted)
System Compatibility :
Please refer to the compatibility list of index.
Performance :
Host Data Transfer Rates :
Up to 10MByte/secRead/Write rate (using 4parallel data lines).
Operating Voltage : 2.7V ~3.6V
Environment conditions :
1) Standard Operation Conditions
Absolute Maximum Temperature Range: Ta = -25 to +85 degrees centigrade
(Humidity less than RH = 95 %, Non condensed)
Recommended Operating Conditions: Ta = 0 to +55 degrees centigrade
(Humidity RH = 20% to 85 % Non condensed)
Note :
Absolute maximum temperature range shows the maximum range which can operate in some
condition, and DOES NOT mean a guaranteed operation in any conditions.
For the Stable operations, the recommended operating conditions are suggested or please ask for the
customized conditions to HANBiT sales representatives.
2) Storage Temperature
Absolute Maximum Temperature Range: Tstg = -40 to +85 degrees centigrade
(Humidity less than RH = 95% Non condensed)
Recommended Storage Conditions: Tstg = -20 to +65 degrees centigrade
(Humidity RH = 5% to 85% Non condensed)
Note :
Absolute maximum temperature range shows the maximum range to store.
However, DOES NOT mean a guaranteed conditions for long term.
There are some impacts on the SD card if stored in this temperature rage for long term.
For the long term storage period, the recommended storage conditions is suggested
or please ask for the customized conditions to HANBiT sales representatives.
Interface(SD Physical Layer Specification Ver.1.0 Compliant)
SD Card Interface, (SD: 4 or 1bit)
SPI Mode Compatible
- Compliant with PHYSICAL LAYER SPECIFICATION Ver.1.0. (Part1)
- Compliant with FILE SYSTEM SPECIFICATION Ver.1.0. (Part2)
- Compliant with SECURITY SPECIFICATION Ver.1.0. (Part3)
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
2 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
DC Characteristics:
AC Characteristics:
Fig : AC Timing Diagram
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
3 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
Table : AC Characteristics
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
4 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
PHYSYCAL SPECIFICATION
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
5 / 23
HANBiT Electronics Co., Ltd.
STORiUM
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
Secure Digital Card
6 / 23
HANBiT Electronics Co., Ltd.
STORiUM
-
R/W card(WP switch is movable)
-
ROM card(WP area is fixed)
Secure Digital Card
-
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
7 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
PIN ASSIGNMENTS AND PIN TYPE
SD Card Pin assignment (Back view of the Card)
1)
S: Power Supply, I: Input, O: Output, I/O: Bi-directionally,‘PP’ - IO using push-pull drivers
2) (*) These signals should be pulled up by host side with 10-100k ohm resistance in the SPI Mode.
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
8 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
SD CARD BUS TOPOLOGY AND REGISTERS
- SD Bus Mode protocol
The SD bus allows the dynamic configuration of the number of data line from 1 to 4 Bi-directional data signal.
After power up by default, the SD card will use only DAT0. After initialization, host can change the bus width.
Multiplied SD cards connections are available to the host. Common Vdd, Vss and CLK signal connections are
available in the multiple connections. However, Command, Respond and Data lined (DAT0-DAT3) shall be divided
for each card from host.
This feature allows easy trade off between hardware cost and system performance. Communication over the SD
bus is based on command and data bit stream initiated by a start bit and terminated by stop bit.
Command:
Commands are transferred serially on the CMD line. A command is a token to starts an operation from
host to the card.
Commands are sent to an addressed single card (addressed Command) or to all connected cards
(Broad cast command).
Response:
Responses are transferred serially on the CMD line.
A response is a token to answer to a previous received command. Responses are sent from an
addressed single card or from all connected cards.
Data:
Data can be transfer from the card to the host or vice versa.
Data is transferred via the data lines.
SD Card (SD Mode) connection Diagram
CLK : Host card Clock signal
CMD : Bi-directional Command/ Response Signal
DAT0 - DAT3: 4 Bi-directional data signal
Vdd : Power supply
Vss : GND
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
9 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
SD Mode Command Set
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
10 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
SPI Bus mode Protocol
The SPI bus allows 1 bit Data line by 2-chanel (Data In and Out).
The SPI compatible mode allows the MMC Host systems to use SD card with little change.
The SPI bus mode protocol is byte transfers.
All the data token are multiples of the bytes (8-bit) and always byte aligned to the CS signal.
The advantage of the SPI mode is reducing the host design in effort.
Especially, MMC host can be modified with little change.
The disadvantage of the SPI mode is the loss of performance versus SD mode.
Caution: Please use SD Card Specification. DO NOT use MMC Specification.
For example, initialization is achieved by ACMD41, and be careful to Register. : GND Register definition is
different, especially CSD Register.
SD card (SPI mode) connection diagram
CS: Card Select Signal
CLK: Host card Clock signal
Data in: Host to card data line
Data out: card to host data line
Vdd : Power supply
Vss : GND
SPI Bus Mode Pad Definition
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
11 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
SPI Mode Command Set
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
12 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
SD Card Registers
The host may reset the cards by switching the power supply off and on again. The card has its own power-on detection
circuitry which puts the card into an idle state after the power-on. The card can also be reset by sending the GO_IDLE
(CMD0) command.
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
13 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
There is a set of seven registers within the card interface. The OCR, CID, CSD and SCR registers carry the card
configuration information. The RCA register holds the card relative communication address for the current session. The
card status and SD status registers hold the communication protocol related status of the card.
Operating Conditions Register (OCR)
Accessing the data in the memory array, however, requires 2.7 to 3.6 Volts. The OCR shows the voltage range in which
the card data can be accessed. The structure of the OCR register is described in next table.
The level coding of the OCR register is as follows:
Restricted voltage windows=LOW
Card busy=LOW (bit 31)
The least significant 31 bits are constant and will be set as described in this figure. If bit 32 (the busy bit) is set, it
informs the host that the card power up procedure is finished.
Card Identification (CID) Register
The CID register is 16 bytes long and contains a unique card identification number as shown in next table. It is
programmed during card manufacturing and cannot be changed by SD Card hosts. Note that the CID register in the SD
Card has a different structure than the CID register in the MultiMediaCard.
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
14 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
CSD Register
The Card Specific Data (CSD) register contains configuration information required to access the card data. In this table
3-10, the cell type column defines the CSD field as Read only (R), One Time Programmable (R/W) or erasable (R/W/E).
This table shows the value in “real world” units for each field and coded according to the CSD structure. The Model
dependent column marks (with a check mark, √) the CSD fields that are model dependent.
Note that the CSD register in the SD Card has a different structure than the CSD in the MultiMediaCard.
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
15 / 23
HANBiT Electronics Co., Ltd.
STORiUM
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
Secure Digital Card
16 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
SCR Register
In addition to the CSD register, there is another configuration register that is named SD CARD Configuration
Register (SCR). SCR provides information on SD Card's special features that were configured into the given card.
The size of SCR register is 64 bit. This register shall be set in the factory by the SD Card manufacturer. Table describes
the SCR register content.
Status Register
The SD Card supports the following two card status fields:
Card Status— This status field is compatible to the MultiMediaCard protocol.
SD Status— This extended status field of 512 bits supports special features unique to the SD Card and future
application specific features.
The SD Card status registers’ structures are defined in next table. The Type and Clear-Condition fields in the table are
coded as follows:
Type:
E— Error bit.
S— Status bit.
R— Detected and set for the actual command response.
X— Detected and set during command execution. The host must poll the card by sending status command in
order to read these bits.
Clear Condition:
A— According to the card current state.
B— Always related to the previous command. Reception of a valid command will clear it (with a delay of one
command).
C— Clear by read.
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
17 / 23
HANBiT Electronics Co., Ltd.
STORiUM
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
Secure Digital Card
18 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
SD Status
The SD Status contains status bits that are related to the SD Card proprietary features and may be used for future
application specific usage. The size of the SD Status is one d ata block of 512 bits. The content of this register is
transmitted to the Host over the DAT bus along with 16 bits CRC. The SD Status is sent to the host over the DAT bus if
ACMD13 is sent (CMD55 followed with CMD13). ACMD13 can be sent to a card only in ‘tran_state’ (card selected). The
SD Status structure is listed in Table 3 -29. The same abbreviations for ‘type’ and ‘clear condition’were used as for the
Card Status above.
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
19 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
RCA Register
The 16-bit relative card address register carries the card address that is published by the card during the card
identification. This address is used for the addressed host-card communication after the card identification procedure.
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
20 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
CARD INITIALIZE
To initialize the HANBiT SD card, follow the following procedure is recommended example.
1)
Supply Voltage for initialization.
Host System can apply the Operating Voltage from initialization to the card. Apply more than 74 cycles of
Dummy-clock to the SD card.
2) Select operation mode (SD mode or SPI mode)
In case of SPI mode operation, host should drive 1 pin (CD/DAT3) of SD Card I/F to “Low” level. Then, issue
CMD0.
In case of SD mode operation, host should drive or detect 1 pin of SD Card I/F (Pull up register of 1 pin is pull
up to “High” normally).
Card maintain selected operation mode except re-issue of CMD0 or power on below is SD mode
initialization procedure.
3)
4)
Send the ACMD41 with Arg = 0 and identify the operating voltage range of the Card.
Apply the indicated operating voltage to the card.
Reissue ACMD41 with apply voltage storing and repeat ACMD41 until the busy bit is cleared.
(Bit 31 Busy = 1) If response time out occurred, host can recognize not SD Card.
Note: In MMC-SPI Mode, CMD1 can use in this state.
However, do not use CMD1 in case of SD Mode.
5)
Issue the CMD2 and get the Card ID (CID).
Issue the CMD3 and get the RCA. (RCA value is randomly changed by access, not equal zero)
6)
Issue the CMD7 and move to the transfer state.
If necessary, Host may issue the ACMD42 and disabled the pull up resistor for Card detect.
7)
Issue the ACMD13 and poll the Card status as SD Memory Card. Check SD_CARD_TYPE value. If significant
8 bits are “all zero”, that means SD Card. If it is not, stop initialization.
8)
Issue CMD7 and move to standby state.
Issue CMD9 and get CSD.
Issue CMD10 and get CID.
9)
Back to the Transfer state with CMD7.
Issue ACMD6 and choose the appropriate bus -width.
Then the Host can access the Data between the SD card as a storage device.
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
21 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
Recommended Example of SD card Initialize Procedure
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
22 / 23
HANBiT Electronics Co., Ltd.
STORiUM
Secure Digital Card
Ordering Infomation
NO
Parts
Capacity
Media transfer
mode
Chip Number
1
SDC-32A
32Mbyte
BYTE
1
2
SDC-64A
64Mbyte
BYTE
1
3
SDC-128A
128Mbyte
BYTE
1
4
SDC-256A
256Mbyte
BYTE
1
5
SDC-512A
512Mbyte
BYTE
1
URL:www.hbe.co.kr
Rev. 1.1 (May, 2003)
23 / 23
Note
HANBiT Electronics Co., Ltd.
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising