摘要 |
There is provided a data processing device in which a ROM is mapped in an address space of a CPU only when a data storage region in a non-volatile memory is rewritten, to thereby facilitate rewriting the data storage region, and prevent a program storage region from being rewritten. A data processing device of the present invention is equipped with a CPU, a RAM, an address decoder, a flash memory and a mask ROM. When a data storage region in the flash memory is rewritten, the mask ROM is mapped while not being mapped in the other cases, whereby rewriting the data storage region is facilitated, and the program storage region is prevented from being rewritten.
|