hb28d064mm2 Renesas Electronics Corporation., hb28d064mm2 Datasheet - Page 40

no-image

hb28d064mm2

Manufacturer Part Number
hb28d064mm2
Description
Multimediacard 16 Mbyte/32 Mbyte/64 Mbyte/128 Mbyte
Manufacturer
Renesas Electronics Corporation.
Datasheet
HB28E016/D032/D064/B128MM2
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.
40
—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), 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
LOCK_UNLOCK_FAILED error bit will be set in the status register.
password size (in bytes), and the number of bytes of the currently used password.
(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.
the card lock/unlock command with the appropriate data block of one byte on the data
register is cleared and PWD_LEN is set to 0. If the password is not correct then the
line including 16-bit CRC. The data block shall indicate the mode LOCK, the length
Locking a card:
Unlocking the card:
Forcing Erase:

Related parts for hb28d064mm2