摘要 |
A data writing/reading device of a camera, in case it has become impossible to write data correctly to certain memory area of an E2PROM because of frequent rewritings, can write data to other memory areas of the E2PROM, and read out the data. Write requiring data to the E2PROM is written to a first predetermined address of the E2PROM, and read out immediately after writing. If the write requiring data and the read data are non-coincident, an address which is different from the preceding address is designated, and writing and reading are repeated until the write requiring data and read data become coincident. When the write requiring data and the read data agree with each other, writing to the E2PROM is finished. And, an address on which data which agrees with the write requiring data is written, as data, to a second predetermined address of the E2PROM which does not overlap with addresses used for writing write requiring data. In reading, the address on which the data which agrees with the write requiring data is written is read out from the second predetermined address, and the data is read out from the E2PROM based on the read address.
|