JP2006288197A - Semiconductor integrated circuit and microcomputer - Google Patents

Semiconductor integrated circuit and microcomputer Download PDF

Info

Publication number
JP2006288197A
JP2006288197A JP2006118632A JP2006118632A JP2006288197A JP 2006288197 A JP2006288197 A JP 2006288197A JP 2006118632 A JP2006118632 A JP 2006118632A JP 2006118632 A JP2006118632 A JP 2006118632A JP 2006288197 A JP2006288197 A JP 2006288197A
Authority
JP
Japan
Prior art keywords
voltage
circuit
power supply
boosting
mos transistor
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.)
Granted
Application number
JP2006118632A
Other languages
Japanese (ja)
Other versions
JP4091086B2 (en
Inventor
Eiichi Ishikawa
栄一 石川
Yasuyuki Saito
康幸 斉藤
Narihisa Sato
斉尚 佐藤
Naoki Yada
直樹 矢田
Kiyoshi Matsubara
清 松原
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 Technology Corp
Original Assignee
Renesas Technology 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 Technology Corp filed Critical Renesas Technology Corp
Priority to JP2006118632A priority Critical patent/JP4091086B2/en
Publication of JP2006288197A publication Critical patent/JP2006288197A/en
Application granted granted Critical
Publication of JP4091086B2 publication Critical patent/JP4091086B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Read Only Memory (AREA)
  • Semiconductor Integrated Circuits (AREA)
  • Continuous-Control Power Sources That Use Transistors (AREA)
  • Dc-Dc Converters (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve efficiency of voltage step-up, in a flash memory built-in in a microcomputer. <P>SOLUTION: The semiconductor integrated circuit is provided with a booster circuit for generating step-up voltage by receiving prescribed voltage. The booster circuit, for generating the step-up voltage, comprises a charge pump circuit (47) having a step-up node connected to a MOS transistor and a capacitor, and a switching means (460) for switching substrate bias voltage so that the threshold of the MOS transistor, decreases from starting of step-up operation, until voltage output by the booster circuit reaches the step-up voltage. The threshold voltage of the MOS transistor becomes small, thereby electric charges are easily moved via the MOS transistor operating the charge pump. This fact improves the step-up operating efficiency so as to shorten the time until the prescribed step-up voltage is obtained. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、不揮発性メモリと中央処理装置とを含む半導体集積回路に関し、例えばフラッシュメモリと中央処理装置を内蔵した1チップ型のマイクロコンピュータ、データ処理装置又はマイクロプロセッサの外部動作電源を単一化するのに適用して有効な技術に関する。   The present invention relates to a semiconductor integrated circuit including a non-volatile memory and a central processing unit. For example, a single-chip microcomputer incorporating a flash memory and a central processing unit, a data processing unit, or an external operation power source of a microprocessor is unified. It relates to a technology that is effective when applied.

フラッシュメモリを内蔵したマイクロコンピュータとして例えば株式会社日立製作所のH8/538F,H8/3048,H8/3434Fなどがある。   Examples of microcomputers with built-in flash memory include H8 / 538F, H8 / 3048, and H8 / 3434F manufactured by Hitachi, Ltd.

フラッシュメモリのメモリセルトランジスタは、フローティングゲート、コントロールゲート、ソース及びドレインを持ち、フローティングゲート内への電荷注入状態に応じた2値の情報を保持する。例えばフローティングゲート内に電荷が注入されるとメモリセルのしきい値電圧が上昇し、コントロールゲートから見たしきい値電圧が高くされることにより、メモリセルには電流が流れなくなる。またフローティングゲートから電荷を放出してコントロールゲートから見たしきい値電圧を低くすることにより、メモリセルに電流が流れる。特に制限されないが、上記メモリセルのしきい値電圧を読み出し時のワード線選択レベルよりも高くする動作を消去動作(それによって選られるデータは論理値“1”:消去状態)、上記メモリセルのしきい値電圧を読み出し時のワード線選択レベルよりも低くする動作を書き込み動作(それによって選られるデータは論理値“0”:書き込み状態)と称する。尚、メモリセルに記憶されたデータの消去状態と書き込み状態は、上記とは逆に定義することもある。   A memory cell transistor of a flash memory has a floating gate, a control gate, a source, and a drain, and holds binary information according to the state of charge injection into the floating gate. For example, when charge is injected into the floating gate, the threshold voltage of the memory cell increases, and the threshold voltage viewed from the control gate is increased, so that no current flows through the memory cell. Further, by discharging charges from the floating gate and lowering the threshold voltage viewed from the control gate, a current flows through the memory cell. Although not particularly limited, an operation for raising the threshold voltage of the memory cell higher than the word line selection level at the time of reading is an erase operation (the data selected by the logic value is “1”: erased state). The operation of lowering the threshold voltage below the word line selection level at the time of reading is referred to as a write operation (the data selected thereby is a logical value “0”: write state). Note that the erased state and the written state of the data stored in the memory cell may be defined oppositely to the above.

前記メモリセルトランジスタに対する消去や書き込みでは、フローティングゲートを高電界中に置かなければならないため、3Vや5Vのような一般的な電源電圧よりもレベルの高い消去及び書き込み用の高電圧を必要とする。そのような高電圧は従来外部電源として供給されていた。   In erasing and writing to the memory cell transistor, since the floating gate must be placed in a high electric field, a high voltage for erasing and writing that is higher than a general power supply voltage such as 3 V or 5 V is required. . Such a high voltage has been conventionally supplied as an external power source.

株式会社日立製作所のH8/538F,H8/3048,H8/3434FユーザーズマニュアルHitachi, Ltd. H8 / 538F, H8 / 3048, H8 / 3434F User's Manual

しかしながら、そのような高電圧を外部電源から得る場合には、前記マイクロコンピュータが実装される回路基板に、これらの高電圧を発生させる回路を搭載しなければならず、高電圧故に、回路基板の設計に特別な配慮が必要になり、使い勝手が悪いという問題がある。   However, when such a high voltage is obtained from an external power supply, a circuit for generating the high voltage must be mounted on the circuit board on which the microcomputer is mounted. There is a problem that special consideration is required for the design and the usability is poor.

本発明者は、フラッシュメモリを内蔵したマイクロコンピュータを3Vや5Vのような単一電源で動作可能にすることについて検討した。すなわち、外部単一電源を内部で昇圧して書き込み及び消去のための高電圧を生成する。   The present inventor has studied to enable a microcomputer incorporating a flash memory to operate with a single power source such as 3V or 5V. That is, the external single power supply is boosted internally to generate a high voltage for writing and erasing.

このとき、低消費電力の要請からマイクロコンピュータの動作電源は低電圧化が進み、3Vとされるものがあり、また、5V単一電源を利用するシステムもある。電源電圧を3V又は5Vの何れにするかはマイクロコンピュータが応用されるシステムの仕様によって決定される。このため、半導体メーカとしては、3Vから5Vのような比較的広い範囲の電源で動作できるようにマイクロコンピュータを設計することが得策である。   At this time, the operating power supply of the microcomputer is lowered to 3V due to the demand for low power consumption, and there is a system that uses 3V, and there is a system that uses a single 5V power supply. Whether the power supply voltage is 3V or 5V is determined by the specifications of the system to which the microcomputer is applied. For this reason, it is a good idea for a semiconductor manufacturer to design a microcomputer so that it can operate with a relatively wide range of power supplies such as 3V to 5V.

これを考慮したとき、本発明者の検討によれば以下の点が明らかにされた。すなわち、フラッシュメモリに対する電荷注入方式には、メモリセルトランジスタのチャネルに比較的大きな電流を流してドレイン近傍にホットエレクトロンを発生させることによってフローティングゲートに電荷を注入するチャネル注入方式と、フローティングゲートとドレイン間に所定の電界強度を作用してドレイン近傍の比較的薄いトンネル酸化膜にトンネル電流を流して電荷を注入するトンネル電流方式がある。前者は相対的に大きな電流を要するので内部昇圧には適さないが、後者であっても、単に内部昇圧を行うだけでは、低電圧動作を含む比較的広い外部電源電圧範囲で安定的に内蔵フラッシュメモリの書き込み及び消去を実現できないことが明らかにされた。   In consideration of this, the following points were made clear by the inventors' investigation. That is, the charge injection method for the flash memory includes a channel injection method in which charges are injected into the floating gate by flowing a relatively large current through the channel of the memory cell transistor to generate hot electrons in the vicinity of the drain, and a floating gate and drain. There is a tunnel current system in which a predetermined electric field strength is applied between them to flow a tunnel current through a relatively thin tunnel oxide film near the drain to inject charges. The former requires a relatively large current and is not suitable for internal boosting, but the latter can be stably built-in flash over a relatively wide external power supply voltage range including low-voltage operation by simply performing internal boosting. It has been clarified that memory writing and erasing cannot be realized.

本発明の目的は、フラッシュメモリのような電気的に書き込み及び消去可能な不揮発性メモリを内蔵したマイクロコンピュータなどの半導体集積回路において、低電圧動作を含む比較的広い外部電源電圧範囲で安定的に内蔵不揮発性メモリの書き込み及び消去を可能にすることにある。   An object of the present invention is to stably operate in a relatively wide external power supply voltage range including low voltage operation in a semiconductor integrated circuit such as a microcomputer incorporating a nonvolatile memory such as a flash memory that can be electrically written and erased. It is to enable writing and erasing of the built-in nonvolatile memory.

本発明の別の目的は、フラッシュメモリのような電気的に書き込み及び消去可能な不揮発性メモリを内蔵したマイクロコンピュータのなどの半導体集積回路の使い勝手を良好にすることにある。   Another object of the present invention is to improve the usability of a semiconductor integrated circuit such as a microcomputer incorporating a nonvolatile memory such as a flash memory which can be electrically written and erased.

本発明の前記並びにその他の目的と新規な特徴は本明細書の記述及び添付図面から明らかになるであろう。   The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

本願において開示される発明のうち代表的なものの概要を簡単に説明すれば下記の通りである。   The following is a brief description of an outline of typical inventions disclosed in the present application.

すなわち、マイクロコンピュータなどの半導体集積回路は、電気的に消去及び書き込み可能なフラッシュメモリなどの不揮発性メモリと、前記不揮発性メモリをアクセス可能な中央処理装置とを1個の半導体基板に含み、外部電源端子に供給される単一の電源電圧を動作電源とする。そして、前記不揮発性メモリは、電源電圧依存性の小さな基準電圧を用いて前記単一の電源電圧よりレベルの低い第1の電圧に出力電圧をクランプする電圧クランプ手段と、前記電圧クランプ手段の出力電圧を正の高電圧と負の高電圧に昇圧可能な昇圧手段と、前記昇圧手段から出力される正及び負の高電圧を用いて消去及び書き込みが行われる複数個の不揮発性メモリセルとを含んで成る。   That is, a semiconductor integrated circuit such as a microcomputer includes a non-volatile memory such as an electrically erasable and writable flash memory, and a central processing unit capable of accessing the non-volatile memory on a single semiconductor substrate. A single power supply voltage supplied to the power supply terminal is used as an operating power supply. The nonvolatile memory includes a voltage clamping unit that clamps an output voltage to a first voltage having a level lower than the single power supply voltage using a reference voltage having a small power supply voltage dependency, and an output of the voltage clamping unit Boosting means capable of boosting the voltage to a positive high voltage and a negative high voltage, and a plurality of nonvolatile memory cells that are erased and written using the positive and negative high voltages output from the boosting means. Comprising.

この半導体集積回路によれば、前記電圧クランプ手段は電源電圧依存性の小さな電圧を形成し、しかも、その電圧レベルは、この半導体集積回路の許容動作電源電圧の許容範囲内で外部から供給される単一電源電圧よりも低い電圧にクランプされるから、このクランプ電圧で動作される昇圧手段が生成する昇圧電圧、即ち、書き込み及び消去電圧は、外部電源電圧に依存しない。したがって、低電圧動作を含む比較的広い外部電源電圧範囲で内蔵不揮発性メモリの消去及び書き込みを可能にする。しかもそれは単一の外部電源電圧で達成できるから、不揮発性メモリを内蔵した半導体集積回路の使い勝手を向上させる。   According to this semiconductor integrated circuit, the voltage clamping means forms a voltage having a small power supply voltage dependency, and the voltage level is supplied from the outside within an allowable range of the allowable operating power supply voltage of the semiconductor integrated circuit. Since it is clamped to a voltage lower than the single power supply voltage, the boosted voltage generated by the boosting means operated with this clamp voltage, that is, the write and erase voltages do not depend on the external power supply voltage. Accordingly, the built-in nonvolatile memory can be erased and written in a relatively wide external power supply voltage range including low voltage operation. In addition, since this can be achieved with a single external power supply voltage, the usability of the semiconductor integrated circuit incorporating the nonvolatile memory is improved.

昇圧動作効率を向上させるには、昇圧電圧が所定レベルに達したとき、チャージポンプを行うMOSトランジスタに共通の基板バイアス電圧を変更する。例えば、負の高電圧を形成する昇圧ノードにpチャンネル型のMOSトランジスタと容量が結合され、それらによるチャージポンプ作用で負の高電圧を生成するチャージポンプ回路を有し、前記MOSトランジスタに共通の基板バイアス電圧を、前記電圧クランプ手段の出力電圧から途中でそれよりもレベルの低い第2の電圧に切り換える切り換え手段を更に備える。前記第2の電圧は前記切り換え時点における昇圧電圧よりもレベルの高い電圧である。この例では、基板バイアス電圧が低下されると、所謂基板バイアス効果によってMOSトランジスタのしきい値電圧が小さくなり、これによってチャージポンプを行うMOSトランジスタを介して電荷が移動され易くなる。このことが、昇圧動作効率を向上させ、規定の昇圧電圧を得るまでの時間を短縮する。   In order to improve the boosting operation efficiency, when the boosted voltage reaches a predetermined level, the substrate bias voltage common to the MOS transistors that perform the charge pump is changed. For example, a p-channel MOS transistor and a capacitor are coupled to a boosting node that forms a negative high voltage, and has a charge pump circuit that generates a negative high voltage by a charge pump action by them, which is common to the MOS transistors. There is further provided switching means for switching the substrate bias voltage from the output voltage of the voltage clamping means to a second voltage having a level lower than that. The second voltage is a voltage having a higher level than the boosted voltage at the time of switching. In this example, when the substrate bias voltage is lowered, the threshold voltage of the MOS transistor is reduced due to the so-called substrate bias effect, and this facilitates the movement of charges through the MOS transistor that performs charge pumping. This improves the boosting operation efficiency and shortens the time required to obtain a specified boosted voltage.

チャージポンプによる昇圧途上の昇圧電圧は、チャージポンプ用のMOSトランジスタのスイッチ動作に同期して上下に振れる。このようなリプル成分の影響で基板バイアス電圧が振動するのを防止するには、前記切換え手段には、基板バイアス電圧の切換え後に昇圧電圧が上下に振れても基板バイアス電圧を第2の電圧に維持するヒステリシス特性を持たせる。このようなヒステリシス特性は、ヒステリシスコンパレータを用い、或いはSRフリップフロップのような回路によって状態を保持することによって達成できる。   The boosted voltage during boosting by the charge pump swings up and down in synchronization with the switching operation of the charge pump MOS transistor. In order to prevent the substrate bias voltage from oscillating due to the influence of the ripple component, the switching means causes the substrate bias voltage to become the second voltage even if the boosted voltage fluctuates up and down after the substrate bias voltage is switched. Provide hysteresis characteristics to maintain. Such a hysteresis characteristic can be achieved by using a hysteresis comparator or holding the state by a circuit such as an SR flip-flop.

同一電源で複数個のチャージポンプ回路を動作させるとき、電源の瞬間的電圧落ち込みを小さくするのは、各チャージポンプ回路の動作の位相をずらすことが望ましい。例えば、前記昇圧手段は、負の高電圧を形成する昇圧ノードに結合されたMOSトランジスタと容量とによるチャージポンプ作用で負の高電圧を生成する負昇圧用チャージポンプ回路と、正の昇圧電圧を形成する昇圧ノードに結合されたMOSトランジスタと容量とによるチャージポンプ作用で正の高電圧を生成する正昇圧用チャージポンプ回路を有するとき、前記正昇圧用チャージポンプ回路に含まれる前記MOSトランジスタと負昇圧用チャージポンプ回路に含まれる前記MOSトランジスタとのオン動作期間の位相を相違させればよい。   When operating a plurality of charge pump circuits with the same power supply, it is desirable to shift the phase of operation of each charge pump circuit in order to reduce the instantaneous voltage drop of the power supply. For example, the boosting means includes a negative boosting charge pump circuit that generates a negative high voltage by a charge pumping action of a MOS transistor coupled to a boosting node that forms a negative high voltage and a capacitor, and a positive boosting voltage. When having a positive boosting charge pump circuit that generates a positive high voltage by a charge pumping action by a MOS transistor coupled to the boosting node to be formed and a capacitor, the MOS transistor included in the positive boosting charge pump circuit is negative The phase of the ON operation period may be different from that of the MOS transistor included in the boosting charge pump circuit.

不揮発性メモリに対する消去及び書き込みには比較的大きな電流を要するから、昇圧回路の電源は他の回路の電源に直結されていないことが望ましい。この観点によると、前記電圧クランプ手段は、電源電圧依存性の小さな基準電圧発生回路と、前記基準電圧発生回路から出力される基準電圧を参照電圧として出力回路を前記第1の電圧に負帰還制御する第1の定電圧発生回路と、第1の定電圧発生回路から出力される電圧を参照電圧として出力回路を前記第1の電圧に負帰還制御する第2の定電圧発生回路とを有し、第2の定電圧発生回路の出力電圧が前記正昇圧手段及び負昇圧手段に供給されるものであることが望ましい。   Since a relatively large current is required for erasing and writing to the nonvolatile memory, it is desirable that the power supply of the booster circuit is not directly connected to the power supplies of other circuits. According to this aspect, the voltage clamping means includes a reference voltage generation circuit having a small power supply voltage dependency, and negative feedback control of the output circuit to the first voltage using the reference voltage output from the reference voltage generation circuit as a reference voltage. And a second constant voltage generation circuit that performs negative feedback control of the output circuit to the first voltage using the voltage output from the first constant voltage generation circuit as a reference voltage. It is desirable that the output voltage of the second constant voltage generating circuit is supplied to the positive booster and the negative booster.

前記第1の定電圧発生回路から出力される電圧を参照電圧として出力回路を負帰還制御する第3の定電圧発生回路を更に有し、第3の定電圧発生回路の出力電圧を読み出し系の動作電源電圧とすることができる。   A third constant voltage generating circuit for performing negative feedback control of the output circuit using the voltage output from the first constant voltage generating circuit as a reference voltage, and reading out the output voltage of the third constant voltage generating circuit; The operating power supply voltage can be used.

プロセスばらつきなどに対して前記電圧クランプ手段の出力電圧を微調整可能にするためにトリミング回路を設けることが望ましい。このとき、前記トリミング回路をトリミング調整情報に従って制御するトリミング制御手段と、前記トリミング制御手段に供給されるべきトリミング調整情報が設定されるレジスタ手段とを設ける。このレジスタ手段は、前記不揮発性メモリの特定領域から前記トリミング調整情報の転送を受ける。これにより、ソフトウェアでトリミングを自在に行うことができる。フューズを用いた場合のように一旦プログラムした後に変更できないという制約がない。   It is desirable to provide a trimming circuit so that the output voltage of the voltage clamp means can be finely adjusted for process variations. At this time, trimming control means for controlling the trimming circuit in accordance with trimming adjustment information and register means for setting trimming adjustment information to be supplied to the trimming control means are provided. The register means receives the trimming adjustment information from a specific area of the nonvolatile memory. Thereby, trimming can be performed freely by software. There is no restriction that it cannot be changed once programmed, as in the case of using a fuse.

前記トリミング調整情報が不揮発性メモリの読み出し電圧にも影響する場合、不揮発性メモリからレジスタ手段へのトリミング調整情報の転送は、不揮発性メモリに対する読み出しに規定よりも長い時間を費やせるとき行うことが、誤動作防止の上で望ましい。すなわち、そのような転送を半導体集積回路のリセット動作に同期して行えばよい。これにより、トリミング動作の確定までの内部電圧の変動をリセット中に確定でき、リセット動作後には読み出し動作を安定させることができる。前記トリミング調整情報が不揮発性メモリの書き込み及び消去電圧にのみ影響する場合には、トリミング調整情報の転送は、リセット期間中、又はリセット解除後の最初のベクタフェッチ(命令フェッチ)前に行えばよい。   When the trimming adjustment information also affects the read voltage of the non-volatile memory, the transfer of the trimming adjustment information from the non-volatile memory to the register means may be performed when it takes a longer time than usual to read from the non-volatile memory. It is desirable for preventing malfunction. That is, such transfer may be performed in synchronization with the reset operation of the semiconductor integrated circuit. Thereby, the fluctuation of the internal voltage until the trimming operation is confirmed can be confirmed during the reset, and the read operation can be stabilized after the reset operation. When the trimming adjustment information affects only the write and erase voltages of the nonvolatile memory, the trimming adjustment information may be transferred during the reset period or before the first vector fetch (instruction fetch) after the reset is released. .

テストモードにおけるトリミング情報の選択という点を考慮すれば、テストモードにおいて前記中央処理装置は前記レジスタ手段をアクセス可能であることが望ましい。   Considering the point of selecting trimming information in the test mode, it is preferable that the central processing unit can access the register means in the test mode.

半導体集積回路のウェーハ完成状態が書き込み状態(例えばしきい値電圧の低い論理値“0”の状態)で、半導体集積回路の出荷が消去状態(例えばしきい値電圧の高い論理値“1”の状態)とされる場合、書き込み状態と消去状態でトリミング状態が両極端になって電圧クランプ手段の出力電圧に大きな差が出ないようにすることが望ましい。そのために、前記トリミング制御手段は、トリミング調整情報の値に従って前記トリミング回路のトリミング位置を決定するものであって、トリミング調整情報が全ビット論理値“1”のときのトリミング位置とトリミング調整情報が全ビット論理値“0”のときのトリミング位置とを隣り合うように選択する選択論理を有し、ウェーハ完成状態において不揮発性メモリが書き込み状態にされたときと、出荷時に不揮発性メモリが消去状態にされたときとの双方において、前記電圧クランプ手段の出力電圧の相違を最小にする。   The wafer completion state of the semiconductor integrated circuit is a write state (for example, a logic value “0” with a low threshold voltage), and shipment of the semiconductor integrated circuit is an erased state (for example, a logic value “1” with a high threshold voltage). It is desirable that the trimming state becomes extreme between the writing state and the erasing state so that there is no significant difference in the output voltage of the voltage clamping means. Therefore, the trimming control means determines the trimming position of the trimming circuit according to the value of the trimming adjustment information, and the trimming position and the trimming adjustment information when the trimming adjustment information is the all-bit logical value “1”. It has selection logic that selects the trimming position when all bit logical values are “0” so that they are adjacent to each other. When the nonvolatile memory is in the write state in the wafer completion state, the nonvolatile memory is in the erased state at the time of shipment. The difference in the output voltage of the voltage clamping means is minimized.

昇圧手段で規定の昇圧電圧を得るには少なからず時間を要し、その時間はプロセスばらつきの影響も受ける。書き込み及び消去動作は昇圧電圧が規定電圧に達してから開始されなければならない。そのような管理を中央処理装置によるソフトウェアで実現する。即ち、前記不揮発性メモリを制御するためのコントロールレジスタを有し、前記コントロールレジスタは、前記昇圧手段に書き込み用の昇圧動作の開始を指示する書き込みセットアップビットと、昇圧電圧を用いた書き込み動作の開始を指示する書き込みイネーブルビットと、前記昇圧手段に消去用の昇圧動作の開始を指示する消去セットアップビットと、昇圧電圧を用いた消去動作の開始を指示する消去イネーブルビットとを有する。これにより、消去や書き込み動作が指示されてから実際に消去や書き込みを開始するタイミングを管理するタイマなどのハードウェアを削減することができる。   It takes time to obtain a specified boosted voltage by the boosting means, and this time is also affected by process variations. Write and erase operations must be started after the boosted voltage reaches a specified voltage. Such management is realized by software by a central processing unit. That is, it has a control register for controlling the nonvolatile memory, and the control register starts a write operation using a write setup bit for instructing the booster to start a boost operation for writing and a boost voltage. A write enable bit for instructing the booster, an erase setup bit for instructing the boosting means to start the boost operation for erasure, and an erase enable bit for instructing the start of the erase operation using the boosted voltage. As a result, it is possible to reduce hardware such as a timer that manages the timing of actually starting erase or write after an erase or write operation is instructed.

更に、前記コントロールレジスタに、前記昇圧手段による昇圧動作の準備状態を指示する書き換えイネーブルビットを設け、この書き換えイネーブルビットが真値であることを条件に、前記消去セットアップビットと書き込みセットアップビットによる指示を受け付け可能にすることにより、書き込み又は消去動作は前記書き換えイネーブルビットが真値であることを条件に行うことができるので、中央処理装置の暴走などによって不揮発性メモリが不所望に書き換えられる事態の発生を阻止するのに役立つ。   Further, the control register is provided with a rewrite enable bit for instructing a preparation state of the boost operation by the boosting means, and the erase setup bit and the write setup bit are instructed on condition that the rewrite enable bit is a true value. By making it acceptable, the write or erase operation can be performed on condition that the rewrite enable bit is a true value, so that the nonvolatile memory may be undesirably rewritten due to a runaway of the central processing unit or the like. Help to prevent.

不揮発性メモリに対する不所望な書き換え阻止の信頼性を更の向上させるには、前記コントロールレジスタは外部端子の状態に応じた値が設定されるプロテクトビットを追加し、前記プロテクトビットはそれが真値(所定値)であることを条件に前記昇圧イネーブルビットの真値(所定値)への設定を可能にするインターロックを行うようにするとよい。   In order to further improve the reliability of preventing undesired rewriting of the nonvolatile memory, the control register adds a protect bit in which a value is set according to the state of the external terminal, and the protect bit is a true value. It is preferable to perform an interlock that enables the boost enable bit to be set to a true value (predetermined value) on condition that it is (predetermined value).

消去や書き込みに際して必要な負電圧の印加が内部回路に与える負担を少なくするには、ワード線などを一旦接地電位にしてから印加電圧を切り換えるようにすることが望ましい。例えば、電気的に消去及び書き込み可能なフラッシュメモリと、前記フラッシュメモリをアクセス可能な中央処理装置とを1個の半導体基板に含み、外部電源端子に供給される単一の電源電圧を動作電源とするマイクロコンピュータにおいて、前記フラッシュメモリは、コントロールゲートがワード線に、ドレインがビット線に、そしてソースがソース線に結合された複数個のメモリセルトランジスタを有するメモリセルアレイと、メモリセルトランジスタに対する書き込み及び消去動作用の高電圧を生成する昇圧回路と、アドレス信号に基づいてワード線選択信号を形成するアドレスデコーダと、読み出し動作時のワード線選択レベルを接地電位に対して第1の極性とし、書き込み時のワード線選択レベルを接地電位に対して第2の極性とするワードドライバ回路と、書き込み
動作の開始と終了に当たって全ワード線を接地電位に強制し、前記ワードドライバの動作電源を接地電位に切換え、前記アドレスデコーダの選択信号の選択レベルの極性を論理的に反転させ、ワードドライバの動作電源を切り換えるタイミング制御手段とを有する。
In order to reduce the burden imposed on the internal circuit by the application of a negative voltage necessary for erasing or writing, it is desirable to switch the applied voltage after once setting the word line or the like to the ground potential. For example, an electrically erasable and writable flash memory and a central processing unit capable of accessing the flash memory are included in one semiconductor substrate, and a single power supply voltage supplied to an external power supply terminal is used as an operation power supply. In the microcomputer, the flash memory includes a memory cell array having a plurality of memory cell transistors each having a control gate connected to a word line, a drain connected to a bit line, and a source connected to a source line; A booster circuit that generates a high voltage for an erase operation, an address decoder that forms a word line selection signal based on an address signal, and a word line selection level during a read operation having a first polarity with respect to the ground potential, and writing The word line selection level is set to the second polarity with respect to the ground potential. Word driver circuit and all word lines are forced to the ground potential at the start and end of the write operation, the operation power supply of the word driver is switched to the ground potential, and the polarity of the selection level of the selection signal of the address decoder is logically inverted And timing control means for switching the operating power supply of the word driver.

本願において開示される発明のうち代表的なものによって得られる効果を簡単に説明すれば下記の通りである。   The effects obtained by the representative ones of the inventions disclosed in the present application will be briefly described as follows.

すなわち、電圧クランプ手段は電源電圧依存性の小さな電圧を形成し、しかも、その電圧レベルは、許容範囲内で外部から供給される単一電源電圧よりも低い電圧にクランプされるから、このクランプ電圧で動作される昇圧手段が生成する昇圧電圧、即ち、書き込み及び消去電圧は、外部電源電圧に依存しない。したがって、低電圧動作を含む比較的広い外部電源電圧範囲で内蔵不揮発性メモリの消去及び書き込みを可能にする。しかもそれは単一の外部電源電圧で達成できるから、不揮発性メモリを内蔵した半導体集積回路の使い勝手を向上させることができる。   That is, the voltage clamping means forms a voltage having a small power supply voltage dependency, and the voltage level is clamped to a voltage lower than the single power supply voltage supplied from the outside within an allowable range. The boosted voltage generated by the boosting means operated in step 1, i.e., the write and erase voltages, does not depend on the external power supply voltage. Therefore, the built-in nonvolatile memory can be erased and written in a relatively wide external power supply voltage range including low voltage operation. In addition, since this can be achieved with a single external power supply voltage, the usability of a semiconductor integrated circuit incorporating a nonvolatile memory can be improved.

昇圧電圧が所定レベルに達したとき、チャージポンプを行うMOSトランジスタに共通の基板バイアス電圧を変更することにより、昇圧動作効率を向上させることができる。   When the boosted voltage reaches a predetermined level, the boosting operation efficiency can be improved by changing the substrate bias voltage common to the MOS transistors that perform charge pumping.

前記基板バイアス電圧の切換え後に昇圧電圧が上下に振れても基板バイアス電圧を切換え後の電圧に維持するヒステリシス特性を持たせることにより、チャージポンプによる昇圧途上の昇圧電圧がチャージポンプ用のMOSトランジスタのスイッチ動作に同期して上下に振れるときのリプル成分の影響で基板バイアス電圧が振動するのを防止することができる。   Even if the boosted voltage fluctuates up and down after the substrate bias voltage is switched, a hysteresis characteristic is maintained to maintain the substrate bias voltage at the switched voltage. It is possible to prevent the substrate bias voltage from vibrating due to the influence of the ripple component when it swings up and down in synchronization with the switch operation.

各チャージポンプ回路の動作の位相をずらすことにより、同一電源で複数個のチャージポンプ回路を動作させるときに電源の瞬間的電圧落ち込みを小さくすることができる。   By shifting the phase of the operation of each charge pump circuit, the instantaneous voltage drop of the power supply can be reduced when a plurality of charge pump circuits are operated with the same power supply.

前記不揮発性メモリの特定領域からトリミング調整情報の転送を受けるレジスタ手段の値によって電圧クランプ手段の出力電圧をトリミング可能にすることにより、ソフトウェアでトリミングを自在に行うことができ、チップ毎にプロセスばらつきの影響を吸収することも可能になる。   The output voltage of the voltage clamp means can be trimmed according to the value of the register means that receives the transfer of trimming adjustment information from a specific area of the non-volatile memory. It is also possible to absorb the effects of.

トリミング調整情報のレジスタ手段への転送を半導体集積回路のリセット動作に同期して行うことにより、トリミング動作の確定までの内部電圧の変動をリセット中に確定でき、信頼性を向上させることができる。   By transferring the trimming adjustment information to the register means in synchronization with the reset operation of the semiconductor integrated circuit, the fluctuation of the internal voltage until the trimming operation is confirmed can be determined during the reset, and the reliability can be improved.

テストモードにおいて前記中央処理装置が前記レジスタ手段をアクセス可能にすれば、テストモードにおいてトリミング情報をた易く決定できる。   If the central processing unit makes the register means accessible in the test mode, the trimming information can be easily determined in the test mode.

半導体集積回路のウェーハ完成状態が書き込み状態(例えばしきい値電圧の低い論理値“0”の状態)で、半導体集積回路の出荷が消去状態(例えばしきい値電圧の高い論理値“1”の状態)とされる場合、トリミング調整情報が全ビット論理値“1”のときのトリミング位置とトリミング調整情報が全ビット論理値“0”のときのトリミング位置とを隣り合うように選択する選択論理を採用することにより、書き込み状態と消去状態でトリミング状態が両極端になって電圧クランプ手段の出力電圧に大きな差が出ないようにできる。   The wafer completion state of the semiconductor integrated circuit is a write state (for example, a logic value “0” with a low threshold voltage), and shipment of the semiconductor integrated circuit is an erased state (for example, a logic value “1” with a high threshold voltage). State), the selection logic for selecting adjacently the trimming position when the trimming adjustment information is all-bit logical value “1” and the trimming position when the trimming adjustment information is all-bit logical value “0”. By adopting, it is possible to prevent the trimming state from becoming extreme between the writing state and the erasing state and causing a large difference in the output voltage of the voltage clamping means.

昇圧手段で規定の昇圧電圧を得た後に書き込みや消去を開始するための管理を書き込みセットアップビットや消去セットアップビットを用いて中央処理装置によるソフトウェアで実現することにより、タイマなどのハードウェアを削減することができる。   Reduces hardware such as timers by implementing management to start writing and erasing after obtaining the specified boosted voltage with the boosting means using software by the central processing unit using the write setup bit and erase setup bit be able to.

コントロールレジスタに、前記昇圧手段による昇圧動作の準備状態を指示する書き換えイネーブルビットを設け、この書き換えイネーブルビットが真値であることを条件に、前記消去セットアップビットと書き込みセットアップビットによる指示を受け付け可能にすることにより、書き込み又は消去動作は前記書き換えイネーブルビットが真値であることを条件に行うことができるので、中央処理装置の暴走などによって不揮発性メモリが不所望に書き換えられる事態の発生を阻止するのに役立つ。   The control register is provided with a rewrite enable bit for instructing the preparation state of the boosting operation by the boosting means, and the instruction by the erase setup bit and the write setup bit can be accepted on condition that the rewrite enable bit is a true value. By doing so, the write or erase operation can be performed on condition that the rewrite enable bit is a true value, so that it is possible to prevent the nonvolatile memory from being undesirably rewritten due to a runaway of the central processing unit or the like. To help.

コントロールレジスタは外部端子の状態に応じた値が設定されるプロテクトビットを追加し、前記プロテクトビットはそれが真値であることを条件に前記昇圧イネーブルビットの真値への設定を可能にするインターロックを行うようにすると、不揮発性メモリに対する不所望な書き換え阻止の信頼性を更の向上させることができる。   The control register adds a protect bit whose value is set according to the state of the external terminal, and the protect bit is an interface that enables the boost enable bit to be set to a true value on condition that it is a true value. When locking is performed, the reliability of preventing undesired rewriting of the nonvolatile memory can be further improved.

ワード線などを一旦接地電位にしてから印加電圧を切り換えるようにすれば、消去や書き込みに際して必要な高電圧の印加が内部回路に与える負担を少なくすることができる。   If the applied voltage is switched after the word line or the like is once set to the ground potential, the burden imposed on the internal circuit by the application of the high voltage necessary for erasing or writing can be reduced.

《マイクロコンピュータチップ》
図3には本発明の一例に係るマイクロコンピュータ(マイクロプロセッサ又はデータ処理装置)のブロック図が示される。同図に示されるマイクロコンピュータ1は、特に制限されないが、公知の半導体集積回路製造技術によって単結晶シリコンのような1個の半導体基板に形成されている。
<Microcomputer chip>
FIG. 3 is a block diagram of a microcomputer (microprocessor or data processing apparatus) according to an example of the present invention. The microcomputer 1 shown in the figure is not particularly limited, but is formed on a single semiconductor substrate such as single crystal silicon by a known semiconductor integrated circuit manufacturing technique.

同図に示されるマイクロコンピュータ1は、特に制限されないが、中央処理装置(CPU)2、フラッシュメモリ(FLE0,FLE1)3、フラッシュメモリ用のコントロールレジスタ(FLC)4、ランダムアクセスメモリ(RAM)5、割り込みコントローラ(INTC)6、乗算器(MULT)7、タイマ(ATU)8、バス及びシステムコントローラ(BSC,SYS)9、ウォッチドックタイマ(WDT)10、ダイレクトメモリアクセスコントローラ(DMA)11、クロックパルスジェネレータ(CPG)12、シリアルコミュニケーションインタフェース(SCI)13、フェーズロックドループ回路(PLL)14、アナログ・ディジタルコンバータ(A/D_0,A/D_1)、そして複数個のポート入出力PA,PB,PC,PD,PE,PG,PH,PMを有する。前記各回路ブロックは図示を省略するアドレスバス、データバス及びコントロールバスなどに結合されている。   The microcomputer 1 shown in the figure is not particularly limited, but includes a central processing unit (CPU) 2, flash memories (FLE 0, FLE 1) 3, flash memory control register (FLC) 4, and random access memory (RAM) 5. , Interrupt controller (INTC) 6, multiplier (MULT) 7, timer (ATU) 8, bus and system controller (BSC, SYS) 9, watchdog timer (WDT) 10, direct memory access controller (DMA) 11, clock Pulse generator (CPG) 12, serial communication interface (SCI) 13, phase locked loop circuit (PLL) 14, analog / digital converter (A / D_0, A / D_1), and a plurality of port inputs / outputs PA, P , A PC, PD, PE, PG, PH, the PM. Each circuit block is coupled to an address bus, a data bus, a control bus, etc. (not shown).

特に制限されないが、マイクロコンピュータ1は、組み込み機器制御に利用され、CPU2の動作プログラムはフラッシュメモリ3に格納される。RAM5はCPU2のワーク領域もしくはデータの一時記憶領域とされる。   Although not particularly limited, the microcomputer 1 is used for embedded device control, and the operation program of the CPU 2 is stored in the flash memory 3. The RAM 5 serves as a work area for the CPU 2 or a temporary storage area for data.

図3のマイクロコンピュータ1は外部電源端子Pvccに供給される単一の外部電源電圧Vccを動作電源とする。Pvssは接地端子である。接地端子の供給される電位は接地電圧Vssである。前記外部電源電圧Vccは、特に制限されないが、所謂3V及び5V電源(許容誤差は±10%)に対応され、2.7V〜5.5Vの範囲の電圧が外部電源電圧の許容範囲とされる。   The microcomputer 1 shown in FIG. 3 uses a single external power supply voltage Vcc supplied to the external power supply terminal Pvcc as an operation power supply. Pvss is a ground terminal. The potential supplied to the ground terminal is the ground voltage Vss. The external power supply voltage Vcc is not particularly limited, but corresponds to so-called 3V and 5V power supplies (with an allowable error of ± 10%), and a voltage in the range of 2.7V to 5.5V is set as an allowable range of the external power supply voltage. .

図3においてRESはマイクロコンピュータのリセット端子(リセット信号)、VppMON、VssMONは内部昇圧電圧のモニタ端子、Pfweはフラッシュメモリ3に対する書き込みプロテクト端子である。特にVppMONは内部正昇圧電圧モニタ用であり、VssMONは内部負昇圧電圧モニタ用である。   In FIG. 3, RES is a reset terminal (reset signal) of the microcomputer, VppMON and VssMON are monitor terminals for the internal boosted voltage, and Pfwe is a write protect terminal for the flash memory 3. In particular, VppMON is for monitoring the internal positive boost voltage, and VssMON is for monitoring the internal negative boost voltage.

《フラッシュメモリ》
図4には前記フラッシュメモリ3の全体的なブロック図とコントロールレジスタ4が示されている。図4では図3においてFLE0で示される一つのフラッシュメモリ3を代表的に示してある。FLE1で示される他方のフラッシュメモリ3も全く同じであるから図示を省略してある。
<Flash memory>
FIG. 4 shows an overall block diagram of the flash memory 3 and a control register 4. FIG. 4 representatively shows one flash memory 3 indicated by FLE0 in FIG. The other flash memory 3 indicated by FLE1 is also the same and is not shown.

図4において17はデータバス、18はアドレスバスである。特に制限されないが、代表的に示されたCPU2、RAM5及びフラッシュメモリ3はアドレスバス18及びデータバス17を共有する。図3に示されるコントロールレジスタ4は、図4において消去ブロック指定レジスタEBR1、書き換え制御レジスタFLMCR1、基準電圧トリミングレジスタTRMR1,TRMR2を含んでいる。各コントロールレジスタEBR1,FLMCR1,TRMR1,TRMR2はCPU2によってアクセス可能にされる。レジスタTRMR1,TRMR2に対するCPUアクセスには後述の制限がある。   In FIG. 4, 17 is a data bus and 18 is an address bus. Although not particularly limited, the CPU 2, the RAM 5, and the flash memory 3 that are representatively shown share the address bus 18 and the data bus 17. The control register 4 shown in FIG. 3 includes an erase block designation register EBR1, a rewrite control register FLMCR1, and reference voltage trimming registers TRMR1 and TRMR2 in FIG. Each control register EBR1, FLMCR1, TRMR1, TRMR2 is made accessible by the CPU2. CPU access to the registers TRMR1 and TRMR2 has the limitations described later.

メモリセルアレイ30には多数の不揮発性メモリセルが配置されている。不揮発性メモリセルは、特に図示はしないが、ソース、ドレイン、フローティングゲート及びコントロールゲートを持ち、ゲート酸化膜(絶縁膜)は、トンネル現象によるトンネル電流を流し得るように薄くされている。ソースはソース線に、ドレインはビット線に、コントロールゲートはワード線に結合される。Xデコーダ(X−DEC)31はアドレスバス18からアドレスバッファ32に取り込まれたXアドレス信号をデコードしてワード線の選択信号を形成する。ワードドライバ(WDRV)33はワード線選択信号で選択されたワード線を、動作モード(書き込み、消去、読み出し等)に応じた所定の選択レベルに駆動する。前記ビット線はYセレクタ34を介して選択されたものが書き込み回路35又はセンスアンプ36に接続される。センスアンプ36はメモリセルから読み出されたデータを検出し、その論理値に応じたデータを出力バッファ37に与え、出力バッファ37はデータ出力動作の指示に従ってデータバス17への出力動作を行う。書き込み回路35はデータバス17から入力バッファ38に与えられた書き込みデータに応じた書き込み電圧を、Yセレクタ34で選択されたビット線に与える。Yデコーダ(Y−DEC)31はアドレスバス18からアドレスバッファ32に取り込まれたYアドレス信号をデコードして前記Yセレクタ34の選択信号を形成する。ソース及び基板制御部39は、消去ブロック指定レジスタEBR1で指定された消去ブロックのソース線を選択する制御を行うと共に、消去や書き込み動作に応じてメモリセルアレイ30の基板電圧を制御したりする。   A large number of nonvolatile memory cells are arranged in the memory cell array 30. Although not specifically shown, the nonvolatile memory cell has a source, a drain, a floating gate, and a control gate, and a gate oxide film (insulating film) is thinned so that a tunnel current due to a tunnel phenomenon can flow. The source is coupled to the source line, the drain is coupled to the bit line, and the control gate is coupled to the word line. The X decoder (X-DEC) 31 decodes the X address signal fetched from the address bus 18 into the address buffer 32 to form a word line selection signal. The word driver (WDRV) 33 drives the word line selected by the word line selection signal to a predetermined selection level according to the operation mode (write, erase, read, etc.). The bit line selected via the Y selector 34 is connected to the write circuit 35 or the sense amplifier 36. The sense amplifier 36 detects the data read from the memory cell, gives the data corresponding to the logical value to the output buffer 37, and the output buffer 37 performs the output operation to the data bus 17 in accordance with the data output operation instruction. The write circuit 35 applies a write voltage corresponding to the write data supplied from the data bus 17 to the input buffer 38 to the bit line selected by the Y selector 34. A Y decoder (Y-DEC) 31 decodes a Y address signal taken into the address buffer 32 from the address bus 18 and forms a selection signal for the Y selector 34. The source and substrate control unit 39 performs control to select the source line of the erase block designated by the erase block designation register EBR1, and controls the substrate voltage of the memory cell array 30 according to the erase or write operation.

図4において40はフラッシュメモリの電源回路であり、前記単一外部電源電圧Vccに基づいて書き込み及び消去のための高電圧や読み出し系の動作電圧を生成する。この電源回路40は、基準電圧回路、リード用クランプ電源回路、昇圧用クランプ電源回路、第1の正昇圧回路、第2の正昇圧回路、負昇圧回路、そして上記回路で形成された各種電圧を選択してフラッシュメモリ3の内部回路に供給する電圧供給スイッチ群を有している。   In FIG. 4, reference numeral 40 denotes a power supply circuit for the flash memory, which generates a high voltage for writing and erasing and an operating voltage for a read system based on the single external power supply voltage Vcc. The power supply circuit 40 includes a reference voltage circuit, a read clamp power supply circuit, a boost clamp power supply circuit, a first positive booster circuit, a second positive booster circuit, a negative booster circuit, and various voltages formed by the above circuits. A voltage supply switch group is selected and supplied to the internal circuit of the flash memory 3.

トリミング制御部42はプロセスばらつき等に対して電源回路の特性を調整するための制御回路である。トリミング制御部42に対する制御データは前記基準電圧トリミングレジスタTRMR1及び昇圧電圧トリミングレジスタTRMR2から与えられる。前記電源回路40で生成される各種動作電源はフラッシュメモリの動作に応じて選択されてソース制御部39、書き込み回路35及びワードドライバ33などに与えられる。この時の電源供給に関する書き込みシーケンスや消去シーケンス等は電源制御部41が行う。電源制御部41は書き込みシーケンサ及び消去シーケンサなどを有する。書き込みシーケンスや消去シーケンスのための制御データは前記書き換え制御レジスタFLMCR1から与えられる。43で示される回路ブロックはフラッシュメモリ3のその他の制御論理である。   The trimming control unit 42 is a control circuit for adjusting the characteristics of the power supply circuit with respect to process variations and the like. Control data for the trimming controller 42 is supplied from the reference voltage trimming register TRMR1 and the boost voltage trimming register TRMR2. Various operating power sources generated by the power source circuit 40 are selected according to the operation of the flash memory and supplied to the source control unit 39, the write circuit 35, the word driver 33, and the like. The power supply control unit 41 performs a writing sequence, an erasing sequence, etc. relating to power supply at this time. The power control unit 41 has a write sequencer, an erase sequencer, and the like. Control data for a write sequence and an erase sequence is given from the rewrite control register FLMCR1. A circuit block indicated by 43 is other control logic of the flash memory 3.

図5には前記メモリセルアレイ30の構成例が示される。特に制限されないが、図示の構造は、ビット線は主ビット線300と副ビット線301によって構成され、不揮発性メモリセル302のドレインが副ビット線301に結合される。主ビット線300と副ビット線301は選択MOSトランジスタ303によって選択的に導通される。不揮発性メモリセル302のソースは一群ごとに所定のソース線304に共通接続されている。305はワード線、306は前記選択MOSトランジスタのセレクト線である。   FIG. 5 shows a configuration example of the memory cell array 30. Although not particularly limited, in the illustrated structure, the bit line is constituted by the main bit line 300 and the sub bit line 301, and the drain of the nonvolatile memory cell 302 is coupled to the sub bit line 301. The main bit line 300 and the sub bit line 301 are selectively turned on by a selection MOS transistor 303. The sources of the nonvolatile memory cells 302 are commonly connected to a predetermined source line 304 for each group. 305 is a word line, and 306 is a select line of the selection MOS transistor.

図6には消去動作の電圧印加状態の一例が示される。消去の最小単位はソース線を共通とするブロック単位である。消去選択ソース線は−9.5V、セレクト線306は−9.5V、消去選択ワード線は9.5V、消去非選択ワード線は0V(接地電位Vss)とされる。これによって消去対象ブロック307の不揮発性メモリセル302のフローティングゲートに電子が注入され、当該不揮発性メモリセルのしきい値電圧が高くされる。すなわち、データの消去は、ゲート絶縁膜を介して、ドレイン(ソース)及びチャネル部からフローティングゲートへの電子トンネリング現象を利用して行われる。   FIG. 6 shows an example of a voltage application state in the erase operation. The minimum unit of erasing is a block unit that shares a source line. The erase selection source line is -9.5V, the select line 306 is -9.5V, the erase selection word line is 9.5V, and the erase unselected word line is 0V (ground potential Vss). As a result, electrons are injected into the floating gate of the nonvolatile memory cell 302 in the block to be erased 307, and the threshold voltage of the nonvolatile memory cell is increased. That is, data is erased by utilizing the electron tunneling phenomenon from the drain (source) and channel portion to the floating gate through the gate insulating film.

図7には書き込み動作の電圧印加状態の一例が示される。書き込みはワード線毎に行われる。書き込み選択ワード線は−9.5V、書き込み選択ビット線は6.5V、書き込み非選択ビット線は0V、書き込み選択セレクト線は9.5V、ソース線はオープン(フローティング)にされる。これによって書き込み選択とされた不揮発性メモリセル302のフローティングゲートから電子が放出され、当該メモリセルのしきい値電圧が低くされる。すなわち、データの書き込みは、ゲート絶縁膜を介し、フローティングゲートからドレイン(ソース)及びチャネル部への電子トンネリング現象を利用して行われる。   FIG. 7 shows an example of a voltage application state in the write operation. Writing is performed for each word line. The write selection word line is −9.5 V, the write selection bit line is 6.5 V, the write non-selection bit line is 0 V, the write selection select line is 9.5 V, and the source line is open (floating). As a result, electrons are emitted from the floating gate of the nonvolatile memory cell 302 selected for writing, and the threshold voltage of the memory cell is lowered. That is, data is written by utilizing the electron tunneling phenomenon from the floating gate to the drain (source) and the channel portion through the gate insulating film.

図8にはフラッシュメモリの各部における動作電源がブロック図で示されている。図8において33Zで示されるものは前記セレクト線306のドライバ(ZDRV)である。このドライバ33Zにはブロック選択に割り当てられたアドレス信号をデコードするZデコーダ(Z−DEC)31Zからのデコード信号が供給される。Zドライバ33ZはZデコーダ31Zから出力される選択信号に従ってセレクト線を駆動する。33Yで示されるものはYセレクトドライバであり、Yセレクタ34のスイッチ制御信号のレベルを決定する。前記図4ではYセレクトドライバ33Y、Zドライバ33Z及びZデコーダ31Zは図示を省略してある。   FIG. 8 is a block diagram showing the operating power supply in each part of the flash memory. In FIG. 8, what is indicated by 33Z is the driver (ZDRV) of the select line 306. The driver 33Z is supplied with a decode signal from a Z decoder (Z-DEC) 31Z for decoding an address signal assigned to block selection. The Z driver 33Z drives the select line according to the selection signal output from the Z decoder 31Z. What is indicated by 33Y is a Y select driver, which determines the level of the switch control signal of the Y selector 34. In FIG. 4, the Y select driver 33Y, the Z driver 33Z, and the Z decoder 31Z are not shown.

図9には図8に示される各種動作電源の意味が示されている。それら各種動作電源の電圧と動作との関係は図10に例示されている。図11には前記各種動作電源が取り得る電圧を整理して示してある。9.5V及び6.5Vは正昇圧によって生成され、−9.5Vは負昇圧によって生成される。   FIG. 9 shows the meanings of the various operation power supplies shown in FIG. The relationship between the voltage and operation of these various operating power supplies is illustrated in FIG. FIG. 11 shows the voltages that can be taken by the various operating power supplies. 9.5V and 6.5V are generated by positive boosting, and -9.5V is generated by negative boosting.

《電源回路》
図1には前記電源回路40の主要部が概略的に示されている。電源回路40は、電源電圧依存性の小さな基準電圧を用いて前記外部電源電圧Vcc(2.7V〜5.5V)よりレベルの低い第1の電圧Vfix(2.5V)に出力電圧をクランプする電圧クランプ手段44を有し、前記電圧Vfix(クランプ電圧Vfixとも称する)を動作電源とする昇圧回路を有する。昇圧回路は、3個のチャージポンプ回路45,46,47とそれらに共通のリングオシレータ48によって構成される。チャージポンプ回路45とリングオシレータ48は第1の正昇圧回路を構成し、クランプ電圧Vfixに基づいて9.5Vの正昇圧電圧を形成する。前記チャージポンプ回路46とリングオシレータ48は第2の正昇圧回路を構成し、クランプ電圧Vfixに基づいて6.5Vの正昇圧電圧を形成する。前記チャージポンプ回路47とリングオシレータ48は負昇圧回路を構成し、クランプ電圧Vfixに基づいて−9.5Vの負昇圧電圧を形成する。
<Power supply circuit>
FIG. 1 schematically shows the main part of the power supply circuit 40. The power supply circuit 40 clamps the output voltage to the first voltage Vfix (2.5 V) having a level lower than the external power supply voltage Vcc (2.7 V to 5.5 V) using a reference voltage having a small power supply voltage dependency. A voltage clamping unit 44 is included, and a voltage boosting circuit using the voltage Vfix (also referred to as a clamp voltage Vfix) as an operation power supply is included. The booster circuit includes three charge pump circuits 45, 46 and 47 and a ring oscillator 48 common to them. The charge pump circuit 45 and the ring oscillator 48 constitute a first positive booster circuit, which forms a 9.5V positive boost voltage based on the clamp voltage Vfix. The charge pump circuit 46 and the ring oscillator 48 constitute a second positive booster circuit, which forms a 6.5V positive boost voltage based on the clamp voltage Vfix. The charge pump circuit 47 and the ring oscillator 48 constitute a negative booster circuit and forms a negative booster voltage of −9.5V based on the clamp voltage Vfix.

前記電圧クランプ手段44は電源電圧依存性の小さなクランプ電圧Vfixを形成し、しかも、クランプ電圧Vfixは、2.7V〜5.5Vの許容範囲内で外部から供給される単一電源電圧Vccよりも低い電圧(2.5V)にクランプされるから、このクランプ電圧Vfixで動作される正及び負の昇圧回路が生成する昇圧電圧、即ち、書き込み及び消去電圧は、外部電源電圧Vccに依存しない安定な電圧とされる。比較例として図2に示した構成は、リングオシレータ及びチャージポンプ回路の動作電源は外部電源電圧Vccとされるから、昇圧電圧は外部電源電圧Vccに存して変動される。   The voltage clamp means 44 forms a clamp voltage Vfix having a small power supply voltage dependency, and the clamp voltage Vfix is higher than the single power supply voltage Vcc supplied from the outside within an allowable range of 2.7 V to 5.5 V. Since the voltage is clamped at a low voltage (2.5 V), the boosted voltage generated by the positive and negative booster circuits operated by the clamp voltage Vfix, that is, the write and erase voltages are stable without depending on the external power supply voltage Vcc. The voltage. In the configuration shown in FIG. 2 as a comparative example, the operating power supply of the ring oscillator and the charge pump circuit is the external power supply voltage Vcc, and the boosted voltage is varied depending on the external power supply voltage Vcc.

《クランプ電源》
図12には前記電圧クランプ手段44の一例が示される。この電圧クランプ手段44は、基準電圧発生回路400、第1の定電圧発生回路401、第2の定電圧発生回路(昇圧用クランプ電源回路)402及び第3の低電圧発生回路(リード用クランプ電源回路)403から成る。
<Clamp power supply>
FIG. 12 shows an example of the voltage clamp means 44. The voltage clamp means 44 includes a reference voltage generation circuit 400, a first constant voltage generation circuit 401, a second constant voltage generation circuit (boost clamp power supply circuit) 402, and a third low voltage generation circuit (read clamp power supply). Circuit) 403.

基準電圧発生回路400は、シリコンのバンドギャップなどを利用して、電源電圧依存性及び温度依存性の小さな基準電圧Vrefを発生する回路である。基準電圧発生回路400の動作電源はVccである。このような基準電圧発生回路400は公知であるのでその詳細な回路構成については図示を省略する。この例において、前記基準電圧Vrefは、1.4V±0.3Vとされる。   The reference voltage generation circuit 400 is a circuit that generates a reference voltage Vref having small power supply voltage dependency and temperature dependency using a band gap of silicon or the like. The operating power supply of the reference voltage generating circuit 400 is Vcc. Since such a reference voltage generating circuit 400 is known, its detailed circuit configuration is not shown. In this example, the reference voltage Vref is 1.4V ± 0.3V.

第1の定電圧発生回路401は、前記基準電圧Vrefを参照電圧として出力回路をクランプ電圧Vrefaに負帰還制御する回路である。具体的には、nチャンネル型MOSトランジスタQ1と帰還抵抗回路(ラダー抵抗回路)FBR1とによって構成されたソースフォロア回路を出力回路として備えると共に、CMOSオペアンプOP1を持ち、オペアンプOP1の非反転入力端子(+)に前記基準電圧Vrefを受け、オペアンプOP1の反転入力端子(−)に出力回路からの帰還信号を受け、オペアンプOP1の出力によって前記MOSトランジスタQ1のコンダクタンスを制御する。クランプ電圧Vrefaは、帰還抵抗回路FBR1の分圧比と基準電圧Vrefとによって決まる一定の電圧にされる。このクランプ電圧Vrefaは、論理的には電源電圧Vccに依存しない。この例に従えば、クランプ電圧Vrefaは2.5Vとなるように、帰還抵抗回路FBR1を用いて調整されることになる。   The first constant voltage generation circuit 401 is a circuit that performs negative feedback control of the output circuit to the clamp voltage Vrefa using the reference voltage Vref as a reference voltage. Specifically, a source follower circuit constituted by an n-channel MOS transistor Q1 and a feedback resistor circuit (ladder resistor circuit) FBR1 is provided as an output circuit, and has a CMOS operational amplifier OP1 and a non-inverting input terminal ( The reference voltage Vref is received at (+), the feedback signal from the output circuit is received at the inverting input terminal (−) of the operational amplifier OP1, and the conductance of the MOS transistor Q1 is controlled by the output of the operational amplifier OP1. The clamp voltage Vrefa is a constant voltage determined by the voltage dividing ratio of the feedback resistor circuit FBR1 and the reference voltage Vref. This clamp voltage Vrefa is logically independent of the power supply voltage Vcc. According to this example, the clamp voltage Vrefa is adjusted using the feedback resistor circuit FBR1 so as to be 2.5V.

第1の定電圧発生回路401の更に詳細な一例は図16及び図17に示されている。図16に示されるように帰還抵抗回路FBR1の分圧比はスイッチ410によって選択可能にされている。即ち、帰還抵抗回路FBR1は抵抗分圧比を調整可能なトリミング抵抗回路を構成する。図17においてBIASは差動増幅回路及び出力回路の電流源トランジスタをバイアスする信号であり、図示しないバイアス回路から出力される。FSTBYWはスタンバイ信号とされ、マイクロコンピュータ1の低消費電力モードにおける内部ノードの状態を決定し、且つ無駄な電流貫通経路をカットオフ制御する。   A more detailed example of the first constant voltage generation circuit 401 is shown in FIGS. As shown in FIG. 16, the voltage dividing ratio of the feedback resistor circuit FBR1 can be selected by a switch 410. That is, the feedback resistor circuit FBR1 constitutes a trimming resistor circuit capable of adjusting the resistance voltage dividing ratio. In FIG. 17, BIAS is a signal for biasing the current source transistors of the differential amplifier circuit and the output circuit, and is output from a bias circuit (not shown). FSTBYW is a standby signal, determines the state of the internal node in the low power consumption mode of the microcomputer 1, and cuts off a useless current through path.

第2の定電圧発生回路402は、前記クランプ電圧Vrefaを参照電圧として出力回路をクランプ電圧VfixBに負帰還制御する回路である。具体的には、nチャンネル型MOSトランジスタQ2と帰還抵抗回路FBR2とによって構成されたソースフォロア回路を出力回路として備えると共に、CMOSオペアンプOP2を持ち、オペアンプOP2の非反転入力端子(+)に前記クランプ電圧Vrefaを受け、オペアンプOP2の反転入力端子(−)に出力回路からの帰還信号を受け、オペアンプOP2の出力によって前記MOSトランジスタQ2のコンダクタンスを制御する。クランプ電圧VfixBは、帰還抵抗回路FBR2の分圧比とクランプ電圧Vrefaとによって決まる一定の電圧にされる。このクランプ電圧Vrefaは、論理的には電源電圧Vccに依存しない。この例に従えば、クランプ電圧VfixBは2.5Vとなるように、帰還抵抗回路FBR2の分圧比が決定されている。図12のクランプ電圧VfixBは図1に示されるVfixに対応される。   The second constant voltage generation circuit 402 is a circuit that performs negative feedback control of the output circuit to the clamp voltage VfixB using the clamp voltage Vrefa as a reference voltage. Specifically, a source follower circuit composed of an n-channel MOS transistor Q2 and a feedback resistor circuit FBR2 is provided as an output circuit, and has a CMOS operational amplifier OP2, and the clamp is connected to the non-inverting input terminal (+) of the operational amplifier OP2. The voltage Vrefa is received, the inverting input terminal (−) of the operational amplifier OP2 receives the feedback signal from the output circuit, and the conductance of the MOS transistor Q2 is controlled by the output of the operational amplifier OP2. The clamp voltage VfixB is a constant voltage determined by the voltage dividing ratio of the feedback resistor circuit FBR2 and the clamp voltage Vrefa. This clamp voltage Vrefa is logically independent of the power supply voltage Vcc. According to this example, the voltage dividing ratio of the feedback resistor circuit FBR2 is determined so that the clamp voltage VfixB is 2.5V. The clamp voltage VfixB in FIG. 12 corresponds to Vfix shown in FIG.

第3の定電圧発生回路403は、前記クランプ電圧Vrefaを参照電圧として出力回路をクランプ電圧VfixAに負帰還制御する回路である。具体的には、nチャンネル型MOSトランジスタQ3と帰還抵抗回路FBR3とによって構成されたソースフォロア回路を出力回路として備えると共に、オペアンプOP2を持ち、オペアンプOP2の非反転入力端子(+)に前記クランプ電圧Vrefaを受け、オペアンプOP2の反転入力端子(−)に出力回路からの帰還信号を受け、オペアンプOP2の出力によって前記MOSトランジスタQ2のコンダクタンスを制御する。帰還信号は2.5V出力用のnチャンネル型MOSトランジスタQ4又は4.0V出力用のnチャンネル型MOSトランジスタQ5を通して帰還される。クランプ電圧VfixAは、帰還抵抗回路FBR2の分圧比とクランプ電圧Vrefaとによって決まるほぼ一定の電圧にされる。このクランプ電圧Vrefaは、論理的には電源電圧Vccに依存しない。この例に従えば、トランジスタQ4を選択したときクランプ電圧VfixAが2.5Vとなるように、また、トランジスタQ5を選択したときクランプ電圧VfixAが4.0Vとなるように帰還抵抗回路FBR2の分圧比が決定されている。クランプ電圧VfixAはリード系の動作電源とされる。クランプ電圧VfixAを2.5Vにするか4.0Vにするかは動作モードによって選択され、例えば、読み出し動作ではワード線ディスターブを軽減する観点からリード時のワード線選択レベルとして、VfixA=4.0Vを用いる。このときセンスアンプ電源にはVccを用いる。一方、消去ベリファイや書き込みベリファイにおいては書き込みや消去レベルが電源電圧Vccに依存しないように、Yセレクタのドライバやセンスアンプの電源にはVfixA=2.5Vを用いる。   The third constant voltage generation circuit 403 is a circuit that performs negative feedback control of the output circuit to the clamp voltage VfixA using the clamp voltage Vrefa as a reference voltage. Specifically, a source follower circuit constituted by an n-channel MOS transistor Q3 and a feedback resistor circuit FBR3 is provided as an output circuit, has an operational amplifier OP2, and the clamp voltage is applied to the non-inverting input terminal (+) of the operational amplifier OP2. Vrefa is received, the feedback signal from the output circuit is received at the inverting input terminal (−) of the operational amplifier OP2, and the conductance of the MOS transistor Q2 is controlled by the output of the operational amplifier OP2. The feedback signal is fed back through an n-channel MOS transistor Q4 for 2.5V output or an n-channel MOS transistor Q5 for 4.0V output. The clamp voltage VfixA is set to a substantially constant voltage determined by the voltage division ratio of the feedback resistor circuit FBR2 and the clamp voltage Vrefa. This clamp voltage Vrefa is logically independent of the power supply voltage Vcc. According to this example, the voltage dividing ratio of the feedback resistor circuit FBR2 is such that when the transistor Q4 is selected, the clamp voltage VfixA is 2.5V, and when the transistor Q5 is selected, the clamp voltage VfixA is 4.0V. Has been determined. The clamp voltage VfixA is used as an operation power source for the read system. Whether the clamp voltage VfixA is set to 2.5V or 4.0V is selected depending on the operation mode. For example, in read operation, the wordline selection level at the time of reading is VfixA = 4.0V from the viewpoint of reducing the wordline disturbance. Is used. At this time, Vcc is used as the sense amplifier power source. On the other hand, in the erase verify and the write verify, VfixA = 2.5V is used for the power supply of the driver of the Y selector and the sense amplifier so that the write and erase levels do not depend on the power supply voltage Vcc.

クランプ電圧VfixBは書き込み及び消去に利用される高電圧を昇圧するための動作電源とされ、その他のリード系動作の電源とされるクランプ電圧VfixAとは分離されている。書き込み消去には比較的大きな電流を要し、それを供給するための昇圧回路には比較的大きな電流が流れるから、昇圧系とその他の電源系を別にすることによって、昇圧動作による電源電圧の変動がその他の回路の与える影響を最小限に抑えることが可能になる。   The clamp voltage VfixB is an operation power source for boosting a high voltage used for writing and erasing, and is separated from the clamp voltage VfixA which is a power source for other read system operations. A relatively large current is required for programming and erasing, and a relatively large current flows through the booster circuit for supplying it. Therefore, the power supply voltage fluctuates due to the boosting operation by separating the boosting system from other power supply systems. Can minimize the influence of other circuits.

《昇圧回路》
図13には第1及び第2の正昇圧回路の一例としての前記チャージポンプ45,46及びそれらの周辺回路が示される。特に図示はしないが、前記チャージポンプ回路45,46は夫々MOSトランジスタと容量素子が結合された複数個の昇圧ノードを有し、前記MOSトランジスタと容量とによるチャージポンプ作用で高電圧を生成する。クロックドライバ420,421はチャージポンプ回路45,46にチャージポンプ動作を行わせるための複数相の駆動信号を生成する。前記クロックドライバ420、421の動作電源は前記クランプ電圧VfixBとされる。前記駆動信号は、位相をずらして前記複数個のMOSトランジスタをスイッチ制御すると共に容量の一方の電極に順次規則的な電圧変化を与え、これにより、容量の一方の電極に順次規則的に与えられる変化に応じて変化される他方の電極の電圧がMOSトランジスタを介して順次後段に伝達される。前記駆動信号は前記リングオシレータ48から出力されるクロック信号CLKに同期して生成される。チャージポンプ回路46,45によって生成される昇圧電圧VPP6,VPP9を規定の電圧に維持するために、比較器422,423が設けられている。比較器422,423には、昇圧電圧VPP6,VPP9を抵抗回路428,429で抵抗分圧した電圧VCMP6,VCMP9が供給され、前記クランプ電圧Vrefaと比較される。電圧VCMP6,VCMP9は昇圧電圧が規定の電圧(VPP6=6.5V、VPP9=9.5V)になったとき電圧Vrefa以上にされる。比較器422,423はその状態を検出することによって検出信号424,425をローレベルからハイレベルに反転する。検出信号424,425は論理和ゲート426,427によりクロック信号CLKと論理和が採られて、前記クロックドライバ420,421に供給される。したがって、昇圧電圧VPP6,VPP9が規定の電圧に達すると、論理和ゲート426,427の出力がハイレベルに固定され、その間、チャージポンプ回路45,46による昇圧動作が一時停止される。尚、430,431は昇圧動作の完了によってカットオフされるスイッチ回路である。
《Boost circuit》
FIG. 13 shows the charge pumps 45 and 46 as an example of the first and second positive booster circuits and their peripheral circuits. Although not specifically shown, the charge pump circuits 45 and 46 each have a plurality of boosting nodes in which a MOS transistor and a capacitive element are coupled, and generate a high voltage by a charge pumping action of the MOS transistor and the capacitor. The clock drivers 420 and 421 generate a plurality of driving signals for causing the charge pump circuits 45 and 46 to perform the charge pump operation. The operating power supply of the clock drivers 420 and 421 is the clamp voltage VfixB. The drive signal shifts the phase and switches the plurality of MOS transistors, and sequentially applies a regular voltage change to one electrode of the capacitor, whereby the drive signal is sequentially and regularly applied to one electrode of the capacitor. The voltage of the other electrode that is changed according to the change is sequentially transmitted to the subsequent stage via the MOS transistor. The drive signal is generated in synchronization with the clock signal CLK output from the ring oscillator 48. Comparators 422 and 423 are provided in order to maintain the boosted voltages VPP6 and VPP9 generated by the charge pump circuits 46 and 45 at a specified voltage. The comparators 422 and 423 are supplied with voltages VCMP6 and VCMP9 obtained by dividing the boosted voltages VPP6 and VPP9 by the resistance circuits 428 and 429, and are compared with the clamp voltage Vrefa. The voltages VCMP6 and VCMP9 are made equal to or higher than the voltage Vrefa when the boosted voltage becomes a specified voltage (VPP6 = 6.5V, VPP9 = 9.5V). The comparators 422 and 423 invert the detection signals 424 and 425 from the low level to the high level by detecting the state. The detection signals 424 and 425 are ORed with the clock signal CLK by OR gates 426 and 427 and supplied to the clock drivers 420 and 421. Therefore, when the boosted voltages VPP6 and VPP9 reach a prescribed voltage, the outputs of the OR gates 426 and 427 are fixed at a high level, and during that time, the boosting operation by the charge pump circuits 45 and 46 is temporarily stopped. Reference numerals 430 and 431 denote switch circuits which are cut off when the boosting operation is completed.

図14には負正昇圧回路の一例としてのチャージポンプ回路47及びその周辺回路が示される。特に図示はしないが、前記チャージポンプ回路47は夫々MOSトランジスタと容量素子が結合された複数個の昇圧ノードを有し、前記MOSトランジスタと容量とによるチャージポンプ作用で負の高電圧を生成する。クロックドライバ434はチャージポンプ回路47にチャージポンプ動作を行わせるための複数相の駆動信号を生成する。前記クロックドライバ434の動作電源は前記クランプ電圧VfixBとされる。前記駆動信号は、位相をずらして前記複数個のMOSトランジスタをスイッチ制御すると共に容量の一方の電極に順次規則的な電圧変化を与え、これにより、容量の一方の電極に順次規則的に与えられる変化に応じて変化される他方の電極の電圧がMOSトランジスタを介して順次後段に伝達される。前記駆動信号は図13に示される前記リングオシレータ48から出力されるクロック信号CLKに同期して生成される。チャージポンプ回路47によって生成される負の昇圧電圧VPPMNS9を規定の電圧に維持するために、比較器435が設けられている。比較器435には、昇圧電圧VPPMNS9を抵抗回路436で抵抗分圧した電圧VPCMP9が供給され、接地電位Vssと比較される。電圧VPCMP9は昇圧電圧VPPNMSが規定の電圧(VPPMNS9=−9.5V)になったとき接地電圧Vssよりも低くされる。比較器435はその状態を検出することによって検出信号437をローレベルからハイレベルに反転する。検出信号437は論理和ゲート438によりクロック信号CLKと論理和が採られて、前記クロックドライバ434に供給される。したがって、昇圧電圧VPPMNS9が規定の電圧に達すると、論理和ゲート438の出力がハイレベルに固定され、その間、チャージポンプ回路47による昇圧動作が一時停止される。尚、439は昇圧動作の完了によってカットオフされるスイッチ回路である。   FIG. 14 shows a charge pump circuit 47 and its peripheral circuit as an example of a negative and positive booster circuit. Although not specifically shown, the charge pump circuit 47 has a plurality of boosting nodes each of which is coupled with a MOS transistor and a capacitive element, and generates a negative high voltage by a charge pumping action of the MOS transistor and the capacitor. The clock driver 434 generates a drive signal having a plurality of phases for causing the charge pump circuit 47 to perform a charge pump operation. The operating power supply of the clock driver 434 is set to the clamp voltage VfixB. The drive signal shifts the phase and switches the plurality of MOS transistors, and sequentially applies a regular voltage change to one electrode of the capacitor, whereby the drive signal is sequentially and regularly applied to one electrode of the capacitor. The voltage of the other electrode that is changed according to the change is sequentially transmitted to the subsequent stage via the MOS transistor. The drive signal is generated in synchronization with the clock signal CLK output from the ring oscillator 48 shown in FIG. In order to maintain the negative boosted voltage VPPMNS9 generated by the charge pump circuit 47 at a specified voltage, a comparator 435 is provided. The comparator 435 is supplied with a voltage VPCMP9 obtained by dividing the boosted voltage VPPMNS9 by the resistance circuit 436, and is compared with the ground potential Vss. The voltage VPCMP9 is made lower than the ground voltage Vss when the boosted voltage VPPNMS becomes a specified voltage (VPPMNS9 = −9.5 V). The comparator 435 detects the state and inverts the detection signal 437 from the low level to the high level. The detection signal 437 is logically ORed with the clock signal CLK by an OR gate 438 and supplied to the clock driver 434. Therefore, when the boosted voltage VPPMNS9 reaches a specified voltage, the output of the OR gate 438 is fixed to a high level, and during that time, the boosting operation by the charge pump circuit 47 is temporarily stopped. A switch circuit 439 is cut off when the boosting operation is completed.

前記チャージポンプ回路47から出力される負の昇圧電圧VPPMNS9は前記モニタ端子VssMONから観測できるようになっている。440で示される回路はテストモードにおいてオン動作されるスイッチ回路である。前記正の昇圧電圧VPP6,VPP9は図15に例示されるようにモニタ端子VCPPMONから選択的に観測することができる。441,442は正の昇圧電圧VPP6,VPP9をモニタ端子VCPPMONに伝達するスイッチ回路である。MONEはハイレベルによってモニタ端子VppMONによる昇圧電圧のモニタを指示するイネーブル信号、MONSはVPP6またはVPP9の何れをモニタするかを指示する信号であり、前記スイッチ回路441,442はテストモードにおける信号MONE,MONSの状態にしたがってオン動作が排他的に行われ、これによって所望の昇圧電圧VPP6又はVPP9を観測できる。   The negative boosted voltage VPPMNS9 output from the charge pump circuit 47 can be observed from the monitor terminal VssMON. A circuit indicated by 440 is a switch circuit that is turned on in the test mode. The positive boosted voltages VPP6 and VPP9 can be selectively observed from the monitor terminal VCPMON as illustrated in FIG. Reference numerals 441 and 442 denote switch circuits that transmit the positive boosted voltages VPP6 and VPP9 to the monitor terminal VCPMON. MONE is an enable signal for instructing monitoring of the boosted voltage by the monitor terminal VppMON according to a high level, MONS is a signal for instructing whether to monitor VPP6 or VPP9, and the switch circuits 441 and 442 are signals MONE, The ON operation is performed exclusively in accordance with the state of MONS, whereby the desired boosted voltage VPP6 or VPP9 can be observed.

図13において、OSEで示されるものはリングオシレータ48に対する発振動作の開始指示信号である。VPE1で示される信号は、クロックドライバ421及びチャージポンプ回路46に対する昇圧動作の開始を指示する信号である。VPE2で示されるものは、クロックドライバ420及びチャージポンプ回路45に対する昇圧動作の開始を指示する信号である。図14においてVPE3で示される信号は、クロックドライバ434及びチャージポンプ回路47に対する昇圧動作の開始を指示する信号である。   In FIG. 13, what is indicated by OSE is an oscillation operation start instruction signal for the ring oscillator 48. A signal indicated by VPE1 is a signal for instructing the clock driver 421 and the charge pump circuit 46 to start a boosting operation. What is indicated by VPE2 is a signal instructing the clock driver 420 and the charge pump circuit 45 to start a boosting operation. In FIG. 14, a signal indicated by VPE3 is a signal for instructing the clock driver 434 and the charge pump circuit 47 to start a boosting operation.

前記3種類のクロックドライバ420、421及び434はその動作電源が共通のクランプ電源VfixBとされ、また、一つのリングオシレータ48をクロック源として利用する。このとき、図13に例示されるように、チャージポンプ回路46のクロックドライバ421には遅延回路444を介してクロック信号CLKが供給される。チャージポンプ回路45のクロックドライバ420には直列2段の遅延回路444、445を介してクロック信号CLKが供給される。一方、図14に例示されるようにチャージポンプ回路47のクロックドライバ434には遅延回路介せずにクロック信号CLKが供給される。したがって、図18に例示されるようにリングオシレータ48から出力されるクロック信号CLKは順次位相がずらされて、−9.5V昇圧用クロック信号、+6.5V用クロック信号及び+9.5V用クロック信号としてクロックドライバ434、421、420に供給される。クロックドライバ434、421、420で形成されるチャージポンプ回路47、46、45の駆動信号は前記夫々位相がずれたクロック信号に同期される。すなわち、クロックドライバ434、421、420は前記クロック信号の変化に同期してトランジスタがスイッチ動作され、回路に流れる電流はそのスイッチ動作に同期して変化される。したがって、クロックドライバ434、421、420に供給されるクロック信号の位相がずれているから、クロックドライバ434、421、420全体で生ずる瞬間的な電流変化は小さくされ、昇圧用クランプ電源回路402のような電源回路の負担を小さくすることができる。このことは、昇圧動作の安定化、更には書き込み及び消去動作の安定化に寄与する。   The three types of clock drivers 420, 421, and 434 have a common clamp power supply VfixB as the operation power supply, and use one ring oscillator 48 as a clock source. At this time, as illustrated in FIG. 13, the clock signal CLK is supplied to the clock driver 421 of the charge pump circuit 46 via the delay circuit 444. A clock signal CLK is supplied to the clock driver 420 of the charge pump circuit 45 via two stages of delay circuits 444 and 445 in series. On the other hand, as illustrated in FIG. 14, the clock signal CLK is supplied to the clock driver 434 of the charge pump circuit 47 without passing through the delay circuit. Accordingly, as illustrated in FIG. 18, the clock signal CLK output from the ring oscillator 48 is sequentially shifted in phase, so that the −9.5V boosting clock signal, the + 6.5V clock signal, and the + 9.5V clock signal are output. Are supplied to the clock drivers 434, 421, and 420. The drive signals of the charge pump circuits 47, 46, 45 formed by the clock drivers 434, 421, 420 are synchronized with the clock signals that are out of phase. That is, in the clock drivers 434, 421, and 420, the transistors are switched in synchronization with the change of the clock signal, and the current flowing through the circuit is changed in synchronization with the switching operation. Therefore, since the clock signals supplied to the clock drivers 434, 421, 420 are out of phase, the instantaneous current change that occurs in the entire clock drivers 434, 421, 420 is reduced, and the boosting clamp power supply circuit 402 is The burden on the power supply circuit can be reduced. This contributes to stabilization of the boosting operation and further stabilization of the writing and erasing operations.

《チャージポンプ回路の基板バイアス電圧変更》
図19には前記負電圧昇圧用のチャージポンプ回路47及びクロックドライバ434の一例が示される。図19にその一部のみ示されたチャージポンプ回路47においてNPで示されるものは昇圧ノードである。隣接する昇圧ノードの間には電荷転送用のpチャンネル型MOSトランジスタQ10が配置されている。また、各昇圧ノードNPにはチャージポンプ用の容量素子C1の一方の電極が結合されている。前記MOSトランジスタQ10のゲートには別の容量素子C2の一方の電極が結合されている。MOSトランジスタQ10のゲートとその前段の昇圧ノードNPとの間にはPチャンネル型のトランスファMOSトランジスタQ11,Q12が並列配置され、MOSトランジスタQ11のゲートは昇圧ノードNPに、MOSトランジスタQ12のゲートはMOSトランジスタQ10のゲートに結合されている。MOSトランジスタQ13,Q14は昇圧ノードNPを初期化するためのトランジスタである。容量素子C1の容量値はC2の容量値よりも大きくされている。このように、チャージポンプ回路47は、前記MOSトランジスタQ10〜Q13と容量素子C1,C2を一組とする単位回路が複数個直列接続されて構成されている。
<Change of substrate bias voltage of charge pump circuit>
FIG. 19 shows an example of the charge pump circuit 47 and the clock driver 434 for boosting the negative voltage. In the charge pump circuit 47 shown only partially in FIG. 19, what is indicated by NP is a boost node. A charge transfer p-channel MOS transistor Q10 is arranged between adjacent boosting nodes. Further, one electrode of the charge pump capacitive element C1 is coupled to each boost node NP. One electrode of another capacitive element C2 is coupled to the gate of the MOS transistor Q10. P-channel type transfer MOS transistors Q11 and Q12 are arranged in parallel between the gate of the MOS transistor Q10 and the previous boost node NP. The gate of the MOS transistor Q11 is the boost node NP and the gate of the MOS transistor Q12 is the MOS. Coupled to the gate of transistor Q10. MOS transistors Q13 and Q14 are transistors for initializing boost node NP. The capacitance value of the capacitive element C1 is set larger than the capacitance value of C2. As described above, the charge pump circuit 47 is configured by connecting a plurality of unit circuits each including the MOS transistors Q10 to Q13 and the capacitive elements C1 and C2 in series.

クロックドライバ434は、クロック信号CLKを順次遅延させて位相の異なる3相のクロック信号φa〜φcを生成し、その3相のクロック信号φa〜φcに基づいて4本の駆動信号DS1〜DS4を出力する。図20には図19に示されたクロックドライバ434の論理構成によって生成されるクロック信号φa〜φc及び駆動信号DS1〜DS4の波形が示される。   The clock driver 434 sequentially delays the clock signal CLK to generate three-phase clock signals φa to φc having different phases, and outputs four drive signals DS1 to DS4 based on the three-phase clock signals φa to φc. To do. FIG. 20 shows waveforms of clock signals φa to φc and drive signals DS1 to DS4 generated by the logic configuration of the clock driver 434 shown in FIG.

前記駆動信号DS1,DS2は前記容量素子C1の他方の電極に交互に供給され、前記駆動信号DS3,DS4は前記容量素子C2の他方の電極に交互に供給される。例えばDS4のハイレベル(t1)によってMOSトランジスタQ10がオフされ、DS2のハイレベル(t1)によって昇圧ノードのレベルが持ち上げられた状態において、その前段の昇圧ノードNPがDS1のローレベル(t2)によって低下されると、トランジスタQ11を介してその隣のMOSトランジスタQ10のゲートもレベル低下され、その直後にDS3がローレベル(t3)に変化されることによって当該昇圧ノードNPのレベルが更に低下される。低下されたレベルはMOSトランジスタQ10を介して次段の昇圧ノードNPに移される。このようなチャージポンプ動作によって電圧VPPMNS9は徐々に負電圧に昇圧される。   The drive signals DS1 and DS2 are alternately supplied to the other electrode of the capacitive element C1, and the drive signals DS3 and DS4 are supplied alternately to the other electrode of the capacitive element C2. For example, in a state where the MOS transistor Q10 is turned off by the high level (t1) of DS4 and the level of the boosting node is raised by the high level (t1) of DS2, the previous boosting node NP is driven by the low level (t2) of DS1. When the voltage is lowered, the level of the gate of the adjacent MOS transistor Q10 is also lowered through the transistor Q11. Immediately thereafter, the level of the boosting node NP is further lowered by changing DS3 to the low level (t3). . The lowered level is transferred to boosting node NP in the next stage via MOS transistor Q10. By such a charge pump operation, the voltage VPPMNS9 is gradually boosted to a negative voltage.

尚、図19に示されるノアゲート450は図14で説明したオアゲート438の機能を代替する。   The NOR gate 450 shown in FIG. 19 replaces the function of the OR gate 438 described in FIG.

前記駆動信号D1〜D4は接地電位Vssとクランプ電圧VfixBとの間で変化される。昇圧動作の開始時点においてチャージポンプ回路47のMOSトランジスタQ10,Q11,Q12のゲートにはクランプ電圧VfixBが印加される。昇圧動作が進むに従って当該ゲート電圧は低下される。したがって、昇圧動作の開始時点において、それらMOSトランジスタQ10,Q11,Q12に共通の基板バイアス電圧は少なくともクランプ電圧VfixBにされなければ、当該トランジスタのpn接合部分が不所望に順方向バイアス状態にされて誤動作を生ずる虞がある。   The drive signals D1 to D4 are changed between the ground potential Vss and the clamp voltage VfixB. At the start of the boosting operation, the clamp voltage VfixB is applied to the gates of the MOS transistors Q10, Q11, Q12 of the charge pump circuit 47. As the boosting operation proceeds, the gate voltage is lowered. Therefore, if the substrate bias voltage common to the MOS transistors Q10, Q11, and Q12 is not set to at least the clamp voltage VfixB at the start of the boost operation, the pn junction portion of the transistor is undesirably put in the forward bias state. There is a risk of malfunction.

この例では、前記MOSトランジスタQ10,Q11,Q12はそれらに共通のウェル領域に形成されている。それらMOSトランジスタQ10,Q11,Q12に共通の基板バイアス電圧(ウェルバイアス電圧)は、昇圧動作の開始時点でクランプ電圧VfixBにされ、途中で接地電圧Vssに切り換える。   In this example, the MOS transistors Q10, Q11, Q12 are formed in a common well region. The substrate bias voltage (well bias voltage) common to these MOS transistors Q10, Q11, and Q12 is set to the clamp voltage VfixB at the start of the boosting operation, and is switched to the ground voltage Vss in the middle.

図21にはチャージポンプ回路の前記基板バイアス電圧を切り換えるための構成が示されている。図21において460で示されるものは基板バイアス電圧をクランプ電圧VfixB又は接地電圧Vssに切り換えるスイッチ手段である。このスイッチ手段460のスイッチ状態は、特に制限されないが、セット・リセット型のフリップフロップ(SR−FF)461の出力端子Qの状態によって決定される。このフリップフロップ461のリセット端子Rには昇圧イネーブル信号VPE3の反転信号が供給され、昇圧動作が行われない状態においてリセット状態にされる。このリセット状態においてスイッチ手段460はクランプ電圧VfixBを基板バイアス電圧462として選択する。前記フリップフロップ461のセット端子Sは比較器463の出力信号464を受ける。この比較器463は、前記抵抗回路436の分圧点ND1の電位が接地電位Vss以下であるかを監視する。分圧点ND1は昇圧電圧VPPMNS9が接地電位Vssよりも低い所定の電圧になったとき、接地電位Vssにされる。したがって、昇圧電圧Vssが接地電位Vssよりも低い所定の電圧になったとき、フリップフロップ461はセット状態にされ、これによってスイッチ手段460は基板バイアス電圧462として接地電圧Vssを選択する。尚、図14において前記スイッチ手段460はクランプ電圧VfixBと接地電圧Vssを動作電源とするインバータによって構成されている。   FIG. 21 shows a configuration for switching the substrate bias voltage of the charge pump circuit. In FIG. 21, reference numeral 460 denotes switch means for switching the substrate bias voltage to the clamp voltage VfixB or the ground voltage Vss. The switch state of the switch means 460 is not particularly limited, but is determined by the state of the output terminal Q of the set / reset type flip-flop (SR-FF) 461. An inverted signal of the boost enable signal VPE3 is supplied to the reset terminal R of the flip-flop 461, and the reset state is set when the boost operation is not performed. In this reset state, the switch means 460 selects the clamp voltage VfixB as the substrate bias voltage 462. The set terminal S of the flip-flop 461 receives the output signal 464 of the comparator 463. The comparator 463 monitors whether the potential of the voltage dividing point ND1 of the resistor circuit 436 is equal to or lower than the ground potential Vss. The voltage dividing point ND1 is set to the ground potential Vss when the boosted voltage VPPMNS9 becomes a predetermined voltage lower than the ground potential Vss. Therefore, when the boosted voltage Vss becomes a predetermined voltage lower than the ground potential Vss, the flip-flop 461 is set, whereby the switch unit 460 selects the ground voltage Vss as the substrate bias voltage 462. In FIG. 14, the switch means 460 is composed of an inverter having a clamp voltage VfixB and a ground voltage Vss as operation power supplies.

負電圧昇圧の途中で基板バイアス電圧462をクランプ電圧VfixBよりもレベルの低い接地電圧Vssに切り換えると、所謂基板バイアス効果によってMOSトランジスタQ10,Q11,Q12のしきい値電圧が小さくなり、これによってチャージポンプを行うMOSトランジスタQ10,Q11,Q12を介して電荷が移動され易くなる。したがって、動作電源(VfixB=2.5V)に対して目的とする昇圧電圧(VPPMNS9=−9.5V)のレベル差が最も大きい負電圧昇圧動作の効率を向上させることができ、規定の負昇圧電圧を得るまでの時間を短縮することができる。   When the substrate bias voltage 462 is switched to the ground voltage Vss having a level lower than the clamp voltage VfixB during the negative voltage boosting, the threshold voltages of the MOS transistors Q10, Q11, and Q12 become small due to the so-called substrate bias effect, thereby charging Charges are easily transferred through the MOS transistors Q10, Q11, and Q12 that perform pumping. Accordingly, it is possible to improve the efficiency of the negative voltage boosting operation in which the level difference of the target boosted voltage (VPPMNS9 = −9.5V) is the largest with respect to the operating power supply (VfixB = 2.5V), and the specified negative boosting The time until the voltage is obtained can be shortened.

例えば図22には負電圧昇圧動作における昇圧電圧VPPMNS9遷移状態が示される。同図において(a)は前記基板バイアス電圧を切り換えずにクランプ電圧VfixBに固定したときの昇圧電圧VPPMNS9の遷移状態を示す。(b)は基板バイアス電圧を途中で切り換えたときの遷移状態を示す。(a)に比べて(b)の場合には負電圧昇圧動作効率が向上され、規定の負昇圧電圧を得るまでの時間が短縮されている。   For example, FIG. 22 shows a transition state of the boosted voltage VPPMNS9 in the negative voltage boosting operation. FIG. 5A shows a transition state of the boosted voltage VPPMNS9 when the substrate bias voltage is fixed to the clamp voltage VfixB without switching. (B) shows a transition state when the substrate bias voltage is switched halfway. Compared to (a), in the case of (b), the negative voltage boosting operation efficiency is improved, and the time required to obtain the specified negative boosted voltage is shortened.

前記基板バイアス電圧が一旦接地電位Vssに切り換えられると、その後で比較器463の出力が反転されてもフリップフロップ461はセット状態を維持する。すなわち、フリップフロップ461は、基板バイアス電圧の切換え後に昇圧電圧VPPMNS9が上下に振れても基板バイアス電圧を接地電位Vssに維持するヒステリシス特性を持つということができる。このようなヒステリシス特性は、SRフリップフロップ461に代えて、比較器463にヒステリシスコンパレータを用いても実現できる。   Once the substrate bias voltage is switched to the ground potential Vss, the flip-flop 461 maintains the set state even if the output of the comparator 463 is subsequently inverted. That is, flip-flop 461 has a hysteresis characteristic that maintains the substrate bias voltage at ground potential Vss even if boosted voltage VPPMNS9 fluctuates up and down after the substrate bias voltage is switched. Such hysteresis characteristics can also be realized by using a hysteresis comparator in the comparator 463 instead of the SR flip-flop 461.

図22に示されるように、チャージポンプによる昇圧途上の昇圧電圧は、チャージポンプ用のMOSトランジスタQ10,Q11,Q12のスイッチ動作に同期して上下に振れる。前記フリップフロップ461に代表されるヒステリシス特性を有する回路の出力信号によってチャージポンプ回路47の基板バイアス電圧の切換えを行うことにより、負昇圧電圧のリプル成分の影響で一旦変更した基板バイアス電圧が元の基板バイアスへ再び変更される様な基板バイアスの不所望な振動を防止することができる。   As shown in FIG. 22, the boosted voltage in the course of boosting by the charge pump fluctuates up and down in synchronization with the switching operation of the charge pump MOS transistors Q10, Q11, and Q12. By switching the substrate bias voltage of the charge pump circuit 47 by the output signal of a circuit having hysteresis characteristics typified by the flip-flop 461, the substrate bias voltage once changed under the influence of the ripple component of the negative boost voltage is the original. Undesirable oscillation of the substrate bias that is changed again to the substrate bias can be prevented.

《電源回路のソフトウェアトリミング》
図12及び図16に示される前記定電圧発生回路401の帰還抵抗回路FBR1、図14に示される抵抗回路436は、トリミング可能な抵抗回路(トリミング抵抗回路)とされる。その構成は、図16で説明したように、多数のスイッチ410の中から一つのスイッチをオン動作させて、出力ノードとして採用する分圧点を決定する、所謂ラダー抵抗回路のような回路である。帰還抵抗回路FBR1においては、スイッチ410で選択された出力ノードにおける抵抗分圧比に応じて帰還抵抗値が決定される。同様に、抵抗回路436においては、スイッチ410で選択されたノード(ND1)における抵抗分圧比に応じた電圧が比較器463に与えられる。前記帰還抵抗回路FBR1をトリミング可能にするのは、プロセスばらつきに対し電源回路40の大元の電圧Vrefaを所要のレベルに合わせて、クランプ電圧VfixA,VfixBを望ましい電圧にするという意義を有する。また、負昇圧回路側の抵抗回路436をトリミング可能にするのは、最も昇圧幅の大きな負昇圧電圧VPPMNS9に関する昇圧レベル制御とウェルバイアス電圧切換えポイントを特に調整可能にして、負昇圧動作を最適化する意義を有する。尚、正昇圧回路側の抵抗回路428,429に対してもトリミング可能にしてもよい。
<Software trimming of power supply circuit>
The feedback resistor circuit FBR1 of the constant voltage generation circuit 401 shown in FIGS. 12 and 16 and the resistor circuit 436 shown in FIG. 14 are trimming resistor circuits (trimming resistor circuits). As described with reference to FIG. 16, the configuration is a circuit such as a so-called ladder resistor circuit in which one of the many switches 410 is turned on to determine a voltage dividing point to be used as an output node. . In feedback resistance circuit FBR1, the feedback resistance value is determined according to the resistance voltage division ratio at the output node selected by switch 410. Similarly, in the resistance circuit 436, a voltage corresponding to the resistance voltage division ratio at the node (ND1) selected by the switch 410 is supplied to the comparator 463. The trimming of the feedback resistor circuit FBR1 has the significance of setting the clamp voltages VfixA and VfixB to desirable voltages by matching the original voltage Vrefa of the power supply circuit 40 to a required level with respect to process variations. The resistor circuit 436 on the negative boost circuit side can be trimmed by optimizing the boost level control and the well bias voltage switching point for the negative boost voltage VPPMNS9 having the largest boost width, thereby optimizing the negative boost operation. Has the significance of Note that the resistor circuits 428 and 429 on the positive booster circuit side may be trimmed.

前記抵抗回路(トリミング抵抗回路とも称する)FBR1,436の出力ノードにおける抵抗分圧比を決定するためのスイッチ410の選択信号は図23に例示されるようにセレクタ470によって生成される。図23の例に従えば、セレクタ470はトリミング情報をデコードし、1本のスイッチ選択信号を選択レベルにする。セレクタ470はトリミング抵抗回路FBR1とトリミング抵抗回路436に個別化されており、図4に示されるトリミング制御部42に含まれている。   The selection signal of the switch 410 for determining the resistance voltage dividing ratio at the output node of the resistor circuit (also referred to as trimming resistor circuit) FBR1, 436 is generated by the selector 470 as illustrated in FIG. According to the example of FIG. 23, the selector 470 decodes the trimming information and sets one switch selection signal to the selection level. The selector 470 is individualized into the trimming resistor circuit FBR1 and the trimming resistor circuit 436, and is included in the trimming control unit 42 shown in FIG.

抵抗回路FBR1のトリミング情報は基準電圧トリミングレジスタTRMR1から抵抗回路FBR1のセレクタ470に供給され、抵抗回路436のトリミング情報は昇圧電圧トリミングレジスタTRMR2から抵抗回路436のセレクタ470に供給される。図25に例示されるように、基準電圧トリミングレジスタTRMR1に設定されるトリミング情報(基準電圧トリミング情報)はVR0〜VR4,TEVRとされる。昇圧電圧トリミングレジスタTRMR2に設定されるトリミング情報(昇圧電圧トリミング情報)はVM0〜VM4,TEVMとされる。   The trimming information of the resistor circuit FBR1 is supplied from the reference voltage trimming register TRMR1 to the selector 470 of the resistor circuit FBR1, and the trimming information of the resistor circuit 436 is supplied from the boost voltage trimming register TRMR2 to the selector 470 of the resistor circuit 436. As illustrated in FIG. 25, the trimming information (reference voltage trimming information) set in the reference voltage trimming register TRMR1 is VR0 to VR4 and TEVR. Trimming information (boosted voltage trimming information) set in the boosted voltage trimming register TRMR2 is VM0 to VM4 and TEVM.

図23に例示されるようにフラッシュメモリ3のメモリセルアレイ30には前記基準電圧トリミング情報と昇圧電圧トリミング情報を格納するための専用の記憶領域300が割り当てられている。この例に従えば、領域300の情報は、マイクロコンピュータ1のリセット動作に同期して前記レジスタTRMR1,TRMR2に転送される。この転送制御は、特に制限されないが、図24に示されるように、ハードウェアによって自動的に行われる。即ち、リセット信号RSTがアサートされると、フラッシュメモリ3の制御部43は前記領域300のデータをデータバス17に読み出すために、アドレスバッファ32、センスアンプ36、出力バッファ37などを制御して、自動的に前記領域300のデータを外部に読み出させる。一方、前記レジスタTRMR1,TRM2はリセット信号RSTのアサートに同期してデータバス17からデータを入力可能に制御される。これによって、領域300のデータがレジスタTRMR1,TRMR2に自動的に転送される。   As illustrated in FIG. 23, a dedicated storage area 300 for storing the reference voltage trimming information and the boosted voltage trimming information is allocated to the memory cell array 30 of the flash memory 3. According to this example, the information in the area 300 is transferred to the registers TRMR1 and TRMR2 in synchronization with the reset operation of the microcomputer 1. This transfer control is not particularly limited, but is automatically performed by hardware as shown in FIG. That is, when the reset signal RST is asserted, the control unit 43 of the flash memory 3 controls the address buffer 32, the sense amplifier 36, the output buffer 37, etc. in order to read the data in the area 300 to the data bus 17, The data in the area 300 is automatically read out to the outside. On the other hand, the registers TRMR1 and TRM2 are controlled so that data can be input from the data bus 17 in synchronization with the assertion of the reset signal RST. As a result, the data in area 300 is automatically transferred to registers TRMR1 and TRMR2.

前記基準電圧トリミング情報と昇圧電圧トリミング情報は、プロセスばらつきなどを吸収するためにデバイステスト時に決定される。図24に基づいて説明したデータ転送はマイクロコンピュータ1にテストモードが設定される場合にも行われる。デバイステストの初期の段階では、ウェーハ完成状態においてフラッシュメモリ3が書き込み状態(領域300のトリミング情報は全ビット論理値“0”の状態)であるから、レジスタTRMR1,TRMR2のトリミング情報は全ビット論理値“0”にされている。テストモードにおいて前記レジスタTRMR1,TRMR2はCPU2によってリード・ライト可能にされる。デバイステスト時には、前記モニタ端子VppMON,VssMONから正及び負の昇圧電圧をモニタして、それが規定の電圧になるように基準電圧トリミング情報及び昇圧電圧トリミング情報を決定する。このように決定された基準電圧トリミング情報及び昇圧電圧トリミング情報は、所定のテストモード下でCPU2により前記フラッシュメモリ3の所定領域300に格納される。その後、マイクロコンピュータ1がリセットされる毎に、前記最適に決定された基準電圧トリミング情報及び昇圧電圧トリミング情報にしたがって電源回路40が制御される。前記所定領域300は通常動作モード(もしくはユーザモード)ではアクセスが禁止される。所定のテストモードを再度設定すれば、前記領域をアクセスして基準電圧トリミング情報及び昇圧電圧トリミング情報を再設定することも可能である。半導体メーカによるデバイステストはウェーハ段階のテストのほかに出荷時のテストもある。各テスト段階で基準電圧トリミング情報及び昇圧電圧トリミング情報を設定することも可能である。出荷段階のテストを経て最後に基準電圧トリミング情報及び昇圧電圧トリミング情報を前記所定領域300に書き込むことが想定される。   The reference voltage trimming information and the boost voltage trimming information are determined at the time of a device test in order to absorb process variations and the like. The data transfer described with reference to FIG. 24 is also performed when the test mode is set in the microcomputer 1. In the initial stage of the device test, since the flash memory 3 is in a write state (trimming information in the region 300 is in a state where all bit logical values are “0”) in the wafer completion state, the trimming information in the registers TRMR1 and TRMR2 is in all bit logic. The value is set to “0”. In the test mode, the registers TRMR1 and TRMR2 can be read / written by the CPU2. At the time of device test, the positive and negative boosted voltages are monitored from the monitor terminals VppMON and VssMON, and the reference voltage trimming information and the boosted voltage trimming information are determined so that they become a prescribed voltage. The reference voltage trimming information and boosted voltage trimming information thus determined are stored in the predetermined area 300 of the flash memory 3 by the CPU 2 under a predetermined test mode. Thereafter, each time the microcomputer 1 is reset, the power supply circuit 40 is controlled in accordance with the optimally determined reference voltage trimming information and boosted voltage trimming information. Access to the predetermined area 300 is prohibited in the normal operation mode (or user mode). If the predetermined test mode is set again, the area can be accessed to reset the reference voltage trimming information and the boost voltage trimming information. Device tests by semiconductor manufacturers include tests at the time of shipment in addition to tests at the wafer stage. It is also possible to set reference voltage trimming information and boosted voltage trimming information at each test stage. It is assumed that the reference voltage trimming information and the boosted voltage trimming information are finally written in the predetermined area 300 after a test at the shipping stage.

この例に従えば、マイクロコンピュータのウェーハ完成状態においてフラッシュメモリ3は書き込み状態(例えばしきい値電圧の低い論理値“0”の状態)とされる。マイクロコンピュータの出荷時においてフラッシュメモリは消去状態(例えばしきい値電圧の高い論理値“1”の状態)にされる。書き込み状態と消去状態でトリミング状態が両極端になって電源回路の出力電圧に大きな差が出ないようにすることが望ましい。例えば、出荷段階のテストを経て最後に基準電圧トリミング情報及び昇圧電圧トリミング情報を前記所定領域300に書き込む場合、ウェーハ段階のテストに際して初期的に得られる昇圧電圧と、出荷時のテストに際して初期的に得られる昇圧電圧との間に無視し得ない大きな差がある場合にはテストもしくは検査効率が低下することが考えられる。また、トリミング不要なマイクロコンピュータチップの場合には消去状態のまま出荷できる。   According to this example, the flash memory 3 is in a writing state (for example, a state of a logical value “0” having a low threshold voltage) in a wafer completion state of the microcomputer. At the time of shipment of the microcomputer, the flash memory is in an erased state (for example, a state of a logical value “1” having a high threshold voltage). It is desirable that the trimming state becomes extreme between the writing state and the erasing state so that a large difference in the output voltage of the power supply circuit does not occur. For example, when the reference voltage trimming information and the boosted voltage trimming information are finally written in the predetermined region 300 after the shipping stage test, the boosted voltage initially obtained in the wafer stage test and the initial stage in the shipping test are initially set. If there is a large difference that cannot be ignored from the boosted voltage obtained, the test or inspection efficiency may be reduced. In the case of a microcomputer chip that does not require trimming, it can be shipped in an erased state.

そのために、前記セレクタ470は、図23に例示されるように、トリミング調整情報が全ビット論理値“1”のときのトリミング位置とトリミング調整情報が全ビット論理値“0”のときのトリミング位置とを隣り合うように選択する選択論理を有する。これにより、ウェーハ完成状態においてフラッシュメモリ3が書き込み状態にされたときと、出荷時にフラッシュメモリが消去状態にされたときとの双方において、前記電源回路の出力電圧の相違を最小にすることができる。例えば図23の例に従えば、ウェーハ完成状態においてフラッシュメモリ3が書き込み状態(領域300のトリミング情報は全ビット論理値“0”の状態)のとき、“000”で示されトリミング位置でスイッチが選択され、マイクロコンピュータの出荷時においてフラッシュメモリが消去状態(領域300のトリミング情報は全ビット論理値“1”の状態)のとき、“111”で示されトリミング位置でスイッチが選択される。   Therefore, as illustrated in FIG. 23, the selector 470 performs the trimming position when the trimming adjustment information is the all-bit logical value “1” and the trimming position when the trimming adjustment information is the all-bit logical value “0”. Are selected so as to be adjacent to each other. As a result, the difference in the output voltage of the power supply circuit can be minimized both when the flash memory 3 is in the written state in the wafer completion state and when the flash memory is in the erased state at the time of shipment. . For example, according to the example of FIG. 23, when the flash memory 3 is in the write state (trimming information in the area 300 is in the state of all bit logical values “0”) in the wafer completion state, it is indicated by “000” and the switch is set at the trimming position. When the microcomputer is shipped and the flash memory is in the erased state (the trimming information in the area 300 is in the state of all bit logical values “1”), the switch is selected at the trimming position indicated by “111”.

図12から明らかなように、前記トリミング調整情報はフラッシュメモリ3の読み出し電圧にも影響する。即ち、トリミング対象とされる帰還抵抗回路FBR1を含む定電圧回路401が出力するクランプ電圧Vrefaは、読み出し電源を生成するリード用クランプ電源回路403の参照電圧とされる。このとき、フラッシュメモリ3からレジスタTRMR1へのトリミング調整情報の転送は、フラッシュメモリ3に対する読み出し動作の規定アクセス時間よりも長い時間を費やして読み出しアクセスを行なえるとき行うことが、誤動作を防止する上で望ましい。なぜなら、読み出し電圧が多少規定された値より低い場合でも、読み出し時間を長くすれば、正確にメモリアレイからデータを読み出せるからである。この点においてマイクロコンピュータ1は、トリミング調整情報の初期的な転送をリセット動作に同期して行うようになっている。したがって、トリミング動作の確定までの内部電圧の変動をリセット中に確定でき、リセット動作後には読み出し動作を安定させることができる。前記トリミング調整情報がフラッシュメモリ3の書き込み及び消去電圧にのみ影響する場合には、トリミング調整情報の転送は、リセット期間中、又はリセット解除後の最初のベクタフェッチ(命令フェッチ)前に行えばよい。   As is apparent from FIG. 12, the trimming adjustment information also affects the read voltage of the flash memory 3. That is, the clamp voltage Vrefa output from the constant voltage circuit 401 including the feedback resistor circuit FBR1 to be trimmed is used as a reference voltage for the read clamp power supply circuit 403 that generates the read power supply. At this time, the transfer of the trimming adjustment information from the flash memory 3 to the register TRMR1 is performed when the read access to the flash memory 3 can be performed in a time longer than the specified access time of the read operation in order to prevent malfunction. Is desirable. This is because even if the read voltage is slightly lower than a prescribed value, if the read time is extended, data can be read accurately from the memory array. In this respect, the microcomputer 1 performs initial transfer of trimming adjustment information in synchronization with the reset operation. Therefore, fluctuations in the internal voltage until the trimming operation is confirmed can be determined during the reset, and the read operation can be stabilized after the reset operation. When the trimming adjustment information affects only the write and erase voltages of the flash memory 3, the trimming adjustment information may be transferred during the reset period or before the first vector fetch (instruction fetch) after reset release. .

《フラッシュメモリに対する書き換えシーケンス》
前記フラッシュメモリ3の書き換え制御レジスタFLMCR1及び消去ブロック指定レジスタEBR1の詳細な一例は図25に示されている。消去ブロック指定レジスタEBR1のビットEB0〜EB7は消去ブロック指定データである。
<Rewrite sequence for flash memory>
A detailed example of the rewrite control register FLMCR1 and the erase block designation register EBR1 of the flash memory 3 is shown in FIG. Bits EB0 to EB7 of the erase block designation register EBR1 are erase block designation data.

書き換え制御レジスタFLMCR1はP,E,PV,EV,PSU,ESU,SWE,FWEの各制御ビットを有し、それらの真値は特に制限されないが、論理値“1”とされる。   The rewrite control register FLMCR1 has control bits of P, E, PV, EV, PSU, ESU, SWE, and FWE, and their true values are not particularly limited, but are set to a logical value “1”.

書き換えイネーブルビットSWEは前記電源回路40による昇圧動作の準備状態を指示する。例えば、書き換えイネーブルビットSWEが論理値“1”にされると、図13に示される制御信号OSEがアサートされ、これによってリングオシレータ48が発振動作を開始し、クロック信号CLKを出力する。さらに、昇圧用クランプ電源VfixBが活性化する。   The rewrite enable bit SWE indicates a preparation state for the boosting operation by the power supply circuit 40. For example, when the rewrite enable bit SWE is set to the logical value “1”, the control signal OSE shown in FIG. 13 is asserted, whereby the ring oscillator 48 starts the oscillation operation and outputs the clock signal CLK. Further, the boost clamp power supply VfixB is activated.

書き込みセットアップビットPSUは前記電源回路40に書き込み用の昇圧動作の開始を指示する。この例に従えば、書き込みセットアップビットPSUが論理値“1”にされると、図13に示される制御信号VPE1,VPE2、VPE3がアサートされ、クロックドライバ420,421、434とチャージポンプ回路45,46,47の動作が開始され、電圧VPP6,VPP9、VPPMNS9は+6.5V,+9.5V,−9.5Vへの昇圧動作が開始される。実質的に昇圧動作が行われるためにはリングオシレータ48からのクロック信号CLKの供給が前提である。   The write setup bit PSU instructs the power supply circuit 40 to start a boost operation for writing. According to this example, when the write setup bit PSU is set to the logical value “1”, the control signals VPE1, VPE2, and VPE3 shown in FIG. 13 are asserted, and the clock drivers 420, 421, and 434 and the charge pump circuit 45, The operation of 46, 47 is started, and the voltage VPP6, VPP9, VPPMNS9 is started to step up to + 6.5V, + 9.5V, -9.5V. In order to substantially perform the boosting operation, it is premised on the supply of the clock signal CLK from the ring oscillator 48.

書き込みイネーブルビットPは、昇圧電圧VPP6,VPP9、VPPMNS9を用いた書き込み動作の開始を指示する。   The write enable bit P instructs the start of a write operation using the boosted voltages VPP6, VPP9, and VPPMNS9.

消去セットアップビットESUは前記電源回路40に消去用の昇圧動作の開始を指示する。この例に従えば、消去セットアップビットESUが論理値“1”にされると、図13に示される制御信号VPE2と図14に示される制御信号VPE3がアサートされ、クロックドライバ420,434とチャージポンプ回路45,47の動作が開始され、電圧VPP9,VPPMNS9は+9.5V,−9.5Vへの昇圧動作が開始される。実質的に昇圧動作が行われるためにはリングオシレータ48からのクロック信号CLKの供給が前提である。   The erase setup bit ESU instructs the power supply circuit 40 to start the boosting operation for erase. According to this example, when the erase setup bit ESU is set to the logical value “1”, the control signal VPE2 shown in FIG. 13 and the control signal VPE3 shown in FIG. 14 are asserted, and the clock drivers 420 and 434 and the charge pump The operations of the circuits 45 and 47 are started, and the voltage VPP9 and VPPMNS9 are started to be boosted to + 9.5V and −9.5V. In order to substantially perform the boosting operation, it is premised on the supply of the clock signal CLK from the ring oscillator 48.

消去イネーブルビットEは、昇圧電圧VPP9,VPPMNS9を用いた消去動作の開始を指示する。   The erase enable bit E instructs the start of the erase operation using the boosted voltages VPP9 and VPPMNS9.

昇圧手段で規定の昇圧電圧を得るには少なからず時間を要し、その時間はプロセスばらつきの影響を受ける。書き込み及び消去動作は昇圧電圧が規定電圧に達してから開始されなければならない。このとき、昇圧動作の開始から書き込みを開始するまでの時間は、ビットPSUを論理値“1”に設定してからビットPを論理値“1”に設定するまでの時間によって決定することができる。同様に、昇圧動作の開始から消去を開始するまでの時間は、ビットESUを論理値“1”に設定してからビットEを論理値“1”に設定するまでの時間によって決定することができる。それらビットの設定は、CPU2によるソフトウェアの実行で実現する。これにより、消去や書き込み動作が指示されてから実際に消去や書き込みを開始するタイミングを管理するタイマなどのハードウェアを削減することができる。また、回路特性に応じてそのような時間設定を任意に決定できる。   It takes time to obtain a specified boosted voltage by the boosting means, and the time is affected by process variations. Write and erase operations must be started after the boosted voltage reaches a specified voltage. At this time, the time from the start of the boost operation to the start of writing can be determined by the time from the setting of the bit PSU to the logical value “1” to the setting of the bit P to the logical value “1”. . Similarly, the time from the start of the boost operation to the start of erasing can be determined by the time from setting the bit ESU to the logical value “1” to setting the bit E to the logical value “1”. . These bits are set by executing software by the CPU 2. As a result, it is possible to reduce hardware such as a timer that manages the timing of actually starting erase or write after an erase or write operation is instructed. Further, such a time setting can be arbitrarily determined according to circuit characteristics.

また、書き換えイネーブルビットSWEが真値であることを条件に、前記消去セットアップビットESUと書き込みセットアップビットPSUによる昇圧動作の開始が実質的に受け付け可能になるから、書き込み又は消去動作は前記書き換えイネーブルビットSWEが真値であることを条件に実行可能にされる。したがって、CPU2の暴走などによってフラッシュメモリ3が不所望に書き換えられる事態の発生を阻止するのに役立つ。   In addition, on the condition that the rewrite enable bit SWE is a true value, the start of the boost operation by the erase setup bit ESU and the write setup bit PSU can be substantially accepted. Execution is possible on condition that SWE is a true value. Therefore, it is useful for preventing the occurrence of a situation where the flash memory 3 is undesirably rewritten due to a runaway of the CPU 2 or the like.

前記書き換え制御レジスタFLMCR1のプロテクトビットFWEは外部端子Pfweの状態に応じた値が設定される。FWEは読み出し専用ビットとされる。このプロテクトビットFWEはそれが真値例えば論理値“1”であることを条件に、前記昇圧イネーブルビットSWEの論理値“1”への設定を可能にするインターロックを行う。すなわち、昇圧イネーブルビットSWEの初期化信号のひとつとしてプロテクトビットFWEを用いる。FWE=1のときのみ昇圧イネーブルビットSWEのセット・クリアが可能とされ、FWE=0では昇圧イネーブルビットは初期状態となる。例えば、データバスからの対応信号線と前記プロテクトビットFWEとの論理積を採る図示を省略する論理積ゲートを設け、昇圧イネーブルビットSWEビットはその論理積ゲートの出力とすることができる。これによってインターロックを実現できる。プロテクトビットFWEによるインターロックを追加することにより、SWEとFWEによる書き換えプロテクトを二重にすることができ、フラッシュメモリ3に対する不所望な書き換え阻止の信頼性を更の向上させることができる。   The protect bit FWE of the rewrite control register FLMCR1 is set to a value corresponding to the state of the external terminal Pfwe. FWE is a read-only bit. The protect bit FWE performs an interlock that enables the boost enable bit SWE to be set to a logical value “1” on the condition that it is a true value, for example, a logical value “1”. That is, the protect bit FWE is used as one of the initialization signals of the boost enable bit SWE. Only when FWE = 1, the boost enable bit SWE can be set / cleared. When FWE = 0, the boost enable bit is in the initial state. For example, an unillustrated AND gate that takes the logical product of the corresponding signal line from the data bus and the protect bit FWE is provided, and the boost enable bit SWE bit can be the output of the AND gate. As a result, an interlock can be realized. By adding an interlock by the protect bit FWE, the rewrite protection by the SWE and the FWE can be doubled, and the reliability of the undesired rewrite prevention for the flash memory 3 can be further improved.

図26及び図27にはCPU2による消去動作の制御フローチャートの一例が示される。CPU2はレジスタFLMCR1のSWEビットを論理値“1”に設定する(S1)。この設定が可能にされるためには、外部端子Pfweに論理値“1”の信号が印加されてプロテクトビットFWEが論理値“1”にされていることが必要である。これによってリングオシレータが発振開始される。そして適宜のレジスタにn=1を代入し(S2)、レジスタEBR1に消去ブロックを設定する(S3)。次にレジスタFLMCR1のESUビットの論理値“1”を設定する(S4)。これによってクロックドライバ420、434とチャージポンプ回路45,47による昇圧動作が開始される。一定時間経過後、FLMCR1のEビットを論理値“1”にセットすると、消去動作が開始される(S5)。消去動作の終了後、FLMCR1のEビットを論理値“0”にクリアすると、消去動作が停止される(S6)。そして、FLMCR1のESUビット2を論理値“0”にクリアして昇圧動作を停止させる(S7)この後、FLMCR1のEVビットを論理値“1”にセットすることにより(S8)、前記消去動作に対する消去ベリファイが行われることになる。消去ベリファイ動作では、ベリファイアドレスへのダミーライト(S9)とベリファイデータのリード(S10)を行った後、リードしたベリファイデータが全ビット論理値“1”であるかの判定を行う(S11)。全ビット論理値“1”であれば、ラストアドレスに到達するまでアドレスインクリメントを行い(S12,S13)、アドレスインクリメント毎に前記処理を繰り返す。S11でリードしたデータが論理値“1”でない場合には、消去動作が不十分であるから、EVビットをクリアし(S14)、消去の繰り返し回数が上限(N)に達していない場合には(S15のNG)、再度S4に戻って消去状態を進める。S12においてラストアドレスまで処理が進行した場合には、消去ベリファイは正常完了とされる。S15において、消去回数が上限に達した場合には消去ベリファイは異常終了とされる。   FIG. 26 and FIG. 27 show an example of a control flowchart of the erase operation by the CPU 2. The CPU 2 sets the SWE bit of the register FLMCR1 to a logical value “1” (S1). In order to enable this setting, it is necessary that a signal having a logical value “1” is applied to the external terminal Pfwe and the protect bit FWE is set to the logical value “1”. As a result, the ring oscillator starts to oscillate. Then, n = 1 is substituted into an appropriate register (S2), and an erase block is set in the register EBR1 (S3). Next, the logical value “1” of the ESU bit of the register FLMCR1 is set (S4). As a result, the boosting operation by the clock drivers 420 and 434 and the charge pump circuits 45 and 47 is started. When the E bit of FLMCR1 is set to a logical value “1” after a predetermined time has elapsed, an erasing operation is started (S5). When the E bit of FLMCR1 is cleared to the logical value “0” after the erase operation is finished, the erase operation is stopped (S6). Then, the ESU bit 2 of the FLMCR1 is cleared to the logical value “0” to stop the boosting operation (S7). Thereafter, the EV bit of the FLMCR1 is set to the logical value “1” (S8), so that the erasing operation is performed. Erase verification is performed for. In the erase verify operation, after performing dummy write (S9) to the verify address and verify data read (S10), it is determined whether the read verify data is all bit logical values “1” (S11). If all bit logical values are “1”, the address is incremented until the last address is reached (S12, S13), and the above process is repeated for each address increment. If the data read in S11 is not the logical value “1”, the erase operation is insufficient. Therefore, the EV bit is cleared (S14), and the number of repetitions of erase does not reach the upper limit (N). (NG in S15), the process returns to S4 again to advance the erased state. If the process proceeds to the last address in S12, the erase verify is normally completed. In S15, when the number of times of erasure reaches the upper limit, the erase verify is terminated abnormally.

図28及び図29にはCPU2による書き込み動作の制御フローチャートの一例が示される。CPU2はレジスタFLMCR1のSWEビットを論理値“1”に設定する(T1)。この設定が可能にされるためには、外部端子Pfweに論理値“1”の信号が印加されてプロテクトビットFWEが論理値“1”にされていることが必要である。これによってリングオシレータが発振開始される。そして適宜のレジスタにn=1を代入し(T2)、適宜のフラグflagをクリア(=0)する(T3)。そして、例えば32バイトの書き込みデータをフラッシュメモリ3に連続ライトする(T4)。ライトデータはフラッシュメモリ3の書き込み回路に含まれるデータレジスタに保持される。次にレジスタFLMCR1のPSUビットの論理値“1”を設定する(T5)。これによってクロックドライバ420、421、434、とチャージポンプ回路45、46、47による昇圧動作が開始される。一定時間経過後、FLMCR1のPビットを論理値“1”にセットすると、書き込み動作が開始される(T6)。書き込み動作の終了後、FLMCR1のPビットを論理値“0”にクリアすると、書き込み動作が停止される(T7)。そして、FLMCR1のPSUビット2を論理値“0”にクリアして昇圧動作を停止させる(T8)。   FIG. 28 and FIG. 29 show an example of a control flowchart of the write operation by the CPU 2. The CPU 2 sets the SWE bit of the register FLMCR1 to a logical value “1” (T1). In order to enable this setting, it is necessary that a signal having a logical value “1” is applied to the external terminal Pfwe and the protect bit FWE is set to the logical value “1”. As a result, the ring oscillator starts to oscillate. Then, n = 1 is assigned to an appropriate register (T2), and an appropriate flag flag is cleared (= 0) (T3). Then, for example, 32-byte write data is continuously written to the flash memory 3 (T4). Write data is held in a data register included in the write circuit of the flash memory 3. Next, the logical value “1” of the PSU bit of the register FLMCR1 is set (T5). As a result, the boost operation by the clock drivers 420, 421, 434 and the charge pump circuits 45, 46, 47 is started. When the P bit of FLMCR1 is set to a logical value “1” after a predetermined time has elapsed, a write operation is started (T6). After the write operation is completed, when the P bit of FLMCR1 is cleared to a logical value “0”, the write operation is stopped (T7). Then, the PSU bit 2 of FLMCR1 is cleared to the logical value “0” to stop the boosting operation (T8).

この後、FLMCR1のPVビットを論理値“1”にセットすることにより(T9)、前記書き込み動作に対する書き込みベリファイが行われることになる。書き込みベリファイ動作では、ベリファイアドレスへのダミーライト(T10)とベリファイデータのリード(T11)を行った後、リードしたベリファイデータと書き込みの元データに基づいて再書き込みデータを演算し、演算された再書き込みデータが全ビット論理値“1”かの判定を行う(T12)。再書き込みデータの演算は図30に示されるようにして行う。再書き込みデータが全ビット“1”であれば再書き込みデータをRAMに転送し(T13)、32バイトのデータのベリファイが完了するまでアドレスインクリメントを行い(T14,T15)、アドレスインクリメント毎に前記処理を繰り返す。ステップT12で再書き込みデータが全ビット“1”でない場合には、フラグflagを“1”にセットして(T16)、前記ステップT14へ進む。32バイトのベリファイ動作を完了すると、PVビットをクリアし(S17)、フラグflagを判定する(T18)。flag=0であれば32バイトの書き込みは正常であるから、SWEビットをクリアして(T19)、書き込み動作を終了する。ステップT18においてflag=1であれば書き込み回数が既定の上限値Nに達していないかを判定し(T20)、既定値に達しているときはSWEビットをクリアして(T21)、異常終了とされる。書き込み動作の繰り返し回数が上限(N)に達していない場合には、カウンタnをインクリメントして(T22)、前記ステップT3に戻る。   Thereafter, by setting the PV bit of FLMCR1 to the logical value “1” (T9), the write verify for the write operation is performed. In the write verify operation, after performing dummy write (T10) to the verify address and verify data read (T11), the rewrite data is calculated based on the read verify data and the original data of the write, It is determined whether the write data is all bit logical values “1” (T12). The calculation of rewrite data is performed as shown in FIG. If the rewrite data is all bits “1”, the rewrite data is transferred to the RAM (T13), and the address increment is performed until the verification of the 32-byte data is completed (T14, T15). repeat. If the rewritten data is not all bits “1” in step T12, the flag flag is set to “1” (T16), and the process proceeds to step T14. When the 32-byte verify operation is completed, the PV bit is cleared (S17), and the flag flag is determined (T18). If flag = 0, writing of 32 bytes is normal, so the SWE bit is cleared (T19) and the writing operation is terminated. If flag = 1 in step T18, it is determined whether the number of writes has reached the predetermined upper limit value N (T20). If the predetermined number has been reached, the SWE bit is cleared (T21), and an abnormal end is determined. Is done. If the number of repetitions of the write operation has not reached the upper limit (N), the counter n is incremented (T22), and the process returns to step T3.

図31には書き込みに際して必要な高電圧の印加が内部回路に与える負担を少なくするためワード線駆動電圧切換え方式の一例が示される。概略的には、ワード線を一旦接地電位Vssにしてから動作電圧を切り換える。即ち、PSUビットによって書き込み用昇圧回路の昇圧動作が指示されたとき、図31の(B)で示される期間に全てのワード線が接地電位Vssに強制される。次に、図31の(C)で示される期間に、ワードドライバWDRVの電源VPPX2,VSSXW,VSSXSが夫々接地電位Vssに切り換えられる。次にアドレス制御の欄に記載されるように、ワード線選択の極性が反転される。例えばアドレス信号に基づいてワード線選択信号を形成するXアドレスデコーダの選択レベルをハイレベル(読み出し動作時)からローレベル(書き込み動作時)に論理反転させる。その後で、図31の(E)に示されるように、ワードドライバの電源を書き込み用の電源に切り換える。書き込みを終了するときも同様に、全ワード線を接地電位Vssに強制し、ドライバの電源VPPX1,VSSXW,VSSXSを接地電位Vssに切換え、ワード線選択論理の極性を変更し、電源の切換えを行う。上記電源の切換えは電源回路40に含まれる電源供給スイッチ群で行い、その制御は、電源制御部41の書き込みシーケンサが行う。   FIG. 31 shows an example of a word line drive voltage switching system in order to reduce the burden imposed on the internal circuit by the application of a high voltage necessary for writing. Schematically, the operating voltage is switched after the word line is once set to the ground potential Vss. That is, when the boosting operation of the write boosting circuit is instructed by the PSU bit, all word lines are forced to the ground potential Vss during the period shown in FIG. Next, the power sources VPPX2, VSSXW, and VSSXS of the word driver WDRV are respectively switched to the ground potential Vss during the period shown in FIG. Next, as described in the column of address control, the polarity of the word line selection is reversed. For example, the selection level of the X address decoder that forms the word line selection signal based on the address signal is logically inverted from a high level (during a read operation) to a low level (during a write operation). After that, as shown in FIG. 31E, the power supply of the word driver is switched to the power supply for writing. Similarly, when writing is finished, all word lines are forced to the ground potential Vss, the driver power supplies VPPX1, VSSXW, VSSXS are switched to the ground potential Vss, the polarity of the word line selection logic is changed, and the power supply is switched. . The switching of the power is performed by a power supply switch group included in the power circuit 40, and the control is performed by the write sequencer of the power controller 41.

以上本発明者によってなされた発明を実施形態に基づいて具体的に説明したが、本発明はそれに限定されるものではなく、その要旨を逸脱しない範囲において種々変更可能であることは言うまでもない。   Although the invention made by the present inventor has been specifically described based on the embodiments, it is needless to say that the present invention is not limited thereto and can be variously modified without departing from the gist thereof.

例えば、外部単一電源は2.7〜5.5Vに限定されない。昇圧電圧は6.5V,9.5V,−9.5Vに限定されず変更可能である。同様にクランプ電圧も2.5Vに限定されない。更に、書き込み及び消去の電圧印加態様も上記に限定されない。また、昇圧回路やクランプ回路の構成は適宜変更できる。また、電流供給能力が大きければリード系と昇圧系で分けたクランプ電源を共通化することも可能である。マイクロコンピュータの内蔵モジュールは適宜変更できる。また、フラッシュメモリは、NOR、ANDなどの適宜の回路形式を採用することが可能である。フラッシュメモリはプログラムメモリを代替する用途に限定されず、もっぱらデータ格納用途に用いるものであってもよい。   For example, the external single power source is not limited to 2.7 to 5.5V. The boosted voltage is not limited to 6.5V, 9.5V, and -9.5V, and can be changed. Similarly, the clamp voltage is not limited to 2.5V. Furthermore, the voltage application mode for writing and erasing is not limited to the above. The configurations of the booster circuit and the clamp circuit can be changed as appropriate. In addition, if the current supply capability is large, it is possible to share a clamp power source divided into a lead system and a boost system. The built-in module of the microcomputer can be changed as appropriate. The flash memory can adopt an appropriate circuit format such as NOR or AND. The flash memory is not limited to the use replacing the program memory, and may be used exclusively for data storage.

以上の説明では主として本発明者によってなされた発明をその背景となった利用分野である機器組み込み制御用とのマイクロコンピュータに適用した場合について説明したが、本発明はそれに限定されず、汎用用途のマイクロコンピュータ、その他の専用コントローラLSIなど半導体集積回路に広く適用することができる。   In the above description, the case where the invention made mainly by the present inventor is applied to a microcomputer for device embedded control, which is a field of use that is the background of the invention, has been described. The present invention can be widely applied to semiconductor integrated circuits such as microcomputers and other dedicated controller LSIs.

電源回路の主要部を概略的に示すブロック図である。It is a block diagram which shows roughly the principal part of a power supply circuit. 図1の比較例を示すブロック図である。It is a block diagram which shows the comparative example of FIG. 本発明の一例に係るマイクロコンピュータのブロック図である。It is a block diagram of a microcomputer according to an example of the present invention. マイクロコンピュータに内蔵されるフラッシュメモリの全体的なブロック図である。1 is an overall block diagram of a flash memory built in a microcomputer. メモリセルアレイの構成例を示す回路図である。It is a circuit diagram which shows the structural example of a memory cell array. 消去動作の電圧印加状態の一例を示す回路図である。It is a circuit diagram which shows an example of the voltage application state of erase operation. 書き込み動作の電圧印加状態の一例を示す回路図である。It is a circuit diagram which shows an example of the voltage application state of write-in operation | movement. フラッシュメモリの各部における動作電源を示すブロック図である。It is a block diagram which shows the operating power supply in each part of flash memory. 図8に示される各種動作電源の意味を示す説明図である。It is explanatory drawing which shows the meaning of the various operation | movement power supply shown by FIG. 図8に示される各種動作電源の電圧と動作との関係を示す説明図である。It is explanatory drawing which shows the relationship between the voltage of various operation | movement power supply shown by FIG. 8, and operation | movement. 図8の各種動作電源が採り得る電圧を整理して示した説明図である。It is explanatory drawing which arranged and showed the voltage which the various operation power supplies of FIG. 8 can take. 電圧クランプ手段の一例回路図である。It is an example circuit diagram of a voltage clamp means. 第1及び第2の正昇圧回路の一例回路図である。It is an example circuit diagram of the 1st and 2nd positive booster circuit. 負正昇圧回路の一例回路図である。It is an example circuit diagram of a negative positive booster circuit. 正の昇圧電圧を選択的にモニタ可能にする回路の説明図である。It is explanatory drawing of the circuit which makes it possible to selectively monitor a positive boost voltage. 第1の定電圧発生回路のトリミング抵抗回路の説明図である。It is explanatory drawing of the trimming resistance circuit of the 1st constant voltage generation circuit. 第1の定電圧発生回路の詳細な一例回路図である。It is a detailed example circuit diagram of a first constant voltage generation circuit. 昇圧動作クロック信号の波形説明図である。FIG. 10 is a waveform explanatory diagram of a boost operation clock signal. 負電圧昇圧用のチャージポンプ回路及びクロックドライバの一例回路図である。It is an example circuit diagram of the charge pump circuit and clock driver for negative voltage boosting. 図19に示されたクロックドライバの論理構成によって生成されるクロック信号及び駆動信号の波形説明図である。FIG. 20 is a waveform explanatory diagram of a clock signal and a drive signal generated by the logic configuration of the clock driver shown in FIG. 19. チャージポンプ回路の前記基板バイアス電圧を切り換えるための構成を概略的に示すブロック図である。It is a block diagram which shows roughly the structure for switching the said substrate bias voltage of a charge pump circuit. 負電圧昇圧動作における昇圧電圧の遷移状態を示す説明図である。It is explanatory drawing which shows the transition state of the boost voltage in negative voltage boost operation. トリミング抵抗回路におけるトリミング方式の概念図である。It is a conceptual diagram of the trimming system in a trimming resistor circuit. マイクロコンピュータのリセット動作に同期してトリミング調整情報をフラッシュメモリからコントロールレジスタに転送する方式の説明図である。It is explanatory drawing of the system which transfers trimming adjustment information from a flash memory to a control register synchronizing with the reset operation | movement of a microcomputer. コントロールレジスタの一例フォーマット図である。It is an example format figure of a control register. CPUによる消去動作制御の一部を示すフローチャートである。It is a flowchart which shows a part of erase operation control by CPU. CPUによる消去動作制御の残りを示すフローチャートである。It is a flowchart which shows the remainder of erase operation control by CPU. CPUによる書き込み動作制御の一部を示すフローチャートである。It is a flowchart which shows a part of write-in operation control by CPU. CPUによる書き込み動作制御の残りを示すフローチャートである。It is a flowchart which shows the remainder of write-in operation control by CPU. 再書き込みデータの演算手法の説明図であるIt is explanatory drawing of the calculation method of rewriting data. 書き込みに際して必要な高電圧の印加が内部回路に与える負担を少なくするためワード線駆動電圧切換え処理の一例を示すタイミング図である。FIG. 10 is a timing diagram illustrating an example of a word line drive voltage switching process in order to reduce a load imposed on an internal circuit by application of a high voltage necessary for writing.

符号の説明Explanation of symbols

1 マイクロコンピュータ
2 中央処理装置
3 フラッシュメモリ
4 フラッシュメモリ用のコントロールレジスタ
FLMCR1 書き換え制御レジスタ
TRMR1 基準電圧トリミングレジスタ
TRMR2 昇圧電圧トリミングレジスタ
Vcc 外部単一電源電圧
Vss 接地電圧
Pvcc Vcc外部端子
Pvss Vss外部端子
VppMON、VssMON モニタ端子
Pfwe 書き込みプロテクト端子
RES リセット端子
30 メモリセルアレイ
31 Xデコーダ
31Y Yデコーダ
33 ワードドライバ
40 電源回路
41 電源制御部
42 トリミング制御部
44 電圧クランプ手段
45、46 正昇圧用チャージポンプ回路
47 負昇圧用チャージポンプ回路
48 リングオシレータ
300 主ビット線
301副ビット線
302 不揮発性メモリセル
304 ソース線
305 ワード線
400 基準電圧発生回路
401 第1の定電圧回路
402 第2の定電圧回路
403 第3の定電圧回路
FBR1 帰還抵抗回路(トリミング抵抗回路)
FBR2,FBR3 帰還抵抗回路
Vref 基準電圧
Vrefa,VfixA,VfixB クランプ電圧
CLK クロック信号
420,421,434 クロックドライバ
436 トリミング抵抗回路
444,445 遅延回路
VPP6,VPP9 正の昇圧電圧
460 基板バイアス電圧の切換え手段
VPPMNS9 負の昇圧電圧
461 SRフリップフロップ
464 比較器
NP 昇圧ノード
Q10,Q11,Q12 負昇圧用pチャンネル型MOSトランジスタ
C1,C2 負昇圧用容量素子
DS1〜DS4 駆動信号
470 セレクタ
330 フラッシュメモリにおけるトリミング情報格納領域
FWE プロテクトビット
SWE 書き換えイネーブルビット
ESU 消去セットアップビット
PSU 書き込みセットアップビット
E 消去イネーブルビット
P 書き込みイネーブルビット
DESCRIPTION OF SYMBOLS 1 Microcomputer 2 Central processing unit 3 Flash memory 4 Flash memory control register FLMCR1 Rewrite control register TRMR1 Reference voltage trimming register TRMR2 Boost voltage trimming register Vcc External single power supply voltage Vss Ground voltage Pvcc Vss external terminal Pvss Vss external terminal VppMON, VssMON monitor terminal Pfwe write protect terminal RES reset terminal 30 memory cell array 31 X decoder 31Y Y decoder 33 word driver 40 power supply circuit 41 power supply control section 42 trimming control section 44 voltage clamping means 45, 46 positive boost charge pump circuit 47 negative boost Charge pump circuit 48 Ring oscillator 300 Main bit line 301 Sub bit line 302 Non-volatile Moriseru 304 source lines 305 word lines 400 reference voltage generating circuit 401 first constant voltage circuit 402 the second constant voltage circuit 403 third constant voltage circuit FBR1 feedback resistive (trimming resistor circuit)
FBR2, FBR3 Feedback resistor circuit Vref Reference voltage Vrefa, VfixA, VfixB Clamp voltage CLK Clock signal 420, 421, 434 Clock driver 436 Trimming resistor circuit 444, 445 Delay circuit VPP6, VPP9 Positive boost voltage 460 Substrate bias voltage switching means VPPMS9 Negative boost voltage 461 SR flip-flop 464 Comparator NP Boost node Q10, Q11, Q12 Negative boost p-channel MOS transistor C1, C2 Negative boost capacitor DS1-DS4 Drive signal 470 Selector 330 Trimming information storage area in flash memory FWE protect bit SWE rewrite enable bit ESU erase setup bit PSU write setup bit E erase enable Rubitto P write enable bit

Claims (6)

所定電圧を受けて昇圧電圧を発生するための昇圧回路を具備する半導体集積回路であって、
前記昇圧回路は、
前記昇圧電圧を発生するために、MOSトランジスタとキャパシタとに接続される昇圧ノードを有するチャージポンプ回路と、
昇圧動作開始から前記昇圧回路が出力する電圧が前記昇圧電圧まで達する途中に、前記MOSトランジスタのしきい値が小さくなるように基板バイアス電圧を切り替えるためのスイッチ手段とを有することを特徴とする半導体集積回路。
A semiconductor integrated circuit comprising a booster circuit for receiving a predetermined voltage and generating a boosted voltage,
The booster circuit includes:
A charge pump circuit having a boost node connected to a MOS transistor and a capacitor to generate the boost voltage;
And a switching means for switching a substrate bias voltage so that a threshold value of the MOS transistor becomes small while a voltage output from the booster circuit reaches the boosted voltage from the start of a boosting operation. Integrated circuit.
請求項1において、
前記昇圧回路は、負の昇圧電圧を発生する回路であり、
前記MOSトランジスタは、P型MOSトランジスタであり、
前記スイッチ手段は、前記基板バイアス電圧を前記所定電圧から接地電圧に切り替えることを特徴とする半導体集積回路。
In claim 1,
The booster circuit is a circuit that generates a negative boosted voltage,
The MOS transistor is a P-type MOS transistor,
The switch means switches the substrate bias voltage from the predetermined voltage to a ground voltage.
電気的に消去及び書き込み可能な不揮発性メモリと、前記不揮発性メモリをアクセス可能な中央処理装置とを1個の半導体基板に含み、外部電源端子に供給される単一の電源電圧を動作電源とする半導体集積回路であって、
前記不揮発性メモリは、電源電圧依存性の小さな基準電圧を用いて前記単一の電源電圧よりレベルの低い第1の電圧に出力電圧をクランプする電圧クランプ手段と、前記電圧クランプ手段の出力電圧を正の高電圧と負の高電圧に昇圧可能な昇圧手段と、前記昇圧手段から出力される正及び負の高電圧を用いて消去及び書き込みが行われる複数個の不揮発性メモリセルとを含んで成るものであることを特徴とする半導体集積回路。
An electrically erasable and writable nonvolatile memory and a central processing unit capable of accessing the nonvolatile memory are included in one semiconductor substrate, and a single power supply voltage supplied to an external power supply terminal is used as an operating power supply. A semiconductor integrated circuit,
The nonvolatile memory includes a voltage clamping unit that clamps an output voltage to a first voltage that is lower in level than the single power supply voltage by using a reference voltage that is less dependent on a power supply voltage, and an output voltage of the voltage clamping unit. A boosting unit capable of boosting to a positive high voltage and a negative high voltage, and a plurality of nonvolatile memory cells that are erased and written using positive and negative high voltages output from the boosting unit. A semiconductor integrated circuit characterized by comprising:
請求項3において、
前記昇圧手段は、負の高電圧を形成する昇圧ノードにpチャンネル型のMOSトランジスタと容量が結合され、それらによるチャージポンプ作用で負の高電圧を生成するチャージポンプ回路を有し、前記MOSトランジスタに共通の基板バイアス電圧を、前記電圧クランプ手段の出力電圧から途中でそれよりもレベルの低い第2の電圧に切り換える切り換え手段を更に備え、前記第2の電圧は前記切り換え時点における昇圧電圧よりもレベルの高い電圧であることを特徴とする半導体集積回路。
In claim 3,
The boosting means has a charge pump circuit in which a p-channel MOS transistor and a capacitor are coupled to a boosting node that forms a negative high voltage, and a negative high voltage is generated by a charge pumping action thereof, and the MOS transistor Switching means for switching the common substrate bias voltage from the output voltage of the voltage clamping means to a second voltage lower in level than the output voltage of the voltage clamping means, wherein the second voltage is higher than the boosted voltage at the time of switching. A semiconductor integrated circuit characterized by having a high voltage.
請求項4において、
前記切換え手段は、前記切換え後に昇圧電圧が上下に振れても前記基板バイアス電圧を前記第2の電圧に維持するヒステリシス特性を有するものであることを特徴とする半導体集積回路。
In claim 4,
The switching means has a hysteresis characteristic that maintains the substrate bias voltage at the second voltage even if the boosted voltage fluctuates up and down after the switching.
電気的に消去及び書き込み可能なフラッシュメモリと、前記フラッシュメモリをアクセス可能な中央処理装置とを1個の半導体基板に含み、外部電源端子に供給される単一の電源電圧を動作電源とするマイクロコンピュータであって、
前記フラッシュメモリは、電源電圧依存性の小さな基準電圧を参照電位として前記単一の電源電圧よりもレベルの低い電圧を出力する定電圧発生回路と、前記定電圧発生回路の出力電圧を昇圧する昇圧手段と、前記昇圧手段の昇圧ノードに接続されるMOSトランジスタに共通の基板バイアス電圧を昇圧動作の途中で切り換える切換え手段とを備えて成るものであることを特徴とするマイクロコンピュータ。
A micro memory that includes an electrically erasable and writable flash memory and a central processing unit that can access the flash memory in one semiconductor substrate, and uses a single power supply voltage supplied to an external power supply terminal as an operation power supply. A computer,
The flash memory includes a constant voltage generation circuit that outputs a voltage lower than the single power supply voltage using a reference voltage having a small power supply voltage dependency as a reference potential, and a booster that boosts the output voltage of the constant voltage generation circuit And a switching means for switching a substrate bias voltage common to the MOS transistors connected to the boosting node of the boosting means during the boosting operation.
JP2006118632A 2006-04-24 2006-04-24 Semiconductor integrated circuit and microcomputer Expired - Fee Related JP4091086B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006118632A JP4091086B2 (en) 2006-04-24 2006-04-24 Semiconductor integrated circuit and microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006118632A JP4091086B2 (en) 2006-04-24 2006-04-24 Semiconductor integrated circuit and microcomputer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP01841397A Division JP3831040B2 (en) 1997-01-31 1997-01-31 Semiconductor integrated circuit

Publications (2)

Publication Number Publication Date
JP2006288197A true JP2006288197A (en) 2006-10-19
JP4091086B2 JP4091086B2 (en) 2008-05-28

Family

ID=37409503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006118632A Expired - Fee Related JP4091086B2 (en) 2006-04-24 2006-04-24 Semiconductor integrated circuit and microcomputer

Country Status (1)

Country Link
JP (1) JP4091086B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009129470A (en) * 2007-11-20 2009-06-11 Toshiba Corp Semiconductor memory device
KR101076989B1 (en) 2006-12-22 2011-10-26 울프손 마이크로일렉트로닉스 피엘씨 Charge pump circuit and methods of operation thereof
WO2022259746A1 (en) * 2021-06-07 2022-12-15 三菱電機株式会社 Analog voltage output circuit, and semiconductor device
CN117406847A (en) * 2023-12-14 2024-01-16 浙江地芯引力科技有限公司 Chip, power supply circuit thereof and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101076989B1 (en) 2006-12-22 2011-10-26 울프손 마이크로일렉트로닉스 피엘씨 Charge pump circuit and methods of operation thereof
JP2009129470A (en) * 2007-11-20 2009-06-11 Toshiba Corp Semiconductor memory device
WO2022259746A1 (en) * 2021-06-07 2022-12-15 三菱電機株式会社 Analog voltage output circuit, and semiconductor device
CN117406847A (en) * 2023-12-14 2024-01-16 浙江地芯引力科技有限公司 Chip, power supply circuit thereof and electronic equipment
CN117406847B (en) * 2023-12-14 2024-04-09 浙江地芯引力科技有限公司 Chip, power supply circuit thereof and electronic equipment

Also Published As

Publication number Publication date
JP4091086B2 (en) 2008-05-28

Similar Documents

Publication Publication Date Title
JP3831040B2 (en) Semiconductor integrated circuit
US5991221A (en) Microcomputer and microprocessor having flash memory operable from single external power supply
US7236419B2 (en) Microcomputer and microprocessor having flash memory operable from single external power supply
US6542411B2 (en) Nonvolatile memory and semiconductor device with controlled voltage booster circuit
JP3583703B2 (en) Semiconductor device
JPWO2006059373A1 (en) Semiconductor device and method of controlling semiconductor device
US6278639B1 (en) Booster circuit having booster cell sections connected in parallel, voltage generating circuit and semiconductor memory which use such booster circuit
JP5931236B1 (en) Semiconductor device control circuit and method, and semiconductor device
JP4091086B2 (en) Semiconductor integrated circuit and microcomputer
US10978154B2 (en) Semiconductor device
JP2003288791A (en) Semiconductor integrated circuit device and microprocessor
JP2000331489A (en) Semiconductor device and microcomputer
JPH0736273B2 (en) Semiconductor integrated circuit
US6845046B1 (en) Microcomputer and microprocessor having flash memory operable from single external power supply
US11074979B2 (en) Erase control circuit and method of non-volatile semiconductor memory device, and non-volatile semiconductor memory device
JP4275993B2 (en) Semiconductor memory device
JP5385220B2 (en) Nonvolatile memory, data processing apparatus, and microcomputer application system
TWI736248B (en) Semiconductor storing apparatus and flash memory operation method
JP3537989B2 (en) Nonvolatile semiconductor memory device
JP2000113693A (en) Nonvolatile memory and semiconductor integrated circuit
CN113724766A (en) Semiconductor memory device and method for operating flash memory
JPH11224500A (en) Semiconductor memory

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071120

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080121

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: 20080226

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080227

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110307

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110307

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110307

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110307

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120307

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130307

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130307

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140307

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees