US 12,032,699 B2
Storage device and method of operating the same
Seok Gi Hong, Suwon-si (KR); Myeong Jong Lee, Seoul (KR); Sung Ho Yoon, Hwaseong-si (KR); and Seong Chan Jo, Dangjin-si (KR)
Assigned to SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on Jul. 5, 2022, as Appl. No. 17/857,387.
Claims priority of application No. 10-2021-0152346 (KR), filed on Nov. 8, 2021; and application No. 10-2022-0001605 (KR), filed on Jan. 5, 2022.
Prior Publication US 2023/0143189 A1, May 11, 2023
Int. Cl. H04L 9/32 (2006.01); G06F 21/57 (2013.01); G06F 21/60 (2013.01)
CPC G06F 21/572 (2013.01) [G06F 21/602 (2013.01); H04L 9/3236 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A storage device for storing data, comprising:
a non-volatile memory comprising a first area configured to store a plurality of normal firmware images and a second area configured to store a plurality of trusted firmware images;
a firmware table configured to store information about the plurality of normal firmware images and the plurality of trusted firmware images; and
a storage controller configured to:
control the non-volatile memory;
perform a self-test for the storage device; and
write at least one of the plurality of trusted firmware images over a boot image based on a result of the self-test,
wherein the firmware table is configured to store a first hash value calculated before encryption of the plurality of trusted firmware images, and a second hash value calculated after encryption of the plurality of trusted firmware images,
wherein the firmware table is further configured to store boot priority, and
wherein firmware assigned a higher boot priority is executed first in response to the storage device being booted.