JP2004070854A - Data processor - Google Patents

Data processor Download PDF

Info

Publication number
JP2004070854A
JP2004070854A JP2002232520A JP2002232520A JP2004070854A JP 2004070854 A JP2004070854 A JP 2004070854A JP 2002232520 A JP2002232520 A JP 2002232520A JP 2002232520 A JP2002232520 A JP 2002232520A JP 2004070854 A JP2004070854 A JP 2004070854A
Authority
JP
Japan
Prior art keywords
reset
ram
program
power consumption
nonvolatile memory
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.)
Pending
Application number
JP2002232520A
Other languages
Japanese (ja)
Inventor
Koichi Kunii
國井 浩一
Hajime Nakajima
中嶋 肇
Kazuhiko Ara
荒 和彦
Masakazu Okamura
岡村 雅一
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
Hitachi Engineering Co Ltd
Original Assignee
Renesas Technology Corp
Hitachi Engineering Co Ltd
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, Hitachi Engineering Co Ltd filed Critical Renesas Technology Corp
Priority to JP2002232520A priority Critical patent/JP2004070854A/en
Publication of JP2004070854A publication Critical patent/JP2004070854A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)
  • Microcomputers (AREA)
  • Memory System (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data processor easily realizing low power consumption as a whole by reducing power consumption of an on-chip nonvolatile memory itself. <P>SOLUTION: The data processor (1) has a central processing unit (2), a RAM (8) and the rewritable nonvolatile memory (7) on a semiconductor chip. A predetermined program is transferred to the RAM from the nonvolatile memory during a power-on reset. After resetting, transition is allowed to a low power consumption mode of executing the program of the RAM by the central processing unit in a state of stopping operation of the nonvolatile memory. Since the program is transferred during resetting, the power consumption by the on-chip nonvolatile memory as an inherent function of a microcomputer is reduced, and the low power consumption of the microcomputer as a whole can be realized without relying on a user program. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、中央処理装置、RAM及び書換え可能な不揮発性メモリを半導体チップに有するデータプロセッサにおける低消費電力化に関し、例えば、電池電源を動作電源とするデータ処理システムに組み込まれて動作されるマイクロコンピュータに適用して有効な技術に関する。
【0002】
【従来の技術】
特開平11−288409号公報には、フラッシュメモリ内に記憶されているプログラムをRAMに転送し、クロックを高周波数から低周波数へ切替え、フラッシュメモリを停止させるようにしたマイクロコンピュータが記載される。
【0003】
特開2001−243211公報には電源投入時に不揮発性メモリ内のプログラムをRAMに転送するようにしたマイクロコンピュータが記載される。
【0004】
特開平4−239349号公報には電源投入時にROM内のシステムプログラムをRAMに転送するようにしたマイクロコンピュータが記載される。
【0005】
【発明が解決しようとする課題】
本発明者は、電気的に書換え可能なフラッシュメモリをオンチップしたマイクロコンピュータの低消費電力について検討した。これによれば、フラッシュメモリは消去及び書き込みに高電圧を必要とするだけでなく、読み出し動作やベリファイ動作においても比較的レベルの高いワード線電圧を必要とする。したがって、タイミングジェネレータや内部昇圧のためのチャージポンプ回路等による電力消費が比較的大きいので、フラッシュメモリは動作可能に保たれるだけで比較的大きな電力を消費する。このような事情の下では、マイクロコンピュータの低消費電力モードにおいて、たとえマイクロコンピュータを時計用タイマ回路の32KHzのような低速クロック周波数で動作させても、フラッシュメモリを動作可能な状態に置く限り比較的大きな電力が消費される。そこで本発明者は、マイクロコンピュータを時計用タイマ回路の32KHzのような低速クロック周波数で動作させるとき、プログラムをフラッシュメモリからRAMに転送し、RAMのプログラムをCPUに実行させて、フラッシュメモリの動作を停止可能にすることを検討した。この検討を更に進めた結果、本発明者は、低消費電力の効果を最大限に発揮させるには、ユーザプログラムに依存せずに、マイクロコンピュータに固有の機能として、前記プログラムの転送やフラッシュメモリの動作停止を実現するのが有利であることを見出した。
【0006】
本発明の目的は、オンチップの不揮発性メモリそれ自体による電力消費を削減して全体としての低消費電力を実現することが容易なデータプロセッサを提供することにある。
【0007】
本発明の別の目的は、ユーザプログラムに依存せずに、マイクロコンピュータに固有の機能として、オンチップの不揮発性メモリによる電力消費を削減して全体としての低消費電力を実現することができるデータプロセッサを提供することにある。
【0008】
本発明の前記並びにその他の目的と新規な特徴は本明細書の記述及び添付図面から明らかになるであろう。
【0009】
【課題を解決するための手段】
本願において開示される発明のうち代表的なものの概要を簡単に説明すれば下記の通りである。
【0010】
〔1〕本発明に係るデータプロセッサは、中央処理装置と、RAMと、書換え可能な不揮発性メモリとを半導体チップに有し、パワーオンリセット中に前記不揮発性メモリから前記RAMに所定のプログラムの転送を行ない、リセット解除後に、前記不揮発性メモリの動作を停止した状態で前記中央処理装置が前記RAMのプログラムを実行する低消費電力モードへの遷移が可能にされる。リセット中にプログラムの転送が行なわれるから、ユーザプログラムに依存せずに、マイクロコンピュータに固有の機能としてオンチップの不揮発性メモリによる電力消費を削減してマイクロコンピュータ全体としての低消費電力を実現することができる。
【0011】
前記パワーオンリセットは例えば外部からのリセット信号のアサートにより指示される。前記リセット解除は例えば前記リセット信号のネゲート後に内部のリセット指示の解除によって行われる。
【0012】
具体的な態様として、リセット解除後のリセット例外処理を実行した後に前記低消費電力モードへの遷移が可能にされる。この遷移はユーザプログラム或は外部からの指示に従って行われるが、マイクロコンピュータそれ自体は、その指示があれば即座に低消費電力モードに遷移できるように身構えることになる。
【0013】
別の具体的な態様として、リセット解除後のリセット例外処理自体が前記低消費電力モードとされる。最初から低消費電力モードになり、低消費電力の効果を最大限に発揮させることができる。この場合には、前記リセット解除後に実行される前記RAMのプログラムは例外処理及び割り込み処理ベクタとリセット例外処理プログラムを含むことになる。
【0014】
前記プログラム転送を容易化するには、前記不揮発性メモリから前記RAMに所定のプログラムの転送を制御する転送制御回路を有することが望ましい。
【0015】
マイクロコンピュータは前記中央処理装置に前記不揮発性メモリのプログラムを実行させる通常動作モードへの遷移が可能にされる。このとき、前記低消費電力モードにおいて前記中央処理装置は第1周波数のクロック信号に同期動作され、前記通常動作モードにおいて前記中央処理装置は前記第1周波数よりも周波数の高い第2周波数のロック信号に同期動作する。
【0016】
〔2〕本発明の別の観点によるデータプロセッサは、中央処理装置と、RAMと、書換え可能な不揮発性メモリとを半導体チップに有し、パワーオンリセット中に前記不揮発性メモリから前記RAMに所定のプログラムの転送を行ない、リセット解除後に前記不揮発性メモリの動作を停止した状態で前記中央処理装置が前記RAMのプログラムを実行してリセット例外処理を行い、この後、前記中央処理装置が前記RAMのプログラムを実行する低消費電力モードと前記中央処理装置が前記不揮発性メモリのプログラムを実行する通常動作モードとの選択が可能にされる。リセット中にプログラムの転送が行なわれるからユーザプログラムに依存せずに、マイクロコンピュータに固有の機能としてオンチップの不揮発性メモリによる電力消費を削減してマイクロコンピュータ全体としての低消費電力を実現することができる。リセット解除後のリセット例外処理からRAMのプログラムを実行するので、最初から低消費電力モードになり、低消費電力の効果を最大限に発揮させることができる。
【0017】
前記リセット例外処理及び低消費電力モードにおいて前記中央処理装置は第1周波数のクロック信号に同期動作され、前記通常動作モードにおいて前記中央処理装置は第1周波数よりも高速な第2周波数のクロック信号に同期動作される。中央処理装置のクロック周波数の点においても低消費電力が実現されている。
【0018】
〔3〕本発明の更に別の観点によるデータプロセッサは、中央処理装置と、RAMと、書換え可能な不揮発性メモリとを半導体チップに有し、パワーオンリセット中に前記不揮発性メモリから前記RAMに所定のプログラムの転送を行ない、リセット解除後に前記不揮発性メモリの動作を停止した状態で前記中央処理装置が前記RAMのプログラムを実行してリセット例外処理を行なう。リセット中にプログラムの転送が行なわれるからユーザプログラムに依存せずに、マイクロコンピュータに固有の機能としてオンチップの不揮発性メモリによる電力消費を削減してマイクロコンピュータ全体としての低消費電力を実現することができる。リセット解除後のリセット例外処理からRAMのプログラムを実行するので、最初から低消費電力モードになり、低消費電力の効果を最大限に発揮させることができる。
【0019】
【発明の実施の形態】
図1には本発明に係るデータプロセッサの一例であるマイクロコンピュータが示される。同図に示されるマイクロコンピュータ1は、特に制限されないが、全体の制御を司る中央処理装置(CPU)2、バスコントローラ3、データ転送制御回路4、割り込みコントローラ5、システムコントローラ6、書換え可能な不揮発性メモリとしてのフラッシュメモリ7、RAM8、時計用タイマ9、及びその他周辺回路10、発振制御回路11、メイン発振器12、サブ発振器13、セレクタ14、モジュール停止制御レジスタ16及び内部バス15を有し、公知のCMOS集積回路製造技術により、単結晶シリコンのような1個の半導体基板(半導体チップ)に形成される。前記システムコントローラ6は電源電圧監視回路20、発振安定カウンタ21及びアンドゲート22を有する。
【0020】
前記CPU2はバスコントローラ3を介してRAM8又はフラッシュメモリ7から命令をフェッチし、フェッチした命令を解読し、その解読結果にしたがってデータフェッチや演算制御を行なってその命令を実行する。前記RAM8はCPU2のワーク領域及びプログラム領域として利用される。フラッシュメモリ7はCPU2のデータ領域及びプログラム領域として利用される。
【0021】
フラッシュメモリ7は、特にその詳細について図示を省略するが、例えばソース・ドレインの間のチャネル領域の上に夫々ゲート絶縁膜を介してフローティングゲートとコントロールゲートを重ねたスタック構造、或はソース・ドレインの間のチャネル領域の上に選択ゲートとメモリゲートを左右に分離して配置した選択ゲートセパレート構造などがある。例えば後者のセパレート構造を持つフラッシュメモリセルはソースサイドからメモリゲートへのホットエレクトロン注入で書き込みを行ない、メモリゲートからチャネルへの電子のトンネル放出により消去を行なって、メモリゲートから見た閾値電圧を設定可能にされる。図においてメモリアレイMARYには多数のフラッシュメモリセルがマトリクス配置される。フラッシュメモリセルに対する読み出し回路RDCと消去・書き込み回路EPCが設けられ、読み出し、消去、書込み動作のためのタイミング信号の生成と高電圧を生成する昇圧動作とを行なうための発振回路TCNTが設けられる。フラッシュメモリ7は後述のモジュール停止制御レジスタ16の設定状態に従って動作可能にされているとき、実際のメモリアクセス動作が行われなくても、前記発振回路TCNTは昇圧動作のためのチャージポンプ動作やタイミング信号生成のための分周動作等を行ない、この動作によって比較的大きな電力を消費することになる。チャージポンプ動作によって得られる昇圧電圧は消去電圧、書き込み電圧、読み出しのワード線選択電圧等に利用される。そのような電力消費を完全に断つにはモジュール停止制御レジスタ16を設定してフラッシュメモリ7を動作停止(動作不可能状態)に制御することを要する。
【0022】
前記バスコントローラ3は、CPU2等によるアクセス要求に応答してバス15を介するアクセス対象へのバス制御を行なう。バスコントローラ3はバス制御レジスタ30を有し、CPU2のアドレス空間に対してフラッシュメモリ7やRAM8などの回路モジュールを配置するアドレス(マッピングアドレス)、アクセスデータサイズ、アクセスサイクル数などをアドレスエリア若しくは回路モジュール毎に指示するアクセス制御情報を保有する。このアクセス制御情報はCPU2によりプログラマブルに設定可能にされ、また、リセット動作により所定値に初期化される。前記バス15はアドレスバス、データバスの他、リード信号、ライト信号、そしてバスサイズ信号等をエンコードしたバスコマンド等が伝達されるコントロールバスを含む。
【0023】
割り込みコントローラ5は、時計用タイマ9やその他周辺回路10等から割込み信号(図示せず)或はバスエラー信号などの例外信号を入力し、CPU2に例外要求信号IRQと割り込み又は例外処理の要因コード(ベクタ番号)を与える。これにより、CPU2は実行中の処理を中断し、状態保存を行なった後、前記ベクタ番号で示されるベクタから分岐先アドレスをリードして、所定の処理ルーチンに分岐し、所望の処理を行なう。所定の処理ルーチンの最後には、通常、復帰命令が置かれ、この命令を実行することによって前記中断した処理を再開する。
【0024】
特に制限されないが、前記メイン発振器12は10MHz、サブ発振器13は32KHzの発振周波数を有する。発振器12,13の出力はセレクタ14で選択されてマイクロコンピュータの動作基準クロック信号φsとされる。前記セレクタ14の選択動作及び発振器12,13の発振動作は2ビット制御信号S1に基づいて発振制御回路11が制御する。制御信号S1の00でサブ発振器13を発振動作させその発振出力をセレクタ14に選択させ、制御信号S1の01でサブ発振器13及びメイン発振器を発振動作させメイン発振器12の発振出力をセレクタ14に選択させ、制御信号S1の10で双方の発振器12,13の発振動作を停止させる。リセット処理では、制御信号S1が00に初期化され、前記サブ発振器13の発振動作が指定され、セレクタ14にはサブ発振器13の出力を選択することが指定され、リセット解除後の動作基準クロック信号φsは32KHzの低速周波数とされる。尚、時計用タイマ9にはサブ発振器13からの32KHzのクロック信号がタイマ動作の同期クロック信号として常時供給される。
【0025】
モジュール停止制御レジスタ16は前記フラッシュメモリ7、RAM8、時計用タイマ9、その他周辺回路10、及び発振制御回路11に対する動作停止(動作不可能状態)と停止解除を制御する制御データが設定される。制御データの設定はバス15を介してCPU2がプログラマブルに行なうことができる。スタンバイ信号STBがアサートされてスタンバイモードが指示されると前記制御データは全ての回路モジュールの動作を停止させるように強制される。スタンバイ信号STBがネゲートされてスタンバイモードの解除が指示されると、前記制御データは後述するリセット解除後と同じ低消費電力状態にされる。
【0026】
システムコントローラ6は、マイクロコンピュータのリセット制御等を行なう。すなわち、マイクロコンピュータ1の内部リセット信号res/(記号/はローイネーブル信号を意味する)は前記アンドゲート22から出力される。内部リセット信号res/は、マイクロコンピュータ1の内部回路に供給され、そのローレベルにより、レジスタ値や所定の回路ノードをリセット(初期化)する。内部リセット信号res/のハイレベルによりリセットが解除される。アンドゲート22にはリセット端子からの外部リセット信号RES/とデータ転送制御回路4からの転送終了信号S3が入力される。外部リセット信号RES/のローレベルによりリセット動作が指示されると内部リセット信号res/がローレベルにされてリセット動作が開始され、外部リセット信号RES/のハイレベルによりリセット動作の解除が指示されたときは、データ転送制御回路4によるデータ転送の終了が転送終了信号S3によって通知されるのを待って、内部リセット動作が解除される。内部リセット動作が解除されると、CPU2は、プログラムアドレスの0番地からリセットベクタをフェッチしてリセット例外処理の実行を開始する。リセット例外処理の処理内容は例えばユーザプログラムによって定義される。
【0027】
電源電圧監視回路20は電源端子に電源電圧VCCが投入されたとき投入電圧が動作可能電圧に到達したとき信号S4を活性化する。発振安定カウンタ21は、前記外部リセット信号RES/がローレベルにされたときクロック端子CKに入力されるクロック信号φsの計数動作を開始し、計数動作は前記電源電圧監視回路20からの制御信号S4の活性化により初期化され、計数値が所定値に達したとき、制御信号S5を活性化する。要するに、制御信号S5は、パワーオン時に電源電圧VCCが安定化し、クロック信号φsの発振周波数が安定化してから、内部のリセット動作を完了するのに必要充分な時間がカウンタ21による計数動作で経過するのを待って活性される。制御信号S5が活性化された後、マイクロコンピュータ1は電源電圧VCCを動作電源としてクロック信号φsに同期して内部動作を正常に行なうことが可能になる。
【0028】
前記データ転送制御回路4は前記制御信号S5の活性化を待ってデータ転送制御を行なう。すなわち、マイクロコンピュータ1が電源電圧VCCを動作電源としてクロック信号φsに同期して内部動作を正常に行なうことが可能になってから、そのパワーオンリセット中に、前記フラッシュメモリ7から前記RAM8に所定のプログラムの転送を行なう。転送方法は、特に制限されないが、ここではダイレクト・メモリ・アクセス転送と同様の転送制御とされ、転送元アドレス、転送先アドレス、及び転送語数などは、データ転送制御回路4のリセット動作によってハードウェアで一義的に決定される。リセットによるフラッシュメモリ7とRAM8に対するアドレスマッピングは、図2に例示されるように、フラッシュメモリ7はアドレスH’00000〜H’3FFFFとされ、RAM8はアドレスH’FD000〜H’FFFFFとされる。このアドレスマッピングはバスコントローラ3の空間制御レジスタ30がリセットされることによりハードウェア的に設定される。データ転送制御回路4にリセット中に設定される転送元はフラッシュメモリ7のエリアFE1に割当てられるアドレスH’00000〜H’00FFFとされ、転送先はRAM8のエリアRE1に割当てられるアドレスH’FD000〜H’FDFFFとされる。エリアFE1には例外処理及び割込み処理ベクタVECと、一部のプログラムPGM1が格納され、これがRAM8のエリアRE1に転送される。一部のプログラムPGM1にはリセット例外処理プログラムが含まれている。エリアFE1からエリアRE1への転送を完了した後、データ転送制御回路4は、RAM8の一部の領域RE1に、プログラム領域としてアドレスH’00000〜H’00FFFを割当て、フラッシュメモリの一部の領域FE2に、それに続くプログラム領域としてアドレスH’01000〜H’3FFFFを割当てる。フラッシュメモリ7のエリアFE1はアドレスマッピングされず、非アクセス領域とされ、RAM8のエリアRE2はアドレスH’FE000〜H’FFFFFに割当てられてCPU2の作業領域とされる。このアドレスマッピングはデータ転送制御回路4がバスコントローラ3の空間制御レジスタ30に制御データを設定することで行われる。これによるフラッシュメモリ7とRAM8のアドレスマッピングは図3に例示されるようになる。更にデータ転送制御回路4は、モジュール停止制御レジスタ16に対するデータ設定を変更して、フラッシュメモリ7を動作停止モジュールに変更し、フラッシュメモリ7による電力消費をゼロとする。データ転送制御回路4はここまでの処理を完了した後に、前記信号S3をアサートする。
【0029】
外部リセット信号RES/によりリセット解除が指示され、前記信号S3がアサートされることにより、内部リセット信号res/によりリセット動作が解除され、これによりCPU2は0番地(アドレスH’00000)のリセットベクタをフェッチしてリセット例外処理を実行することになる。このとき、0番地は前述の通りRAM8の一部の領域RE1に割当てられており、RAM8からリセットベクタをフェッチし、RAM8からリセット例外処理プログラムをフェッチして実行する。この後も、CPU2はRAM8からプログラムをフェッチして実行することができる。フラッシュメモリ7のプログラムを実行したい場合にはフラッシュメモリ7を動作可能にする。このときRAM8を全てCPU2の作業領域としたい場合にはアドレスマッピングを図2のように変更すればよい。更に命令実行を高速化したい場合にはメイン発振器12を発振動作させ、その出力をセレクタ14に選択させて、クロック信号φsの周波数を高速化すればよい。
【0030】
マイクロコンピュータ1の動作モードは、特に制限されないが、低消費電力モード、通常動作モード及びスタンバイモードとされる。
【0031】
低消費電力モードは動作基準クロック信号φsをサブ発振器13の発振出力とし、メイン発振器12の発振動作を停止させ、フラッシュメモリ7を動作不可能とし、RAM8のエリアRE1をCPU2のプログラム領域とする動作モードである。マイクロコンピュータ1は、上述の説明より明らかのように、リセット動作が解除されたとき低消費電力モードになっている。低消費電力モードにおいてCPU2によるH’00000からのプログラムアクセスに対しては図4に例示されるようにRAMがアクセスされる。
【0032】
前記通常動作モードは動作基準クロック信号φsをメイン発振器12の発振出力とし、フラッシュメモリ7を動作可能とし、CPU2のプログラム領域をフラッシュメモリ7とする動作モードである。低消費電力モードから前記通常動作モードへの遷移は、その他周辺回路10又は外部から高速演算処理を行なうの所定の割り込み要求(高速動作要求)に応答する割り込み処理の一貫として、前記バス制御レジスタ30及びモジュール停止制御レジスタ16の設定変更により行われる。その高速動作要求に応答する割り込み処理が終了すると、マイクロコンピュータは割り込み前の状態に復帰され、低消費電力モードに戻される。通常動作モードにおいてCPU2によるH’00000からのプログラムアクセスに対しては図5に例示されるようにフラッシュメモリ7がアクセスされる。
【0033】
前記スタンバイモードの指示は前記スタンバイ信号STBにより前記モジュール停止制御レジスタ16に与えられ、全ての回路モジュールの動作を停止させるようにその制御データが強制される。これによって、発振器12,13の発振動作が停止され、CPU2及びフラッシュメモリ7等の動作が停止される。スタンバイ信号STBがネゲートされてスタンバイモードの解除が指示されると、前記モジュール停止制御レジスタ16の前記制御データは前記低消費電力モードとのときと同じ状態にされる。尚、スタンバイモードは、CPU2がスリープ命令を実行して、全ての回路モジュールの動作を停止させるように前記モジュール停止制御レジスタ16の制御データを変更して設定するようにしてもよい。
【0034】
図6にはマイクロコンピュータ1のパワーオンリセットスタートのタイミングチャートが例示される。図7及び図8にはその時の動作フローチャートが示される。
【0035】
図6において▲1▼▲2▼▲3▼はリセット中の動作を示し、▲1▼では外部リセット信号RES/のアサートによって開始される内部リセット処理が行われ、電源電圧VCC及びサブ発振器13の発振安定待ちの期間とされる。すなわち図7において、電源電圧が動作可能電圧になったことを判別し(S1)、その後、発振安定時間の経過を待つ(S2)。上記内部リセット処理におけるマイクロコンピュータ1の内部状態の概略は図9に例示される。太い矩形で示される回路モジュールが動作可能な回路モジュールとされる。メインクロックはメイン発振器12が出力するクロック信号、サブクロックはサブ発振器13が出力するクロック信号である。
【0036】
図6の▲2▼▲3▼はデータ転送制御回路4によるフラッシュメモリ7からRAM8へのベクタ及びプログラムの転送処理等の期間とされる。図7ではステップS3のデータ転送処理が行なわれる。特に▲3▼は外部からのリセット解除が指示されていても未だ前記プログラムの転送が終了されていない期間を意味する。前記プログラムなどの転送処理の後にフラッシュメモリ7はモジュール停止制御によって動作不可能にされる。上記プログラムなどの転送処理におけるマイクロコンピュータ1の内部状態の概略は図10に例示される。
【0037】
この後、マイクロコンピュータ1は図6の▲4▼の期間で示される低消費電力モードで動作される。先ず最初に、RAM8からリセットベクタをフェッチしてリセット例外処理を実行し、その後、低消費電力モードで、外部からの高速動作要求の有無を監視する。例えばボタン操作の入力監視或はデータ受信の待ち受けを行なう。図7において、リセット例外処理などはステップS6の処理とされ、高速動作要求の有無監視はステップS7の処理とされる。上記低消費電力モードにおけるマイクロコンピュータ1の内部状態の概略は図11に例示される。
【0038】
図6の▲5▼では例えばボタン操作の入力を検出し、通常動作モードへの遷移制御を行なう。すなわち、メイン発振器12を発振動作させて、フラッシュメモリ7のモジュール停止を解除して動作可能にする。発振クロック信号φsの安定化と、フラッシュメモリ7の発振回路TCNTの動作安定化を待て、クロック信号の切換えと、バス制御レジスタ30によるアドレスマッピングの切換えを行なって、マイクロコンピュータ1を▲6▼の期間で示されるように通常動作モードで動作させる。図8において、通常動作モードへの遷移処理はステップS8〜S11の処理とされ、通常動作モードでの処理はステップS12〜S13とされる。上記通常動作モードに遷移するときのマイクロコンピュータ1の内部状態の概略は図12に例示される。また、上記通常動作モードにおけるマイクロコンピュータ1の内部状態の概略は図13に例示される。
【0039】
通常動作モードによる必要な動作を終了した後、▲7▼で示されるように動作モードを再び低消費電力モードに遷移させる。図8においてその遷移処理はステップS14〜S16で示される。
【0040】
図6では、低消費電力モードにおいて、例えば一定期間動作要求が無いような場合に、▲8▼で示されるように外部からスタンバイモードが指示される。スタンバイモードの解除が指示されると、▲9▼のようにサブクロック発振器13が発振動作を再開して低消費電力モードにされる。図14には上記スタンバイモードにおけるマイクロコンピュータ1の内部状態が概略的に示される。
【0041】
以上の説明ではマイクロコンピュータ1はリセット解除後に低消費電力モードとされ、そのままの動作モードでリセット例外処理を行なうものとして説明した。すなわち、リセット解除の直後に、前記フラッシュメモリ7の動作を停止した状態で前記CPU2が前記RAM8のプログラムを実行する低消費電力モードが設定されている。リセット中にプログラムの転送が行なわれるからユーザプログラムに依存せずに、マイクロコンピュータ1に固有の機能としてオンチップのフラッシュメモリ7による電力消費を削減してマイクロコンピュータ1全体としての低消費電力を実現することができる。マイクロコンピュータ1は低消費電力モードを主たる動作モードとして動作するから、優れた低消費電力性能を実現することができる。
【0042】
本発明のマイクロコンピュータ1は、上記とは逆に、リセット解除後は通常動作モードとされ、この動作モードでリセット例外処理を行ない、必要に応じて低消費電力モードで動作するように構成することも可能である。以下、マイクロコンピュータ1にそのいような構成を採用する場合について説明する。すなわち、フラッシュメモリ7からRAM8へのプログラム及びベクタの転送処理を終えたとき、フラッシュメモリ7の動作を可能なままとし、CPU2のアドレス空間に対するRAM8とフラッシュメモリ7のアドレスマッピングを図2の状態のままに維持する。リセット解除後、CPU2は図5に例示される態様でフラッシュメモリ7のプログラムを実行してリセット例外処理等を行なう。割り込みなどにより必要に応じて動作モードを低消費電力モードに設定変更し、低消費電力モードによる動作終了後には、割り込み処理から復帰して通常動作モードによる命令実行が可能にされる。
【0043】
図15にはリセット直後に通常動作モードにされるマイクロコンピュータのパワーオンリセットスタートのタイミングチャートが例示される。図16及び図17にはその時の動作フローチャートが示される。
【0044】
図15において▲1▼▲2▼▲3▼はリセット中の動作を示し、▲1▼では外部リセット信号RES/のアサートによって開始される内部リセット処理が行われ、電源電圧VCC及びサブ発振器13の発振安定待ちの期間とされる。すなわち図16において、電源電圧が動作可能電圧になったことを判別し(S11)、その後、発振安定時間の経過を待つ(S12)。
【0045】
図15の▲2▼▲3▼はデータ転送制御回路4によるフラッシュメモリ7からRAM8へのベクタ及びプログラムの転送処理等の期間とされる。図16ではステップS13のデータ転送処理が行なわれる。特に▲3▼は外部からのリセット解除が指示されていても未だ前記プログラムの転送が終了されていない期間を意味する。
【0046】
この後、マイクロコンピュータ1は図15の▲4▼の期間で示される通常動作モードで動作される。先ず最初に、フラッシュメモリ7からリセットベクタをフェッチしてリセット例外処理を実行し、その後、通常動作モードによる高速動作での動作の完了を監視する。図16において、リセット例外処理などはステップS15の処理とされ、高速動作完了の監視はステップS16の処理とされる。
【0047】
図15の▲5▼では例えば低消費電力モードへのへの遷移制御を行なう。すなわち、図17に例示されるように、バス制御レジスタ30によるアドレスマッピングの切換えを行ない(S17)、フラッシュメモリ7の動作を停止させ(S18)、メイン発振器12の発振を停止させ、動作基準クロック信号φsをサブ発振器13の発振出力に切換える(S19)。これによってCPU2は図4のアドレスマッピングされたRAM8から命令をフェッチしてプログラムを実行する(S20)。低消費電力モードによる必要な動作を終了した後、通常動作モードによる高速動作の要求が有るかを監視する(S21)。
【0048】
高速動作の要求を検出すると、図15の▲6▼で通常動作モードへの遷移制御を行なう。すなわち、メイン発振器12を発振動作させて、フラッシュメモリ7のモジュール停止を解除して動作可能にする。発振クロック信号φsの安定化と、フラッシュメモリ7の発振回路TCNTの動作安定化を待て、クロック信号の切換えと、バス制御レジスタ30によるアドレスマッピングの切換えを行なって、マイクロコンピュータ1を▲7▼の期間で示されるように通常動作モードで動作させる。図17において、通常動作モードへの遷移処理はステップS22〜S25の処理とされる。
【0049】
図15の例では、通常動作モードによる必要な動作を終了した後、▲8▼で示されるようなスタンバイモードを設定し、その後再び通常動作電力モードに遷移する。
【0050】
図15に例示されるようにリセット解除後のリセット例外処理を実行した後に前記低消費電力モードへの遷移が可能にされる構成においては、前記低消費電力モードへの遷移はユーザプログラム或は外部からの指示に従って行われるが、マイクロコンピュータそれ自体は、その指示があれば即座に低消費電力モードに遷移できるように身構えることができる。
【0051】
以上本発明者によってなされた発明を実施形態に基づいて具体的に説明したが、本発明はそれに限定されるものではなく、その要旨を逸脱しない範囲において種々変更可能であることは言うまでもない。
【0052】
例えば、マイクロコンピュータの動作モードは低消費電力モード、通常動作モード、及びスタンバイモードに限定されない。CPUとフラッシュメモリの動作を停止させて所定の周辺回路を動作可能にするスリープモード、CPUとフラッシュメモリを動作可能とし周辺回路を動作停止させるモジュールスタンバイモード、CPUとフラッシュメモリと周辺回路とを時計用クロックに同期動作させるサブアクティブモード、CPUとフラッシュメモリを動作停止させ周辺回路を時計用クロックに同期動作可能にするサブスリープモード、CPUとフラッシュメモリの動作を停止させ時計用タイマだけ動作可能にするウオッチモードなどを備えてもよい。また、発振器はメイン発振器とサブ発振器の2個を別々に持つ構成に限定されないが、時計用などに用いられる高精度を要せず周波数の低い発振器を高精度且つ高周波数の発振器と別に持ち、低消費電力優先のクロック同期動作時には前者の発振器だけを動作させるようにすることが低消費電力には好適である。マイクロコンピュータが保有する回路モジュールは図1の例に限定されず適宜変更可能である。電気的に書換え可能な不揮発性メモリはフラッシュメモリに限定されず、EEPROM、高誘電体メモリ等であってもよい。データ転送制御回路4はリセット処理の一貫として行われるプログラム転送処理専用回路として構成してもよいが、オンチップ回路モジュールとしてダイレクトメモリアクセスコントローラのような汎用利用可能な転送制御回路を有するときは、そのような転送制御回路を前記リセット処理におけるプログラムの転送制御に流用してもよい。
【0053】
本発明のデータプロセッサはマイクロコンピュータの他、マイクロプロセッサ、シングルチップデータプロセッサなどと称される種々のデータ処理装置に広く適用することができる。
【0054】
【発明の効果】
本願において開示される発明のうち代表的なものによって得られる効果を簡単に説明すれば下記の通りである。
【0055】
すなわち、本発明に係るデータプロセッサによれば、リセット中に不揮発性メモリからRAMにプログラムの転送を行なうから、指示があれば即座に低消費電力モードに遷移できるように身構えることができる。また、ユーザプログラムに依存せずに、マイクロコンピュータに固有の機能としてオンチップの不揮発性メモリによる電力消費を削減してマイクロコンピュータ全体としての低消費電力を実現することができる。
【図面の簡単な説明】
【図1】本発明の一例に係るマイクロコンピュータのブロック図である。
【図2】リセットによるフラッシュメモリとRAMのアドレスマッピングを例示する説明図である。
【図3】低消費電力モードにおけるフラッシュメモリとRAMのアドレスマッピングを例示する説明図である。
【図4】低消費電力モードにおいてCPUによってアクセス可能なプログラム空間を例示する説明図である。
【図5】通常動作モードにおいてCPU2によってアクセス可能なプログラム空間を例示する説明図である。
【図6】マイクロコンピュータのパワーオンリセットスタートの状態を例示するタイミングチャートである。
【図7】図6のパワーオンリセットスタートにおける一部の動作制御手順を示す動作フローチャートである。
【図8】図6の続きを示す動作フローチャートである。
【図9】内部リセット処理におけるマイクロコンピュータの内部状態を概略的に例示する説明図である。
【図10】プログラムなどの転送処理におけるマイクロコンピュータの内部状態を概略的に例示する説明図である。
【図11】低消費電力モードにおけるマイクロコンピュータの内部状態を概略的に例示する説明図である。
【図12】通常動作モードに遷移するときのマイクロコンピュータの内部状態を概略的に例示する説明図である。
【図13】通常動作モードにおけるマイクロコンピュータの内部状態を概略的に例示する説明図である。
【図14】スタンバイモードにおけるマイクロコンピュータの内部状態を概略的に例示する説明図である。
【図15】リセット直後に通常動作モードにされるマイクロコンピュータのパワーオンリセットスタートの状態を例示するタイミングチャートである。
【図16】図15のパワーオンリセットスタートにおける一部の動作制御手順を示す動作フローチャートである。
【図17】図16の続きを示すフローチャートである。
【符号の説明】
1 マイクロコンピュータ
2 中央処理装置(CPU)
3 バスコントローラ
4 データ転送制御回路
5 割り込みコントローラ
6 システムコントローラ
7 フラッシュメモリ
8 RAM
RES/ 外部リセット信号
res/ 内部リセット信号
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to reducing the power consumption of a data processor having a central processing unit, a RAM, and a rewritable nonvolatile memory in a semiconductor chip. Related to effective technology applied to computers.
[0002]
[Prior art]
Japanese Patent Laying-Open No. 11-288409 describes a microcomputer in which a program stored in a flash memory is transferred to a RAM, a clock is switched from a high frequency to a low frequency, and the flash memory is stopped.
[0003]
Japanese Patent Laying-Open No. 2001-232431 discloses a microcomputer in which a program in a nonvolatile memory is transferred to a RAM when power is turned on.
[0004]
Japanese Patent Laying-Open No. 4-239349 discloses a microcomputer in which a system program in a ROM is transferred to a RAM when power is turned on.
[0005]
[Problems to be solved by the invention]
The present inventors have studied low power consumption of a microcomputer in which an electrically rewritable flash memory is on-chip. According to this, the flash memory not only requires a high voltage for erasing and writing, but also requires a relatively high level word line voltage for a read operation and a verify operation. Therefore, since the power consumption by the timing generator, the charge pump circuit for internal boosting, and the like is relatively large, the flash memory consumes a relatively large amount of power only by keeping it operable. Under such circumstances, even if the microcomputer is operated at a low clock frequency such as 32 kHz of the clock timer circuit in the low power consumption mode of the microcomputer, the comparison is performed as long as the flash memory is operable. Enormous power is consumed. The inventor of the present invention, when operating a microcomputer at a low-speed clock frequency such as 32 KHz of a clock timer circuit, transfers a program from a flash memory to a RAM, causes the CPU to execute the program in the RAM, and executes the operation of the flash memory. Was considered to be able to stop. As a result of further study, the present inventor has determined that in order to maximize the effect of low power consumption, transfer of the program and flash memory as functions unique to the microcomputer without depending on the user program. It has been found that it is advantageous to realize the operation stoppage.
[0006]
An object of the present invention is to provide a data processor which can easily reduce power consumption by an on-chip nonvolatile memory itself and realize low power consumption as a whole.
[0007]
Another object of the present invention is to provide, as a function unique to a microcomputer, data that can reduce power consumption by an on-chip nonvolatile memory and realize low power consumption as a whole without depending on a user program. It is to provide a processor.
[0008]
The above and other objects and novel features of the present invention will become apparent from the description of the present specification and the accompanying drawings.
[0009]
[Means for Solving the Problems]
The outline of a representative invention among the inventions disclosed in the present application will be briefly described as follows.
[0010]
[1] A data processor according to the present invention has a central processing unit, a RAM, and a rewritable nonvolatile memory on a semiconductor chip, and stores a predetermined program from the nonvolatile memory to the RAM during a power-on reset. After the transfer is performed and the reset is released, a transition to the low power consumption mode in which the central processing unit executes the program of the RAM while the operation of the nonvolatile memory is stopped is enabled. Since the program is transferred during the reset, the power consumption by the on-chip nonvolatile memory is reduced as a function unique to the microcomputer without depending on the user program, thereby realizing low power consumption of the entire microcomputer. be able to.
[0011]
The power-on reset is instructed by, for example, assertion of an external reset signal. The reset release is performed, for example, by releasing the internal reset instruction after the reset signal is negated.
[0012]
As a specific mode, the transition to the low power consumption mode is enabled after executing reset exception processing after reset release. This transition is performed in accordance with a user program or an instruction from the outside, but the microcomputer itself is prepared to be able to immediately transition to the low power consumption mode when instructed.
[0013]
As another specific mode, the reset exception processing itself after reset release is set to the low power consumption mode. The low power consumption mode is set from the beginning, and the effect of low power consumption can be maximized. In this case, the RAM program executed after the reset release includes the exception handling and interrupt handling vector and the reset exception handling program.
[0014]
To facilitate the program transfer, it is desirable to have a transfer control circuit for controlling transfer of a predetermined program from the nonvolatile memory to the RAM.
[0015]
The microcomputer is allowed to transition to a normal operation mode in which the central processing unit executes the program of the nonvolatile memory. At this time, in the low power consumption mode, the central processing unit is operated in synchronization with a clock signal of a first frequency, and in the normal operation mode, the central processing unit operates as a lock signal of a second frequency higher than the first frequency. Operates synchronously.
[0016]
[2] A data processor according to another aspect of the present invention includes a central processing unit, a RAM, and a rewritable nonvolatile memory on a semiconductor chip, and stores a predetermined amount of data from the nonvolatile memory to the RAM during a power-on reset. The central processing unit executes the program of the RAM to perform a reset exception process in a state where the operation of the nonvolatile memory is stopped after the reset is released, and thereafter, the central processing unit executes the transfer of the RAM. And a normal operation mode in which the central processing unit executes the program in the nonvolatile memory. Since the program is transferred during reset, the power consumption of the on-chip nonvolatile memory is reduced as a function unique to the microcomputer without depending on the user program, thereby realizing low power consumption of the entire microcomputer. Can be. Since the RAM program is executed from the reset exception processing after reset release, the low power consumption mode is set from the beginning, and the effect of low power consumption can be maximized.
[0017]
In the reset exception processing and the low power consumption mode, the central processing unit is operated in synchronization with a clock signal of a first frequency, and in the normal operation mode, the central processing unit is synchronized with a clock signal of a second frequency higher than the first frequency. It is operated synchronously. Low power consumption is also achieved in terms of the clock frequency of the central processing unit.
[0018]
[3] A data processor according to still another aspect of the present invention has a central processing unit, a RAM, and a rewritable nonvolatile memory on a semiconductor chip, and transfers the data from the nonvolatile memory to the RAM during a power-on reset. A predetermined program is transferred, and after the reset is released, the central processing unit executes the program of the RAM and performs a reset exception process in a state where the operation of the nonvolatile memory is stopped. Since the program is transferred during reset, the power consumption of the on-chip nonvolatile memory is reduced as a function unique to the microcomputer without depending on the user program, thereby realizing low power consumption of the entire microcomputer. Can be. Since the RAM program is executed from the reset exception processing after reset release, the low power consumption mode is set from the beginning, and the effect of low power consumption can be maximized.
[0019]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 shows a microcomputer which is an example of a data processor according to the present invention. Although not particularly limited, the microcomputer 1 shown in FIG. 1 has a central processing unit (CPU) 2 that controls the entire control, a bus controller 3, a data transfer control circuit 4, an interrupt controller 5, a system controller 6, a rewritable nonvolatile memory. A flash memory 7, a RAM 8, a clock timer 9, and other peripheral circuits 10, an oscillation control circuit 11, a main oscillator 12, a sub oscillator 13, a selector 14, a module stop control register 16, and an internal bus 15 It is formed on one semiconductor substrate (semiconductor chip) such as single crystal silicon by a known CMOS integrated circuit manufacturing technique. The system controller 6 has a power supply voltage monitoring circuit 20, an oscillation stabilization counter 21, and an AND gate 22.
[0020]
The CPU 2 fetches an instruction from the RAM 8 or the flash memory 7 via the bus controller 3, decodes the fetched instruction, executes data fetch and operation control in accordance with the decoded result, and executes the instruction. The RAM 8 is used as a work area and a program area for the CPU 2. The flash memory 7 is used as a data area and a program area of the CPU 2.
[0021]
The flash memory 7 has a stack structure in which a floating gate and a control gate are stacked via a gate insulating film on a channel region between the source and the drain, respectively, although the details thereof are not shown. There is a select gate separate structure in which a select gate and a memory gate are separately arranged on the left and right on a channel region between them. For example, in the latter flash memory cell having a separate structure, writing is performed by hot electron injection from the source side to the memory gate, erasing is performed by electron tunneling from the memory gate to the channel, and the threshold voltage seen from the memory gate is reduced. Configurable. In the figure, a large number of flash memory cells are arranged in a matrix in a memory array MARY. A read circuit RDC and an erase / write circuit EPC for a flash memory cell are provided, and an oscillation circuit TCNT for generating a timing signal for read, erase, and write operations and a boosting operation for generating a high voltage is provided. When the flash memory 7 is enabled in accordance with the setting state of a module stop control register 16 described later, the oscillation circuit TCNT operates even if an actual memory access operation is not performed. A frequency division operation or the like for signal generation is performed, and this operation consumes relatively large power. The boosted voltage obtained by the charge pump operation is used as an erase voltage, a write voltage, a read word line selection voltage, and the like. In order to completely cut off such power consumption, it is necessary to set the module stop control register 16 and control the flash memory 7 to stop the operation (inoperable state).
[0022]
The bus controller 3 controls a bus to be accessed via the bus 15 in response to an access request from the CPU 2 or the like. The bus controller 3 has a bus control register 30 and stores an address (mapping address) at which a circuit module such as the flash memory 7 or the RAM 8 is arranged in the address space of the CPU 2, an access data size, the number of access cycles, and the like in an address area or a circuit. Holds access control information for each module. This access control information is made programmable by the CPU 2 and is initialized to a predetermined value by a reset operation. The bus 15 includes, in addition to an address bus and a data bus, a control bus to which a read command, a write signal, a bus command which encodes a bus size signal and the like are transmitted.
[0023]
The interrupt controller 5 inputs an exception signal such as an interrupt signal (not shown) or a bus error signal from the clock timer 9 or other peripheral circuits 10 and the like, and sends an exception request signal IRQ and a cause code of the interruption or exception processing to the CPU 2. (Vector number). As a result, the CPU 2 interrupts the process being executed, saves the state, reads the branch destination address from the vector indicated by the vector number, branches to a predetermined processing routine, and performs a desired process. At the end of a predetermined processing routine, a return instruction is usually placed. By executing this instruction, the interrupted processing is restarted.
[0024]
Although not particularly limited, the main oscillator 12 has an oscillation frequency of 10 MHz, and the sub oscillator 13 has an oscillation frequency of 32 KHz. The outputs of the oscillators 12 and 13 are selected by the selector 14 and used as an operation reference clock signal φs for the microcomputer. The selection operation of the selector 14 and the oscillation operation of the oscillators 12 and 13 are controlled by the oscillation control circuit 11 based on the 2-bit control signal S1. When the control signal S1 is 00, the sub-oscillator 13 is oscillated and its oscillation output is selected by the selector 14, and when the control signal S1 is 01, the sub-oscillator 13 and the main oscillator are oscillated and the oscillation output of the main oscillator 12 is selected by the selector 14. Then, the oscillating operations of both the oscillators 12 and 13 are stopped by the control signal S10. In the reset process, the control signal S1 is initialized to 00, the oscillation operation of the sub-oscillator 13 is designated, the selector 14 is designated to select the output of the sub-oscillator 13, and the operation reference clock signal after the reset is released. φs is a low frequency of 32 KHz. A clock signal of 32 KHz from the sub-oscillator 13 is constantly supplied to the clock timer 9 as a synchronous clock signal for timer operation.
[0025]
In the module stop control register 16, control data for controlling the operation stop (inoperable state) of the flash memory 7, the RAM 8, the clock timer 9, other peripheral circuits 10, and the oscillation control circuit 11 and the release of the stop are set. The control data can be set by the CPU 2 via the bus 15 in a programmable manner. When the standby mode STB is asserted to indicate the standby mode, the control data is forced to stop the operation of all circuit modules. When the standby signal STB is negated and the release of the standby mode is instructed, the control data is set to the same low power consumption state as after reset release described later.
[0026]
The system controller 6 performs microcomputer reset control and the like. That is, the internal reset signal res / (symbol / means a low enable signal) of the microcomputer 1 is output from the AND gate 22. The internal reset signal res / is supplied to an internal circuit of the microcomputer 1 and resets (initializes) a register value and a predetermined circuit node according to the low level. The reset is released by the high level of the internal reset signal res /. An external reset signal RES / from a reset terminal and a transfer end signal S3 from the data transfer control circuit 4 are input to the AND gate 22. When the reset operation is instructed by the low level of the external reset signal RES /, the internal reset signal res / is set to the low level to start the reset operation, and the reset operation is instructed by the high level of the external reset signal RES /. At this time, the internal reset operation is canceled after the completion of the data transfer by the data transfer control circuit 4 is notified by the transfer end signal S3. When the internal reset operation is released, the CPU 2 fetches the reset vector from the address 0 of the program address and starts executing the reset exception processing. The processing content of the reset exception processing is defined by, for example, a user program.
[0027]
The power supply voltage monitoring circuit 20 activates the signal S4 when the supply voltage reaches the operable voltage when the power supply voltage VCC is applied to the power supply terminal. The oscillation stabilization counter 21 starts the counting operation of the clock signal φs input to the clock terminal CK when the external reset signal RES / is set to the low level, and the counting operation is performed by the control signal S4 from the power supply voltage monitoring circuit 20. , And when the count value reaches a predetermined value, the control signal S5 is activated. In short, the control signal S5 is such that the power supply voltage VCC is stabilized at the time of power-on and the oscillation frequency of the clock signal φs is stabilized, and then the time necessary for completing the internal reset operation elapses by the counting operation of the counter 21. It is activated after waiting. After the control signal S5 is activated, the microcomputer 1 can normally perform internal operations in synchronization with the clock signal φs using the power supply voltage VCC as an operation power supply.
[0028]
The data transfer control circuit 4 performs data transfer control after the activation of the control signal S5. That is, after the microcomputer 1 can normally perform internal operations in synchronism with the clock signal φs using the power supply voltage VCC as an operation power supply, a predetermined amount of data is stored in the flash memory 7 and the RAM 8 during the power-on reset. Transfer of the program. Although the transfer method is not particularly limited, the transfer control is the same as that of the direct memory access transfer. The transfer source address, the transfer destination address, the number of words to be transferred, and the like are determined by the reset operation of the data transfer control circuit 4. Is determined uniquely. As shown in FIG. 2, the address mapping between the flash memory 7 and the RAM 8 by the reset is as follows. This address mapping is set by hardware when the space control register 30 of the bus controller 3 is reset. The transfer source set during the reset in the data transfer control circuit 4 is the address H'0000-H'00FFF assigned to the area FE1 of the flash memory 7, and the transfer destination is the address H'FD000- assigned to the area RE1 of the RAM 8. H′FDFFF is set. The area FE1 stores the exception processing and interrupt processing vector VEC and a part of the program PGM1, which are transferred to the area RE1 of the RAM 8. Some of the programs PGM1 include a reset exception handling program. After completing the transfer from the area FE1 to the area RE1, the data transfer control circuit 4 assigns addresses H'0000 to H'00FFF as a program area to a part of the area RE1 of the RAM 8 and a part of the area of the flash memory. Addresses H'01000 to H'3FFFF are assigned to FE2 as a subsequent program area. The area FE1 of the flash memory 7 is not address-mapped and is a non-access area, and the area RE2 of the RAM 8 is assigned to addresses H'FE000 to H'FFFFF and is used as a work area of the CPU 2. This address mapping is performed by the data transfer control circuit 4 setting control data in the space control register 30 of the bus controller 3. The address mapping between the flash memory 7 and the RAM 8 is as shown in FIG. Further, the data transfer control circuit 4 changes the data setting for the module stop control register 16 to change the flash memory 7 to the operation stop module, and makes the power consumption of the flash memory 7 zero. After completing the processing up to this point, the data transfer control circuit 4 asserts the signal S3.
[0029]
The reset release is instructed by the external reset signal RES /, and the reset operation is released by the internal reset signal res / by asserting the signal S3, whereby the CPU 2 resets the reset vector at address 0 (address H'00000). Fetch is performed to execute reset exception processing. At this time, the address 0 is allocated to a partial area RE1 of the RAM 8 as described above, and the reset vector is fetched from the RAM 8 and the reset exception processing program is fetched from the RAM 8 and executed. Thereafter, the CPU 2 can fetch the program from the RAM 8 and execute it. When it is desired to execute a program in the flash memory 7, the flash memory 7 is made operable. At this time, if the entire RAM 8 is to be used as a work area for the CPU 2, the address mapping may be changed as shown in FIG. If it is desired to further speed up the instruction execution, the main oscillator 12 is caused to oscillate, and its output is selected by the selector 14 to increase the frequency of the clock signal φs.
[0030]
The operation mode of the microcomputer 1 is not particularly limited, but is a low power consumption mode, a normal operation mode, and a standby mode.
[0031]
In the low power consumption mode, the operation reference clock signal φs is used as the oscillation output of the sub oscillator 13, the oscillation operation of the main oscillator 12 is stopped, the flash memory 7 is made inoperable, and the area RE1 of the RAM 8 is used as the program area of the CPU 2. Mode. As is clear from the above description, the microcomputer 1 is in the low power consumption mode when the reset operation is released. In the low power consumption mode, when the CPU 2 accesses the program from H'00000, the RAM is accessed as illustrated in FIG.
[0032]
The normal operation mode is an operation mode in which the operation reference clock signal φs is used as the oscillation output of the main oscillator 12, the flash memory 7 is operable, and the program area of the CPU 2 is the flash memory 7. The transition from the low power consumption mode to the normal operation mode is performed as a part of interrupt processing in response to a predetermined interrupt request (high-speed operation request) for performing high-speed arithmetic processing from the peripheral circuit 10 or externally. And by changing the setting of the module stop control register 16. When the interrupt processing in response to the high-speed operation request ends, the microcomputer returns to the state before the interrupt and returns to the low power consumption mode. In the normal operation mode, when the CPU 2 accesses the program from H'00000, the flash memory 7 is accessed as illustrated in FIG.
[0033]
The standby mode instruction is given to the module stop control register 16 by the standby signal STB, and the control data is forced to stop the operation of all circuit modules. As a result, the oscillation operations of the oscillators 12 and 13 are stopped, and the operations of the CPU 2, the flash memory 7, and the like are stopped. When the standby signal STB is negated and the release of the standby mode is instructed, the control data of the module stop control register 16 is set to the same state as in the low power consumption mode. The standby mode may be set by changing the control data of the module stop control register 16 so that the CPU 2 executes a sleep command and stops the operation of all circuit modules.
[0034]
FIG. 6 illustrates a timing chart of the power-on reset start of the microcomputer 1. 7 and 8 show operation flowcharts at that time.
[0035]
In FIG. 6, (1), (2), and (3) show operations during reset. In (1), an internal reset process started by the assertion of the external reset signal RES / is performed. The oscillation stabilization wait period is set. That is, in FIG. 7, it is determined that the power supply voltage has become an operable voltage (S1), and thereafter, an elapse of the oscillation stabilization time is waited (S2). FIG. 9 illustrates an outline of an internal state of the microcomputer 1 in the internal reset processing. A circuit module indicated by a thick rectangle is an operable circuit module. The main clock is a clock signal output from the main oscillator 12, and the sub clock is a clock signal output from the sub oscillator 13.
[0036]
Steps (2) and (3) in FIG. 6 are periods during which the data transfer control circuit 4 transfers vectors and programs from the flash memory 7 to the RAM 8, and the like. In FIG. 7, the data transfer process of step S3 is performed. In particular, (3) means a period during which the transfer of the program has not yet been completed even if an external reset release instruction has been issued. After the transfer of the program or the like, the flash memory 7 is disabled by the module stop control. FIG. 10 illustrates an outline of the internal state of the microcomputer 1 in the transfer processing of the program and the like.
[0037]
Thereafter, the microcomputer 1 is operated in the low power consumption mode indicated by the period (4) in FIG. First, a reset vector is fetched from the RAM 8 to execute reset exception processing, and thereafter, in a low power consumption mode, the presence or absence of an external high-speed operation request is monitored. For example, input monitoring of button operation or waiting for data reception is performed. In FIG. 7, reset exception processing and the like are performed in step S6, and monitoring for the presence or absence of a high-speed operation request is performed in step S7. An outline of the internal state of the microcomputer 1 in the low power consumption mode is illustrated in FIG.
[0038]
In (5) of FIG. 6, for example, an input of a button operation is detected, and transition control to the normal operation mode is performed. That is, the main oscillator 12 is oscillated to release the module stop of the flash memory 7 to enable the operation. Waiting for stabilization of the oscillation clock signal φs and stabilization of the operation of the oscillation circuit TCNT of the flash memory 7, switching of the clock signal and switching of the address mapping by the bus control register 30 are performed, and the microcomputer 1 Operate in normal operation mode as indicated by the period. In FIG. 8, the process of transition to the normal operation mode is the process of steps S8 to S11, and the process of the normal operation mode is steps S12 to S13. FIG. 12 illustrates an outline of the internal state of the microcomputer 1 when transitioning to the normal operation mode. FIG. 13 schematically illustrates the internal state of the microcomputer 1 in the normal operation mode.
[0039]
After the necessary operation in the normal operation mode is completed, the operation mode is again shifted to the low power consumption mode as indicated by (7). In FIG. 8, the transition process is shown in steps S14 to S16.
[0040]
In FIG. 6, in the low power consumption mode, for example, when there is no operation request for a certain period, the standby mode is instructed from outside as shown by (8). When the release of the standby mode is instructed, the subclock oscillator 13 resumes the oscillating operation as shown in (9), and is set to the low power consumption mode. FIG. 14 schematically shows the internal state of the microcomputer 1 in the standby mode.
[0041]
In the above description, the microcomputer 1 is set to the low power consumption mode after the reset is released, and performs the reset exception processing in the operation mode as it is. That is, immediately after reset release, a low power consumption mode is set in which the CPU 2 executes the program of the RAM 8 in a state where the operation of the flash memory 7 is stopped. Since the program is transferred during the reset, the power consumption by the on-chip flash memory 7 is reduced as a function unique to the microcomputer 1 without depending on the user program, thereby realizing low power consumption of the microcomputer 1 as a whole. can do. Since the microcomputer 1 operates in the low power consumption mode as the main operation mode, excellent low power consumption performance can be realized.
[0042]
Contrary to the above, the microcomputer 1 of the present invention is configured to be in the normal operation mode after reset release, perform reset exception processing in this operation mode, and operate in the low power consumption mode as necessary. Is also possible. Hereinafter, a case where such a configuration is adopted for the microcomputer 1 will be described. That is, when the processing of transferring the program and the vector from the flash memory 7 to the RAM 8 is completed, the operation of the flash memory 7 is kept enabled, and the address mapping between the RAM 8 and the flash memory 7 with respect to the address space of the CPU 2 is performed as shown in FIG. Keep it as it is. After the reset is released, the CPU 2 executes the program of the flash memory 7 in the manner illustrated in FIG. The operation mode is changed to the low power consumption mode as necessary due to an interrupt or the like, and after the operation in the low power consumption mode is completed, the process returns from the interrupt processing and the instruction can be executed in the normal operation mode.
[0043]
FIG. 15 illustrates a timing chart of a power-on reset start of the microcomputer which is brought into the normal operation mode immediately after the reset. 16 and 17 show operation flowcharts at that time.
[0044]
In FIG. 15, (1), (2) and (3) show operations during reset. In (1), an internal reset process started by the assertion of the external reset signal RES / is performed. The oscillation stabilization wait period is set. That is, in FIG. 16, it is determined that the power supply voltage has become an operable voltage (S11), and thereafter, an elapse of the oscillation stabilization time is waited (S12).
[0045]
(2) and (3) in FIG. 15 are periods during which the data transfer control circuit 4 transfers vectors and programs from the flash memory 7 to the RAM 8 and the like. In FIG. 16, the data transfer process of step S13 is performed. In particular, (3) means a period during which the transfer of the program has not yet been completed even if an external reset release instruction has been issued.
[0046]
Thereafter, the microcomputer 1 is operated in the normal operation mode indicated by the period (4) in FIG. First, a reset vector is fetched from the flash memory 7 to execute reset exception processing, and thereafter, completion of the high-speed operation in the normal operation mode is monitored. In FIG. 16, reset exception processing and the like are performed in step S15, and monitoring of completion of high-speed operation is performed in step S16.
[0047]
In (5) of FIG. 15, for example, transition control to the low power consumption mode is performed. That is, as illustrated in FIG. 17, the address mapping is switched by the bus control register 30 (S17), the operation of the flash memory 7 is stopped (S18), the oscillation of the main oscillator 12 is stopped, and the operation reference clock is output. The signal φs is switched to the oscillation output of the sub oscillator 13 (S19). Thus, the CPU 2 fetches an instruction from the address-mapped RAM 8 in FIG. 4 and executes the program (S20). After completing the necessary operation in the low power consumption mode, it is monitored whether a request for a high speed operation in the normal operation mode is made (S21).
[0048]
When the request for the high-speed operation is detected, the transition control to the normal operation mode is performed in (6) of FIG. That is, the main oscillator 12 is oscillated to release the module stop of the flash memory 7 to enable the operation. Waiting for stabilization of the oscillation clock signal φs and stabilization of the operation of the oscillation circuit TCNT of the flash memory 7, switching of the clock signal and switching of the address mapping by the bus control register 30 are performed, and the microcomputer 1 Operate in normal operation mode as indicated by the period. In FIG. 17, the transition processing to the normal operation mode is the processing of steps S22 to S25.
[0049]
In the example of FIG. 15, after the necessary operation in the normal operation mode is completed, the standby mode as indicated by {circle around (8)} is set, and thereafter, the mode transits to the normal operation power mode again.
[0050]
In the configuration in which the transition to the low power consumption mode is enabled after executing the reset exception processing after reset release as illustrated in FIG. 15, the transition to the low power consumption mode is performed by a user program or an external device. The microcomputer itself can be prepared so as to be able to immediately transit to the low power consumption mode upon receiving the instruction.
[0051]
Although the invention made by the inventor has been specifically described based on the embodiment, the present invention is not limited to the embodiment, and it goes without saying that the invention can be variously modified without departing from the gist thereof.
[0052]
For example, the operation mode of the microcomputer is not limited to the low power consumption mode, the normal operation mode, and the standby mode. A sleep mode in which the operation of the CPU and the flash memory is stopped to enable predetermined peripheral circuits to operate; a module standby mode in which the CPU and the flash memory are enabled and operation of the peripheral circuits are stopped; Sub-active mode to operate synchronously with the clock for clock, sub-sleep mode to suspend operation of the CPU and flash memory and enable peripheral circuits to operate synchronously with the clock for clock, and to suspend operation of the CPU and flash memory and operate only the clock timer A watch mode may be provided. Also, the oscillator is not limited to a configuration having two main oscillators and a sub-oscillator separately, but does not require high precision used for a clock or the like and has a low-frequency oscillator separately from a high-precision and high-frequency oscillator. It is preferable for low power consumption to operate only the former oscillator at the time of clock synchronization operation with priority on low power consumption. The circuit module possessed by the microcomputer is not limited to the example of FIG. 1 and can be changed as appropriate. The electrically rewritable nonvolatile memory is not limited to a flash memory, but may be an EEPROM, a high-dielectric memory, or the like. The data transfer control circuit 4 may be configured as a dedicated circuit for program transfer processing performed as part of the reset processing. However, when a general-purpose transfer control circuit such as a direct memory access controller is provided as an on-chip circuit module, Such a transfer control circuit may be used for transfer control of a program in the reset processing.
[0053]
The data processor of the present invention can be widely applied to various data processing apparatuses called a microprocessor, a single-chip data processor, and the like, in addition to the microcomputer.
[0054]
【The invention's effect】
The following is a brief description of an effect obtained by a representative one of the inventions disclosed in the present application.
[0055]
That is, according to the data processor of the present invention, since the program is transferred from the nonvolatile memory to the RAM during the reset, it is possible to prepare to be able to immediately transition to the low power consumption mode when instructed. In addition, the power consumption of the on-chip nonvolatile memory can be reduced as a function unique to the microcomputer without depending on the user program, and low power consumption of the entire microcomputer can be realized.
[Brief description of the drawings]
FIG. 1 is a block diagram of a microcomputer according to an example of the present invention.
FIG. 2 is an explanatory diagram exemplifying address mapping between a flash memory and a RAM by reset;
FIG. 3 is an explanatory diagram exemplifying address mapping between a flash memory and a RAM in a low power consumption mode;
FIG. 4 is an explanatory diagram illustrating a program space accessible by a CPU in a low power consumption mode;
FIG. 5 is an explanatory diagram illustrating a program space accessible by a CPU 2 in a normal operation mode.
FIG. 6 is a timing chart illustrating a power-on reset start state of the microcomputer;
FIG. 7 is an operation flowchart showing a part of the operation control procedure in the power-on reset start of FIG. 6;
FIG. 8 is an operation flowchart showing a continuation of FIG. 6;
FIG. 9 is an explanatory diagram schematically illustrating an internal state of a microcomputer in an internal reset process.
FIG. 10 is an explanatory diagram schematically illustrating an internal state of a microcomputer in transfer processing of a program or the like.
FIG. 11 is an explanatory diagram schematically illustrating an internal state of the microcomputer in a low power consumption mode.
FIG. 12 is an explanatory diagram schematically illustrating an internal state of the microcomputer when transitioning to a normal operation mode.
FIG. 13 is an explanatory diagram schematically illustrating an internal state of the microcomputer in a normal operation mode.
FIG. 14 is an explanatory diagram schematically illustrating an internal state of the microcomputer in a standby mode.
FIG. 15 is a timing chart illustrating a power-on reset start state of a microcomputer which is set to a normal operation mode immediately after reset.
FIG. 16 is an operation flowchart showing a part of the operation control procedure in the power-on reset start of FIG. 15;
FIG. 17 is a flowchart showing a continuation of FIG. 16;
[Explanation of symbols]
1 Microcomputer
2 Central processing unit (CPU)
3 Bus controller
4 Data transfer control circuit
5 Interrupt controller
6 System controller
7 Flash memory
8 RAM
RES / External reset signal
res / Internal reset signal

Claims (12)

中央処理装置と、RAMと、書換え可能な不揮発性メモリとを半導体チップに有し、パワーオンリセット中に前記不揮発性メモリから前記RAMに所定のプログラムの転送を行ない、リセット解除後に、前記不揮発性メモリの動作を停止した状態で前記中央処理装置が前記RAMのプログラムを実行する低消費電力モードへの遷移が可能にされることを特徴とするデータプロセッサ。A central processing unit, a RAM, and a rewritable nonvolatile memory are provided on a semiconductor chip, and a predetermined program is transferred from the nonvolatile memory to the RAM during a power-on reset. A data processor wherein a transition to a low power consumption mode in which the central processing unit executes a program of the RAM is enabled while the operation of the memory is stopped. 前記パワーオンリセットは外部からのリセット信号のアサートにより指示されることを特徴とする請求項1記載のデータプロセッサ。2. The data processor according to claim 1, wherein the power-on reset is instructed by assertion of an external reset signal. 前記リセット解除は前記リセット信号のネゲート後に内部のリセット指示の解除によって行われることを特徴とする請求項2記載のデータプロセッサ。3. The data processor according to claim 2, wherein the reset release is performed by releasing an internal reset instruction after the reset signal is negated. リセット解除後のリセット例外処理を実行した後に前記低消費電力モードへの遷移が可能にされることを特徴とする請求項1記載のデータプロセッサ。2. The data processor according to claim 1, wherein a transition to the low power consumption mode is enabled after executing reset exception processing after reset release. リセット解除後のリセット例外処理自体が前記低消費電力モードとされることを特徴とする請求項1記載のデータプロセッサ。2. The data processor according to claim 1, wherein reset exception processing itself after reset release is set to the low power consumption mode. 前記リセット解除後に実行される前記RAMのプログラムは例外処理及び割り込み処理のベクタとリセット例外処理プログラムを含むことを特徴とする請求項5記載のデータプロセッサ。6. The data processor according to claim 5, wherein the RAM program executed after the reset release includes a vector for exception processing and interrupt processing and a reset exception processing program. 前記不揮発性メモリから前記RAMに所定のプログラムの転送を制御する転送制御回路を有することを特徴とする請求項4又は5記載のデータプロセッサ。6. The data processor according to claim 4, further comprising a transfer control circuit for controlling transfer of a predetermined program from said nonvolatile memory to said RAM. 前記中央処理装置に前記不揮発性メモリのプログラムを実行させる通常動作モードへの遷移が可能にされることを特徴とする請求項4又は5記載のデータプロセッサ。6. The data processor according to claim 4, wherein a transition to a normal operation mode in which the central processing unit executes a program of the nonvolatile memory is enabled. 前記低消費電力モードにおいて前記中央処理装置は第1周波数のクロック信号に同期動作され、前記通常動作モードにおいて前記中央処理装置は前記第1周波数よりも周波数の高い第2周波数のロック信号に同期動作することを特徴とする請求項8記載のデータプロセッサ。In the low power consumption mode, the central processing unit is operated in synchronization with a clock signal having a first frequency, and in the normal operation mode, the central processing unit is operated in synchronization with a lock signal having a second frequency higher than the first frequency. The data processor according to claim 8, wherein 中央処理装置と、RAMと、書換え可能な不揮発性メモリとを半導体チップに有し、パワーオンリセット中に前記不揮発性メモリから前記RAMに所定のプログラムの転送を行ない、リセット解除後に前記不揮発性メモリの動作を停止した状態で前記中央処理装置が前記RAMのプログラムを実行してリセット例外処理を行い、この後、前記中央処理装置が前記RAMのプログラムを実行する低消費電力モードと前記中央処理装置が前記不揮発性メモリのプログラムを実行する通常動作モードとの選択が可能にされることを特徴とするデータプロセッサ。A central processing unit, a RAM, and a rewritable nonvolatile memory on a semiconductor chip, performing a predetermined program transfer from the nonvolatile memory to the RAM during a power-on reset, and releasing the nonvolatile memory after reset release In a state where the operation of the CPU is stopped, the central processing unit executes the program of the RAM to perform a reset exception process, and thereafter, the low power consumption mode in which the central processing unit executes the program of the RAM and the central processing unit. Wherein a normal operation mode for executing a program of the nonvolatile memory can be selected. 前記リセット例外処理及び低消費電力モードにおいて前記中央処理装置は第1周波数のクロック信号に同期動作され、前記通常動作モードにおいて前記中央処理装置は第1周波数よりも高速な第2周波数のクロック信号に同期動作されることを特徴とする請求項10記載のデータプロセッサ。In the reset exception processing and the low power consumption mode, the central processing unit is operated in synchronization with a clock signal of a first frequency, and in the normal operation mode, the central processing unit is synchronized with a clock signal of a second frequency higher than the first frequency. The data processor according to claim 10, wherein the data processor is operated synchronously. 中央処理装置と、RAMと、書換え可能な不揮発性メモリとを半導体チップに有し、パワーオンリセット中に前記不揮発性メモリから前記RAMに所定のプログラムの転送を行ない、リセット解除後に前記不揮発性メモリの動作を停止した状態で前記中央処理装置が前記RAMのプログラムを実行してリセット例外処理を行なうことを特徴とするデータプロセッサ。A central processing unit, a RAM, and a rewritable nonvolatile memory on a semiconductor chip, performing a predetermined program transfer from the nonvolatile memory to the RAM during a power-on reset, and releasing the nonvolatile memory after reset release Wherein the central processing unit executes a program of the RAM to perform a reset exception process in a state in which the operation of the data processor is stopped.
JP2002232520A 2002-08-09 2002-08-09 Data processor Pending JP2004070854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002232520A JP2004070854A (en) 2002-08-09 2002-08-09 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002232520A JP2004070854A (en) 2002-08-09 2002-08-09 Data processor

Publications (1)

Publication Number Publication Date
JP2004070854A true JP2004070854A (en) 2004-03-04

Family

ID=32017896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002232520A Pending JP2004070854A (en) 2002-08-09 2002-08-09 Data processor

Country Status (1)

Country Link
JP (1) JP2004070854A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006056593A1 (en) * 2006-11-29 2008-06-05 Endress + Hauser Gmbh + Co. Kg Method for operating a field device of process and automation technology and corresponding field device
JP2010066809A (en) * 2008-09-08 2010-03-25 Sanyo Electric Co Ltd Microcomputer
JP2010191650A (en) * 2009-02-18 2010-09-02 Nippon Telegr & Teleph Corp <Ntt> Information processor and control method
JP2011203968A (en) * 2010-03-25 2011-10-13 Denso Corp Microcomputer
WO2012008068A1 (en) * 2010-07-13 2012-01-19 パナソニック株式会社 Microcontroller and method of controlling the same
JP2013230078A (en) * 2012-03-28 2013-11-07 Semiconductor Energy Lab Co Ltd Protection circuit, charging device and power storage device
JP2014075696A (en) * 2012-10-04 2014-04-24 Rohm Co Ltd Electronic circuit and electronic apparatus having the same
JP2014164471A (en) * 2013-02-25 2014-09-08 Renesas Electronics Corp LSI and information processing system
US11392192B2 (en) 2018-10-24 2022-07-19 Renesas Electronics Corporation Semiconductor device from transferring programs from a ROM to an SRAM

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006056593A1 (en) * 2006-11-29 2008-06-05 Endress + Hauser Gmbh + Co. Kg Method for operating a field device of process and automation technology and corresponding field device
JP2010066809A (en) * 2008-09-08 2010-03-25 Sanyo Electric Co Ltd Microcomputer
JP2010191650A (en) * 2009-02-18 2010-09-02 Nippon Telegr & Teleph Corp <Ntt> Information processor and control method
JP2011203968A (en) * 2010-03-25 2011-10-13 Denso Corp Microcomputer
WO2012008068A1 (en) * 2010-07-13 2012-01-19 パナソニック株式会社 Microcontroller and method of controlling the same
JP2012022479A (en) * 2010-07-13 2012-02-02 Panasonic Corp Microcontroller and its control method
JP2013230078A (en) * 2012-03-28 2013-11-07 Semiconductor Energy Lab Co Ltd Protection circuit, charging device and power storage device
JP2014075696A (en) * 2012-10-04 2014-04-24 Rohm Co Ltd Electronic circuit and electronic apparatus having the same
JP2014164471A (en) * 2013-02-25 2014-09-08 Renesas Electronics Corp LSI and information processing system
US11392192B2 (en) 2018-10-24 2022-07-19 Renesas Electronics Corporation Semiconductor device from transferring programs from a ROM to an SRAM

Similar Documents

Publication Publication Date Title
US7752467B2 (en) Integrated circuit device
US9405350B2 (en) Memory control device, semiconductor device, and system board
US7058834B2 (en) Scan-based state save and restore method and system for inactive state power reduction
US5974528A (en) Microcomputer with embedded flash memory having on-chip programming capability and method of programming data into the embedded flash memory
JP4515093B2 (en) CPU power-down method and apparatus therefor
JPWO2002061591A1 (en) Data processing system and data processor
JP5610566B2 (en) Semiconductor device and data processing system
JP2006127466A (en) Microcomputer
JP2001350738A (en) Microcomputer with built-in flash memory
JP2004070854A (en) Data processor
US7219248B2 (en) Semiconductor integrated circuit operable to control power supply voltage
JP2004192488A (en) Data processor and memory card
US20030084235A1 (en) Synchronous DRAM controller and control method for the same
JP2008059300A (en) Microcomputer
CN107102868B (en) Embedded system and quick starting method and device thereof
JP2004038642A (en) Multiprocessor
US6370651B1 (en) Synchronizing user commands to a microcontroller in a memory device
US10761581B2 (en) Method and module for programmable power management, and system on chip
JP2002244916A (en) Microcontroller
US10338655B2 (en) Advanced fall through mechanism for low power sequencers
JP2005141522A (en) Data processing apparatus
JPH11288409A (en) Microcomputer
JP2004288042A (en) Information processing apparatus and information processing method
JP2004152321A (en) Data processor
JPH10161766A (en) Semiconductor integrated circuit device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050525

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080129

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080603