Processor device equipped with flash memory and debugger apparatus
First Claim
1. A flash memory-equipped processor apparatus, which performs processing according to a processing program and rewriting for a flash memory, the flash memory-equipped processor apparatus comprising:
- a mode switch register that sets a normal mode that performs processing according to the processing program and a self-rewiting mode that performs rewriting for the flash memory during execution of the processing program;
a rewriting program that programs a writing process for the flash memory; and
a control device that executes the processing program, wherein the control device sets, during execution of the processing program, the mode switch register to the self-rewriting mode, and performs rewriting for the flash memory according to the rewriting program.
1 Assignment
0 Petitions
Accused Products
Abstract
A processor apparatus (microcomputer) 1 is equipped with a flash memory 17 which performs processing according to a processing program and rewriting for the flash memory. The flash memory-equipped processor apparatus comprises a mode switch register 18a that sets a normal mode that performs operations according to a processing program (application program) AP and a self-rewriting mode that performs rewriting operations for the flash memory during execution of the processing program. When processes in a self-rewriting mode are programmed in the processing program AP, a control device (CPU) 2 sets, during execution of the processing program AP, the mode switch register 18a to the self-rewriting mode, and performs a rewriting operation for the flash memory 17 according to a rewriting program (self-rewriting program) WP.
-
Citations
8 Claims
-
1. A flash memory-equipped processor apparatus, which performs processing according to a processing program and rewriting for a flash memory, the flash memory-equipped processor apparatus comprising:
-
a mode switch register that sets a normal mode that performs processing according to the processing program and a self-rewiting mode that performs rewriting for the flash memory during execution of the processing program;
a rewriting program that programs a writing process for the flash memory; and
a control device that executes the processing program, wherein the control device sets, during execution of the processing program, the mode switch register to the self-rewriting mode, and performs rewriting for the flash memory according to the rewriting program. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method of operating a computer processing system having a flash memory and a central processing unit (CPU), said method comprising:
-
a.) in a normal mode, using the CPU to execute instructions from an application program stored in the flash memory b.) storing new write data in a volatile memory and, in response thereto, setting a mode switch register to a self-rewriting mode;
c.) transferring the new write data to a flash control register;
d.) rewriting a sector of the flash memory with the new write data; and
e.) controlling the CPU so that it returns to executing instructions from the application program after the flash memory has been rewritten.
-
Specification