Patent ID: 7418542

Claim:
A rewritable, nonvolatile memory comprising: a first region that stores a processing program which allows an electronic device to perform a process; a second region that stores a boot program and a rewrite program, the boot program allowing the electronic device to perform a boot and the rewrite program allowing the electronic device to rewrite the processing program; and a first specific portion provided in the first region and having stored therein information necessary for the electronic device to access a portion of the second region where the boot program is stored, the first specific portion being accessed first upon boot-up by the electronic device, wherein the rewrite program comprises the steps of: allowing the electronic device to erase storage contents of the first region such that a storage content of the first specific portion is erased last; and after the storage contents of the first region are erased by the erasing step, allowing the electronic device to write storage contents including a new processing program into the first region such that a storage content of the first specific portion is written first.