US 11,720,249 B2
Data storage device and method for rewriting parameters thereof
Te-Kai Wang, New Taipei (TW); and Yu-Da Chen, Taipei (TW)
Assigned to SILICON MOTION, INC., Jhubei (TW)
Filed by Silicon Motion, Inc., Jhubei (TW)
Filed on Dec. 6, 2022, as Appl. No. 18/62,075.
Application 18/062,075 is a continuation of application No. 17/524,914, filed on Nov. 12, 2021, granted, now 11,550,474.
Application 17/524,914 is a continuation of application No. 16/929,326, filed on Jul. 15, 2020, granted, now 11,199,970, issued on Dec. 14, 2021.
Application 16/929,326 is a continuation of application No. 16/432,015, filed on Jun. 5, 2019, granted, now 10,754,548, issued on Aug. 25, 2020.
Application 16/432,015 is a continuation of application No. 15/886,012, filed on Feb. 1, 2018, granted, now 10,353,584, issued on Jul. 16, 2019.
Claims priority of provisional application 62/453,567, filed on Feb. 2, 2017.
Claims priority of application No. 107101540 (TW), filed on Jan. 16, 2018.
Prior Publication US 2023/0101705 A1, Mar. 30, 2023
Int. Cl. G06F 12/00 (2006.01); G06F 3/06 (2006.01); G06F 12/02 (2006.01); G11C 16/22 (2006.01); G11C 16/10 (2006.01); G11C 16/26 (2006.01)
CPC G06F 3/0605 (2013.01) [G06F 3/0619 (2013.01); G06F 3/0634 (2013.01); G06F 3/0679 (2013.01); G06F 12/0246 (2013.01); G11C 16/10 (2013.01); G11C 16/22 (2013.01); G11C 16/26 (2013.01); G06F 2212/72 (2013.01); G06F 2212/7206 (2013.01); G06F 2212/7207 (2013.01); G06F 2212/7209 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A data storage device comprising:
a flash memory storing a firmware, wherein the firmware comprises a plurality of mode page settings, and each mode page setting comprises a plurality of mode parameters; and
a controller, receiving a data out message from a host, wherein the data out message is arranged to rewrite a first mode page setting among the plurality of mode page settings, the controller further determines, based on a reference array, whether the data out message will change the mode parameters which cannot be rewritten in the first mode page setting, and the reference array stores a rewriteable setting for each bit of the first mode page setting,
wherein when determining, based on the reference array, that the data out message will change the mode parameters which cannot be rewritten in the first mode page setting, the controller rejects to change the mode parameters which cannot be rewritten in the first mode page setting.