摘要 |
PURPOSE:To reduce the necessary time required for writing data by rewriting only the address of which to be written in a EEPROM is different from the one already written. CONSTITUTION:When data to be written in the EEPROM 2 and the number of the data n are sent to a MPU 1 according to a write command from an external equipment, the MPU 1 sets the address of the EEPROM 2 to which the data is written, and also sets the number of data n to be written in a data counter. The MPU 1 sets the address to which one datum among the data is written, and reads the contents of the address. It compares the data (new one) to be written with the data (old one) read from the address, and do not rewrite the data for that address if both are same, keeping the old data. If both are different, it erases the data of the address, and rewrites the new data. |