Microcomputer using a non-volatile memory
First Claim
Patent Images
1. A microcomputer containing a non-volatile memory capable of repeatedly writing and reading data and also of electrically erasing data which have already been written, wherein a program for rewriting data in a second region of the non-volatile memory is stored in a first region of the non-volatile memory, the microcomputer comprising:
- a CPU for carrying out processing in order to rewrite data stored in the second region of the non-volatile memory based on a command read out from the first region of the non-volatile memory; and
a CPU controller for inhibiting the CPU from reading out the next command from the first region of the non-volatile memory during rewrite processing of the second region of the non-volatile memory.
6 Assignments
0 Petitions
Accused Products
Abstract
An EEPROM (1) is set to write mode when a program command to commence rewriting of data in region B in the EEPROM (1) is read out from region A. A CPU (2) then writes data specified by a latch (6) at an address in region B specified by a latch (4). In compliance with an inhibit signal INH, the CPU (2) now disregards the effects of the undefined output from the EEPROM (1) terminal DOUT.
-
Citations
12 Claims
-
1. A microcomputer containing a non-volatile memory capable of repeatedly writing and reading data and also of electrically erasing data which have already been written, wherein a program for rewriting data in a second region of the non-volatile memory is stored in a first region of the non-volatile memory, the microcomputer comprising:
-
a CPU for carrying out processing in order to rewrite data stored in the second region of the non-volatile memory based on a command read out from the first region of the non-volatile memory; and a CPU controller for inhibiting the CPU from reading out the next command from the first region of the non-volatile memory during rewrite processing of the second region of the non-volatile memory.
-
-
2. A microcomputer containing a non-volatile memory capable of repeatedly writing and reading data and also of electrically erasing data which have already been written, wherein
a program for rewriting data in a second region of the non-volatile memory is stored in a first region of the non-volatile memory, the microcomputer further comprising: -
a CPU for sequentially executing program commands read out from the first region of the non-volatile memory, wherein the CPU has a program counter for controlling the execution of a plurality of program commands containing in the program; an address holder for holding address data to be rewritten in the non-volatile memory which are supplied to the address holder by the CPU; a data holder for holding non-volatile memory rewrite data supplied thereto from the CPU; a memory controller for setting the non-volatile memory to write mode and invalidating the output of the program counter only for a period of time necessary for rewriting data when a program command to commence rewriting of second region data has been read out from the first region of the non-volatile memory, and for controlling the writing of the data holder data at an address in the non-volatile memory specified by the address holder; and a CPU controller for inhibiting the CPU from being influenced by undefined output read out from the non-volatile memory when the non-volatile memory has been set to write mode. - View Dependent Claims (3, 4, 5)
-
-
6. A microcomputer containing a non-volatile memory capable of repeatedly writing and reading data and also of electrically erasing data which have already been written, wherein
a program for rewriting data in a second region of the non-volatile memory is stored in a first region of the non-volatile memory, and the microcomputer rewrites data stored in the second region of the non-volatile memory by executing a plurality of program commands contained in the program written in the first region and continues to execute these program commands repeatedly throughout the rewriting of the second region data, the microcomputer further comprising: -
a CPU which has a program counter for specifying a program command to be executed from among the plurality of program commands, wherein the CPU operates based on a program command which has been read out from the first region of the non-volatile memory based on the output of this program counter; an address holder for holding address data to be rewritten in the non-volatile memory which are supplied thereto from the CPU; a data holder for holding non-volatile memory rewrite data supplied thereto from the CPU; a memory controller for setting the non-volatile memory to write mode and also deeming the output of the program counter to be invalid only for a period of time necessary for rewriting data when a program command to commence rewriting of second region data has been read out from the first region of the non-volatile memory, and for controlling the writing of the data holder data at an address in the non-volatile memory specified by the address holder; and a CPU controller for executing said program command continuously so as to fix a value of said program counter when the non-volatile memory has been set to write mode. - View Dependent Claims (7, 8)
-
-
9. A microcomputer containing a non-volatile memory capable of repeatedly writing and reading data and also of electrically erasing data which have already been written, wherein
a program for rewriting data in a second region of the non-volatile memory is stored in a first region of the non-volatile memory, and the first address region and the second address region of the non-volatile memory contain program regions for interrupt processing, the microcomputer further comprises: -
a program counter for specifying an address within the non-volatile memory, an interrupt vector for changing the value of the program counter in response to an interrupt request; and a controller for controlling the interrupt vector in order to specify a first address region within the non-volatile memory when the interrupt request has been generated during rewriting of data in the second address region of the non-volatile memory. - View Dependent Claims (10, 11, 12)
-
Specification