Method and apparatus for reading/writing data from/into flash memory, and user equipment
Abstract:
A method and an apparatus for reading/writing data from/into a flash memory, and user equipment are presented. The method includes receiving a read data instruction, where the read data instruction includes a size of to-be-read data and a physical address of the to-be-read data in the flash memory; searching a buffer for the physical address; when the physical address is not found in the buffer, dividing a buffer data area from internal memory according to the size of the to-be-read data and an actual physical block size of the flash memory; and reading the to-be-read data from the flash memory according to the physical address and buffering the to-be-read data into the buffer data area.
Information query
Patent Agency Ranking
0/0