Patent ID: 7979627

Claim:
A storage device that stores data according to a predetermined file system for recording data management information in a head of a storage area, the storage device comprising: a binary flash memory that has a first storage area and a capacity of storing two values per cell; a multivalued flash memory that has a second storage area greater than the first storage area and a capacity of storing at least three values per cell; a comparator configured to compare an address specified by a host device connected to the storage device with a threshold value determined corresponding to a maximum storage capacity of the first storage area; and a controller configured to, when the specified address does not exceed the threshold value, switch over a destination of data reading and data writing to the binary flash memory and when the specified address exceeds the threshold value, switch over the destination of data reading and data writing to the multivalued flash memory; wherein the controller performs data reading and data writing from and into the binary flash memory or the multivalued flash memory by directly using the specified address, regardless of the switchover of the destination of data reading and data writing to the binary flash memory or to the multivalued flash memory, so that the controller does not use a storage area corresponding to an address smaller than the threshold value and use a storage area corresponding to an address exceeding the threshold value, within the second storage area of the multivalued flash memory; wherein in response to an inquiry for a storage capacity of the storage device from the host device, the controller sends back a storage capacity of the second storage area.