摘要 |
PROBLEM TO BE SOLVED: To provide a method and a device, capable of safely and surely rewriting a flash memory rewrite program (boot program) itself being stored in a flash memory, when it is rewritten. SOLUTION: A flash memory area is divided into a startup program area, a boot program area, an application program area, a backup area and a status area in a unit to be deleted in block, the boot program is copied to the back-up area, when the boot program is updated, the boot program of the backup area is executed until rewrite of the boot program is completed, rewrite state information is stored in the status area and each step is executed by the information. |