-
1.
公开(公告)号:US20230342052A1
公开(公告)日:2023-10-26
申请号:US17725531
申请日:2022-04-20
Applicant: Silicon Motion, Inc.
Inventor: Ching-Ke Chen , Wei-Chih Hsu
IPC: G06F3/06
CPC classification number: G06F3/064 , G06F3/0658 , G06F3/0679 , G06F3/0659 , G06F3/0604
Abstract: The present invention provides a method for accessing a flash memory module, wherein the method includes the steps of: writing data into a plurality of pages of a specific block, and establishes or updates a F2H mapping table based on physical addresses of the plurality of pages and logical addresses of the data; using the F2H mapping table to update a H2F mapping table; initializing a flush-bitmap, wherein the flush-bitmap records a plurality of flush bits corresponding to the physical addresses of the plurality of pages, respectively; receiving a trim command from a host device, wherein the trim command asks to mark at least one of the logical addresses of the data as invalid; updating the H2F mapping data according to the trim command; updating the flush-bitmap according to the trim command; and writing the updated H2F mapping table and the updated flush-bitmap into the flash memory module.
-
公开(公告)号:US11947818B2
公开(公告)日:2024-04-02
申请号:US17725531
申请日:2022-04-20
Applicant: Silicon Motion, Inc.
Inventor: Ching-Ke Chen , Wei-Chih Hsu
CPC classification number: G06F3/064 , G06F3/0658 , G06F3/0659 , G06F3/0679 , G06F12/0246 , G06F12/10 , G06F3/0604
Abstract: The present invention provides a method for accessing a flash memory module, wherein the method includes the steps of: writing data into a plurality of pages of a specific block, and establishes or updates a F2H mapping table based on physical addresses of the plurality of pages and logical addresses of the data; using the F2H mapping table to update a H2F mapping table; initializing a flush-bitmap, wherein the flush-bitmap records a plurality of flush bits corresponding to the physical addresses of the plurality of pages, respectively; receiving a trim command from a host device, wherein the trim command asks to mark at least one of the logical addresses of the data as invalid; updating the H2F mapping data according to the trim command; updating the flush-bitmap according to the trim command; and writing the updated H2F mapping table and the updated flush-bitmap into the flash memory module.
-