Patent ID: 6526472
Filing Date: 2003-02-25
Classification: G06F

Abstract:
An access control method for accessing a flash memory which has a read speed higher than a write speed and which is accessible directly by designating a memory address, comprising:a generation step of generating block access information for accessing the flash memory in units of blocks on the basis of an access request designated by a user program; a calculation step of calculating an access address to the flash memory on the basis of an access destination block designated by the block access information; a reading step of, when the access request is a data read request, directly reading data from the flash memory without using a buffer for temporarily holding contents of the flash memory, by accessing the flash memory with the block access information generated in the generation step and the access address calculated in the calculation step, and copying the read data directly to a memory area managed by the user program; and a write step of, when the access request is a data write request, writing data to the flash memory via the buffer based on the block access information generated in the generation step and the access address calculated in the calculation step.