Patent ID: 8527730

Claim:
A data updating method of updating data which is stored in a memory device which is connectable to a host device and has a memory section and a memory controller, wherein: the memory section has a first memory section which can be divided into partitions having multiple different attributes, and a work space which is managed by the memory controller; and from multiple different writing methods of writing data into the partition, one of the writing methods which has been selected depending on the attribute of the partition is used to perform an updating process; and a writing method to update data in a boot-partition which is a partition having a boot attribute, in which the data of a boot code configured to start the host device is stored, includes: sequentially writing data which is not updated and data which is updated into the work space; confirming that the writing into the workspace has been normally terminated; assigning the workspace to the boot-partition if it has been able to confirm that the writing has been normally terminated; and stopping the updating process and discarding the data recorded in the work space if it has not been able to confirm that the writing has been normally terminated.