Data Read Format - SanDisk SDMB-16-470 - 16 MB MultiMedia Card Product Manual

Multimedia card
Table of Contents

Advertisement

MultiMediaCard Product Manual
The relationship
between the
transfer modes is summarized in the card state
diagram Figure 5-2,
paragraphs:
• All data read commands can be aborted
any time by the stop command (CMD12).
The data transfer will terminate and t h e
MultiMediaCard
Transfer State. The read commands are:
stream
read
(CMD17), multiple block read (CMD18)
and send write protect (CMD30).
All data write commands can be aborted
any time by the stop command (CMD12).
The write commands must be stopped prior
to deselecting the MultiMediaCard by
CMD7. The write commands are: stream
write (CMD20), block write (CMD24 and
CMD25), write CID (CMD26), and write
CSD (CMD27).
If a stream write operation is stopped
prior to reaching the block boundary and
partial blocks are allowed (as defined in
the CSD), the part of the last block will
be packed
as
programmed. If partial blocks are not
allowed, the data will be discarded.
As soon as the data transfer is completed,
the MultiMediaCard will exit the data
write state and move either
Programming State (transfer is successful)
or Transfer State (transfer failed).
If a block write operation is stopped and
the block length and CRC of the last block
are valid, the data will be programmed.
If data transfer in stream write mode is
stopped, not byte aligned, the bits of t h e
incomplete byte are ignored and not
programmed.
The
MultiMediaCard
buffering for stream and block write. This
means that the next block can be sent to
the card while the previous is being
programmed. If all write buffers are full,
and as long as the MultiMediaCard is in
Programming State (see MultiMediaCard
state diagram Figure 5-2), the DAT line
will be kept low.
There is no buffering option for write CSD,
write CID, write protection and erase.
42
various data
and in the
following
will
return
to
t h e
(CMD11),
block
read
a
partial
block and
to t h e
may
provide
SanDisk MultiMediaCard Product Manual Rev. 2 © 2000 SANDISK CORPORATION
This
means
MultiMediaCard is busy servicing any one
of these commands, no other data transfer
commands will be accepted. DAT line will
be
kept
low
MultiMediaCard is busy and in t h e
Programming State.
Parameter set commands are not allowed
while
the
programming. Parameter set commands
are: set block length (CMD16), and erase
tagging/untagging (CMD32-37).
Read commands are not allowed while t h e
MultiMediaCard is programming.
Moving another MultiMediaCard from
Stand-by to Transfer State (using CMD7)
will
not
terminate
operation. The
switch to the Disconnect State and will
release the DAT line.
A MultiMediaCard
while in the Disconnect State,
CMD7. In this case the MultiMediaCard
will move to the Programming State and
reactivate the busy indication.
Resetting a MultiMediaCard (using CMD0
or CMD15) will terminate any pending or
active programming operation. This may
destroy
the
MultiMediaCard. It is up to the host's
responsibility to prevent this.
5.3.1

Data Read Format

The DAT bus line is high when no data is
transmitted. A transmitted data block consists of a
start bit (LOW), followed by a continuous data
stream. The data stream contains the net payload
data (and error correction bits if an off-card ECC is
used). The data stream ends with an end bit
(HIGH). The data transmission is synchronous to
the clock signal.
The payload for block oriented data transfer is
preserved by a CRC check sum. The generator
polynomial is a standard CCITT polynomial
16
x
+x
The code is a shortened BCH code with d=4 and is
used for payload length of up to 2048 Bytes.
that
while
as
long
as
MultiMediaCard
a
programming
MultiMediaCard
will
can be reselected
using
data
contents
on
12
5
+x
+1.
t h e
t h e
is
t h e

Advertisement

Table of Contents
loading

Table of Contents