摘要 |
A data storage device and a flash memory control method. The disclosed data storage device includes a random access memory, a flash memory and a controller. The flash memory provides a data space for data storage and an in-system-program (ISP) space stored with ISP codes. One of the ISP codes is a permanent-ISP code. The permanent-ISP code contains a look-up table showing how the ISP codes stored in the flash memory map to the random access memory. By the controller, the permanent-ISP code obtained from the flash memory is loaded into the random access memory. Based on the look-up table contained in the permanent-ISP code and loaded in the random access memory with the permanent-ISP code, subsequently requested ISP codes are obtained from the ISP codes of the flash memory and are loaded into the random access memory.
|