Patent ID: 8806108

Claim:
A semiconductor storage apparatus including a flash memory which provides a storage area, and a memory controller which controls the reading and writing of data from and to the flash memory, wherein the storage area of the flash memory is configured from a plurality of write areas, and wherein the memory controller divides the data into a size corresponding to the write area, and changes the starting location of writing the data each time the divided data is written into the write area when writing new data to a first page wherein the storage area of the flash memory is divided into a plurality of blocks as an erase unit of the data, and managed by being further divided into a plurality of pages as a unit of reading or writing data, wherein the memory controller divides the data into a size corresponding to the page, and decides the starting location of writing the divided data according to an erase count of the block to which belongs the page where the data is to be written, and wherein the memory controller sets a value obtained by multiplying a predetermined value which equalizes the writing frequency of the data to the erase count of the block as the starting location of writing the page.