hb288032mm1 Renesas Electronics Corporation., hb288032mm1 Datasheet - Page 37

no-image

hb288032mm1

Manufacturer Part Number
hb288032mm1
Description
Multimediacard 32 Mbyte - Hitachi Semiconductor
Manufacturer
Renesas Electronics Corporation.
Datasheet
If the PWD content equals to the sent password then the card will be locked and the card-locked status bit
will be set in the status register. If the password is not correct then LOCK_UNLOCK_FAILED error bit
will be set in the status register. Note that it is possible to set the password and to lock the card in the same
sequence. In such case the host shall perform all the required steps for setting the password (as described
above) including the bit LOCK set while the new password command is sent. If the password was
previously set (PWD_LEN is not ‘0’), then the card will be locked automatically after power on reset. An
attempt to lock a locked card or to lock a card that does not have a password will fail and the
LOCK_UNLOCK_FAILED error bit will be set in the status register.
If the PWD content equals to the sent password then the card will be unlocked and the card-locked status
bit will be cleared in the status register. If the password is not correct then the LOCK_UNLOCK_FAILED
error bit will be set in the status register. Note that the unlocking is done only for the current power
session. As long as the PWD is not cleared the card will be locked automatically on the next power up.
The only way to unlock the card is by clearing the password. An attempt to unlock an unlocked card will
fail and LOCK_UNLOCK_FAILED error bit will be set in the status register.
In case that the user forgot the password (the PWD content) it is possible to erase all the card data content
along with the PWD content. This operation is called Forced Erase.
If the ERASE bit is not the only bit in the data field then the LOCK_UNLOCK_FAILED error bit will be
set in the status register and the erase request is rejected. If the command was accepted then ALL THE
CARD CONTENT WILL BE ERASED including the PWD and PWD_LEN register content and the
locked card will get unlocked.
LOCK_UNLOCK_FAILED error bit will be set in the status register.
—Send the card lock/unlock command with the appropriate data block size on the data
—Select a card (CMD7), if not previously selected already.
—Define the block length (CMD16), given by the 8 bit card lock/unlock mode, the 8 bit
—Send the card lock/unlock command with the appropriate data block size on the data
—Select a card (CMD7), if not previously selected already.
—Define the block length (CMD16) to 1 byte (8bit card lock/unlock command). Send
(PWD_LEN) and the password (PWD) itself.
password size (in bytes), and the number of bytes of the currently used password.
line including 16 bit CRC. The data block shall indicate the mode UNLOCK, the length
(PWD_LEN) and the password (PWD) itself.
line including 16 bit CRC. The data block shall indicate the mode ERASE (the ERASE
bit shall be the only bit set).
line including 16 bit CRC. The data block shall indicate the mode LOCK, the length
the card lock/unlock command with the appropriate data block of one byte on the data
Unlocking the card:
Forcing Erase:
An attempt to force erase on an unlocked card will fail and
HB288032MM1
37

Related parts for hb288032mm1