Patent ID: 7065608

Claim:
An apparatus for recording data and management information, which writes data to a flash memory, the flash memory having data written therein in a unit of a page having data of a predetermined amount, which written data can be deleted at a time in a unit of a block composed of a plurality of pages, comprising: storage means for reading out management information stored in the flash memory to store read out management information; updating means for updating management information stored in the storage means; management information writing means for writing management information updated by the updating means to the page being a unit in writing data to the flash memory; and control means for controlling the management information writing means so that, when the management information writing means writes updated management information to a page of the flash memory, a block is selected which is different from a block including a page in which management information just before updating is written, and updated management information is written to a vacant page of the selected block, wherein a block is selected that is different from a block including a page in which management information just before updating is written at least in a case other than when a page in which management information just before updating is written is a last page of a block.