EP0902436A2

Microcomputer with flash memory programmable via external terminal

Abstract

A semiconductor integrated circuit device comprises a central processing unit (CPU), a first external terminal (EA0-EA16), and an electrically erasable and programmable nonvolatile flash memory (FMRY), wherein the semiconductor integrated circuit has a first operation mode in which the flash memory receives an address signal from the central processing unit executing a control program to erase and write data from and into the flash memory, and wherein the semiconductor integrated circuit has a second operation mode in which the flash memory receives an address signal on the external terminal to write data supplied from the outside of the semiconductor integrated circuit device into the flash memory.

EP0902436A2, drawing sheet 1
Sheet 1 of 69

Term

Term ended

Projected expiry passed 11 March 2013, 13.5 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

20 claims: 10 independent, 10 dependent

  1. 1
    A semiconductor integrated circuit device comprising:a central processing unit (CPU);a first external terminal (EA0-EA16);andan electrically erasable and programmable nonvolatile flash memory (FMRY), wherein the semiconductor integrated circuit has a first operation mode in which the flash memory receives an address signal from the central processing unit executing a control program to erase and write data from and into the flash memory, and wherein the semiconductor integrated circuit has a second operation mode in which the flash memory receives an address signal on the external terminal to write data supplied from the outside of the semiconductor integrated circuit device into the flash memory.
  2. 4
    A semiconductor integrated circuit device according to any of claims 1 to 3, further comprising a memory (RAM or ROM) which stores therein the control program to be executed by the central processing unit being in the second operation mode.
  3. 5
    A semiconductor integrated circuit device according to any of claims 1 to 3,    wherein the flash memory (FMRY) stores therein the program to be executed by the central processing unit in the second operation mode, and    wherein the program is transferred to the memory in response to the semiconductor integrated circuit device being set in the second operation mode.
  4. 6
    A semiconductor integrated circuit device according to any of claims 1 to 5, further comprising a serial communication circuit (SCI in Fig. 4), andthird external terminals (Fig. 14, ED0-ED7), wherein in the first operation mode, data supplied from the serial communication circuit is written into the flash memory under control of the central processing unit executing the control program, and wherein the second operation mode, data supplied from the external terminals is written into the nonvolatile memory under control of an external circuit (PRW in Fig. 3) to be coupled to the semiconductor integrated circuit device.
  5. 7
    A semiconductor integrated circuit device according to any of claims 1 to 6, further comprising a port (I/O port in Figure 4), andthird external terminals (Fig. 14, ED0-ED7), wherein in the first operation mode, data supplied from the port is written into the flash memory under control of the central processing unit executing the control program, and wherein in the second operation mode, data supplied from the external terminals is written into the nonvolatile memory under control of an external circuit (PRW in Fig. 3) to be coupled to the semiconductor integrated circuit device.
  6. 8
    A semiconductor integrated circuit device according to any of claims 1 to 7, wherein the flash memory has a plurality of memory blocks (LBM0-LMB6, SMB0-SMB7 in Fig. 17 or 23) each having electrically erasable and programmable nonvolatile memory cells arranged so as to be simultaneous erasable.
  7. 11
    A semiconductor integrated circuit device according to any of claims 8 to 10,    wherein each of the plurality of memory cells has a control gate (11), a first region (source), and a second region (drain), and    wherein the flash memory includes:a plurality of word lines (WL0-WLn) each coupled to the control gate,a plurality of data lines (DL0-DLm) each coupled to the second region (drain), anda plurality of source lines (SLw1-Slwi), wherein the memory cells which are coupled to the same word line each have the first region (source) coupled in common to one of said plurality of source lines to form one of the plurality of memory blocks.
  8. 12
    A semiconductor integrated circuit device on a semiconductor substrate, comprising a central processing unit (CPU);an address bus (ABUS) coupled to said central processing unit;a data bus (DBUS) coupled to said central processing unit;a flash memory (FMRY) coupled to said address bus and to said data bus, said flash memory including a plurality of memory blocks (LMB0-6, SMB0-7 in Fig. 17 or 23) each operating as simultaneously erasable unit of data stored therein, each memory block including a plurality of electrically erasable and programmable nonvolatile memory cells (MC);anda control register (MBREG1, MBREG2 in Fig. 18) coupled to said address bus and to said data bus and including a plurality of control bits which are provided for the plurality of memory blocks, the control register being selected by an address signal provided from the central processing unit to the address bus so that data of a plurality of bits provided from the central processing unit to the data bus is written into the control register, each control bit having a set state which is determined by the data provided from the central processing unit, one or more control bits being set to the set state by the central processing unit in which data stored in one or more memory blocks, corresponding to said one or more control bits being in the set state, being erased simultaneously in an erasing operation.
  9. 16
    A semiconductor integrated circuit device according to any of claims 12 to 15,    wherein each memory block includes a plurality of electrically erasable and programmable memory cells,    wherein each memory cell has a control gate (11), a first region (source), and a second region (drain), and    wherein the flash memory includes:a plurality of word lines (WL0-WLn) each coupled to the control gate,a plurality of data lines (DL0-DLm) each coupled to the second region (drain), anda plurality of source lines (SLw1-Slwi), wherein the memory cells which are coupled to the same word line each have the first region (source) coupled in common to one of said plurality of source lines to form one of the plurality of memory blocks.
  10. 17
    A microcomputer comprising a central processing unit (CPU);an electrically rewritable flash memory (FMRY);flash memory rewriting I/O port means (PORTdata, PORTaddr, PORTcont) capable of being coupled to a ROM writer (PRW) for rewriting said flash memory;switch means (SWITCH) located between said central processing unit and said flash memory;anda rewriting mode decision means (CONT) responsive to an externally supplied operation mode signal for controlling said switch means and said flash memory rewriting I/O port means,said central processing unit, said flash memory, said flash memory I/O port means, said switching means and said rewriting mode decision means being formed in a single semiconductor chip (CHP).