HB28D032MM2 Renesas Electronics America, HB28D032MM2 Datasheet - Page 42

no-image

HB28D032MM2

Manufacturer Part Number
HB28D032MM2
Description
Manufacturer
Renesas Electronics America
Datasheet

Specifications of HB28D032MM2

Lead Free Status / RoHS Status
Compliant
HB28H016/D032/B064/B128MM2
The data block size shall be defined by the host before it sends the card lock/unlock command. This will
allow different password sizes. The following paragraphs define the various lock/unlock command
sequences:
Note that the password length register (PWD_LEN) indicates if a password is currently set. When it equals
‘0’ there is no password set. If the value of PWD_LEN is not equal to zero the card will lock itself after
power up. It is possible to lock the card immediately in the current power session by set-ting the
LOCK/UNLOCK bit (while setting the password) or sending additional command for card lock.
Rev.5.0, Jan. 2003, page 40 of 88
• SET_PWD: 1 = Set new password to PWD
• PWD_LEN: Defines the following password length (in bytes).
• PWD: The password (new or currently used depending on the command).
• Setting the Password
• Reset the Password:
• Locking a card:
—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 8bit card lock/unlock mode, the 8-bit password
—Send Card Lock/Unlock command with the appropriate data block size on the data line
—In case that the sent old password is not correct (not equal in size and content) then
—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 password
—Send the card lock/unlock command with the appropriate data block size on the data line
including 16-bit CRC. The data block shall indicate the mode (SET_PWD), the length
value (PWD_LEN) shall include both passwords, the old and the new one, and the PWD field
shall include the old password (currently used) followed by the new password.
LOCK_UNLOCK_FAILED error bit will be set in the status register and the old password
does not change. In case that PWD matches the sent old password then the given new password
and its size will be saved in the PWD and PWD_LEN fields, respectively.
size (in bytes), and the number of bytes of the new password. In case that a password replacement
is done, then the block size shall consider that both passwords, the old and the new one, are sent
with the command.
(PWD_LEN) and the password itself. In case that a password replacement is done, then the length
size (in bytes), and the number of bytes of the currently used password.
including 16-bit CRC. The data block shall indicate the mode CLR_PWD, the length
(PWD_LEN) and the password (PWD) itself (LOCK/UNLOCK bit is don’t care). If the PWD
and PWD_LEN content match the sent password and its size, then the content of the PWD
register is cleared and PWD_LEN is set to 0. If the password is not correct then the
LOCK_UNLOCK_FAILED error bit will be set in the status register.
line including 16-bit CRC. The data block shall indicate the mode LOCK, the length
(PWD_LEN) and the password (PWD) itself.
—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
password size (in bytes), and the number of bytes of the currently used password.

Related parts for HB28D032MM2