hb28j128mm3 Renesas Electronics Corporation., hb28j128mm3 Datasheet - Page 41
![no-image](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__sml.jpg)
hb28j128mm3
Manufacturer Part Number
hb28j128mm3
Description
Multimediacard 32 Mbyte/64 Mbyte/128 Mbyte/256 Mbyte/512 Mbyte
Manufacturer
Renesas Electronics Corporation.
Datasheet
1.HB28J128MM3.pdf
(91 pages)
HB28K032/L064/J128/J256/J512MM3, HB28K032/L064/J128/J256RM3
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. An attempt to force erase on an unlocked card will fail and
LOCK_UNLOCK_FAILED error bit will be set in the status register.
Rev.0.02, Sep.15.2004, page 41 of 89
password size (in bytes), and the number of bytes of the currently used password.
including 16-bit CRC. The data block shall indicate the mode LOCK, the length (PWD_LEN)
and the password (PWD) itself.
password size (in bytes), and the number of bytes of the currently used password.
including 16-bit CRC. The data block shall indicate the mode UNLOCK, the length
(PWD_LEN) and the password (PWD) itself.
lock/unlock command with the appropriate data block of one byte on the data line including 16-
bit CRC. The data block shall indicate the mode ERASE (the ERASE bit shall be the only bit
set).
Locking a card:
Unlocking the card:
Forcing Erase:
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 line
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 line
Select a card (CMD7), if not previously selected already.
Define the block length (CMD16) to 1 byte (8bit card lock/unlock command). Send the card