US 11,861,012 B2
Memory device having safety boot capability
Chun-Lien Su, Taichung (TW)
Assigned to MACRONIX INTERNATIONAL CO., LTD., Hsinchu (TW)
Filed by MACRONIX INTERNATIONAL CO., LTD., Hsinchu (TW)
Filed on Jul. 1, 2021, as Appl. No. 17/365,847.
Prior Publication US 2023/0004649 A1, Jan. 5, 2023
Int. Cl. G06F 9/00 (2006.01); G06F 21/57 (2013.01); H04L 9/32 (2006.01); G06F 11/10 (2006.01); G06F 9/4401 (2018.01)
CPC G06F 21/575 (2013.01) [G06F 11/1068 (2013.01); H04L 9/3239 (2013.01); G06F 9/4401 (2013.01)] 21 Claims
OG exemplary drawing
 
1. A memory device, comprising:
a plurality of non-volatile registers storing address information for a first copy boot code and at least one redundant copy boot code stored in a memory array;
a non-volatile storage area that keeps a hash digest;
an input/output interface for posting internal status register states to I/O data units;
data path circuits connected between non-volatile registers, the memory array, the non-volatile storage area, and the input/output interface; and
logic circuitry that examines integrity of the first copy boot code stored in the memory array by implementing (i) a first tier hash for determining an initial integrity of the first copy boot code and (ii) a second tier hash using a message digest algorithm for integrity checking an entirety of the first copy boot code and comparing a hash calculation of the first copy boot code and a stored hash calculation determined and stored in the non-volatile storage area holding the hash digest and providing as output one selected from the first copy boot code or the redundant copy boot code in accordance with an integrity examination result.