US 12,014,063 B2
Control method for flash memory controller and associated flash memory controller and storage device
Ching-Hui Lin, Hsinchu County (TW)
Assigned to Silicon Motion, Inc., Hsinchu County (TW)
Filed by Silicon Motion, Inc., Hsinchu County (TW)
Filed on Jan. 18, 2023, as Appl. No. 18/098,129.
Application 18/098,129 is a continuation of application No. 17/394,401, filed on Aug. 5, 2021, granted, now 11,593,008.
Claims priority of application No. 110100581 (TW), filed on Jan. 7, 2021.
Prior Publication US 2023/0153002 A1, May 18, 2023
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/064 (2013.01) [G06F 3/0605 (2013.01); G06F 3/0652 (2013.01); G06F 3/0659 (2013.01); G06F 3/0679 (2013.01)] 12 Claims
OG exemplary drawing
 
1. A control method applied to a flash memory controller, wherein the flash memory controller is configured to access a flash memory module, the flash memory module comprises a plurality of blocks, each of the plurality of blocks is a physical block, and each block comprises a plurality of pages; the control method comprising:
receiving a settling command from a host device, wherein the settling command configures at least one portion of the flash memory module as a zoned namespace, wherein the zoned namespace logically comprises a plurality of zones, the host device performs a zone-based data write operation on the zoned namespace, each zone has a same size, logical addresses corresponding to each zone are continuous, and the logical addresses are not overlapping between zones;
receiving one or more write command from the host device to write data of a specific zone into the flash memory module; and
writing the data to specific blocks of the plurality of blocks in the flash memory module in sequence according to a sequence of the logical addresses of the data, wherein each of the specific blocks only corresponds to the specific zone without corresponding to any other zone;
wherein after the data of the specific zone is completely written into the specific blocks, if the last specific block has remaining pages, writing invalid data, without writing data of any other zone, to the remaining pages of the last specific block.