摘要 |
<p>PROBLEM TO BE SOLVED: To provide a microcontroller including a nonvolatile memory enabling to use the entire range of the nonvolatile memory as a range for a user program or data, without increasing the area of a chip. SOLUTION: A serial interface 16 and a DMA 17 transfer a program controlling rewriting of a flash memory 12 from an exterior device 30 to a RAM 14 in an early state. Under the condition that an on-board rewriting mode signal SM is inputted, a reset vector converting circuit 20 outputs an address of a RAM 13 storing a program instead of a reset vector when a CPU 22 outputs a storing address of the reset vector. Thereby, the CPU 13 executes a rewriting control program stored in the RAM 14 just after releasing a reset.</p> |