摘要 |
PROBLEM TO BE SOLVED: To easily deal with the change of a program at low cost and further ensure high security by providing a means for reloading the program just the number of times previously designated in a non-volatile memory. SOLUTION: A CPU sets the number of times of reloading designated by an issuing command to the number of times of reloading of a master directory. The number of times of reloading is 1 when the master directory is stored in a PROM or is an integer of >=1 when the master directory is stored in an EEPROM. When the number of times of reloading is an integer of >=1, the CPU initializes a storage address, adds the size of the program designated by a storage command to the storage address and stores the result in a RAM as a new storage address. The CPU stores the program carried by the storage command in the PROM or EEPROM. Then, 1 is subtracted from the number of times of reloading of the master directory and defines the result as new number of times of reloading. |