JP5348541B2 - Semiconductor device - Google Patents

Semiconductor device Download PDF

Info

Publication number
JP5348541B2
JP5348541B2 JP2009121733A JP2009121733A JP5348541B2 JP 5348541 B2 JP5348541 B2 JP 5348541B2 JP 2009121733 A JP2009121733 A JP 2009121733A JP 2009121733 A JP2009121733 A JP 2009121733A JP 5348541 B2 JP5348541 B2 JP 5348541B2
Authority
JP
Japan
Prior art keywords
voltage
rewritable
power supply
signal
memory array
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009121733A
Other languages
Japanese (ja)
Other versions
JP2010272156A (en
JP2010272156A5 (en
Inventor
孝 伊藤
由紀子 丸山
憲志 田邉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2009121733A priority Critical patent/JP5348541B2/en
Publication of JP2010272156A publication Critical patent/JP2010272156A/en
Publication of JP2010272156A5 publication Critical patent/JP2010272156A5/ja
Application granted granted Critical
Publication of JP5348541B2 publication Critical patent/JP5348541B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Read Only Memory (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent a writing error to a nonvolatile memory when power is interrupted. <P>SOLUTION: The nonvolatile memory 4 receives first and second rewritable signals FHVED and FGVEI from the outside. The first rewritable signal FHVED is given to a first voltage supply control part 20D provided in a data area 10D via a latch circuit 30D. When the first rewritable signal FHVED is active, the first voltage supply control part 20D supplies high voltage generated by an internal power circuit (boosting circuit) 11 to a memory array 40D in the data area 10D. The second rewritable signal FHVEI is given to a second voltage supply control part 20I via a latch circuit 30I. When the second rewritable signal FHVEI is active, the second voltage supply control part 20I supplies the high voltage generated by the internal power circuit (boosting circuit) 11 to a memory array 40I in a code area 10I. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

この発明は、電気的に書換え可能な不揮発性メモリを備えた半導体装置に関し、特に不揮発性メモリの誤った書換えを防止する構成を備えた半導体装置に関する。   The present invention relates to a semiconductor device having an electrically rewritable nonvolatile memory, and more particularly to a semiconductor device having a configuration for preventing erroneous rewriting of a nonvolatile memory.

EEPROM(Electronically Erasable and Programmable Read Only Memory)やフラッシュメモリなどの不揮発性の半導体メモリでは、メモリセルのデータ書換時にはデータ読出時よりも高い電圧がメモリセルに印加される。このため、データ書換の途中で電源遮断や瞬時停電が生じると、メモリセルに記憶されていたデータが破壊される可能性がある。   In a nonvolatile semiconductor memory such as an EEPROM (Electronically Erasable and Programmable Read Only Memory) or a flash memory, a voltage higher than that at the time of data reading is applied to the memory cell at the time of data rewriting of the memory cell. For this reason, if a power interruption or an instantaneous power failure occurs during data rewriting, the data stored in the memory cell may be destroyed.

特開平5−342115号公報(特許文献1)は、特別な補助電源を設けることなしに電源遮断時に生じる得るデータ破壊を防止するための技術を開示する。具体的に、この文献に記載の半導体装置には、主電源からの供給電圧を充電するコンデンサと、コンデンサからの逆流を阻止するダイオードとが設けられる。主電源において電源遮断が発生した場合、コンデンサの放電を安定化電源を介して、CPU(Central Processing Unit)やメモリを含む後続回路に供給する。これにより、CPUによってメモリにデータを保存する時間を確保する。   Japanese Patent Laid-Open No. 5-342115 (Patent Document 1) discloses a technique for preventing data destruction that may occur at the time of power-off without providing a special auxiliary power supply. Specifically, the semiconductor device described in this document is provided with a capacitor that charges the supply voltage from the main power supply and a diode that prevents backflow from the capacitor. When a power interruption occurs in the main power supply, the discharge of the capacitor is supplied to a subsequent circuit including a CPU (Central Processing Unit) and a memory through the stabilized power supply. Thereby, a time for storing data in the memory by the CPU is secured.

また、特開平4−137080号公報(特許文献2)は、論理電源(5V電源)とプログラム電源(12V電源)とによって駆動されるIC(Integrated Circuits)メモリカードにおいて、プログラム電源のみが印加されたために生じるデータの破壊を防止する技術を開示する。具体的に、この文献に記載のICメモリカードは、論理電源の電圧を検出する検出手段と、この検出手段の出力に基づき、プログラム電源をオンおよびオフに制御するスイッチング手段とを備える。   JP-A-4-137080 (Patent Document 2) discloses that only program power is applied to an IC (Integrated Circuits) memory card driven by a logical power supply (5 V power supply) and a program power supply (12 V power supply). Disclosed is a technique for preventing data destruction that occurs in Specifically, the IC memory card described in this document includes detection means for detecting the voltage of the logic power supply and switching means for controlling the program power supply on and off based on the output of the detection means.

特開平5−342115号公報JP-A-5-342115 特開平4−137080号公報JP-A-4-137080

しかしながら、特開平5−342115号公報(特許文献1)に記載の技術のように、電源電圧の低下を防止するためにコンデンサを負荷した場合には、回路面積が増加してしまうという問題がある。また、特開平4−137080号公報(特許文献2)のように、データの破壊を防止するために新たな回路を追加すると、回路構成が複雑になるとともに回路面積が増大してしまう。   However, as in the technique described in Japanese Patent Laid-Open No. 5-342115 (Patent Document 1), there is a problem that the circuit area increases when a capacitor is loaded to prevent a decrease in power supply voltage. . Further, as in JP-A-4-137080 (Patent Document 2), when a new circuit is added to prevent data destruction, the circuit configuration becomes complicated and the circuit area increases.

この発明の目的は、簡単な手段によって、電源遮断時や瞬時停電時に不揮発性メモリへの誤書込の可能性を低減することができる半導体装置を提供することである。   An object of the present invention is to provide a semiconductor device capable of reducing the possibility of erroneous writing to a nonvolatile memory at the time of power interruption or instantaneous power failure by simple means.

この発明の実施の一形態の半導体装置は、第1および第2のメモリアレイと、第1の電源回路と、書換指令部と、第1および第2の電圧供給制御部とを備える。第1および第2のメモリアレイは、電気的に書換可能な不揮発性のメモリセルが複数配列される。第1の電源回路は、各メモリセルのデータ書換に必要な書換電圧を生成する。書換指令部は、第1および第2のメモリアレイのデータ書換を指令する。第1の電圧供給制御部は、第1の書換可能信号が活性化状態の場合に、書換指令部の指令に従って第1の電源回路から第1のメモリアレイに書換電圧を供給する。第2の電圧供給制御部は、第2の書換可能信号が活性化状態の場合に、書換指令部の指令に従って第1の電源回路から第2のメモリアレイに書換電圧を供給する。   A semiconductor device according to an embodiment of the present invention includes first and second memory arrays, a first power supply circuit, a rewrite command unit, and first and second voltage supply control units. In the first and second memory arrays, a plurality of electrically rewritable nonvolatile memory cells are arranged. The first power supply circuit generates a rewrite voltage necessary for rewriting data in each memory cell. The rewrite command unit commands data rewrite of the first and second memory arrays. The first voltage supply control unit supplies a rewrite voltage from the first power supply circuit to the first memory array in accordance with a command from the rewrite command unit when the first rewritable signal is in an activated state. The second voltage supply control unit supplies a rewrite voltage from the first power supply circuit to the second memory array in accordance with a command from the rewrite command unit when the second rewritable signal is in an activated state.

この実施の形態によれば、第1のメモリアレイのデータ書換を行なうときは、第1の書換可能信号のみを活性化し、第2のメモリアレイのデータ書換を行なうときは、第2の書換可能信号のみを活性化するようにできる。したがって、データ書換を行なわないメモリアレイに対しては書換可能信号によって書換電圧の供給が禁止されるので、データの誤書込の可能性を低減することができる。   According to this embodiment, when data rewriting of the first memory array is performed, only the first rewritable signal is activated, and when data rewriting of the second memory array is performed, the second rewritable is possible. Only the signal can be activated. Therefore, since the supply of the rewrite voltage is prohibited by the rewritable signal to the memory array that does not rewrite data, the possibility of erroneous data writing can be reduced.

この発明の実施の形態1に従うマイクロコンピュータ1の構成を示すブロック図である。It is a block diagram which shows the structure of the microcomputer 1 according to Embodiment 1 of this invention. 図1の不揮発性メモリ4の詳細な構成を示すブロック図である。It is a block diagram which shows the detailed structure of the non-volatile memory 4 of FIG. 図2のラッチ回路30の構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of a latch circuit 30 in FIG. 2. 図3のレベルシフタ31の構成の一例を示す回路図である。FIG. 4 is a circuit diagram illustrating an example of a configuration of a level shifter 31 in FIG. 3. 図3のラッチ回路30の動作を示すタイミング図である(書換時以外の場合)。FIG. 4 is a timing chart showing an operation of the latch circuit 30 of FIG. 3 (in a case other than rewriting). 図3のラッチ回路30の動作を示すタイミング図である(書換時の場合)。FIG. 4 is a timing chart showing the operation of the latch circuit 30 of FIG. 3 (in the case of rewriting). 図3のラッチ回路30の動作を示すタイミング図である(書換中にリセットされた場合)。FIG. 4 is a timing diagram showing an operation of the latch circuit 30 of FIG. 3 (when reset during rewriting). メモリアレイ動作状態に対応した書換可能信号FHVED,FHVEI,VHVEXの電圧レベルを示す表である。It is a table | surface which shows the voltage level of the rewritable signal FHVED, FHVEI, and VHVEX corresponding to a memory array operation state. 図2の不揮発性メモリ4の変形例としての不揮発性メモリ104の構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of a nonvolatile memory 104 as a modification of the nonvolatile memory 4 of FIG. 2. 図1のマイクロコンピュータ1の変形例としてのマイクロコンピュータ201の構成を示すブロック図である。It is a block diagram which shows the structure of the microcomputer 201 as a modification of the microcomputer 1 of FIG. この発明の実施の形態2に従うマイクロコンピュータ301の構成を示すブロック図である。It is a block diagram which shows the structure of the microcomputer 301 according to Embodiment 2 of this invention. 図11の不揮発性メモリ304の詳細な構成を示すブロック図である。FIG. 12 is a block diagram illustrating a detailed configuration of the nonvolatile memory 304 of FIG. 11.

以下、この発明の各実施の形態について図面を参照して詳しく説明する。なお、同一または相当する部分には同一の参照符号を付して、その説明を繰返さない。また、以下では、不揮発性メモリを有するマイクロコンピュータを例に挙げて説明するが、この発明は不揮発性メモリを備えた他の種類の半導体装置にも適用可能である。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The same or corresponding parts are denoted by the same reference numerals, and description thereof will not be repeated. In the following description, a microcomputer having a nonvolatile memory will be described as an example. However, the present invention is also applicable to other types of semiconductor devices having a nonvolatile memory.

<実施の形態1>
[マイクロコンピュータの構成]
図1は、この発明の実施の形態1に従うマイクロコンピュータ1の構成を示すブロック図である。図1を参照して、マイクロコンピュータ1(半導体装置)は、CPU2と、RAM(Random Access Memory)3と、不揮発性メモリ4と、周辺回路5と、インターフェース回路7と、これらを相互に接続するデータバス8と、電源回路6(第2の電源回路)とを含む。
<Embodiment 1>
[Microcomputer configuration]
FIG. 1 is a block diagram showing a configuration of a microcomputer 1 according to the first embodiment of the present invention. Referring to FIG. 1, a microcomputer 1 (semiconductor device) connects a CPU 2, a RAM (Random Access Memory) 3, a nonvolatile memory 4, a peripheral circuit 5, an interface circuit 7, and these components to each other. A data bus 8 and a power supply circuit 6 (second power supply circuit) are included.

電源回路6は、マイクロコンピュータ1の外部から外部電源電圧VCC(たとえば3V)を受けて、外部電源電圧VCCよりも低電圧の内部電源電圧VDD(たとえば1.5V)を生成する。内部電源電圧VDDは、マイクロコンピュータ1の各部に供給される。   The power supply circuit 6 receives an external power supply voltage VCC (for example, 3 V) from the outside of the microcomputer 1 and generates an internal power supply voltage VDD (for example, 1.5 V) that is lower than the external power supply voltage VCC. The internal power supply voltage VDD is supplied to each part of the microcomputer 1.

また、電源回路6は、生成した内部電源電圧VDDの電圧レベルを監視し、内部電源電圧VDDが所定の電圧レベルに達した場合に活性化する監視信号VDDONLを出力する。なお、監視信号VDDONLの信号レベルは、Hレベルのとき電源電圧VCCになり、Lレベルのとき接地電圧GNDになるVCC系の信号である。以下、VCC系の信号であることを明示する場合には、監視信号VDDONL_VCCのように参照符号の末尾にVCCを付す。同様に、Hレベルのとき電源電圧VDDになり、Lレベルのとき接地電圧GNDになるVDD系の信号の場合には、参照符号の末尾にVDDを付して区別する。   The power supply circuit 6 monitors the voltage level of the generated internal power supply voltage VDD, and outputs a monitor signal VDDONL that is activated when the internal power supply voltage VDD reaches a predetermined voltage level. The signal level of the monitor signal VDDONL is a VCC signal that becomes the power supply voltage VCC when it is at the H level and becomes the ground voltage GND when it is at the L level. Hereinafter, when clearly indicating that the signal is a VCC signal, VCC is added to the end of the reference symbol as in the monitoring signal VDDONL_VCC. Similarly, in the case of a VDD-type signal that becomes the power supply voltage VDD at the H level and becomes the ground voltage GND at the L level, it is distinguished by adding VDD to the end of the reference symbol.

不揮発性メモリ4は、EEPROMやフラッシュメモリなどの半導体記憶装置である。これらの半導体記憶装置の各メモリセルは、制御ゲートとチャネル層との間に浮遊ゲートを有する。この浮遊ゲートに蓄積された電荷の有無によって各メモリセルに情報が記憶される。なお、浮遊ゲートに代えて窒化ケイ素膜を電荷捕獲層として用いることもできる。   The nonvolatile memory 4 is a semiconductor storage device such as an EEPROM or a flash memory. Each memory cell of these semiconductor memory devices has a floating gate between the control gate and the channel layer. Information is stored in each memory cell depending on the presence or absence of charges accumulated in the floating gate. Note that a silicon nitride film can be used as the charge trapping layer instead of the floating gate.

この種のメモリセルでは、浮遊ゲートに電荷を注入する場合(書込モード)や浮遊ゲートから電荷を引き出す場合(消去モード)には、通常の動作モードよりも高い電圧を制御ゲート、ソース領域、またはP型ウェルなどに印加する必要がある。そこで、不揮発性メモリ4には、内部電源電圧VDDを昇圧する昇圧回路11(第1の電源回路)が設けられている。昇圧回路(内部電源回路)11は、書込モード、消去モード、読出モードにおいて制御ゲートなどに印加する書込電圧、消去電圧、読出電圧を生成する。なお、この明細書では書込電圧および消去電圧を総称して書換電圧とも称する。また、昇圧回路11で生成される電圧を総称して制御電圧とも称する。   In this type of memory cell, when charge is injected into the floating gate (write mode) or when charge is extracted from the floating gate (erase mode), a voltage higher than the normal operation mode is applied to the control gate, source region, Or it needs to be applied to a P-type well or the like. Therefore, the nonvolatile memory 4 is provided with a booster circuit 11 (first power supply circuit) that boosts the internal power supply voltage VDD. The booster circuit (internal power supply circuit) 11 generates a write voltage, an erase voltage, and a read voltage to be applied to the control gate and the like in the write mode, erase mode, and read mode. In this specification, the write voltage and the erase voltage are collectively referred to as a rewrite voltage. Further, the voltages generated by the booster circuit 11 are collectively referred to as a control voltage.

図1に示す不揮発性メモリ4には、コード領域10Iとデータ領域10Dとが設けられる。コード領域10Iのメモリアレイは、主としてプログラム情報を格納する。データ領域10Dのメモリアレイは、CPU2の演算処理による処理結果やマイクロコンピュータ1の外部からのデータを格納する。通常、コード領域10Iに格納されたデータの書換回数は、データ領域10Dに格納されたデータの書換回数よりも少ない。これらのコード領域10Iおよびデータ領域10Dの構成の詳細については、図2を参照して後述する。   The non-volatile memory 4 shown in FIG. 1 is provided with a code area 10I and a data area 10D. The memory array in the code area 10I mainly stores program information. The memory array in the data area 10D stores processing results obtained by the arithmetic processing of the CPU 2 and data from the outside of the microcomputer 1. Normally, the number of rewrites of data stored in the code area 10I is smaller than the number of rewrites of data stored in the data area 10D. Details of the configuration of the code area 10I and the data area 10D will be described later with reference to FIG.

ところで、電源回路6に供給される外部電源電圧VCCが遮断されたり、電源回路6が瞬時停電したりすると、内部電源電圧VDDが低下するので不揮発性メモリ4内部の信号の論理レベルが不定になる。このとき、不揮発性メモリ4がデータ書換中であれば、昇圧回路(内部電源回路)11によって高電圧が生成されているので、高電圧が誤ってメモリセルに印加されてしまいデータが書換えられるおそれがある。   By the way, when the external power supply voltage VCC supplied to the power supply circuit 6 is cut off or the power supply circuit 6 is momentarily interrupted, the internal power supply voltage VDD is lowered, so that the logic level of the signal inside the nonvolatile memory 4 becomes indefinite. . At this time, if the nonvolatile memory 4 is rewriting data, a high voltage is generated by the booster circuit (internal power supply circuit) 11, so that the high voltage may be accidentally applied to the memory cell and data may be rewritten. There is.

このようなデータの誤った書換の可能性を低減させるために、不揮発性メモリ4には、マイクロコンピュータ1の外部から書換可能信号FHVED,FHVEI,FHVEXが供給される。これらの書換可能信号FHVED,FHVEI,FHVEXは、VCC系の信号であり、不揮発性メモリ4の複数の領域に個別に対応して設けられている。具体的に、書換可能信号FHVEDはデータ領域10Dに対応し、書換可能信号FHVEIはコード領域10Iに対応する。また、書換可能信号FHVEXは、データ領域10Dおよびコード領域10Iのメモリセルに設けられた特殊領域に対応する。各領域は、対応の書換可能信号が活性化状態の場合に書換可能な状態になるように制御される。このように、複数の領域ごとに書換可能信号が設けられていることによってデータ書換の対象でない領域への高電圧の印加が防止できるので、データを誤って書き換える可能性を低減させることができる。さらに詳しい制御手順については図2〜図8を参照して後述する。   In order to reduce the possibility of such erroneous data rewriting, the nonvolatile memory 4 is supplied with rewritable signals FHVED, FHVEI, and FHVEX from outside the microcomputer 1. These rewritable signals FHVED, FHVEI, and FHVEX are VCC signals, and are provided corresponding to a plurality of areas of the nonvolatile memory 4 individually. Specifically, the rewritable signal FHVED corresponds to the data area 10D, and the rewritable signal FHVEI corresponds to the code area 10I. The rewritable signal FHVEX corresponds to a special area provided in the memory cells of the data area 10D and the code area 10I. Each area is controlled to be in a rewritable state when a corresponding rewritable signal is in an activated state. As described above, since a rewritable signal is provided for each of a plurality of areas, application of a high voltage to an area that is not a data rewrite target can be prevented, so that the possibility of erroneous data rewriting can be reduced. A more detailed control procedure will be described later with reference to FIGS.

なお、図1に示すように、マイクロコンピュータ1には、外部からマイクロコンピュータ1をリセットするためのリセット信号RSTを受ける端子も設けられている。   As shown in FIG. 1, the microcomputer 1 is also provided with a terminal for receiving a reset signal RST for resetting the microcomputer 1 from the outside.

[不揮発性メモリの構成]
図2は、図1の不揮発性メモリ4の詳細な構成を示すブロック図である。図2には、不揮発性メモリ4の構成要素のうちメモリセルのデータ書換に用いられる構成要素が主として示される。
[Configuration of non-volatile memory]
FIG. 2 is a block diagram showing a detailed configuration of the nonvolatile memory 4 of FIG. FIG. 2 mainly shows components used for data rewriting of the memory cell among the components of the nonvolatile memory 4.

図2を参照して、不揮発性メモリ4は、データ領域10Dとコード領域10Iとを含む。これらのデータ領域10Dおよびコード領域10Iには、データを格納するメモリアレイ40D,40Iがそれぞれ設けられる。   Referring to FIG. 2, nonvolatile memory 4 includes a data area 10D and a code area 10I. These data area 10D and code area 10I are provided with memory arrays 40D and 40I for storing data, respectively.

データ領域10Dのメモリアレイ40Dは、さらに、通常領域41Dと特殊領域42Dとを含む。通常領域41Dには、CPU2の演算処理による処理結果やマイクロコンピュータ1の外部からのデータが格納される。また、特殊領域42Dには、システム立上げ時のブートプログラムを格納する領域、不良ブロック情報や誤り訂正コードを格納するための冗長バイト、および書換電圧を微調整するための電源トリミング情報を格納する領域などが設けられる。   The memory array 40D in the data area 10D further includes a normal area 41D and a special area 42D. In the normal area 41D, processing results obtained by arithmetic processing of the CPU 2 and data from the outside of the microcomputer 1 are stored. The special area 42D stores an area for storing a boot program at system startup, redundant bytes for storing defective block information and error correction codes, and power supply trimming information for finely adjusting the rewrite voltage. An area or the like is provided.

コード領域10Iのメモリアレイ40Iも同様に、通常領域41Iと特殊領域42Iとを含む。通常領域41Iには、用途に応じたプログラム情報が格納される。また、特殊領域42Iは、データ領域10Dに設けられた特殊領域42Dと同様に、ブートプログラムおよび電源トリミング情報を格納する領域、および冗長バイトなどが設けられる。   Similarly, the memory array 40I of the code area 10I includes a normal area 41I and a special area 42I. Program information corresponding to the application is stored in the normal area 41I. Further, the special area 42I is provided with an area for storing a boot program and power supply trimming information, a redundant byte, and the like, similar to the special area 42D provided in the data area 10D.

なお、コード領域10Iは不揮発性メモリ4中に複数設けられていてもよい。コード領域10Iが複数設けられた場合は、各コード領域10Iに個別に対応した書換可能信号FHVEIがマイクロコンピュータ1の外部から供給される。   A plurality of code areas 10I may be provided in the nonvolatile memory 4. When a plurality of code areas 10I are provided, a rewritable signal FHVEI individually corresponding to each code area 10I is supplied from the outside of the microcomputer 1.

不揮発性メモリ4のデータ領域10Dには、さらに、P/Eシーケンサ21(書換指令部)、内部電源回路11(第1の電源回路)、内部電源回路11の制御信号を発生する電源制御信号発生部22、およびテスト用の内部レジスタ13(テスト制御部)が設けられる。これらの各構成要素11,21,22,13は、データ領域10Dおよびコード領域10Iのメモリアレイ40D,40Iに共用で設けられる。   In the data area 10D of the nonvolatile memory 4, a P / E sequencer 21 (rewrite command unit), an internal power supply circuit 11 (first power supply circuit), and a power supply control signal generation for generating control signals for the internal power supply circuit 11 are further provided. A unit 22 and a test internal register 13 (test control unit) are provided. These constituent elements 11, 21, 22, and 13 are provided in common in the memory arrays 40D and 40I of the data area 10D and the code area 10I.

データ領域10Dには、さらに、電源スイッチ部14D(ディストリビュータ)、電源スイッチ部14Dの制御信号を発生する電源SW制御信号発生部23D、Xデコーダ15D、およびXデコーダの制御信号を発生するX系制御信号発生部24Dが設けられる。これらの各構成要素14D,23D,15D,24Dは、データ領域10Dのメモリアレイ40Dに専用で設けられる。   The data area 10D further includes a power switch unit 14D (distributor), a power switch control signal generator 23D that generates a control signal for the power switch unit 14D, an X decoder 15D, and an X system control that generates a control signal for the X decoder. A signal generator 24D is provided. Each of these components 14D, 23D, 15D, and 24D is provided exclusively for the memory array 40D in the data area 10D.

P/Eシーケンサ21は、図1のCPU2からの指令に従って、データ書込時およびデータ消去時に、内部電源回路11、電源スイッチ部14D、およびXデコーダ15Dを所定のシーケンスで制御するために設けられる。P/Eシーケンサ21からの指令に従って、電源制御信号発生部22、電源SW制御信号発生部23D、およびX系制御信号発生部24Dは、それぞれ、内部電源回路11、電源スイッチ部14D、およびXデコーダ15Dに制御信号を出力する。   P / E sequencer 21 is provided to control internal power supply circuit 11, power switch unit 14D, and X decoder 15D in a predetermined sequence at the time of data writing and data erasing in accordance with a command from CPU 2 in FIG. . In accordance with commands from P / E sequencer 21, power supply control signal generator 22, power supply SW control signal generator 23D, and X-system control signal generator 24D are connected to internal power supply circuit 11, power switch 14D, and X decoder, respectively. A control signal is output to 15D.

内部電源回路11は、内部電源電圧VDDに基づいて、書込、消去、読出などの各動作モードで用いられる制御電圧を生成する。内部電源回路11は、たとえば、チャージポンプ回路によって構成される。内部電源回路11は、電源制御信号発生部22からの制御信号に応じて、所定の電圧まで内部電源電圧VDDを昇圧したり、昇圧を停止したりする。   The internal power supply circuit 11 generates a control voltage used in each operation mode such as writing, erasing, and reading based on the internal power supply voltage VDD. The internal power supply circuit 11 is configured by, for example, a charge pump circuit. The internal power supply circuit 11 boosts the internal power supply voltage VDD to a predetermined voltage or stops boosting according to a control signal from the power supply control signal generator 22.

電源スイッチ部14Dは、各動作モードに応じて、内部電源回路11で生成された種々の制御電圧(書込電圧、消去電圧、読出電圧)をXデコーダ15D、コラム選択回路(図示省略)、センスアンプ(図示省略)などに分配する。電源スイッチ部14Dは、複数の制御電圧の供給をオン/オフ制御する複数のスイッチを含む。複数のスイッチは、電源SW制御信号発生部23Dからの制御信号に応じて、オン状態またはオフ状態になる。電源スイッチ部14Dおよび電源SW制御信号発生部23Dは、P/Eシーケンサ21の指令に従って内部電源回路11からメモリアレイ40Dへ制御電圧を供給する電圧供給制御部20Dとして機能する。   The power switch unit 14D supplies various control voltages (write voltage, erase voltage, read voltage) generated by the internal power supply circuit 11 in accordance with each operation mode, an X decoder 15D, a column selection circuit (not shown), and a sense. Distribute to amplifiers (not shown). The power switch unit 14D includes a plurality of switches that perform on / off control of supply of a plurality of control voltages. The plurality of switches are turned on or off according to a control signal from the power supply SW control signal generator 23D. The power switch 14D and the power SW control signal generator 23D function as a voltage supply controller 20D that supplies a control voltage from the internal power circuit 11 to the memory array 40D in accordance with a command from the P / E sequencer 21.

Xデコーダ15Dは、X系制御信号発生部24Dから与えられたXアドレス信号に従って、メモリアレイ40Dのワード線、ソース線、P型ウェルなどに、電源スイッチ部14Dから与えられた制御電圧を供給する。   The X decoder 15D supplies the control voltage supplied from the power switch unit 14D to the word lines, source lines, P-type wells, etc. of the memory array 40D according to the X address signal supplied from the X-system control signal generator 24D. .

内部レジスタ13は、バーン・イン・テスト時に内部電源回路11の出力電圧を変更するために設けられる。バーン・イン・テスト時には、図1のCPU2からの指令に従って内部レジスタ13にデータが設定される。そして、内部レジスタ13に設定されたデータに応じた制御信号が電源制御信号発生部22から内部電源回路11に出力される。   The internal register 13 is provided for changing the output voltage of the internal power supply circuit 11 during the burn-in test. During the burn-in test, data is set in the internal register 13 in accordance with a command from the CPU 2 in FIG. Then, a control signal corresponding to the data set in the internal register 13 is output from the power control signal generator 22 to the internal power circuit 11.

上記と同様に、不揮発性メモリ4のコード領域10Iには、コード領域10Iに専用で、電源スイッチ部14I(ディストリビュータ)、電源スイッチ部14Iを制御する信号を発生する電源SW制御信号発生部23I、Xデコーダ15I、およびXデコーダ15Iを制御する信号を発生するX系制御信号発生部24Iが設けられる。これらの各構成要素の機能はデータ領域10Dの場合と同様であるので説明を繰返さない。なお、電源スイッチ部14Iおよび電源SW制御信号発生部23Iは、P/Eシーケンサ21の指令に従って内部電源回路11からメモリアレイ40Iへ制御電圧を供給する電圧供給制御部20Iとして機能する。   Similarly to the above, the code area 10I of the non-volatile memory 4 has a power switch unit 14I (distributor) dedicated to the code area 10I, a power switch control signal generator 23I that generates a signal for controlling the power switch unit 14I, An X decoder 15I and an X system control signal generator 24I for generating a signal for controlling the X decoder 15I are provided. Since the functions of these components are the same as those of data area 10D, description thereof will not be repeated. The power supply switch unit 14I and the power supply SW control signal generation unit 23I function as a voltage supply control unit 20I that supplies a control voltage from the internal power supply circuit 11 to the memory array 40I in accordance with a command from the P / E sequencer 21.

[書換可能信号による不揮発性メモリ4の制御]
さて、図1で説明したように、不揮発性メモリ4は、書換可能信号FHVED,FHVEI,FHVEXが活性化状態の場合に、対応の領域が書換可能になるように制御される。以下、具体的な制御方法について説明する。
[Control of nonvolatile memory 4 by rewritable signal]
As described with reference to FIG. 1, the nonvolatile memory 4 is controlled so that the corresponding area can be rewritten when the rewritable signals FHVED, FHVEI, and FHVEX are activated. Hereinafter, a specific control method will be described.

(1.書換可能信号FHVEDによる電源SW制御信号発生部23Dの制御)
まず、データ領域10Dの電源SW制御信号発生部23Dは、書換可能信号FHVEDが活性化状態の場合には、P/Eシーケンサ21の指令に従って、電源スイッチ部14Dの所定のスイッチがオン状態またはオフ状態になるように制御信号を出力する。
(1. Control of power supply SW control signal generator 23D by rewritable signal FHVED)
First, when the rewritable signal FHVED is in the activated state, the power switch control signal generating unit 23D in the data area 10D turns on or off a predetermined switch of the power switch unit 14D according to a command from the P / E sequencer 21. A control signal is output so as to be in a state.

一方、書換可能信号FHVEDが非活性化状態の場合には、基本的には、電源SW制御信号発生部23Dは、P/Eシーケンサ21の指令内容によらず、電源スイッチ部14Dの高電圧用のスイッチがオフ状態になるような制御信号を出力する。しかし例外的に、電源SW制御信号発生部23Dは、メモリアレイ40Dがデータ書換中の場合にはデータ書換が終了するまで内部電源回路11からメモリアレイ40Dへの高電圧の供給を継続するように電源スイッチ部14Dを制御する。データ書換中にメモリアレイへの書換電圧の供給が急に停止すると、メモリアレイに格納されたデータが破壊されるおそれがあるからである。   On the other hand, when the rewritable signal FHVED is in an inactive state, basically, the power switch control signal generator 23D is for the high voltage of the power switch unit 14D regardless of the command content of the P / E sequencer 21. A control signal is output to turn off the switch. However, as an exception, when the memory array 40D is rewriting data, the power supply SW control signal generator 23D continues to supply a high voltage from the internal power supply circuit 11 to the memory array 40D until the data rewriting is completed. The power switch unit 14D is controlled. This is because if the supply of the rewrite voltage to the memory array suddenly stops during the data rewrite, the data stored in the memory array may be destroyed.

このような制御を行なうために、不揮発性メモリ4のデータ領域10Dには、書換可能信号FHVEDの論理状態を保持するラッチ回路30Dが設けられる。ラッチ回路30Dは、さらに、P/Eシーケンサ21から制御信号seqmode_onを受ける。制御信号seqmode_onは、データ書換中に活性化状態(Hレベル)になる信号である。   In order to perform such control, a latch circuit 30D that holds the logic state of the rewritable signal FHVED is provided in the data area 10D of the nonvolatile memory 4. The latch circuit 30D further receives a control signal seqmode_on from the P / E sequencer 21. The control signal seqmode_on is a signal that is activated (H level) during data rewriting.

具体的に、ラッチ回路30Dは、制御信号seqmode_onが活性化状態(Hレベル)に切替わった時点で、書換可能信号FHVEDの論理状態を保持し、制御信号seqmode_onが非活性化状態(Lレベル)に切替わるまでの間、保持した論理状態を出力する。一方、制御信号seqmode_onが非活性化状態(Lレベル)の間は、ラッチ回路30Dは、入力された書換可能信号FHVEDの論理状態をそのまま出力する。ラッチ回路30Dのさらに詳細な構成については、図3、図4を参照して後述する。   Specifically, the latch circuit 30D holds the logic state of the rewritable signal FHVED when the control signal seqmode_on is switched to the activated state (H level), and the control signal seqmode_on is in the inactivated state (L level). The held logic state is output until it is switched to. On the other hand, while the control signal seqmode_on is in an inactive state (L level), the latch circuit 30D outputs the logical state of the input rewritable signal FHVED as it is. A more detailed configuration of the latch circuit 30D will be described later with reference to FIGS.

不揮発性メモリ4のデータ領域10Dには、ラッチ回路30Dの出力をVCC系からVDD系にレベルシフト(降圧)するレベルシフタ12がさらに設けられる。レベルシフタ12は、たとえば、内部電源電圧VDDで動作するインバータ回路によって構成することができる。   The data area 10D of the nonvolatile memory 4 is further provided with a level shifter 12 for level shifting (stepping down) the output of the latch circuit 30D from the VCC system to the VDD system. The level shifter 12 can be constituted by, for example, an inverter circuit that operates at the internal power supply voltage VDD.

電源スイッチ部14D用の電源SW制御信号発生部23Dは、レベルシフタ12によってVDD系に変換されたラッチ回路30Dの出力を書換可能信号fhved_vddとして受ける。電源SW制御信号発生部23Dは、書換可能信号fhved_vddが活性化状態(Hレベル)の場合に、P/Eシーケンサ21の指令に従って、電源スイッチ部14Dの所定のスイッチがオン状態またはオフ状態になるような制御信号を出力する。一方、電源SW制御信号発生部23Dは、書換可能信号fhved_vddが非活性化状態(Lレベル)の場合に、P/Eシーケンサ21の指令内容によらず、電源スイッチ部14Dの高電圧用のスイッチがオフ状態になるような制御信号を出力する。   The power switch control signal generator 23D for the power switch unit 14D receives the output of the latch circuit 30D converted to the VDD system by the level shifter 12 as a rewritable signal fhved_vdd. When the rewritable signal fhved_vdd is in the activated state (H level), the power switch control signal generating unit 23D turns on or off a predetermined switch of the power switch unit 14D according to a command from the P / E sequencer 21. Such a control signal is output. On the other hand, when the rewritable signal fhved_vdd is in an inactive state (L level), the power SW control signal generator 23D switches the high voltage switch of the power switch 14D regardless of the command content of the P / E sequencer 21. A control signal is output so that is turned off.

(2.書換可能信号FHVEIによる電源SW制御信号発生部23Iの制御)
書換可能信号FHVEIによるコード領域10Iの電源SW制御信号発生部23Iに対する制御方法は、データ領域10D用の書換可能信号FHVEDの場合と同様である。すなわち、不揮発性メモリ4のデータ領域10Dには、書換可能信号FHVEIの論理状態を保持するラッチ回路30Iが設けられる。ラッチ回路30Iは、さらに、P/Eシーケンサ21から制御信号seqmode_onを受ける。ラッチ回路30Iの具体的な動作は、ラッチ回路30Dと同じである。以下、ラッチ回路30D,30Iを総称する場合、または不特定のものを示す場合にラッチ回路30とも記載する。
(2. Control of power supply SW control signal generator 23I by rewritable signal FHVEI)
The control method for the power supply SW control signal generator 23I of the code area 10I by the rewritable signal FHVEI is the same as that of the rewritable signal FHVED for the data area 10D. In other words, the data area 10D of the nonvolatile memory 4 is provided with a latch circuit 30I that holds the logic state of the rewritable signal FHVEI. The latch circuit 30I further receives a control signal seqmode_on from the P / E sequencer 21. The specific operation of the latch circuit 30I is the same as that of the latch circuit 30D. Hereinafter, the latch circuits 30D and 30I are also collectively referred to as the latch circuit 30 when they are generically referred to, or when they indicate unspecified ones.

電源スイッチ部14I用の電源SW制御信号発生部23Iは、レベルシフタ12によってVDD系に変換されたラッチ回路30Iの出力を書換可能信号fhvei_vddとして受ける。電源SW制御信号発生部23Iは、書換可能信号fhvei_vddが活性化状態(Hレベル)の場合に、P/Eシーケンサ21の指令に従って、電源スイッチ部14Iの所定のスイッチがオン状態またはオフ状態になるような制御信号を出力する。一方、電源SW制御信号発生部23Iは、書換可能信号fhvei_vddが非活性化状態(Lレベル)の場合に、P/Eシーケンサ21の指令内容によらず、電源スイッチ部14Iの高電圧用のスイッチがオフ状態になるような制御信号を出力する。   The power switch control signal generator 23I for the power switch unit 14I receives the output of the latch circuit 30I converted into the VDD system by the level shifter 12 as a rewritable signal fhvei_vdd. When the rewritable signal fhvei_vdd is in the activated state (H level), the power switch control signal generator 23I turns on or off a predetermined switch of the power switch unit 14I according to a command from the P / E sequencer 21 Such a control signal is output. On the other hand, when the rewritable signal fhvei_vdd is in an inactive state (L level), the power SW control signal generator 23I switches the high voltage switch of the power switch 14I regardless of the content of the command of the P / E sequencer 21. A control signal is output so that is turned off.

(3.書換可能信号FHVED,FHVEIによる電源制御信号発生部22の制御)
内部電源回路11用の電源制御信号発生部22は、ラッチ回路30D,30Iの出力がレベルシフタ12によってVDD系にレベル変換された書換可能信号fhved_vdd,fhvei_vddを受ける。電源制御信号発生部22は、書換可能信号fhved_vdd,fhvei_vddの少なくとも一方が活性化状態(Hレベル)の場合に、P/Eシーケンサ21の指令に従って、内部電源回路11が高電圧を生成するような制御信号を出力する。一方、電源制御信号発生部22は、書換可能信号fhved_vdd,fhvei_vddが両方とも非活性化状態(Lレベル)の場合に、P/Eシーケンサ21の指令内容によらず、内部電源回路11による高電圧の生成を停止するような制御信号を出力する。
(3. Control of power supply control signal generator 22 by rewritable signals FHVED and FHVEI)
The power supply control signal generator 22 for the internal power supply circuit 11 receives rewritable signals fhved_vdd and fhvei_vdd in which the outputs of the latch circuits 30D and 30I are level-converted to the VDD system by the level shifter 12. The power supply control signal generator 22 generates a high voltage according to a command from the P / E sequencer 21 when at least one of the rewritable signals fhved_vdd and fhvei_vdd is in an activated state (H level). Output a control signal. On the other hand, when both of the rewritable signals fhved_vdd and fhvei_vdd are inactive (L level), the power supply control signal generator 22 generates a high voltage from the internal power supply circuit 11 regardless of the command content of the P / E sequencer 21. A control signal is output to stop the generation of.

(4.書換可能信号FHVEXによる特殊領域42D,42Iの制御)
メモリアレイ40D,40Iの各特殊領域42D,42Iには、書換可能信号FHVEXがレベルシフタ12によってVDD系にレベル変換された書換可能信号fhvex_vddが供給される。特殊領域42D,42I内のメモリセルは、書換可能信号fhvex_vddが活性化状態(Hレベル)のとき書換可能であり、書換可能信号fhvex_vddが非活性化状態(Lレベル)のとき書換禁止になる。たとえば、フラッシュメモリの場合、書換可能信号fhvex_vddが非活性化状態(Lレベル)のときセルブロックが選択不能になる。
(4. Control of special areas 42D and 42I by rewritable signal FHVEX)
The special areas 42D and 42I of the memory arrays 40D and 40I are supplied with a rewritable signal fhvex_vdd in which the rewritable signal FHVEX is level-converted to the VDD system by the level shifter 12. The memory cells in the special areas 42D and 42I are rewritable when the rewritable signal fhvex_vdd is in an activated state (H level), and are rewritable when the rewritable signal fhvex_vdd is in an inactivated state (L level). For example, in the case of a flash memory, the cell block cannot be selected when the rewritable signal fhvex_vdd is in an inactive state (L level).

なお、通常、特殊領域42D,42I内のメモリセルに記憶されたデータは、マイクロコンピュータ1の製造者によって書き換えられるものである。したがって、データ書換中に誤ってリセットされ、書換可能信号FHVEXがLレベルに戻る可能性は低いと考えられる。したがって、書換可能信号FHVEXについてはラッチ回路が設けられていない。   Normally, data stored in the memory cells in the special areas 42D and 42I is rewritten by the manufacturer of the microcomputer 1. Therefore, it is considered that there is a low possibility that the rewritable signal FHVEX is reset to the L level by mistake during data rewriting. Therefore, no latch circuit is provided for the rewritable signal FHVEX.

(5.書換可能信号FHVED,FHVEIによる内部電源回路11の制御)
内部電源回路11は、外部から供給された書換可能信号FHVED,FHVEIをラッチ回路30D,30Iを介さずに受ける。内部電源回路11は、書換可能信号FHVED,FHVEIの少なくとも一方が活性化状態(Hレベル)の場合に、電源制御信号発生部22からの制御信号に従って、高電圧(書込電圧、消去電圧などの制御電圧)を生成可能になる。内部電源回路11は、書換可能信号FHVED,FHVEIが両方とも非活性化状態(Lレベル)の場合には、高電圧を生成しない。
(5. Control of internal power supply circuit 11 by rewritable signals FHVED and FHVEI)
Internal power supply circuit 11 receives rewritable signals FHVED and FHVEI supplied from the outside without passing through latch circuits 30D and 30I. When at least one of the rewritable signals FHVED and FHVEI is in an activated state (H level), the internal power supply circuit 11 generates a high voltage (write voltage, erase voltage, etc.) according to a control signal from the power supply control signal generator 22. Control voltage) can be generated. Internal power supply circuit 11 does not generate a high voltage when rewritable signals FHVED and FHVEI are both in an inactive state (L level).

したがって、電源遮断後に図1の電源回路6が復帰する際に、不揮発性メモリ4内部の信号の論理状態が不定になったとしても、書換可能信号FHVED,FHVEIが両方ともLレベルである限り、内部電源回路11は高電圧を生成しない。この結果、メモリセルに誤って高電圧が印加されることを防止できる。   Therefore, even when the logic state of the signal in the nonvolatile memory 4 becomes indefinite when the power supply circuit 6 in FIG. 1 returns after the power is shut off, as long as both the rewritable signals FHVED and FHVEI are at the L level, The internal power supply circuit 11 does not generate a high voltage. As a result, it is possible to prevent a high voltage from being erroneously applied to the memory cell.

なお、内部電源回路11を構成するチャージポンプ回路には電荷蓄積用のコンデンサが設けられている。このため、メモリセルのデータ書換中に書換可能信号FHVED,FHVEIがLレベルにリセットされたとしても、内部電源回路11の出力が急に減少することはない。したがって、内部電源回路11には、ラッチ回路30D,30Iを介さずに書換可能信号FHVED,FHVEIが直接に供給されている。   The charge pump circuit constituting the internal power supply circuit 11 is provided with a charge storage capacitor. For this reason, even if the rewritable signals FHVED and FHVEI are reset to the L level during the data rewriting of the memory cell, the output of the internal power supply circuit 11 does not suddenly decrease. Therefore, the internal power supply circuit 11 is directly supplied with rewritable signals FHVED and FHVEI without going through the latch circuits 30D and 30I.

(6.書換可能信号FHVED,FHVEI,FHVEXによるテスト用の内部レジスタ13の制御)
テスト用の内部レジスタ13は、VDD系の書換可能信号fhved_vdd,fhvei_vdd,fhvex_vddを受ける。内部レジスタ13の出力は、書換可能信号fhved_vdd,fhvei_vdd,fhvex_vddが全て活性化状態(Hレベル)の場合にのみ有効になり、それ以外の場合には内部レジスタ13の出力は無効化される。
(6. Control of test internal register 13 by rewritable signals FHVED, FHVEI, and FHVEX)
The test internal register 13 receives VDD-related rewritable signals fhved_vdd, fhvei_vdd, and fhvex_vdd. The output of the internal register 13 is valid only when the rewritable signals fhved_vdd, fhvei_vdd, and fhvex_vdd are all in an activated state (H level), and otherwise the output of the internal register 13 is invalidated.

したがって、電源遮断後に図1の電源回路6が復帰する際に、テスト用の内部レジスタ13の論理状態が不定であったとしても、誤って内部電源回路11がバーン・イン・テスト用の高電圧を生成することはない。この結果、メモリセルに誤ってテスト用の高電圧1が印加されることを防止できる。   Therefore, when the power supply circuit 6 in FIG. 1 is restored after the power supply is cut off, even if the logic state of the test internal register 13 is indefinite, the internal power supply circuit 11 erroneously causes the high voltage for burn-in test. Is not generated. As a result, it is possible to prevent erroneous application of the test high voltage 1 to the memory cell.

なお、書換可能信号fhved_vdd,fhvei_vdd,fhvex_vddに代えて新たな書換可能信号を用いてテスト用の内部レジスタ13を制御することもできる。しかし、この場合にはマイクロコンピュータ1に新たな外部端子を設ける必要が生じる。上記のように、書換可能信号fhved_vdd,fhvei_vdd,fhvex_vddを内部レジスタ13の制御のために共用することによって、マイクロコンピュータ1に設ける外部端子の総数を減らすことができる。   Note that the test internal register 13 can be controlled using a new rewritable signal instead of the rewritable signals fhved_vdd, fhvei_vdd, and fhvex_vdd. However, in this case, it is necessary to provide a new external terminal in the microcomputer 1. As described above, by sharing the rewritable signals fhved_vdd, fhvei_vdd, and fhvex_vdd for controlling the internal register 13, the total number of external terminals provided in the microcomputer 1 can be reduced.

また、外部から入力される電源電圧VCC自体が停電になった後の復帰中には、ラッチ回路30D,30Iの出力(書換可能信号fhved_vdd,fhvei_vdd)の論理状態が不定になる。上記のようにラッチ回路を通さない書換可能信号fhved_vddを用いることによって、このような電源電圧VCCの停電後の復帰中においても、メモリセルに誤ってテスト用の高電圧が印加されることを防止できる。   Further, during the recovery after the externally input power supply voltage VCC itself has failed, the logic states of the outputs of the latch circuits 30D and 30I (rewritable signals fhved_vdd and fhvei_vdd) become undefined. By using the rewritable signal fhved_vdd that does not pass through the latch circuit as described above, it is possible to prevent a high voltage for testing from being erroneously applied to the memory cell even during recovery after such power supply voltage VCC is lost. it can.

[ラッチ回路の構成および動作]
以下、図2のラッチ回路30の構成および動作についてさらに詳しく説明する。
[Configuration and operation of latch circuit]
Hereinafter, the configuration and operation of the latch circuit 30 of FIG. 2 will be described in more detail.

図3は、図2のラッチ回路30の構成を示すブロック図である。図2、図3を参照して、ラッチ回路30は、VDD系の制御信号seqmode_onをVCC系の信号に変換(昇圧)するレベルシフタ31と、レベルシフタ31の出力を反転するインバータIV4と、外部電源電圧VCCで動作するDラッチ32とを含む。   FIG. 3 is a block diagram showing a configuration of the latch circuit 30 of FIG. 2 and 3, the latch circuit 30 includes a level shifter 31 that converts (boosts) a VDD control signal seqmode_on into a VCC signal, an inverter IV4 that inverts the output of the level shifter 31, and an external power supply voltage. And a D latch 32 operating at VCC.

制御信号seqmode_onは、P/Eシーケンサ21から出力される。制御信号seqmode_onは、メモリアレイ40Dまたは40Iのデータ書換中(書込モード、消去モード)に活性化状態(Hレベル)になり、データ書換以外のときに非活性化状態(Lレベル)になる。   The control signal seqmode_on is output from the P / E sequencer 21. The control signal seqmode_on is activated (H level) during data rewriting (writing mode, erasing mode) of the memory array 40D or 40I, and is deactivated (L level) at times other than data rewriting.

インバータIV4は、外部電源電圧VCCによって動作する。インバータIV4の出力信号FhelatchはVCC系の信号である。   Inverter IV4 operates with external power supply voltage VCC. The output signal Fhelatch of the inverter IV4 is a VCC signal.

Dラッチ32は、一般に、入力端子D、出力端子Q、およびクロック入力端子CLKを有する。クロック入力がHレベルの場合、Dラッチ32は、入力端子Dへの入力信号の論理レベルと同じ論理レベルの信号を出力端子Qから出力する。一方、Dラッチ32は、クロック入力がLレベルに切替わった時点の入力信号の論理レベルを入力信号がHレベルに戻るまで保持する。そして、クロック入力がLレベルの間、Dラッチ32は、保持した論理レベルの信号を出力端子Qから出力する。   The D latch 32 generally has an input terminal D, an output terminal Q, and a clock input terminal CLK. When the clock input is at the H level, the D latch 32 outputs from the output terminal Q a signal having the same logic level as the logic level of the input signal to the input terminal D. On the other hand, the D latch 32 holds the logic level of the input signal when the clock input is switched to the L level until the input signal returns to the H level. While the clock input is at the L level, the D latch 32 outputs the held logic level signal from the output terminal Q.

図3の場合、入力端子DにVCC系の書換可能信号FHVED(またはFHVEI)が入力され、クロック入力端子CLKにインバータIV4の出力信号Fhelatch(VCC系)が入力される。Dラッチ32は、外部電源電圧VCCを受けて動作するので、出力端子Qから出力された信号Infhved(またはInfhvei)はVCC系の信号である。Dラッチ32を外部電源電圧VCCによって動作させることによって、図1の電源回路6が停電状態になったとしても、Dラッチ32の出力の論理レベルが不定になることはない。   In the case of FIG. 3, the VCC rewritable signal FHVED (or FHVEI) is input to the input terminal D, and the output signal Fhelatch (VCC system) of the inverter IV4 is input to the clock input terminal CLK. Since the D latch 32 operates upon receiving the external power supply voltage VCC, the signal Infhved (or Infhvei) output from the output terminal Q is a VCC signal. By operating the D latch 32 with the external power supply voltage VCC, even if the power supply circuit 6 in FIG. 1 is in a power failure state, the logic level of the output of the D latch 32 does not become unstable.

レベルシフタ31は、VDD系の信号をVCC系の信号に変換(昇圧)する回路である。図3の場合、レベルシフタ31は、P/Eシーケンサ21から出力された制御信号seqmode_onをVCC系の信号にレベル変換する。   The level shifter 31 is a circuit that converts (boosts) a VDD signal to a VCC signal. In the case of FIG. 3, the level shifter 31 converts the level of the control signal seqmode_on output from the P / E sequencer 21 into a VCC signal.

また、レベルシフタ31には、電源電圧VDDが所定の電圧レベルに達しているときに活性化(Hレベル)する監視信号VDDONLがさらに与えられる。レベルシフタ31には、監視信号VDDONLによって、電源遮断後の復帰中で内部電源電圧VDDが低下しているときにレベルシフタ31に貫通電流が流れないように制御している。   Further, the level shifter 31 is further supplied with a monitoring signal VDDONL that is activated (H level) when the power supply voltage VDD reaches a predetermined voltage level. The level shifter 31 is controlled by the monitoring signal VDDONL so that a through current does not flow through the level shifter 31 when the internal power supply voltage VDD is decreasing during recovery after power-off.

図4は、図3のレベルシフタ31の構成の一例を示す回路図である。図4を参照して、レベルシフタ31は、PMOS(P-channel Metal Oxide Semiconductor)トランジスタQP1,QP2,QP3と、NMOS(N-channel Metal Oxide Semiconductor)トランジスタQN1,QN2,QN3と、内部電源電圧VDDで動作するインバータIV1,IV2と、外部電源電圧VCCで動作するインバータIV3とを含む。   FIG. 4 is a circuit diagram showing an example of the configuration of the level shifter 31 of FIG. Referring to FIG. 4, level shifter 31 includes PMOS (P-channel Metal Oxide Semiconductor) transistors QP1, QP2, and QP3, NMOS (N-channel Metal Oxide Semiconductor) transistors QN1, QN2, and QN3, and internal power supply voltage VDD. Inverters IV1 and IV2 that operate, and inverter IV3 that operates with external power supply voltage VCC are included.

まず、レベルシフタ31の各要素間の接続について説明する。トランジスタQP1,QN1は、この順で電源ノード(VCC)とノードND3との間に接続される。トランジスタQP2,QN2は、この順で電源ノード(VCC)とノードND3との間に、トランジスタQP1,QN1と並列に接続される。トランジスタQP3は、トランジスタQP2と並列に接続される。トランジスタQN3は、ノードND3と接地ノード(GND)との間に接続される。トランジスタQP1のゲートは、トランジスタQP2のドレイン(ノードND2)に接続され、トランジスタQP2のゲートは、トランジスタQP1のドレイン(ノードND1)に接続される。インバータIV1は、制御信号seqmode_onを反転してトランジスタQN1のゲートに出力する。また、インバータIV2は、インバータIV1の出力を反転してトランジスタQN2のゲートに出力する。トランジスタQP3,QN3のゲートには、監視信号VDDONLが入力される。インバータIV3は、ノードND2の電圧を反転および整形して出力する。インバータIV3の出力は、図3のインバータIV4によってさらに反転され、信号FhelatchとしてDラッチ32のクロック入力端子CLKに与えられる。   First, connection between each element of the level shifter 31 will be described. Transistors QP1 and QN1 are connected in this order between the power supply node (VCC) and node ND3. Transistors QP2 and QN2 are connected in parallel with transistors QP1 and QN1 between power supply node (VCC) and node ND3 in this order. Transistor QP3 is connected in parallel with transistor QP2. Transistor QN3 is connected between node ND3 and a ground node (GND). The gate of the transistor QP1 is connected to the drain (node ND2) of the transistor QP2, and the gate of the transistor QP2 is connected to the drain (node ND1) of the transistor QP1. Inverter IV1 inverts control signal seqmode_on and outputs the inverted signal to the gate of transistor QN1. Inverter IV2 inverts the output of inverter IV1 and outputs the result to the gate of transistor QN2. The monitor signal VDDONL is input to the gates of the transistors QP3 and QN3. Inverter IV3 inverts and shapes the voltage at node ND2 and outputs the result. The output of the inverter IV3 is further inverted by the inverter IV4 of FIG. 3, and is supplied to the clock input terminal CLK of the D latch 32 as the signal Fhelatch.

次に、図4のレベルシフタ31の動作について説明する。
まず、内部電源電圧VDDが所定の電圧レベルに達するまでは監視信号VDDONL_VCCがLレベルであるので、トランジスタQP3は導通状態である。この結果、トランジスタQP2のドレイン(ノードND2)は電源電圧VCCに等しくなり、レベルシフタ31の出力信号/FhelatchはLレベルに固定される。このように、トランジスタQP3は、内部電源電圧VDDが所定の電圧レベルに達するまでレベルシフタ31の出力が不定にならないように設けられている。
Next, the operation of the level shifter 31 in FIG. 4 will be described.
First, since the monitor signal VDDONL_VCC is at the L level until the internal power supply voltage VDD reaches a predetermined voltage level, the transistor QP3 is in the conductive state. As a result, the drain (node ND2) of the transistor QP2 becomes equal to the power supply voltage VCC, and the output signal / Fhelatch of the level shifter 31 is fixed at the L level. Thus, the transistor QP3 is provided so that the output of the level shifter 31 does not become unstable until the internal power supply voltage VDD reaches a predetermined voltage level.

内部電源電圧VDDが所定の電圧レベルに達するとトランジスタQN3が導通するので、ノードND3の電圧は接地電圧GNDに等しくなる。さらに、トランジスタQP3は非導通状態になるので、レベルシフタ31は、入力された制御信号seqmode_onに応じた値を出力する。   When internal power supply voltage VDD reaches a predetermined voltage level, transistor QN3 is turned on, so that the voltage at node ND3 becomes equal to ground voltage GND. Further, since the transistor QP3 is in a non-conductive state, the level shifter 31 outputs a value corresponding to the input control signal seqmode_on.

制御信号seqmode_onがLレベル(GND)の場合、トランジスタQN1が導通状態になり、トランジスタQN2が非導通状態になる。この結果、トランジスタQP1が非導通状態になり、トランジスタQP2が導通状態になるので、ノードND2の電圧は外部電源電圧VCCに等しくなる。これによって、図3のDラッチ32のクロック入力端子CLKには、Hレベル(VCC)の信号Fhelatchが与えられる。   When the control signal seqmode_on is at L level (GND), the transistor QN1 is turned on and the transistor QN2 is turned off. As a result, transistor QP1 is turned off and transistor QP2 is turned on, so that the voltage at node ND2 is equal to external power supply voltage VCC. As a result, an H level (VCC) signal Fhelatch is applied to the clock input terminal CLK of the D latch 32 of FIG.

一方、制御信号seqmode_onがHレベル(VDD)の場合、トランジスタQN1が非導通状態になり、トランジスタQN2が導通状態になる。この結果、トランジスタQP1が導通状態になり、トランジスタQP2が非導通状態になるので、ノードND2の電圧は接地電圧GNDに等しくなる。これによって、図3のDラッチ32のクロック入力端子CLKには、Lレベル(GND)の信号Fhelatchが与えられる。   On the other hand, when the control signal seqmode_on is at H level (VDD), the transistor QN1 is turned off and the transistor QN2 is turned on. As a result, transistor QP1 is turned on and transistor QP2 is turned off, so that the voltage at node ND2 is equal to ground voltage GND. As a result, the L level (GND) signal Fhelatch is applied to the clock input terminal CLK of the D latch 32 of FIG.

図5〜図7は、図3のラッチ回路30の動作を示すタイミング図である。以下、図5〜図7を参照しながら、これまでの説明を総括して図3のラッチ回路30の動作について説明する。   5 to 7 are timing charts showing the operation of the latch circuit 30 shown in FIG. Hereinafter, the operation of the latch circuit 30 shown in FIG. 3 will be described by summarizing the above description with reference to FIGS.

図5は、データ書換時以外の場合のラッチ回路30のタイミング図である。図3、図5を参照して、内部電源電圧VDDはいずれの時間帯もHレベル(VDD)にあるものとする。したがって、監視信号VDDONLもHレベル(VCC)である。また、データ書換中ではないので、P/Eシーケンサ21から出力された制御信号seqmode_on(VDD系)はLレベル(GND)である。   FIG. 5 is a timing chart of the latch circuit 30 in cases other than data rewriting. 3 and 5, it is assumed that internal power supply voltage VDD is at the H level (VDD) in any time zone. Therefore, the monitoring signal VDDONL is also at the H level (VCC). Since data rewriting is not in progress, the control signal seqmode_on (VDD system) output from the P / E sequencer 21 is at the L level (GND).

図5の時刻t1〜t2の時間帯のように、書換可能信号FHVED(またはFHVEI)がLレベル(GND)の場合は、ラッチ回路30の出力信号Infhved(またはInfhvei)はLレベル(GND)になる。また、時刻t3〜t4のように、書換可能信号FHVED(またはFHVEI)がHレベル(VCC)の場合は、ラッチ回路30の出力信号Infhved(またはInfhvei)はHレベル(VCC)になる。すなわち、ラッチ回路30は入力信号の論理レベルをそのまま出力する。   When the rewritable signal FHVED (or FHVEI) is at L level (GND) as in the time period from time t1 to time t2 in FIG. 5, the output signal Infhved (or Infhvei) of the latch circuit 30 is at L level (GND). Become. Further, when the rewritable signal FHVED (or FHVEI) is at the H level (VCC) as at times t3 to t4, the output signal Infhved (or Infhvei) of the latch circuit 30 is at the H level (VCC). That is, the latch circuit 30 outputs the logic level of the input signal as it is.

図6は、データ書換時の場合のラッチ回路30のタイミング図である。図3、図6を参照して、内部電源電圧VDDはいずれの時間帯もHレベル(VDD)であり、したがって、監視信号VDDONLはHレベル(VCC)であるものとする。また、リセット信号RST(VCC系)は、いずれの時間帯もLレベル(GND)であり、外部から強制的なリセットは行なわれないものとする。   FIG. 6 is a timing chart of the latch circuit 30 at the time of data rewriting. Referring to FIGS. 3 and 6, internal power supply voltage VDD is at H level (VDD) in any time period, and therefore monitor signal VDDONL is at H level (VCC). In addition, the reset signal RST (VCC system) is at L level (GND) in any time zone, and no forced reset is performed from the outside.

図6の時刻t1で、書換可能信号FHVED(またはFHVEI)がLレベルからHレベル(VCC)に切替わる。次の時刻t2までの時間帯では、P/Eシーケンサ21から出力された制御信号seqmode_on(VDD系)はLレベル(GND)である。したがって、ラッチ回路30の出力信号Infhved(またはInfhvei)は、入力された書換可能信号FHVED(またはFHVEI)の論理レベルに応じて、時刻t1でLレベルからHレベル(VCC)に切替わる。   At time t1 in FIG. 6, the rewritable signal FHVED (or FHVEI) is switched from L level to H level (VCC). In the time zone up to the next time t2, the control signal seqmode_on (VDD system) output from the P / E sequencer 21 is at the L level (GND). Therefore, the output signal Infhved (or Infhvei) of the latch circuit 30 is switched from the L level to the H level (VCC) at the time t1 according to the logic level of the input rewritable signal FHVED (or FHVEI).

次の時刻t2で、制御信号seqmode_on(VDD系)がHレベル(VDD)に切替わると、ラッチ回路30は、この時点t2における書換可能信号FHVED(またはFHVEI)の論理レベル(Hレベル)を保持する。この時刻t2から次の時刻t3までの時間帯では、P/Eシーケンサ21から出力された制御信号seqmode_on(VDD系)はHレベル(VDD)を維持する。したがって、ラッチ回路30は、時刻t3まで、保持したHレベル(VCC)の信号の出力を続ける。   When the control signal seqmode_on (VDD system) is switched to the H level (VDD) at the next time t2, the latch circuit 30 holds the logic level (H level) of the rewritable signal FHVED (or FHVEI) at this time t2. To do. In the time period from this time t2 to the next time t3, the control signal seqmode_on (VDD system) output from the P / E sequencer 21 maintains the H level (VDD). Therefore, latch circuit 30 continues to output the held H level (VCC) signal until time t3.

次の時刻t3で、制御信号seqmode_on(VDD系)がLレベル(GND)に戻ると、ラッチ回路30は、入力された書換可能信号FHVED(またはFHVEI)の論理レベルに応じた論理レベルの信号を出力する。この時刻t3から次の時刻t4までは、書換可能信号FHVED(またはFHVEI)はHレベルであるので、ラッチ回路30の出力信号Infhved(またはInfhvei)は、Hレベル(VCC)のまま変わらない。   When the control signal seqmode_on (VDD system) returns to the L level (GND) at the next time t3, the latch circuit 30 outputs a signal having a logic level corresponding to the logic level of the input rewritable signal FHVED (or FHVEI). Output. From this time t3 to the next time t4, since the rewritable signal FHVED (or FHVEI) is at the H level, the output signal Infhved (or Infhvei) of the latch circuit 30 remains at the H level (VCC).

次の時刻t4で、書換可能信号FHVED(またはFHVEI)がLレベル(GND)に戻るので、その変化に応じてラッチ回路30の出力信号Infhved(またはInfhvei)もLレベル(GND)に戻る。   At the next time t4, the rewritable signal FHVED (or FHVEI) returns to the L level (GND), so that the output signal Infhved (or Infhvei) of the latch circuit 30 also returns to the L level (GND) according to the change.

図7は、書換中にリセットされた場合のラッチ回路30のタイミング図である。図3、図7を参照して、内部電源電圧VDDはいずれの時間帯もHレベル(VDD)であり、したがって、監視信号VDDONLはHレベル(VCC)であるものとする。図7の場合は、図6の場合と異なり、制御信号seqmode_on(VDD系)がHレベル(VDD)となる時刻t2〜t4の時間帯の途中の時刻t3で、マイクロコンピュータ1が外部から強制的にリセットされる(リセット信号RSTがHレベルに切替わる)。   FIG. 7 is a timing diagram of the latch circuit 30 when it is reset during rewriting. 3 and 7, it is assumed that internal power supply voltage VDD is at H level (VDD) in any time period, and therefore, monitoring signal VDDONL is at H level (VCC). In the case of FIG. 7, unlike the case of FIG. 6, the microcomputer 1 is forced from the outside at time t <b> 3 in the time period from time t <b> 2 to t <b> 4 when the control signal seqmode_on (VDD system) becomes H level (VDD). (The reset signal RST is switched to H level).

図7の時刻t1で、書換可能信号FHVED(またはFHVEI)がLレベルからHレベル(VCC)に切替わる。次の時刻t2までの時間帯では、P/Eシーケンサ21から出力された制御信号seqmode_on(VDD系)はLレベル(GND)である。したがって、ラッチ回路30の出力信号Infhved(またはInfhvei)は、入力された書換可能信号FHVED(またはFHVEI)の論理レベルに応じて、時刻t1でLレベルからHレベル(VCC)に切替わる。   At time t1 in FIG. 7, the rewritable signal FHVED (or FHVEI) is switched from the L level to the H level (VCC). In the time zone up to the next time t2, the control signal seqmode_on (VDD system) output from the P / E sequencer 21 is at the L level (GND). Therefore, the output signal Infhved (or Infhvei) of the latch circuit 30 is switched from the L level to the H level (VCC) at the time t1 according to the logic level of the input rewritable signal FHVED (or FHVEI).

次の時刻t2で、制御信号seqmode_on(VDD系)がHレベル(VDD)に切替わると、ラッチ回路30は、この時点t2における書換可能信号FHVED(またはFHVEI)の論理レベル(Hレベル)を保持する。この時刻t2から時刻t4までの時間帯では、P/Eシーケンサ21から出力された制御信号seqmode_on(VDD系)はHレベル(VDD)である。したがって、ラッチ回路30は、時刻t4まで、保持したHレベル(VCC)の信号の出力を続ける。   When the control signal seqmode_on (VDD system) is switched to the H level (VDD) at the next time t2, the latch circuit 30 holds the logic level (H level) of the rewritable signal FHVED (or FHVEI) at this time t2. To do. In the time period from time t2 to time t4, the control signal seqmode_on (VDD system) output from the P / E sequencer 21 is at the H level (VDD). Therefore, latch circuit 30 continues to output the held H level (VCC) signal until time t4.

時刻t2とt4との間の時刻t3で、リセット信号RSTがHレベルに切替わり、書換可能信号FHVED(またはFHVEI)がLレベル(GND)に戻る。この時点では、制御信号seqmode_on(VDD系)はHレベル(VDD)のままであるので、ラッチ回路30の出力信号Infhved(またはInfhvei)は、保持したHレベル(VCC)のままである。   At time t3 between times t2 and t4, the reset signal RST switches to the H level, and the rewritable signal FHVED (or FHVEI) returns to the L level (GND). At this time, since the control signal seqmode_on (VDD system) remains at the H level (VDD), the output signal Infhved (or Infhvei) of the latch circuit 30 remains at the held H level (VCC).

次の時刻t4で、制御信号seqmode_on(VDD系)がLレベル(GND)に戻ると、ラッチ回路30は、入力された書換可能信号FHVED(またはFHVEI)の論理レベルに応じた論理レベルの信号を出力する。書換可能信号FHVED(またはFHVEI)は、既に時刻t3の時点でLレベル(GND)に戻っているので、ラッチ回路30の出力信号Infhved(またはInfhvei)は、時刻t4以降、Lレベル(GND)になる。   When the control signal seqmode_on (VDD system) returns to the L level (GND) at the next time t4, the latch circuit 30 outputs a signal having a logic level corresponding to the logic level of the input rewritable signal FHVED (or FHVEI). Output. Since the rewritable signal FHVED (or FHVEI) has already returned to the L level (GND) at the time t3, the output signal Infhved (or Infhvei) of the latch circuit 30 becomes the L level (GND) after the time t4. Become.

次の時刻t5で、リセット信号RSTがLレベル(GND)に戻る。
[まとめ]
図8は、メモリアレイの動作状態に対応した書換可能信号FHVED,FHVEI,VHVEXの論理レベルを示す表である。以下、図2、図8を参照して書換可能信号FHVED,FHVEI,VHVEXによる不揮発性メモリ4の制御方法について総括する。
At the next time t5, the reset signal RST returns to the L level (GND).
[Summary]
FIG. 8 is a table showing logic levels of rewritable signals FHVED, FHVEI, and VHVEX corresponding to the operation state of the memory array. Hereinafter, the control method of the nonvolatile memory 4 by the rewritable signals FHVED, FHVEI, and VHVEX will be summarized with reference to FIGS.

まず、データ領域10Dにおけるメモリアレイ40Dの通常領域41Dを書換える場合には、書換可能信号FHVEDがHレベル(VCC)になる。これによって、内部電源回路11、電源制御信号発生部22、および電源スイッチ部14D用の電源SW制御信号発生部23Dが活性化される。   First, when the normal area 41D of the memory array 40D in the data area 10D is rewritten, the rewritable signal FHVED becomes H level (VCC). As a result, the internal power supply circuit 11, the power supply control signal generation unit 22, and the power supply SW control signal generation unit 23D for the power supply switch unit 14D are activated.

次に、コード領域10Iにおけるメモリアレイ40Iの通常領域41Iを書換える場合には、書換可能信号FHVEIがHレベル(VCC)になる。これによって、内部電源回路11、電源制御信号発生部22、および電源スイッチ部14I用の電源SW制御信号発生部23Iが活性化される。   Next, when the normal area 41I of the memory array 40I in the code area 10I is rewritten, the rewritable signal FHVEI becomes H level (VCC). As a result, the internal power supply circuit 11, the power supply control signal generation unit 22, and the power supply SW control signal generation unit 23I for the power supply switch unit 14I are activated.

次に、コード領域10Iにおけるメモリアレイ40Iの特殊領域42Iを書換える場合には、書換可能信号FHVEI,FHVEXがHレベル(VCC)になる。これによって、内部電源回路11、電源制御信号発生部22、および電源スイッチ部14I用の電源SW制御信号発生部23Iが活性化される。さらに、特殊領域42Iのセルブロックが選択可能になるなどして、特殊領域42I内のメモリセルが書換可能になる。   Next, when the special area 42I of the memory array 40I in the code area 10I is rewritten, the rewritable signals FHVEI and FHVEX are set to the H level (VCC). As a result, the internal power supply circuit 11, the power supply control signal generation unit 22, and the power supply SW control signal generation unit 23I for the power supply switch unit 14I are activated. Further, the memory cell in the special area 42I can be rewritten, for example, by selecting a cell block in the special area 42I.

次に、データ領域10Dにおけるメモリアレイ40Dの特殊領域42Dを書換える場合には、書換可能信号FHVED,FHVEXがHレベル(VCC)になる。これによって、内部電源回路11、電源制御信号発生部22、および電源スイッチ部14D用の電源SW制御信号発生部23Dが活性化される。さらに、特殊領域42Dのセルブロックが選択可能になるなどして、特殊領域42D内のメモリセルが書換可能になる。   Next, when the special area 42D of the memory array 40D in the data area 10D is rewritten, the rewritable signals FHVED and FHVEX become the H level (VCC). As a result, the internal power supply circuit 11, the power supply control signal generation unit 22, and the power supply SW control signal generation unit 23D for the power supply switch unit 14D are activated. Further, the memory cell in the special area 42D can be rewritten, for example, by selecting a cell block in the special area 42D.

一方、データ書換中でない領域に対応する書換可能信号はLレベル(GND)になる。これによって、電源遮断や瞬時停電の場合に誤ったデータ書込を防止することができる。   On the other hand, the rewritable signal corresponding to the area where data is not being rewritten becomes L level (GND). As a result, erroneous data writing can be prevented in the case of power interruption or instantaneous power failure.

以上のとおり、実施の形態1の不揮発性メモリ4によれば、メモリアレイの各領域に対応した複数の書換可能信号FHVED,FHVEI,FHVEXを用いるという簡単な方法によって、電源遮断や瞬時停電の場合に生じ得る誤ったデータ書込の可能性を低減することができる。したがって、従来技術に比べて、実施の形態1の不揮発性メモリ4の場合には、回路構成が複雑化することもなく、また、回路面積もほとんど増加しない。   As described above, according to the nonvolatile memory 4 of the first embodiment, in the case of power shutdown or instantaneous power failure by a simple method of using a plurality of rewritable signals FHVED, FHVEI, FHVEX corresponding to each area of the memory array Can reduce the possibility of erroneous data writing. Therefore, compared with the prior art, in the case of the nonvolatile memory 4 according to the first embodiment, the circuit configuration is not complicated and the circuit area is hardly increased.

さらに、書換可能信号FHVED,FHVEIの論理状態を保持するラッチ回路30D,30Iを設けることによって、データ書換中に書換可能信号FHVED,FHVEIがリセットされた場合でも、データ書換を正常に終了させることができる。   Further, by providing the latch circuits 30D and 30I that hold the logic states of the rewritable signals FHVED and FHVEI, even when the rewritable signals FHVED and FHVEI are reset during the data rewriting, the data rewriting can be normally terminated. it can.

[変形例1]
図9は、図2の不揮発性メモリ4の変形例としての不揮発性メモリ104の構成を示すブロック図である。図9の不揮発性メモリ104には、マイクロコンピュータ1の外部からテスト用の内部レジスタ113専用の書換可能信号FHVETが供給される。
[Modification 1]
FIG. 9 is a block diagram showing a configuration of a nonvolatile memory 104 as a modification of the nonvolatile memory 4 of FIG. The nonvolatile memory 104 in FIG. 9 is supplied with a rewritable signal FHVET dedicated to the test internal register 113 from the outside of the microcomputer 1.

具体的に、図9のデータ領域110Dに設けられたレベルシフタ112は、さらに、書換可能信号FHVET_VCCをVDD系の書換可能信号fhvet_vddにレベル変換する点で、図2のレベルシフタ12と異なる。   Specifically, the level shifter 112 provided in the data area 110D of FIG. 9 is further different from the level shifter 12 of FIG. 2 in that the level of the rewritable signal FHVET_VCC is converted to the VDD rewritable signal fhvet_vdd.

また、図9の内部レジスタ113は、書換可能信号fhved_vdd,fhvei_vdd,fhvex_vddに代えて、書換可能信号fhvet_vddのみを受ける点で、図2の内部レジスタ13と異なる。内部レジスタ113の出力は、書換可能信号fhvet_vddが活性化状態(Hレベル)の場合に有効になる。書換可能信号fhvet_vddが非活性化状態(Lレベル)の場合には、内部レジスタ113の出力は無効化される。   Further, the internal register 113 of FIG. 9 is different from the internal register 13 of FIG. 2 in that only the rewritable signal fhvet_vdd is received instead of the rewritable signals fhved_vdd, fhvei_vdd, and fhvex_vdd. The output of the internal register 113 is valid when the rewritable signal fhvet_vdd is in an activated state (H level). When the rewritable signal fhvet_vdd is in an inactive state (L level), the output of the internal register 113 is invalidated.

その他の点については、図9の不揮発性メモリ104は図2の不揮発性メモリ4と同様であるので、同一または相当する部分については同一の参照符号を付して説明を繰返さない。   Since the nonvolatile memory 104 of FIG. 9 is the same as the nonvolatile memory 4 of FIG. 2 in other points, the same or corresponding parts are denoted by the same reference numerals and description thereof will not be repeated.

[変形例2]
図10は、図1のマイクロコンピュータ1の変形例としてのマイクロコンピュータ201の構成を示すブロック図である。
[Modification 2]
FIG. 10 is a block diagram showing a configuration of a microcomputer 201 as a modification of the microcomputer 1 shown in FIG.

図10のマイクロコンピュータ201は、外部電源電圧VCCで動作するレジスタ9(書換可能信号を生成する信号生成回路)をさらに含む点で図1のマイクロコンピュータ1と異なる。レジスタ9は、レジスタ内部の設定データに応じた論理状態の書換可能信号FHVED_VCC,FHVEI_VCC,VHVEX_VCCを不揮発性メモリ4に出力する。図1の場合には書換可能信号FHVED_VCC,FHVEI_VCC,VHVEX_VCCがマイクロコンピュータ1の外部から与えられていたのに対して、図10の場合には書換可能信号FHVED_VCC,FHVEI_VCC,VHVEX_VCCはマイクロコンピュータ201の内部で生成される。   The microcomputer 201 of FIG. 10 differs from the microcomputer 1 of FIG. 1 in that it further includes a register 9 (a signal generation circuit that generates a rewritable signal) that operates at the external power supply voltage VCC. The register 9 outputs rewritable signals FHVED_VCC, FHVEI_VCC, and VHVEX_VCC in the logic state according to the set data in the register to the nonvolatile memory 4. In the case of FIG. 1, the rewritable signals FHVED_VCC, FHVEI_VCC, and VHVEX_VCC are given from the outside of the microcomputer 1, whereas in the case of FIG. 10, the rewritable signals FHVED_VCC, FHVEI_VCC, and VHVEX_VCC are inside the microcomputer 201. Is generated.

図12において不揮発性メモリ4に格納されたデータを書き換える場合には、書換すべき領域に対応した書換可能信号が活性化状態(Hレベル)になるように、レジスタ9のデータが設定される。レジスタ9の設定データは、インターフェース回路7およびデータバス8を介してマイクロコンピュータ201の外部から与えられる。   In FIG. 12, when the data stored in the nonvolatile memory 4 is rewritten, the data in the register 9 is set so that the rewritable signal corresponding to the area to be rewritten is activated (H level). Setting data of the register 9 is given from the outside of the microcomputer 201 via the interface circuit 7 and the data bus 8.

上記の構成によれば、書換可能信号FHVED_VCC,FHVEI_VCC,VHVEX_VCCを入力するための専用の外部端子を設けなくてよい。したがって、マイクロコンピュータ201に設けられる外部端子数を図1のマイクロコンピュータ1の場合よりも削減することができる。図10のその他の点については図1と同様であるので、同一または相当する部分には同一の参照符号を付して説明を繰返さない。   According to the above configuration, it is not necessary to provide a dedicated external terminal for inputting the rewritable signals FHVED_VCC, FHVEI_VCC, and VHVEX_VCC. Therefore, the number of external terminals provided in the microcomputer 201 can be reduced as compared with the case of the microcomputer 1 in FIG. Since the other points of FIG. 10 are the same as those of FIG. 1, the same or corresponding parts are denoted by the same reference numerals and description thereof will not be repeated.

<実施の形態2>
図11は、この発明の実施の形態2に従うマイクロコンピュータ301の構成を示すブロック図である。
<Embodiment 2>
FIG. 11 is a block diagram showing a configuration of microcomputer 301 according to the second embodiment of the present invention.

図11のマイクロコンピュータ301(半導体装置)は、電源電圧VDDを生成する内部電源回路11を含まずに外部から電源電圧VDDが与えられる点で図1のマイクロコンピュータ1と異なる。すなわち、マイクロコンピュータ301は、駆動用の2つの外部電源電圧VDD,VCCをマイクロコンピュータ301の外部から受ける。   A microcomputer 301 (semiconductor device) in FIG. 11 is different from the microcomputer 1 in FIG. 1 in that the power supply voltage VDD is supplied from the outside without including the internal power supply circuit 11 that generates the power supply voltage VDD. That is, the microcomputer 301 receives two external power supply voltages VDD and VCC for driving from the outside of the microcomputer 301.

図11に示すように、マイクロコンピュータ301は、CPU2、RAM3、不揮発性メモリ304、周辺回路5、インターフェース回路7、およびこれらを相互に接続するデータバス8を含む。外部電源電圧VDDは、これらの構成要素の大部分を動作させるのに用いられる。外部電源電圧VCCは、周辺回路5に含まれるA/D(Analog to Digital)コンバータなどの一部のアナログ回路や、図2で説明したラッチ回路30D,30Iなどを動作させるのに用いられる。なお、実施の形態2の場合、外部電源電圧VCCは、外部電源電圧VDDよりも高い電圧である。   As shown in FIG. 11, the microcomputer 301 includes a CPU 2, a RAM 3, a nonvolatile memory 304, a peripheral circuit 5, an interface circuit 7, and a data bus 8 that connects these components to each other. The external power supply voltage VDD is used to operate most of these components. The external power supply voltage VCC is used to operate some analog circuits such as an A / D (Analog to Digital) converter included in the peripheral circuit 5 and the latch circuits 30D and 30I described in FIG. In the second embodiment, external power supply voltage VCC is higher than external power supply voltage VDD.

図11のマイクロコンピュータ301は、さらに、書換可能信号FHVED_VCC,FHVEI_VCC,VHVEX_VCCに加えて、書換可能信号FHVED_EXVDD,FHVEI_EXVDD,VHVEX_EXVDDを外部から受ける点で図1のマイクロコンピュータ1と異なる。書換可能信号FHVED_VCC,FHVEI_VCC,VHVEX_VCCは、VCC系の信号(Hレベル:電源電圧VCC、Lレベル:接地電圧GND)であり、電源電圧VCCで動作する外部の回路から出力された信号である。一方、書換可能信号FHVED_EXVDD,FHVEI_EXVDD,VHVEX_EXVDDは、外部VDD系の信号(Hレベル:電源電圧VDD、Lレベル:接地電圧GND)であり、電源電圧VDDで動作する外部の回路から出力された信号である。なお、図11、図12では、参照符号の末尾にEXVDDを付すことによって、外部VDD系の信号であることが示される。   The microcomputer 301 of FIG. 11 is further different from the microcomputer 1 of FIG. 1 in that it receives rewritable signals FHVED_EXVDD, FHVEI_EXVDD, and VHVEX_EXVDD from the outside in addition to the rewritable signals FHVED_VCC, FHVEI_VCC, and VHVEX_VCC. The rewritable signals FHVED_VCC, FHVEI_VCC, and VHVEX_VCC are VCC signals (H level: power supply voltage VCC, L level: ground voltage GND), and are signals output from an external circuit that operates at the power supply voltage VCC. On the other hand, the rewritable signals FHVED_EXVDD, FHVEI_EXVDD, and VHVEX_EXVDD are external VDD signals (H level: power supply voltage VDD, L level: ground voltage GND), and are signals output from an external circuit operating at the power supply voltage VDD. is there. In FIG. 11 and FIG. 12, EXVDD is added to the end of the reference symbol to indicate an external VDD signal.

これらの書換可能信号は、不揮発性メモリ304の複数の領域に対応して設けられている。具体的に、書換可能信号FHVED_VCC,FHVED_EXVDDはデータ領域310Dに対応し、書換可能信号FHVEI_VCC,FHVEI_EXVDDはコード領域10Iに対応する。また、書換可能信号FHVEX_VCC,FHVEX_EXVDDは、データ領域10Dおよびコード領域10Iのメモリセルに設けられた特殊領域に対応する。   These rewritable signals are provided corresponding to a plurality of areas of the nonvolatile memory 304. Specifically, the rewritable signals FHVED_VCC and FHVED_EXVDD correspond to the data area 310D, and the rewritable signals FHVEI_VCC and FHVEI_EXVDD correspond to the code area 10I. Further, the rewritable signals FHVEX_VCC, FHVEX_EXVDD correspond to special areas provided in the memory cells of the data area 10D and the code area 10I.

このように、各領域に対してVCC系の書換可能信号と外部VDD系の書換可能信号の両方が対応している。そして、各領域は、対応の2つの書換可能信号が両方とも活性化状態の場合に書換可能な状態になるように制御される。これによって、2つの外部電源のうち一方の外部電源が遮断されたり、瞬時停電が生じたりしても、他方の電源系の書換可能信号が非活性化状態(Lレベル)に維持されることによって、停電状態からの復帰時にメモリセルのデータを誤って書き換える可能性を低減させることができる。書換可能信号による不揮発性メモリ304の詳しい制御方法については、図12を参照して説明する。   As described above, both the VCC-type rewritable signal and the external VDD-type rewritable signal correspond to each region. Each area is controlled to be in a rewritable state when both of the corresponding two rewritable signals are activated. As a result, even if one of the two external power supplies is shut off or an instantaneous power failure occurs, the rewritable signal of the other power supply system is maintained in the inactive state (L level). Thus, the possibility of erroneously rewriting data in the memory cell when returning from the power failure state can be reduced. A detailed control method of the nonvolatile memory 304 by the rewritable signal will be described with reference to FIG.

その他、図11のマイクロコンピュータ301には、外部からマイクロコンピュータ1をリセットするためのリセット信号RSTを受ける端子が設けられる。また、マイクロコンピュータ301には、外部電源電圧VDDの電圧レベルが所定の電圧レベルに達した場合に活性化する監視信号VDDONLを受ける端子も設けられる。   In addition, the microcomputer 301 of FIG. 11 is provided with a terminal for receiving a reset signal RST for resetting the microcomputer 1 from the outside. The microcomputer 301 is also provided with a terminal for receiving a monitoring signal VDDONL that is activated when the voltage level of the external power supply voltage VDD reaches a predetermined voltage level.

図12は、図11の不揮発性メモリ304の詳細な構成を示すブロック図である。図12に示すように、不揮発性メモリ304のデータ領域310Dは、ラッチ回路330D,330I、レベルシフタ50、およびAND回路51〜55がさらに設けられる点で図2のデータ領域10Dと異なる。以下では、これらの異なる点について主に説明し、図2と同一または相当する部分については同一の参照符号を付して説明を繰返さない場合がある。   FIG. 12 is a block diagram showing a detailed configuration of the nonvolatile memory 304 of FIG. As shown in FIG. 12, the data area 310D of the nonvolatile memory 304 is different from the data area 10D of FIG. 2 in that latch circuits 330D and 330I, a level shifter 50, and AND circuits 51 to 55 are further provided. Hereinafter, these different points will be mainly described, and the same or corresponding parts as those in FIG. 2 may be denoted by the same reference numerals and the description thereof may not be repeated.

まず、ラッチ回路330D,330Iは、図3のラッチ回路30と類似の構成を有するが、レベルシフタ31を含まない点で図3のラッチ回路30と異なる。すなわち、図12のラッチ回路330D(または330I)の場合、Dラッチ32の入力端子Dには外部VDD系の書換可能信号FHVED_EXVDD(またはFHVEI_EXVDD)が入力される。また、Dラッチ32のクロック入力端子CLKには制御信号seqmode_onがインバータIV4で反転された信号が入力される。ここで、制御信号seqmode_onは、実施の形態1の場合と同様に、P/Eシーケンサ21から出力され、メモリアレイ40Dまたは40Iのデータ書換中(書込モード、消去モード)に活性化状態(Hレベル)になり、データ書換以外のときに非活性化状態(Lレベル)になる。なお、ラッチ回路330D,330IにおけるインバータIV4およびDラッチ32は外部電源電圧VCCでなく外部電源電圧VDDで動作する。   First, the latch circuits 330D and 330I have a configuration similar to that of the latch circuit 30 of FIG. 3, but are different from the latch circuit 30 of FIG. 3 in that the level shifter 31 is not included. That is, in the case of the latch circuit 330D (or 330I) in FIG. 12, the external VDD rewritable signal FHVED_EXVDD (or FHVEI_EXVDD) is input to the input terminal D of the D latch 32. A signal obtained by inverting the control signal seqmode_on by the inverter IV4 is input to the clock input terminal CLK of the D latch 32. Here, as in the first embodiment, the control signal seqmode_on is output from the P / E sequencer 21 and is activated (H mode) during data rewriting (write mode, erase mode) of the memory array 40D or 40I. Level), and inactive (L level) when data is not rewritten. Inverter IV4 and D latch 32 in latch circuits 330D and 330I operate with external power supply voltage VDD instead of external power supply voltage VCC.

上記の構成によって、ラッチ回路330D(または330I)は、制御信号seqmode_onが活性化状態(Hレベル)に切替わった時点で、書換可能信号FHVED_EXVDD(またはFHVEI_EXVDD)の論理状態を保持し、制御信号seqmode_onが非活性化状態(Lレベル)に切替わるまでの間、保持した論理状態を出力する。一方、制御信号seqmode_onが非活性化状態(Lレベル)の間は、ラッチ回路330Dは、入力された書換可能信号FHVED_EXVDD(またはFHVEI_EXVDD)の論理状態をそのまま出力する。   With the above configuration, the latch circuit 330D (or 330I) holds the logic state of the rewritable signal FHVED_EXVDD (or FHVEI_EXVDD) when the control signal seqmode_on is switched to the activated state (H level), and the control signal seqmode_on The held logic state is output until is switched to the inactive state (L level). On the other hand, while the control signal seqmode_on is in an inactive state (L level), the latch circuit 330D outputs the logic state of the input rewritable signal FHVED_EXVDD (or FHVEI_EXVDD) as it is.

レベルシフタ50は、書換可能信号FHVED_VCC,FHVEI_VCCをVCC系からVDD系にレベル変換(降圧)する。レベルシフタ50は、たとえば、外部電源電圧VDDで動作するインバータ回路によって構成することができる。   The level shifter 50 performs level conversion (step-down) of the rewritable signals FHVED_VCC and FHVEI_VCC from the VCC system to the VDD system. The level shifter 50 can be configured by, for example, an inverter circuit that operates at the external power supply voltage VDD.

AND回路51〜55はいずれも外部電源電圧VDDで動作する。AND回路51は、レベルシフタ50によってVDD系にレベル変換された書換可能信号FHVED_VCCと、外部VDD系の書換可能信号FHVED_EXVDDとのAND演算を行ない、演算結果を内部電源回路11に出力する。同様に、AND回路52は、レベルシフタ50によってVDD系にレベル変換された書換可能信号FHVEI_VCCと、外部VDD系の書換可能信号FHVEI_EXVDDとのAND演算を行ない、演算結果を内部電源回路11に出力する。   All of the AND circuits 51 to 55 operate with the external power supply voltage VDD. The AND circuit 51 performs an AND operation on the rewritable signal FHVED_VCC level-converted to the VDD system by the level shifter 50 and the external VDD rewritable signal FHVED_EXVDD, and outputs the operation result to the internal power supply circuit 11. Similarly, the AND circuit 52 performs an AND operation on the rewritable signal FHVEI_VCC level-converted to the VDD system by the level shifter 50 and the external VDD rewritable signal FHVEI_EXVDD, and outputs the operation result to the internal power supply circuit 11.

内部電源回路11は、AND回路51,52の出力のうち少なくとも一方が活性化状態(Hレベル)の場合に、電源制御信号発生部22からの制御信号に従って、高電圧(書込電圧、消去電圧などの制御電圧)を生成する。一方、内部電源回路11は、AND回路51,52の出力が両方とも非活性化状態(Lレベル)の場合には高電圧を生成しない。ここで、AND回路51,52の出力は、VCC系および外部VDD系の両方の書換可能信号が活性化状態(Hレベル)の場合に活性化状態(Hレベル)になる。したがって、外部電源電圧VCC,VDDのうちのいずれかが停電状態になった後の復帰時に、停電状態になったほうの電源系の書換可能信号の論理状態が不定になったしても、他方の電源系の書換可能信号がLレベルである限り内部電源回路11は高電圧を生成しない。この結果、メモリセルに誤って高電圧が印加されることを防止できる。   When at least one of the outputs of the AND circuits 51 and 52 is in an activated state (H level), the internal power supply circuit 11 operates in accordance with a control signal from the power supply control signal generation unit 22 in accordance with a high voltage (write voltage, erase voltage). Control voltage). On the other hand, internal power supply circuit 11 does not generate a high voltage when both outputs of AND circuits 51 and 52 are in an inactive state (L level). Here, the outputs of the AND circuits 51 and 52 are activated (H level) when the rewritable signals of both the VCC system and the external VDD system are activated (H level). Therefore, even if one of the external power supply voltages VCC and VDD recovers after a power failure, the logic state of the rewritable signal of the power supply that is in the power failure becomes indefinite. As long as the rewritable signal of the power supply system is at the L level, the internal power supply circuit 11 does not generate a high voltage. As a result, it is possible to prevent a high voltage from being erroneously applied to the memory cell.

AND回路53は、ラッチ回路30Dの出力がレベルシフタ12によってレベル変換された信号fhved_vddと、ラッチ回路330Dの出力信号fhved_exvddとのAND演算を行ない、演算結果を書換可能信号fhved_andとして出力する。AND回路53から出力された書換可能信号fhved_andは、データ領域310Dの電源SW制御信号発生部23D、テスト用の内部レジスタ13、および電源制御信号発生部22に入力される。   The AND circuit 53 performs an AND operation on the signal fhved_vdd obtained by level conversion of the output of the latch circuit 30D by the level shifter 12 and the output signal fhved_exvdd of the latch circuit 330D, and outputs the operation result as a rewritable signal fhved_and. The rewritable signal fhved_and output from the AND circuit 53 is input to the power SW control signal generator 23D, the test internal register 13, and the power control signal generator 22 in the data area 310D.

AND回路54は、ラッチ回路30Iの出力がレベルシフタ12によってVDD系にレベル変換された信号fhvei_vddと、ラッチ回路330Iの出力信号fhvei_exvddとのAND演算を行ない、演算結果を書換可能信号fhvei_andとして出力する。AND回路54から出力された書換可能信号fhvei_andは、コード領域10Iの電源SW制御信号発生部23I、テスト用の内部レジスタ13、および電源制御信号発生部22に入力される。   The AND circuit 54 performs an AND operation on the signal fhvei_vdd in which the output of the latch circuit 30I is level-converted to the VDD system by the level shifter 12 and the output signal fhvei_exvdd of the latch circuit 330I, and outputs the operation result as a rewritable signal fhvei_and. The rewritable signal fhvei_and output from the AND circuit 54 is input to the power SW control signal generator 23I, the test internal register 13, and the power control signal generator 22 in the code area 10I.

AND回路55は、書換可能信号FHVEX_VCCがレベルシフタ12によってVDD系にレベル変換された信号fhvex_vddと、外部VDD系の書換可能信号FHVEX_VDDとのAND演算を行ない、演算結果を書換可能信号fhvex_andとして出力する。AND回路55から出力された書換可能信号fhvex_andは、メモリアレイ40D,40Iの各特殊領域42D,42Iおよびテスト用の内部レジスタ13に入力される。   The AND circuit 55 performs an AND operation on the signal fhvex_vdd obtained by converting the level of the rewritable signal FHVEX_VCC into the VDD system by the level shifter 12 and the external VDD system rewritable signal FHVEX_VDD, and outputs the operation result as a rewritable signal fhvex_and. The rewritable signal fhvex_and output from the AND circuit 55 is input to the special areas 42D and 42I of the memory arrays 40D and 40I and the internal register 13 for testing.

上記の書換可能信号fhved_and,fhvei_and,fhvex_andは、実施の形態1の書換可能信号fhved_vdd,fhvei_vdd,fhvex_vddにそれぞれ対応付けられる。   The rewritable signals fhved_and, fhvei_and, and fhvex_and are associated with the rewritable signals fhved_vdd, fhvei_vdd, and fhvex_vdd in the first embodiment, respectively.

たとえば、上記の書換可能信号fhved_andによるデータ領域310Dの電源SW制御信号発生部23Dの制御は、実施の形態1の場合の書換可能信号fhved_vddによる電源SW制御信号発生部23Dの制御と同様である。すなわち、電源SW制御信号発生部23Dは、書換可能信号fhved_andが活性化状態(Hレベル)の場合に、P/Eシーケンサ21の指令に従って、電源スイッチ部14Dの所定のスイッチがオン状態またはオフ状態になるような制御信号を出力する。一方、電源SW制御信号発生部23Dは、書換可能信号fhved_andが非活性化状態(Lレベル)の場合に、P/Eシーケンサ21の指令内容によらず、電源スイッチ部14Dの高電圧用のスイッチがオフ状態になるような制御信号を出力する。   For example, control of power supply SW control signal generator 23D in data area 310D by rewritable signal fhved_and is the same as control of power supply SW control signal generator 23D by rewritable signal fhved_vdd in the first embodiment. That is, when the rewritable signal fhved_and is in the activated state (H level), the power switch control signal generating unit 23D turns on or off a predetermined switch of the power switch unit 14D according to a command from the P / E sequencer 21. Output a control signal such that On the other hand, when the rewritable signal fhved_and is in an inactive state (L level), the power SW control signal generator 23D switches the high voltage switch of the power switch 14D regardless of the command content of the P / E sequencer 21. A control signal is output so that is turned off.

したがって、電源SW制御信号発生部23Dおよび電源スイッチ部14Dによって構成される電圧供給制御部20Dは、外部から与えられた書換可能信号FHVED_VCC,FHVED_EXVDDが両方とも活性化状態(Hレベル)の場合に、P/Eシーケンサ21の指令に従って、内部電源回路11からXデコーダ15Dを介してメモリアレイ40Dに高電圧(書込電圧、消去電圧などの制御電圧)を供給する。電圧供給制御部20Dは、書換可能信号FHVED_VCC,FHVED_EXVDDの少なくとも一方が非活性化状態(Lレベル)であれば、P/Eシーケンサ21の指令を受けても、基本的には内部電源回路11からメモリアレイ40Dに対して高電圧を供給しない。しかし例外的に、電圧供給制御部20Dは、メモリアレイ40Dがデータ書換中の場合には、ラッチ回路30D,330Dの効果によってデータ書換が終了するまで内部電源回路11からメモリアレイ40Dへの高電圧の供給を継続する。   Therefore, the voltage supply control unit 20D configured by the power supply SW control signal generation unit 23D and the power supply switch unit 14D has the rewritable signals FHVED_VCC and FHVED_EXVDD supplied from the outside in an activated state (H level). In accordance with a command from the P / E sequencer 21, a high voltage (control voltage such as a write voltage and an erase voltage) is supplied from the internal power supply circuit 11 to the memory array 40D via the X decoder 15D. When at least one of the rewritable signals FHVED_VCC and FHVED_EXVDD is in an inactive state (L level), the voltage supply control unit 20D basically receives a command from the P / E sequencer 21 from the internal power supply circuit 11. A high voltage is not supplied to the memory array 40D. However, as an exception, when the memory array 40D is rewriting data, the voltage supply control unit 20D has a high voltage from the internal power supply circuit 11 to the memory array 40D until the data rewriting is completed due to the effect of the latch circuits 30D and 330D. Continue to supply

このように、VCC系および外部VDD系の2つの書換可能信号FHVED_VCC,FHVED_EXVDDが制御に用いられるので、外部電源電圧VCC,VDDのいずれか一方が停電したとしても、停電からの復帰時にデータ領域310Dのメモリアレイ40Dに誤って高電圧が印加されるのを防止できる。   Thus, since the two rewritable signals FHVED_VCC and FHVED_EXVDD of the VCC system and the external VDD system are used for control, even if one of the external power supply voltages VCC and VDD is interrupted, the data area 310D is restored when the power is restored from the power failure. It is possible to prevent a high voltage from being erroneously applied to the memory array 40D.

同様に、書換可能信号fhvei_andによるコード領域10Iの電源SW制御信号発生部23Iの制御は、実施の形態1の書換可能信号fhvei_vddによる電源SW制御信号発生部23Iの制御と同じである。この場合も、VCC系および外部VDD系の2つの書換可能信号FHVEI_VCC,FHVEI_EXVDDが制御に用いられるので、外部電源電圧VCC,VDDのいずれか一方が停電したしても、停電状態からの復帰時にコード領域10Iのメモリアレイ40Iに誤って高電圧が印加されるのを防止できる。   Similarly, the control of power supply SW control signal generator 23I in code area 10I by rewritable signal fhvei_and is the same as the control of power supply SW control signal generator 23I by rewritable signal fhvei_vdd in the first embodiment. Also in this case, since the two rewritable signals FHVEI_VCC and FHVEI_EXVDD for the VCC system and the external VDD system are used for control, even if one of the external power supply voltages VCC and VDD fails, a code is returned when the power supply is restored from the power failure state. It is possible to prevent a high voltage from being erroneously applied to the memory array 40I in the region 10I.

以下同様にして、実施の形態2においても、電源制御信号発生部22は、書換可能信号fhved_and,fhvei_andのいずれか一方が活性化状態(Hレベル)のときに活性化される。また、テスト用の内部レジスタ13は、書換可能信号fhved_and,fhvei_and,fhvex_andが全て活性化状態(Hレベル)のときに活性化される。また、メモリアレイ40D,40Iの各特殊領域42D,42Iは書換可能信号fhvex_andが活性化状態のときに活性化される。ここで、各書換可能信号fhved_and,fhvei_and,fhvex_andが活性化状態になるには、外部から与えられるVCC系の書換可能信号と外部VDD系の書換可能信号の両方が活性化状態(Hレベル)になる必要がある。したがって、外部電源電圧VCC,VDDのいずれか一方が停電したしても、停電状態からの復帰時にメモリアレイ40D,40Iに高電圧が誤って印加されるのを防止することができる。   Similarly, also in the second embodiment, the power supply control signal generating unit 22 is activated when one of the rewritable signals fhved_and and fhvei_and is in the activated state (H level). The test internal register 13 is activated when the rewritable signals fhved_and, fhvei_and, and fhvex_and are all in an activated state (H level). The special areas 42D and 42I of the memory arrays 40D and 40I are activated when the rewritable signal fhvex_and is activated. Here, in order for each of the rewritable signals fhved_and, fhvei_and, and fhvex_and to be activated, both the VCC-based rewritable signal and the external VDD-based rewritable signal need to be activated (H level). There is. Therefore, even if one of the external power supply voltages VCC and VDD fails, it is possible to prevent a high voltage from being erroneously applied to the memory arrays 40D and 40I when returning from the power failure state.

今回開示された各実施の形態はすべての点で例示であって制限的なものでないと考えられるべきである。この発明の範囲は上記した説明ではなくて請求の範囲によって示され、請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   Each embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

1,201,301 マイクロコンピュータ、2 CPU、4,104,304 不揮発性メモリ、6 電源回路、10I コード領域、10D,110D,310D データ領域、11 内部電源回路(昇圧回路)、12,112 レベルシフタ、13,113 内部レジスタ、14D,14I 電源スイッチ部、15D,15I Xデコーダ、20D,20I 電圧供給制御部、21 P/Eシーケンサ、22 電源制御信号発生部(内部電源回路11用)、23D 電源SW制御信号発生部(電源スイッチ部14D用)、23I 電源SW制御信号発生部(電源スイッチ部14I用)、30D,30I ラッチ回路、31 レベルシフタ、32 Dラッチ、40D,40I メモリアレイ、41D,41I 通常領域、42D,42I 特殊領域、FHVED_VCC,FHVEI_VCC,FHVEX_VCC,FHVET_VCC 書換可能信号(VCC系)、fhved_vdd,fhvei_vdd,fhvex_vdd,fhvet_vdd 書換可能信号(VDD系)、FHVED_EXVDD,FHVEI_EXVDD,FHVEX_EXVDD,FHVET_EXVDD 書換可能信号(外部VDD系)、VCC,VDD 電源電圧。   1, 201, 301 Microcomputer, 2 CPU, 4, 104, 304 Non-volatile memory, 6 power supply circuit, 10I code area, 10D, 110D, 310D data area, 11 internal power supply circuit (boost circuit), 12, 112 level shifter, 13, 113 Internal register, 14D, 14I Power switch unit, 15D, 15I X decoder, 20D, 20I Voltage supply control unit, 21 P / E sequencer, 22 Power supply control signal generator (for internal power supply circuit 11), 23D Power supply SW Control signal generator (for power switch unit 14D), 23I power SW control signal generator (for power switch unit 14I), 30D, 30I latch circuit, 31 level shifter, 32D latch, 40D, 40I memory array, 41D, 41I Area, 42D, 42I special area, F VED_VCC, FHVEI_VCC, FHVEX_VCC, FHVET_VCC rewritable signal (VCC system), fhved_vdd, fhvei_vdd, fhvex_vdd, fhvet_vdd rewritable signal (VDD system), FHVED_EXVD Voltage.

Claims (11)

電気的に書換可能な不揮発性のメモリセルが複数配列された第1および第2のメモリアレイと、
各前記メモリセルのデータ書換に必要な書換電圧を生成する電圧生成回路と、
第1の電源電圧で動作し、前記第1および第2のメモリアレイのデータ書換を指令する書換指令部と、
前記第1のメモリアレイへのデータ書換時に活性化し、前記第2のメモリアレイへのデータ書換時に非活性化する第1の書換可能信号が活性化状態の場合に、前記書換指令部の指令に従って前記電圧生成回路により生成された前記書換電圧前記第1のメモリアレイへの供給を実施し、前記第1の書換可能信号が非活性化状態の場合に、前記書換指令部の指令に関わらず前記電圧生成回路により生成された前記書換電圧の前記第1のメモリアレイへの供給を遮断する第1の電圧供給制御部と、
前記第2のメモリアレイへのデータ書換時に活性化し、前記第1のメモリアレイへのデータ書換時に非活性化する第2の書換可能信号が活性化状態の場合に、前記書換指令部の指令に従って前記電圧生成回路により生成された前記書換電圧前記第2のメモリアレイへの供給を実施し、前記第2の書換可能信号が非活性化状態の場合に、前記書換指令部の指令に関わらず前記電圧生成回路により生成された前記書換電圧の前記第2のメモリアレイへの供給を遮断する第2の電圧供給制御部とを備え
前記第1の書換可能信号と前記第2の書換可能信号は、前記第1の電源電圧とは異なる第2の電源電圧で駆動される、半導体装置。
First and second memory arrays in which a plurality of electrically rewritable nonvolatile memory cells are arranged;
A voltage generation circuit for generating a rewrite voltage necessary for data rewriting of each of the memory cells;
A rewriting command unit that operates in a first power supply voltage, directing the data rewriting of the first and second memory arrays,
When a first rewritable signal that is activated when data is rewritten to the first memory array and deactivated when data is rewritten to the second memory array is in an activated state, the command of the rewrite command unit is followed. performed supply to the first memory array of the writing voltage generated by the voltage generating circuit, the first rewritable signal in the case of non-activated state, regardless of the instruction of the rewrite command unit A first voltage supply control unit configured to cut off supply of the rewrite voltage generated by the voltage generation circuit to the first memory array ;
When a second rewritable signal that is activated when data is rewritten to the second memory array and deactivated when data is rewritten to the first memory array is in an activated state, the command of the rewrite command unit is followed. performed supply to the second memory array of the writing voltage generated by the voltage generating circuit, said second rewritable signal in the case of non-activated state, regardless of the instruction of the rewrite command unit A second voltage supply control unit that cuts off supply of the rewrite voltage generated by the voltage generation circuit to the second memory array ;
The semiconductor device, wherein the first rewritable signal and the second rewritable signal are driven by a second power supply voltage different from the first power supply voltage .
前記第1および第2の電圧供給制御部は、前記第1の電源電圧によって動作する、請求項1に記載の半導体装置。   The semiconductor device according to claim 1, wherein the first and second voltage supply control units are operated by the first power supply voltage. 前記半導体装置は、前記第2の電源電圧を外部から受け、前記第2の電源電圧から前記第1の電源電圧を生成する電源回路をさらに備え、
前記第1および第2の書換可能信号は、前記第2の電源電圧で動作する前記半導体装置外部の回路から前記半導体装置に入力された信号である、請求項1に記載の半導体装置。
The semiconductor device further includes a power supply circuit that receives the second power supply voltage from outside and generates the first power supply voltage from the second power supply voltage,
2. The semiconductor device according to claim 1, wherein the first and second rewritable signals are signals input to the semiconductor device from a circuit outside the semiconductor device that operates at the second power supply voltage.
前記半導体装置は、
前記第2の電源電圧を外部から受け、前記第2の電源電圧から前記第1の電源電圧を生成する電源回路と、
記第2の電源電圧によって動作し、外部からの指令に基づいて前記第1および第2の書換可能信号を生成する信号生成回路とをさらに備える、請求項1に記載の半導体装置。
The semiconductor device includes:
A power supply circuit that receives the second power supply voltage from outside and generates the first power supply voltage from the second power supply voltage;
Operated by the previous SL second power supply voltage, further comprising a signal generating circuit for generating the first and second rewritable signal based on a command from outside, the semiconductor device according to claim 1.
前記電圧生成回路は、前記第1および第2の書換可能信号の少なくも一方が活性化状態の場合に前記書換電圧を生成可能になり、
前記電圧生成回路は、前記第1および第2の書換可能信号の両方が非活性化状態の場合に前記書換電圧の生成を停止する、請求項3または4に記載の半導体装置。
The voltage generation circuit can generate the rewritable voltage when at least one of the first and second rewritable signals is activated,
5. The semiconductor device according to claim 3, wherein the voltage generation circuit stops generating the rewrite voltage when both the first and second rewritable signals are inactive.
前記半導体装置は、
前記第1の書換可能信号を受け、前記第1のメモリアレイがデータ書換中でない場合には前記第1の書換可能信号の論理状態と同じ論理状態の信号を出力し、前記第1のメモリアレイがデータ書換中の場合には前記第1のメモリアレイがデータ書換を開始した時点の前記第1の書換可能信号の論理状態をデータ書換の終了まで保持し、かつ、保持した論理状態の信号を出力する第1のラッチ回路と、
前記第2の書換可能信号を受け、前記第2のメモリアレイがデータ書換中でない場合には前記第2の書換可能信号の論理状態と同じ論理状態の信号を出力し、前記第2のメモリアレイがデータ書換中の場合には前記第2のメモリアレイがデータ書換を開始した時点の前記第2の書換可能信号の論理状態をデータ書換の終了まで保持し、かつ、保持した論理状態の信号を出力する第2のラッチ回路とをさらに備え、
前記第1の電圧供給制御部は、前記第1のラッチ回路の出力が活性化状態の場合に前記書換指令部の指令に従って前記電圧生成回路により生成された前記書換電圧の前記第1のメモリアレイへの供給を実施し、前記第1のラッチ回路の出力が非活性化状態の場合に前記書換指令部の指令に関わらず前記電圧生成回路により生成された前記書換電圧の前記第1のメモリアレイへの供給を遮断し
前記第2の電圧供給制御部は、前記第2のラッチ回路の出力が活性化状態の場合に前記書換指令部の指令に従って前記電圧生成回路により生成された前記書換電圧の前記第2のメモリアレイへの供給を実施し、前記第2のラッチ回路の出力が非活性化状態の場合に前記書換指令部の指令に関わらず前記電圧生成回路により生成された前記書換電圧の前記第2のメモリアレイへの供給を遮断する、請求項2〜5のいずれか1項に記載の半導体装置。
The semiconductor device includes:
When the first rewritable signal is received and the first memory array is not in the middle of data rewriting, a signal having the same logical state as the logical state of the first rewritable signal is output, and the first memory array Is being rewritten, the logic state of the first rewritable signal at the time when the first memory array starts data rewriting is held until the end of data rewriting, and the signal of the held logic state is A first latch circuit for outputting;
When the second rewritable signal is received and the second memory array is not rewriting data, a signal having the same logical state as the logical state of the second rewritable signal is output, and the second memory array When the data is being rewritten, the logic state of the second rewritable signal at the time when the second memory array starts data rewriting is held until the end of data rewriting, and the signal of the held logic state is A second latch circuit for outputting,
The first voltage supply control unit includes the first memory array of the rewrite voltage generated by the voltage generation circuit in accordance with a command of the rewrite command unit when an output of the first latch circuit is in an activated state. performed supply to said first of said first memory array of the rewriting voltage output is generated by the voltage generation circuit irrespective of the command of the rewrite command unit when the inactive mode the latch circuit Shut off the supply to
The second voltage supply control unit is configured to control the second memory array of the rewrite voltage generated by the voltage generation circuit according to a command of the rewrite command unit when an output of the second latch circuit is in an activated state. performed supply to said second memory array of the second of the rewriting voltage output of the latch circuit is generated by the voltage generation circuit irrespective of the command of the rewrite command section for non-activated state The semiconductor device according to claim 2, wherein supply to the device is cut off .
前記第1および第2のラッチ回路は、前記第2の電源電圧によって動作する、請求項6に記載の半導体装置。   The semiconductor device according to claim 6, wherein the first and second latch circuits operate with the second power supply voltage. 前記半導体装置は、前記第1および第2の書換可能信号の少なくとも一方が活性化状態であり、かつ、第3の書換可能信号が活性化状態の場合に、前記第1および第2のメモリアレイのテストに必要なテスト電圧を生成するように前記電圧生成回路に指令するテスト制御部をさらに備え、
前記電圧生成回路は、前記テスト制御部の指令に従って前記テスト電圧をさらに生成する、請求項6または7に記載の半導体装置。
The semiconductor device has the first and second memory arrays when at least one of the first and second rewritable signals is activated and the third rewritable signal is activated. A test control unit for instructing the voltage generation circuit to generate a test voltage necessary for the test of
The semiconductor device according to claim 6, wherein the voltage generation circuit further generates the test voltage in accordance with a command from the test control unit.
前記半導体装置は、第3の書換可能信号が活性化状態の場合に、前記第1および第2のメモリアレイのテストに必要なテスト電圧を生成するように前記電圧生成回路に指令するテスト制御部をさらに備え、
前記電圧生成回路は、前記テスト制御部の指令に従って前記テスト電圧をさらに生成する、請求項6または7に記載の半導体装置。
The semiconductor device is configured to instruct the voltage generation circuit to generate a test voltage necessary for testing the first and second memory arrays when the third rewritable signal is in an activated state. Further comprising
The semiconductor device according to claim 6, wherein the voltage generation circuit further generates the test voltage in accordance with a command from the test control unit.
前記テスト制御部は、前記第3の書換可能信号が非活性化状態の場合に、前記テスト電圧を生成するように前記電圧生成回路に指令しない、請求項8または9に記載の半導体装置。   The semiconductor device according to claim 8, wherein the test control unit does not instruct the voltage generation circuit to generate the test voltage when the third rewritable signal is in an inactive state. 前記第1のメモリアレイはデータ領域であり、前記第2のメモリアレイはコード領域である、請求項1に記載の半導体装置。   The semiconductor device according to claim 1, wherein the first memory array is a data area, and the second memory array is a code area.
JP2009121733A 2009-05-20 2009-05-20 Semiconductor device Expired - Fee Related JP5348541B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009121733A JP5348541B2 (en) 2009-05-20 2009-05-20 Semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009121733A JP5348541B2 (en) 2009-05-20 2009-05-20 Semiconductor device

Publications (3)

Publication Number Publication Date
JP2010272156A JP2010272156A (en) 2010-12-02
JP2010272156A5 JP2010272156A5 (en) 2012-04-12
JP5348541B2 true JP5348541B2 (en) 2013-11-20

Family

ID=43420066

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009121733A Expired - Fee Related JP5348541B2 (en) 2009-05-20 2009-05-20 Semiconductor device

Country Status (1)

Country Link
JP (1) JP5348541B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012234591A (en) * 2011-04-28 2012-11-29 Toshiba Corp Nonvolatile semiconductor storage device
KR101874408B1 (en) 2011-11-09 2018-07-05 삼성전자주식회사 Nonvolatile memory device and memory system including the same

Family Cites Families (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02214096A (en) * 1989-02-14 1990-08-27 Tokyo Electric Co Ltd Write control circuit for prom
JPH082880Y2 (en) * 1989-09-11 1996-01-29 横河電機株式会社 EEPROM data writing device
JP3228248B2 (en) * 1989-12-08 2001-11-12 株式会社日立製作所 Nonvolatile semiconductor memory device
US4975883A (en) * 1990-03-29 1990-12-04 Intel Corporation Method and apparatus for preventing the erasure and programming of a nonvolatile memory
JPH0482094A (en) * 1990-07-24 1992-03-16 Mitsubishi Electric Corp Nonvolatile semiconductor memory
JPH04132087A (en) * 1990-09-21 1992-05-06 Hitachi Ltd Semiconductor integrated circuit device
FR2694448B1 (en) * 1992-07-31 1994-10-07 Sgs Thomson Microelectronics Device for protecting an integrated circuit against power cuts.
JPH0689234A (en) * 1992-09-07 1994-03-29 Toshiba Corp Memory module
DE69314013T2 (en) * 1993-06-28 1998-02-19 St Microelectronics Srl Safety circuits for arrangements consisting of non-volatile memories
EP0748535B1 (en) * 1993-09-30 2002-03-27 Macronix International Co., Ltd. Improved supply voltage detection circuit
JP4299890B2 (en) * 1996-10-30 2009-07-22 株式会社東芝 Power supply circuit for semiconductor memory application equipment
JP4302123B2 (en) * 1997-02-26 2009-07-22 株式会社東芝 Semiconductor integrated circuit device
JPH11273370A (en) * 1998-03-25 1999-10-08 Mitsubishi Electric Corp Ic memory
JP3098486B2 (en) * 1998-03-31 2000-10-16 山形日本電気株式会社 Nonvolatile semiconductor memory device
JP4047515B2 (en) * 1999-05-10 2008-02-13 株式会社東芝 Semiconductor device
JP2001109666A (en) * 1999-10-05 2001-04-20 Hitachi Ltd Non-volatile semiconductor storage device
JP4014801B2 (en) * 2000-12-28 2007-11-28 株式会社ルネサステクノロジ Nonvolatile memory device
US6434044B1 (en) * 2001-02-16 2002-08-13 Sandisk Corporation Method and system for generation and distribution of supply voltages in memory systems
JP2004335057A (en) * 2003-05-12 2004-11-25 Sharp Corp Semiconductor storage device provided with error preventive device and portable electronic apparatus using the same
JP2005122832A (en) * 2003-10-17 2005-05-12 Renesas Technology Corp Semiconductor integrated circuit device
JP2006065928A (en) * 2004-08-25 2006-03-09 Renesas Technology Corp Nonvolatile semiconductor storage device and semiconductor integrated circuit device
US7187600B2 (en) * 2004-09-22 2007-03-06 Freescale Semiconductor, Inc. Method and apparatus for protecting an integrated circuit from erroneous operation
JPWO2007023544A1 (en) * 2005-08-25 2009-03-26 スパンション エルエルシー Storage device, storage device control method, and storage control device control method
JP2007128633A (en) * 2005-10-07 2007-05-24 Matsushita Electric Ind Co Ltd Semiconductor storage device and transmission/reception system having the same
JP2008004196A (en) * 2006-06-23 2008-01-10 Toppan Printing Co Ltd Semiconductor memory device
JP4863865B2 (en) * 2006-12-28 2012-01-25 富士通株式会社 Information processing apparatus, storage unit erroneous writing prevention method, and information processing system
JP4996277B2 (en) * 2007-02-09 2012-08-08 株式会社東芝 Semiconductor memory system
KR100890017B1 (en) * 2007-04-23 2009-03-25 삼성전자주식회사 Flash memory device capable of decreasing program disturb and programming method thereof
JP2009015920A (en) * 2007-07-02 2009-01-22 Renesas Technology Corp Nonvolatile semiconductor memory device
US7724603B2 (en) * 2007-08-03 2010-05-25 Freescale Semiconductor, Inc. Method and circuit for preventing high voltage memory disturb
EP2183749B1 (en) * 2007-08-06 2013-05-29 SanDisk Technologies Inc. Enhanced write abort mechanism for non-volatile memory

Also Published As

Publication number Publication date
JP2010272156A (en) 2010-12-02

Similar Documents

Publication Publication Date Title
US9343176B2 (en) Low-pin-count non-volatile memory interface with soft programming capability
CN100495575C (en) Method and circuit for reading fuse cells in a nonvolatile memory during power-up
KR100923818B1 (en) Circuit of fuse and flash memory device having the same
KR100338772B1 (en) Word line driver having divided bias line in non-volatile memory device and method thereof
JP2002074996A (en) Semiconductor integrated circuit
US7382676B2 (en) Method of forming a programmable voltage regulator and structure therefor
KR100395770B1 (en) Novolatile flash memory device usable as a boot-up memory in a system and method of operating the same
KR100852179B1 (en) Non-volatile memory device having fuse circuits and method of controlling the same
TWI509618B (en) Packaged spi-nand flash memory device and flash memory device and configuring method therof
US20060250854A1 (en) Erase discharge method of memory device and discharge circuit performing the method
JP5348541B2 (en) Semiconductor device
CN113345483B (en) Semiconductor device with a semiconductor device having a plurality of semiconductor chips
KR102300824B1 (en) Semiconductor storing apparatus and flash memory operation method
CN112086123B (en) Fail bit count circuit and nonvolatile semiconductor storage device
JP2006311579A (en) Detection circuit
US20060152991A1 (en) Non-volatile memory storage of fuse information
JP4275993B2 (en) Semiconductor memory device
US6842371B2 (en) Permanent master block lock in a memory device
US7623403B2 (en) NAND flash memory device and method of operating the same
CN113724766B (en) Semiconductor memory device and flash memory operation method
JP2004178672A (en) Semiconductor device and its testing method
TWI736248B (en) Semiconductor storing apparatus and flash memory operation method
WO2023176510A1 (en) Non-volatile memory device
US20080062766A1 (en) Well bias circuit in a memory device and method of operating the same
US20240086275A1 (en) Non-volatile memory device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120227

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130308

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130409

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130529

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130723

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130808

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees