摘要 |
A microcomputer is capable of having a CPU calculate a suitable bit rate with respect to a host computer and of setting accordingly an appropriate erasure time forestalling excess erasure of an internally furnished flash memory regardless of the operating frequency of the microcomputer. The microcomputer includes a central processing unit, a non-volatile semiconductor memory, and a terminal which is supplied with a mode set signal. The non-volatile semiconductor memory includes a first block storing a control program and a second block storing data. When the terminal is supplied with a mode set signal for indicating a predetermined mode, if data has previously been written into the second block, such data is erased by the central processing unit. On the other hand, if no data is found in the second block, it is determined that an erase operation is unnecessary and therefore is not performed.
|