
MultiMediaCard Flash
Preliminary MultiMediaCard Product Manual;
1998 SANDISK CORPORATION
Page 42 of 79
An erase or tag/untag command is received out of sequence. The card will set the
ERASE_SEQ_ERROR error bit in the status register and reset the whole sequence.
An out of sequence command (except SEND_STATUS) is received. The card will set
the ERASE_RESET status bit in the status register, reset the erase sequence and
execute the last command.
If the erase range includes write protected sectors, they will be left intact and only the non
protected sectors will be erased. The WP_ERASE_SKIP status bit in the status register
will be set.
The address field in the tag commands is a sector or a group address in byte units. The
card will ignore all LSBs below the group or sector size.
The number of untag commands (CMD34 and CMD37) which are used in a sequence is
limited up to 16.
As described above for block write, the MultiMediaCard will indicate that an erase is in
progress by holding DAT low. The actual erase time may be quite long, and the host may
chose to deselect the card using CMD7.
Write Protect Management
Card data may be protected against either erase or write by the write protection features.
The entire card may be permanently write protected by the manufacturer or content
provider by setting the permanent or temporary write protect bits in the CSD. For cards
which support write protection of smaller groups (the WP_GRP_ENABLE bit in the CSD is
set), portions of the data may be protected (in units of WP_GRP_SIZE sectors as specified
in the CSD), and the write protection may be changed by the application. The
SET_WRITE_PROT command sets the write protection of the addressed write-protect
group, and the CLR_WRITE_PROT command clears the write protection of the addressed
write-protect group.
The SEND_WRITE_PROT command is similar to a single block read command. The card
will send a data block containing 32 write protection bits (representing 32 write protect
groups starting at the specified address) followed by 16 CRC bits. The address field in the
write protect commands is a group address in byte units. The card will ignore all LSBs
below the group size.
5.4.3 Clock Control
The MultiMediaCard bus clock signal can be used by the MultiMediaCard host to set the
cards to energy saving mode or to control the data flow (to avoid under-run or over-run
conditions) on the bus. The host is allowed to lower the clock frequency or shut it down.
There are a few restrictions the MultiMediaCard host must follow:
The bus frequency can be changed at any time (under the restrictions of maximum
data transfer frequency, defined by the MultiMediaCards, and the identification
frequency defined by the specification document).
It is an obvious requirement that the clock must be running for the MultiMediaCard to
output data or response tokens. After the last MultiMediaCard bus transaction, the host
is required, to provide 8 (eight) clock cycles for the card to complete the operation
before shutting down the clock. Following is a list of the various MultiMediaCard bus
transactions:
A command with no response. 8 clocks after the host command end bit.