JP4755123B2 - Operation mode control circuit for information processing apparatus and information processing apparatus - Google Patents

Operation mode control circuit for information processing apparatus and information processing apparatus Download PDF

Info

Publication number
JP4755123B2
JP4755123B2 JP2007038324A JP2007038324A JP4755123B2 JP 4755123 B2 JP4755123 B2 JP 4755123B2 JP 2007038324 A JP2007038324 A JP 2007038324A JP 2007038324 A JP2007038324 A JP 2007038324A JP 4755123 B2 JP4755123 B2 JP 4755123B2
Authority
JP
Japan
Prior art keywords
operation mode
signal
latch
control circuit
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007038324A
Other languages
Japanese (ja)
Other versions
JP2008204087A (en
Inventor
康介 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2007038324A priority Critical patent/JP4755123B2/en
Publication of JP2008204087A publication Critical patent/JP2008204087A/en
Application granted granted Critical
Publication of JP4755123B2 publication Critical patent/JP4755123B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Hardware Redundancy (AREA)
  • Microcomputers (AREA)
  • Logic Circuits (AREA)

Description

本発明は、動作モードを制御する動作モード制御回路の誤動作を防止する技術に関する。   The present invention relates to a technique for preventing malfunction of an operation mode control circuit that controls an operation mode.

近年、複数の動作モードを有するマイクロコンピュータの利用が増えている。例えば、家電製品や自動車などに利用されている。動作モードは、消費電力を抑えるために、通常動作モードに加え、低消費電力モードなどが設定される。複数の動作モードを持ったマイクロコンピュータにおいて、通常の使用時には、通常動作モードを使用することになるが、誤って他のモードへ遷移することは重大な問題を招く。   In recent years, the use of microcomputers having a plurality of operation modes has increased. For example, it is used for home appliances and automobiles. In order to reduce power consumption, the operation mode is set to a low power consumption mode in addition to the normal operation mode. In a microcomputer having a plurality of operation modes, the normal operation mode is used at the time of normal use. However, erroneous transition to another mode causes a serious problem.

最近の車両機器制御は、ほとんどマイクロコンピュータ制御により行われている。このため、複数の動作モードがある車載用のマイクロコンピュータにおいて、ユーザ使用時に通常動作モードによる動作の安全性を保障する必要がある。自動車に搭載されるマイクロコンピュータは、高ノイズ環境下に置かれることになり、好ましくない動作モードに遷移してしまう可能性が無視できない。このため、誤遷移により重大な問題が発生する可能性がある。また、誤遷移から復旧する場合、モードを確定する時にリセットが必要であり、リセット(強制リセット)時にデータ消失などの重大な問題を招く。このため、自動車搭載用マイクロコンピュータは、使用時の信頼性を確保する為に誤モードへの遷移を防ぐ必要がある。   Most recent vehicle equipment control is performed by microcomputer control. For this reason, in a vehicle-mounted microcomputer having a plurality of operation modes, it is necessary to ensure the safety of operation in the normal operation mode when used by a user. A microcomputer mounted on an automobile is placed in a high noise environment, and the possibility of transition to an undesired operation mode cannot be ignored. For this reason, a serious problem may occur due to erroneous transition. Further, when recovering from an erroneous transition, a reset is necessary when determining the mode, and a serious problem such as data loss is caused at the time of reset (forced reset). For this reason, in-vehicle microcomputers need to prevent transition to an erroneous mode in order to ensure reliability during use.

例えば、特許文献1には、ノイズなどにより動作モード保持レジスタの書き込み内容が変化して予定していない動作モードへ遷移する問題を解決する発明が記載されている。ノイズなどにより動作モード保持レジスタの書き込み内容が変化して予定していない動作モード(低消費電力動作モード)に陥る場合、リセットして回復するしかなかった。強制リセットはデータ消失などの問題を招く。このため、特許文献1では、動作モードの誤選択を防止可能な、複数の低消費電力動作モードを有するマイクロコンピュータを提供する技術を開示している。   For example, Patent Literature 1 describes an invention that solves the problem of transition to an unplanned operation mode due to changes in the write contents of the operation mode holding register due to noise or the like. When the contents written in the operation mode holding register are changed due to noise or the like and fall into an unplanned operation mode (low power consumption operation mode), there is no choice but to recover by resetting. A forced reset causes problems such as data loss. For this reason, Patent Document 1 discloses a technique for providing a microcomputer having a plurality of low power consumption operation modes that can prevent erroneous selection of operation modes.

特許文献1の図1には、上記課題を解決するマイクロコンピュータ装置のブロック図が開示され、次のように動作することが説明されている。複数の動作モードの一つが動作モード保持レジスタBにセットされる。また、低消費電力動作モードが切り替えスイッチ2から動作モード固定レジスタCに書き込まれる。両レジスタB、Cの保持内容が不一致だった場合、動作モード保持レジスタAとBの保持内容にかかわらずレジスタA書き込み回路は、通常動作モードを意味する信号NをレジスタAに書き込む。また、レジスタA書き込み回路は、レジスタBがLP1又はLP2を保持しかつ、それがレジスタCの保持回路と一致する場合にレジスタAにレジスタBの保持内容を書き込む。プログラムにより必要な条件が満足されたことを確認するとCPU(Central Processing Unit)は、LP1またはLP2をレジスタBへ出力する。   FIG. 1 of Patent Document 1 discloses a block diagram of a microcomputer device that solves the above-described problem, and explains that it operates as follows. One of the plurality of operation modes is set in the operation mode holding register B. Further, the low power consumption operation mode is written from the changeover switch 2 to the operation mode fixing register C. When the contents held in both registers B and C do not match, the register A write circuit writes the signal N indicating the normal operation mode to the register A regardless of the contents held in the operation mode holding registers A and B. The register A write circuit writes the held contents of the register B to the register A when the register B holds LP1 or LP2 and matches the holding circuit of the register C. When it is confirmed that the necessary conditions are satisfied by the program, the CPU (Central Processing Unit) outputs LP1 or LP2 to the register B.

また、図15に従来の動作モード制御回路の構成例のブロック図を示す。図15に示す動作モード制御回路では、通常使用時は、通常動作モードのみ使用し、通常動作モードから外れないことが重要になる。動作モードを選択する端子や動作モード決定に使用するリセット信号にノイズ影響があり、動作モードが誤遷移した場合、動作モード復旧の為にリセットが必要である。しかし、リセットは、データ消失などの問題を招く。このため、動作モードの誤遷移防止可能な、複数の動作モードを有するマイクロコンピュータを提供する技術を示している。   FIG. 15 is a block diagram showing a configuration example of a conventional operation mode control circuit. In the operation mode control circuit shown in FIG. 15, during normal use, it is important to use only the normal operation mode and not deviate from the normal operation mode. If the operation mode selection terminal or the reset signal used to determine the operation mode has a noise influence and the operation mode is erroneously changed, a reset is required to restore the operation mode. However, reset causes problems such as data loss. Therefore, a technique for providing a microcomputer having a plurality of operation modes capable of preventing erroneous transition of the operation modes is shown.

複数の動作モードがあるマイクロコンピュータでは、通常動作モードと各部の機能をテストするための各種テストモードなどがあり、それらを切り替えて使用する。このとき、複数の動作モードを選択するために入力端子(複数本)を利用する。各モードは、パワーオンリセットまたはリセット時に、動作モード端子のデータをデコードし、選択されたモード毎に内部の機能を切り替える。   In a microcomputer having a plurality of operation modes, there are a normal operation mode and various test modes for testing the function of each part, and these are used by switching. At this time, input terminals (plural) are used to select a plurality of operation modes. In each mode, at the time of power-on reset or reset, the data of the operation mode terminal is decoded and the internal function is switched for each selected mode.

図15に示した動作モード制御回路2は、一つの動作モード端子(動作モード指定用端子)111から入力される信号を制御する構成である。従って、マイクロコンピュータは、動作モード端子111毎に図15に示す動作モード制御回路2を備える。動作モード制御回路2は、次のように動作する。動作モード制御回路2は、ノイズフィルタ202後の動作モード指定端子信号206を、リセット信号19のノイズフィルタ203前後の信号によってラッチする。動作モード制御回路2は、ラッチA23の出力信号207とラッチB24の出力信号208をAND回路25により論理積にしたものを動作モード判定信号130として確定する。この構成により、誤遷移の低減を行っている。従って、ラッチA23、ラッチB24両方の出力信号値が"1"とならない限り、動作モード判定信号130は、"0"になる。また、複数の動作モード端子111を備えるマイクロコンピュータにおいて、複数の動作モード端子がすべて"0"の時、マイクロコンピュータは、通常動作モードを選ぶ。   The operation mode control circuit 2 shown in FIG. 15 is configured to control a signal input from one operation mode terminal (operation mode designating terminal) 111. Therefore, the microcomputer includes the operation mode control circuit 2 shown in FIG. 15 for each operation mode terminal 111. The operation mode control circuit 2 operates as follows. The operation mode control circuit 2 latches the operation mode designation terminal signal 206 after the noise filter 202 by signals before and after the noise filter 203 of the reset signal 19. The operation mode control circuit 2 determines the logical product of the output signal 207 of the latch A23 and the output signal 208 of the latch B24 by the AND circuit 25 as the operation mode determination signal 130. With this configuration, erroneous transitions are reduced. Therefore, unless the output signal values of both the latch A 23 and the latch B 24 are “1”, the operation mode determination signal 130 is “0”. Further, in the microcomputer having the plurality of operation mode terminals 111, when all of the plurality of operation mode terminals are “0”, the microcomputer selects the normal operation mode.

また、動作モード制御回路2は、チップ外部と内部にそれぞれプルダウン抵抗21、27及びグランド(GND)22、28を挿入している。プルダウン抵抗27は動作モード信号外部ライン用であり、プルダウン抵抗21は動作モード信号内部ライン用である。どちらの抵抗も誤投入要因の低減目的に配置されている。動作モード指定端子信号204にノイズフィルタ202を挿入し、また、リセット信号19にノイズフィルタ203を挿入し、いずれも誤投入要因の低減を行っている。   In the operation mode control circuit 2, pull-down resistors 21 and 27 and grounds (GND) 22 and 28 are inserted outside and inside the chip, respectively. The pull-down resistor 27 is for an operation mode signal external line, and the pull-down resistor 21 is for an operation mode signal internal line. Both resistors are arranged for the purpose of reducing erroneous input factors. The noise filter 202 is inserted into the operation mode designation terminal signal 204 and the noise filter 203 is inserted into the reset signal 19, both of which reduce the error input factor.

図16、図17に動作モード制御回路2のタイミングチャートを示す。図16は、リセット解除時にノイズフィルタ202後の動作モード指定端子信号206へノイズが発生した場合、誤モードに遷移すること(動作モード判定信号130が"1")を示している。また、図17は、リセット解除による動作モード確定後、ノイズフィルタ202後の動作モード指定端子信号206へノイズが発生した場合、誤モード遷移を防ぐこと(動作モード判定信号130が"0")を示している。しかし、ラッチA23及びラッチB24の値が反転した場合(ノイズが発生した場合)は、誤モードに遷移すること(動作モード判定信号130が"1")を示している。   16 and 17 show timing charts of the operation mode control circuit 2. FIG. FIG. 16 shows that when noise occurs in the operation mode designation terminal signal 206 after the noise filter 202 at the time of reset release, the mode is changed to an erroneous mode (the operation mode determination signal 130 is “1”). Also, FIG. 17 shows that when noise occurs in the operation mode designation terminal signal 206 after the noise filter 202 after the operation mode is determined by reset release, erroneous mode transition is prevented (the operation mode determination signal 130 is “0”). Show. However, when the values of the latch A23 and the latch B24 are inverted (noise is generated), it indicates that the mode is changed to the erroneous mode (the operation mode determination signal 130 is “1”).

特許文献1に開示されたマイクロコンピュータ装置では、動作モード出力レジスタAまたは動作モード保持レジスタBへノイズの影響があった場合、動作モードが遷移する問題を有している。また、動作モード信号線へノイズの影響があった場合も同じく動作モードが遷移する問題を有している。このように、使用者が意図しない誤モードに遷移することによって通常動作できなくなることが問題であった。例えば、動作モード保持レジスタBがノイズなどの影響により通常動作モードを意味する信号Nから低消費電力動作モードLP1またはLP2に変わり、動作モード固定レジスタCと一致する場合が発生する。この場合、動作モード出力レジスタAにLP1またはLP2が書き込まれ、通常動作モードから低消費電力動作モードへ遷移してしまう。あるいは、直接動作モード出力レジスタAがノイズなどの影響によりNからLP1またはLP2に変わった場合が発生する。この場合、通常動作モードから低消費電力動作モードへ遷移してしまう。   The microcomputer device disclosed in Patent Document 1 has a problem that the operation mode transitions when the operation mode output register A or the operation mode holding register B is affected by noise. Further, when there is an influence of noise on the operation mode signal line, there is also a problem that the operation mode changes. As described above, there is a problem that normal operation cannot be performed by shifting to an erroneous mode that is not intended by the user. For example, the operation mode holding register B changes from the signal N indicating the normal operation mode to the low power consumption operation mode LP1 or LP2 due to the influence of noise or the like, and may coincide with the operation mode fixed register C. In this case, LP1 or LP2 is written to the operation mode output register A, and the normal operation mode is changed to the low power consumption operation mode. Alternatively, the direct operation mode output register A may change from N to LP1 or LP2 due to the influence of noise or the like. In this case, the normal operation mode is shifted to the low power consumption operation mode.

また、図15に示す動作モード制御回路2は、ラッチA23及びB24へノイズの影響があった場合、動作モードが遷移する問題を有している。また、ラッチの出力信号207及び208へノイズの影響があった場合も同じく動作モードが遷移する問題を有している。さらに、リセット解除時に、ノイズフィルタ後の動作モード指定端子信号206へノイズの影響があった場合も同じく動作モードが遷移する問題を有している。例えば、ラッチA23及びラッチB24がノイズなどの影響により"0"から"1"へ書き換わる場合が発生する。この場合、デコーダへ通知する動作モード判定信号130が"1"になり、通常動作モードから他モードへ遷移してしまう。あるいは、ラッチA23及びラッチB24がノイズなどにより書き換わる場合が発生する。この場合、リセット有無に関係なく誤モードへ遷移することになる。   Further, the operation mode control circuit 2 shown in FIG. 15 has a problem that the operation mode transitions when there is an influence of noise on the latches A23 and B24. Further, when the output signals 207 and 208 of the latch are affected by noise, there is a problem that the operation mode is similarly changed. Furthermore, when reset is released, the operation mode is similarly shifted when there is an influence of noise on the operation mode designation terminal signal 206 after the noise filter. For example, the latch A23 and the latch B24 may be rewritten from “0” to “1” due to the influence of noise or the like. In this case, the operation mode determination signal 130 notified to the decoder becomes “1”, and the normal operation mode is changed to another mode. Alternatively, the latch A23 and the latch B24 may be rewritten due to noise or the like. In this case, a transition is made to the wrong mode regardless of the presence or absence of reset.

図18に、図15に示す動作モード制御回路における状態遷移を表す。図18では、動作モード端子111の値("0"または"1")をリセット信号に基づいてラッチすることよって決まるマイクロコンピュータの動作状態を示している。状態ブロック3は、「端子」と表示した領域に動作モード端子111の値、「ラッチ」と表示した領域にラッチの値、矢印で指した領域にマイクロコンピュータの動作状態を示している。ここで図15の構成において、ラッチの値は、ラッチA23及びラッチB24の論理積の値、すなわち、AND回路25の出力値となる。また、マイクロコンピュータが複数の動作モード端子を備える場合、マイクロコンピュータの動作状態がすべての動作モード端子で"0"の時、マイクロコンピュータは、通常動作モードを選ぶ。   FIG. 18 shows a state transition in the operation mode control circuit shown in FIG. FIG. 18 shows an operation state of the microcomputer determined by latching the value (“0” or “1”) of the operation mode terminal 111 based on the reset signal. The status block 3 shows the value of the operation mode terminal 111 in the area labeled “terminal”, the latch value in the area labeled “latch”, and the microcomputer operating status in the area indicated by the arrow. Here, in the configuration of FIG. 15, the value of the latch is the logical product of the latch A 23 and the latch B 24, that is, the output value of the AND circuit 25. When the microcomputer includes a plurality of operation mode terminals, the microcomputer selects the normal operation mode when the operation state of the microcomputer is “0” at all the operation mode terminals.

状態ブロック31は、動作モード端子111に"0"が入った状態を示す。リセット解除前(リセット中)は動作モード端子111の状態は、マイクロコンピュータの動作に関係しない。リセット解除301することによって、ラッチが"0"になり、マイクロコンピュータの動作状態も"0"になる。状態ブロック32は、状態ブロック31の状態からリセット解除301の後、動作モード端子111とラッチの値が同じであり、安定した状態と言える。状態ブロック36は、動作モード端子111へ端子ノイズ311の影響があり、動作モード端子111の値が"1"の状態である。状態ブロック36の状態では、マイクロコンピュータの動作状態が"1"へ遷移しない。また、端子安定310することで状態ブロック32へ戻る。   The state block 31 shows a state in which “0” is entered in the operation mode terminal 111. Before reset release (during reset), the state of the operation mode terminal 111 is not related to the operation of the microcomputer. By releasing the reset 301, the latch becomes "0" and the operation state of the microcomputer also becomes "0". The state block 32 has the same latch value as the operation mode terminal 111 after the reset release 301 from the state of the state block 31, and can be said to be a stable state. In the state block 36, the operation mode terminal 111 is affected by the terminal noise 311 and the value of the operation mode terminal 111 is “1”. In the state of the state block 36, the operation state of the microcomputer does not transition to “1”. Further, the terminal block is stabilized 310, and the process returns to the state block 32.

状態ブロック34は、ラッチへラッチノイズ313の影響があり、ラッチの値が"1"の状態となっている。状態ブロック34の状態では、マイクロコンピュータの動作状態が"1"へ誤遷移する。状態ブロック33は、状態ブロック31の状態からリセット解除302と同時にモード端子へノイズ影響303があり、動作モード端子111とラッチの値が"1"の状態である。あるいは、状態ブロック34の状態から動作モード端子111へ端子ノイズ312の影響があり、動作モード端子111とラッチの値が"1"の状態である。状態ブロック33の状態では、マイクロコンピュータの動作状態が"1"へ誤遷移する。   In the status block 34, the latch is affected by the latch noise 313, and the value of the latch is “1”. In the state of the state block 34, the operation state of the microcomputer erroneously changes to “1”. In the state block 33, there is a noise influence 303 on the mode terminal simultaneously with the reset release 302 from the state of the state block 31, and the value of the operation mode terminal 111 and the latch is “1”. Alternatively, there is an influence of the terminal noise 312 from the state of the state block 34 to the operation mode terminal 111, and the values of the operation mode terminal 111 and the latch are “1”. In the state of the state block 33, the operation state of the microcomputer erroneously changes to “1”.

状態ブロック35は、状態ブロック33の状態から動作モード端子111が安定し、動作モード端子111の値が"0"の状態である。動作モード端子111が安定してもラッチの値が"1"の状態であるため、マイクロコンピュータの動作状態は、誤遷移された状態の"1"となっている。   In the state block 35, the operation mode terminal 111 is stable from the state of the state block 33, and the value of the operation mode terminal 111 is “0”. Even if the operation mode terminal 111 is stabilized, the latch value is “1”, so that the operation state of the microcomputer is “1” which is an erroneous transition state.

従来、マイクロコンピュータでは、WDT(Watchdog Timer)機能で外部監視してリセットしていたが、リセット時にデータ消失などの重大な問題を招いていた。またWDTが発生するまでの時間や復旧までの初期ルーチンなどが必要になっていた。
特開2001−67337号公報
Conventionally, a microcomputer has been externally monitored and reset by a WDT (Watchdog Timer) function, but a serious problem such as data loss has been caused at the time of reset. In addition, a time until WDT occurs and an initial routine until recovery are required.
JP 2001-67337 A

しかしながら、ユーザが動作モード制御回路を備える情報処理装置(例えば、動作モード制御回路を搭載したマイクロコンピュータを備える装置)を通常動作モード使用中に、外部ノイズなどにより誤った動作モードに遷移すると、データの消失等の重大な影響を及ぼす。また、動作モード制御回路を搭載する装置の安全性、安定性を確保できない。   However, if the user transitions to an incorrect operation mode due to external noise or the like while using the normal operation mode of an information processing device including an operation mode control circuit (for example, a device including a microcomputer equipped with an operation mode control circuit), the data Serious effects such as disappearance of In addition, the safety and stability of the device equipped with the operation mode control circuit cannot be ensured.

このように、動作モードを制御する動作モード制御回路が外部ノイズなどの影響により、誤った動作モードに遷移するという問題があった。   As described above, there has been a problem that the operation mode control circuit for controlling the operation mode shifts to an incorrect operation mode due to the influence of external noise or the like.

本発明に係る情報処理装置の動作モード制御回路の一態様は、動作モード指定端子信号をリセット信号に基づいてラッチして、第一保持値を保持する第一ラッチ(例えば、図3のラッチA23)と、前記動作モード指定端子信号をフィルタ処理したリセット信号に基づいてラッチして、第二保持値を保持する第二ラッチ(例えば、図3のラッチB24)と、前記第一保持値、前記第二保持値、及び前記動作モード指定端子信号に基づいて、動作モード判定信号を出力する判定部(例えば、図3の判定部42)と、を備える。   An aspect of the operation mode control circuit of the information processing apparatus according to the present invention is a first latch that latches an operation mode designation terminal signal based on a reset signal and retains a first retained value (for example, latch A23 in FIG. 3). ), A second latch (for example, latch B24 in FIG. 3) that latches the operation mode designating terminal signal based on the filtered reset signal, and holds the second holding value, the first holding value, A determination unit that outputs an operation mode determination signal based on the second hold value and the operation mode designation terminal signal (for example, the determination unit in FIG. 3).

また、本発明に係る情報処理装置(マイクロコンピュータなど)は、動作モード制御回路(例えば、図3、図7、図12のいずれかの動作モード制御回路)を備える。   Further, the information processing apparatus (such as a microcomputer) according to the present invention includes an operation mode control circuit (for example, the operation mode control circuit in any one of FIGS. 3, 7, and 12).

本発明によれば、動作モードを制御する動作モード制御回路が外部ノイズなどの影響により、誤った動作モードに遷移することを防止することが可能となる。これにより、外部ノイズなどの影響を軽減し、システムの安全性・安定性を向上させることができる。   According to the present invention, it is possible to prevent the operation mode control circuit that controls the operation mode from shifting to an erroneous operation mode due to the influence of external noise or the like. As a result, the influence of external noise and the like can be reduced, and the safety and stability of the system can be improved.

以下、本発明の実施形態について、図面を参照しながら説明する。説明の明確化のため、以下の記載及び図面は、適宜、省略、及び簡略化がなされている。各図面において同一の構成または機能を有する構成要素および相当部分には、同一の符号を付し、その説明は省略する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. For clarity of explanation, the following description and drawings are omitted and simplified as appropriate. In the drawings, components having the same configuration or function and corresponding parts are denoted by the same reference numerals and description thereof is omitted.

(実施形態1)
まず、本発明に係る動作モード制御回路が搭載されるマイクロコンピュータの一例を示す。図1は、本発明に係るマイクロコンピュータの構成例を示すブロック図である。図1に示すマイクロコンピュータ1は、動作モード制御部11、CPU(Central Processing Unit)12、ROM(Read Only Memory)13、RAM(Random Access Memory)14、I/O(Input / Output)15、及びマクロ125を備え、動作モード端子111〜113から動作モード指定端子信号、リセット端子116からリセット信号19を入力する。また、動作モード制御部11は、デコーダ114と三つの動作モード制御回路127〜129を備える。CPU12は、レジスタセット121、制御部122、演算部123、及びバスインターフェース124を備える。また、マイクロコンピュータ1は、CPU−ROM配線16、CPU−RAM配線17、CPU−I/O配線18、及びCPU−マクロ配線126を有する。
(Embodiment 1)
First, an example of a microcomputer on which the operation mode control circuit according to the present invention is mounted is shown. FIG. 1 is a block diagram showing a configuration example of a microcomputer according to the present invention. A microcomputer 1 shown in FIG. 1 includes an operation mode control unit 11, a CPU (Central Processing Unit) 12, a ROM (Read Only Memory) 13, a RAM (Random Access Memory) 14, an I / O (Input / Output) 15, and A macro 125 is provided, and an operation mode designation terminal signal is input from the operation mode terminals 111 to 113 and a reset signal 19 is input from the reset terminal 116. The operation mode control unit 11 includes a decoder 114 and three operation mode control circuits 127 to 129. The CPU 12 includes a register set 121, a control unit 122, a calculation unit 123, and a bus interface 124. The microcomputer 1 includes a CPU-ROM wiring 16, a CPU-RAM wiring 17, a CPU-I / O wiring 18, and a CPU-macro wiring 126.

マイクロコンピュータ1は、動作モード制御部11により、CPU12、I/O15等の動作を制御する。動作モード制御部11において、動作モード制御回路127〜129それぞれは、動作モード端子111〜113からの入力信号(動作モード指定端子信号)をリセット解除時に判定して動作モード判定信号130〜132をデコーダに入力する。動作モード判定信号130〜132それぞれは、第一動作モードと第二動作モードとの二つの動作モードのいずれかを指定する。これにより、動作モード制御部11は、マイクロコンピュータ1全体の動作モードを決定し、動作モード信号115を各構成要素へ出力する。マイクロコンピュータ1は、決定された動作モード基づいて動作する。すなわち、図1では、三つの動作モード端子111〜113から入力される動作モード指定端子信号に基づいて、三つの動作モード判定信号130〜132が出力され、デコーダ114において、一つの動作モードを決定して動作モード信号115を出力する例を示している。   The microcomputer 1 controls operations of the CPU 12, the I / O 15, and the like by the operation mode control unit 11. In the operation mode control unit 11, each of the operation mode control circuits 127 to 129 determines the input signals (operation mode designation terminal signals) from the operation mode terminals 111 to 113 at the time of reset release and decodes the operation mode determination signals 130 to 132 by the decoder. To enter. Each of the operation mode determination signals 130 to 132 designates one of two operation modes, a first operation mode and a second operation mode. Thus, the operation mode control unit 11 determines the operation mode of the entire microcomputer 1 and outputs an operation mode signal 115 to each component. The microcomputer 1 operates based on the determined operation mode. In other words, in FIG. 1, three operation mode determination signals 130 to 132 are output based on operation mode designation terminal signals input from the three operation mode terminals 111 to 113, and one operation mode is determined by the decoder 114. In this example, the operation mode signal 115 is output.

動作モードには、通常動作モードと各部の機能をテストするための各種テストモードがあり、それらを切り替えて使用する。複数の動作モードを選択するために入力端子を複数本利用する。動作モードが2つの場合は、動作モード端子は1本でも構わない。また、動作モード制御回路は、端子の数に応じて備えていればよい。通常使用時は、通常動作モードのみ使用する。   The operation modes include a normal operation mode and various test modes for testing the functions of the respective units, which are switched and used. Multiple input terminals are used to select multiple operation modes. When there are two operation modes, one operation mode terminal may be used. Further, the operation mode control circuit may be provided in accordance with the number of terminals. During normal use, use only the normal operation mode.

ここで、各動作モードについて説明する。図2に動作モードの一例を示す。図2では、動作モード端子の電圧レベルがLowの場合"0"、動作モード端子の電圧レベルがHighの場合"1"を示し、"X"は、どちらの値も選択される場合を示している。通常動作モードは、マイクロコンピュータに内蔵されたCPUがROMやフラッシュメモリに書き込まれているアプリケーション用プログラムに基づいて命令を実行する動作モードである。通常動作モードは、ユーザプログラム(アプリケーション)に基づき分岐し、命令処理を開始する。また、通常動作モード以外のモードの一例として、内蔵機能をテストするテストモード、フラッシュメモリなどへの書き換え用モードであるプログラミングモード、アプリケーションプログラム開発時のプログラムデバッグ用のデバッグモード、デバッグ用のチップとして機能するエミュレータモードなどがある。例えばプログラミングモードでは、FLASHライタを用いて通信を行い、FLASHを書き換える。また、テストモードは、マイクロコンピュータをテストするモードであり、テスト用の命令を外部から与え、内部の信号状態を読み出すこともできる。   Here, each operation mode will be described. FIG. 2 shows an example of the operation mode. In FIG. 2, “0” indicates that the voltage level of the operation mode terminal is Low, “1” indicates that the voltage level of the operation mode terminal is High, and “X” indicates a case where both values are selected. Yes. The normal operation mode is an operation mode in which a CPU built in the microcomputer executes an instruction based on an application program written in a ROM or a flash memory. The normal operation mode branches based on the user program (application) and starts instruction processing. As examples of modes other than the normal operation mode, a test mode for testing built-in functions, a programming mode that is a mode for rewriting to flash memory, etc., a debugging mode for debugging programs during application program development, and a chip for debugging There is a functioning emulator mode. For example, in the programming mode, communication is performed using a FLASH writer to rewrite FLASH. The test mode is a mode for testing the microcomputer, and a test instruction can be given from the outside to read the internal signal state.

図2に示すように、いずれかの端子が"1"のとき、マイクロコンピュータ1は、通常動作モード以外を選択する。通常使用時は、通常動作モードのみ使用し、通常動作モードから外れないことが重要となる。通常動作モードから外れると、通常使用時は、プログラムが動かなくなりユーザシステムが停止し故障につながる重要な問題を招く。動作モードを選択する動作モード端子や、動作モード決定に使用するリセット信号にノイズ影響があり、動作モードが誤遷移した場合、動作モード復旧のためにリセットが必要であり、リセットは、データ消失などの問題を招く。   As shown in FIG. 2, when any terminal is “1”, the microcomputer 1 selects a mode other than the normal operation mode. During normal use, it is important to use only the normal operation mode and not deviate from the normal operation mode. If the normal operation mode is deviated, the program will not work during normal use, causing the user system to stop and an important problem leading to failure. If the operation mode pin that selects the operation mode or the reset signal used to determine the operation mode is affected by noise and the operation mode is erroneously changed, a reset is required to restore the operation mode. Invite problems.

以下に、動作モード制御部11へ外部ノイズ影響があった場合に動作モードの誤遷移を防止する動作モード制御部11の機構について説明する。図3は、本発明の実施形態1に係る動作モード制御回路の構成例を示すブロック図である。図3に示す動作モード制御回路4は、図1に示す動作モード制御回路127に配置される構成例を示したものである。なお、動作モード制御回路128、129についても動作モード制御回路127と同様の回路を配置することができる。動作モード制御回路4は、ラッチ(第一ラッチ)A23、ラッチB(第二ラッチ)24、AND回路25、41、プルダウン抵抗21、27、ノイズフィルタ(Noise Filter)202、203、グランド(GND)22、28を備える。   The mechanism of the operation mode control unit 11 that prevents erroneous transition of the operation mode when the operation mode control unit 11 is affected by external noise will be described below. FIG. 3 is a block diagram illustrating a configuration example of the operation mode control circuit according to the first embodiment of the present invention. The operation mode control circuit 4 shown in FIG. 3 shows a configuration example arranged in the operation mode control circuit 127 shown in FIG. Note that a circuit similar to the operation mode control circuit 127 can be arranged for the operation mode control circuits 128 and 129. The operation mode control circuit 4 includes a latch (first latch) A23, a latch B (second latch) 24, AND circuits 25 and 41, pull-down resistors 21 and 27, noise filters 202 and 203, and ground (GND). 22 and 28 are provided.

図3に示す動作モード制御回路4は、図15に示した動作モード制御回路2へノイズフィルタ202後の動作モード指定端子信号206とAND回路25の出力信号401との論理積を出力するAND回路41を追加した回路である。ここで、AND回路25とAND回路41とを判定部42とする。判定部は、動作モード指定端子信号206とラッチA23の出力信号207、ラッチB24の出力信号208とに基づいて動作モード判定信号130を出力する。   The operation mode control circuit 4 shown in FIG. 3 outputs an AND circuit of the operation mode designation terminal signal 206 after the noise filter 202 and the output signal 401 of the AND circuit 25 to the operation mode control circuit 2 shown in FIG. 41 is a circuit to which 41 is added. Here, the AND circuit 25 and the AND circuit 41 are referred to as a determination unit 42. The determination unit outputs an operation mode determination signal 130 based on the operation mode designation terminal signal 206, the output signal 207 of the latch A23, and the output signal 208 of the latch B24.

動作モード端子111は、動作モード信号外部ライン201によりプルダウン抵抗27とつながっている。動作モード制御回路4は、動作モード端子111から動作モード指定端子信号204を入力する。なお、本明細書の各実施形態では、信号ライン(信号内部ライン、信号外部ライン)を通過する信号へ符号を付して(例えば、動作モード指定端子信号206)説明を行う。   The operation mode terminal 111 is connected to the pull-down resistor 27 by an operation mode signal external line 201. The operation mode control circuit 4 inputs an operation mode designation terminal signal 204 from the operation mode terminal 111. In each embodiment of the present specification, a signal passing through a signal line (signal internal line, signal external line) is given a reference (for example, an operation mode designation terminal signal 206) for explanation.

リセット信号19は、図1に示すリセット端子116から入力された信号である。リセット信号210は、リセット信号19がノイズフィルタ203を通過した信号である。リセット信号19、210それぞれは、反転回路205、209で反転され、ラッチA23、ラッチB24へ入力される。   The reset signal 19 is a signal input from the reset terminal 116 shown in FIG. The reset signal 210 is a signal obtained by passing the reset signal 19 through the noise filter 203. The reset signals 19 and 210 are inverted by the inverting circuits 205 and 209, respectively, and input to the latch A23 and the latch B24.

動作モード指定端子信号204は、動作モード端子111から入力され、ノイズフィルタ202を通過し、ノイズフィルタ通過後の動作モード指定端子信号206としてラッチA23及びラッチB24へ入力される。ラッチA23は、リセット信号19がリセット中の場合、動作モード指定端子信号206が示す値(第一保持値)を出力信号207から出力し、リセット信号19がリセット解除中の場合、リセット解除のタイミングで動作モード指定端子信号206が示した値(第一保持値)を保持し、第一保持値を示すラッチA23の出力信号207を出力する。ラッチB24は、リセット信号210がリセット中の場合、動作モード指定端子信号206が示す値(第二保持値)を出力信号208から出力し、リセット信号210がリセット解除中の場合、リセット解除のタイミングで動作モード指定端子信号206が示した値(第二保持値)を保持し、第二保持値を示すラッチB24の出力信号208を出力する。 The operation mode designation terminal signal 204 is input from the operation mode terminal 111, passes through the noise filter 202, and is input to the latch A23 and the latch B24 as the operation mode designation terminal signal 206 after passing through the noise filter. When the reset signal 19 is being reset, the latch A23 outputs the value (first hold value) indicated by the operation mode designation terminal signal 206 from the output signal 207, and when the reset signal 19 is releasing the reset, the reset release timing in holding the operation mode designation terminal signal 206 showed the value (first holding value), and outputs an output signal 207 of the latch A23 showing a first holding value. The latch B24 outputs the value (second hold value) indicated by the operation mode designation terminal signal 206 from the output signal 208 when the reset signal 210 is being reset, and when the reset signal 210 is releasing the reset, the reset release timing. Holds the value (second hold value) indicated by the operation mode designation terminal signal 206, and outputs the output signal 208 of the latch B24 indicating the second hold value.

AND回路25は、第一保持値と第二保持値(ラッチA23の出力信号207、ラッチB24の出力信号208)の論理積をAND回路25の出力信号401として出力する。AND回路41は、AND回路25の出力信号401と動作モード指定端子信号206の論理積を動作モード判定信号130として出力する。すなわち、判定部42は、ラッチA23の出力信号207、ラッチB24の出力信号208及び動作モード指定端子信号206に基づいて動作モードを判定して動作モード判定信号130を出力することになる。動作モード判定信号130は、図1のデコーダ114へ出力される。   The AND circuit 25 outputs a logical product of the first holding value and the second holding value (the output signal 207 of the latch A 23 and the output signal 208 of the latch B 24) as the output signal 401 of the AND circuit 25. The AND circuit 41 outputs a logical product of the output signal 401 of the AND circuit 25 and the operation mode designation terminal signal 206 as the operation mode determination signal 130. That is, the determination unit 42 determines the operation mode based on the output signal 207 of the latch A23, the output signal 208 of the latch B24, and the operation mode designation terminal signal 206, and outputs the operation mode determination signal 130. The operation mode determination signal 130 is output to the decoder 114 in FIG.

図4及び図5に、図3に示す動作モード制御回路4のタイミングチャートを示す。図4は、リセット解除時に動作モード指定端子信号206(動作モード指定端子信号206の信号線)へノイズが発生した場合、ノイズ発生中は誤モード(動作モード判定信号130が"1")に遷移するが、その後、動作モード指定端子信号206へのノイズが無くなると動作モードが元に戻る事(動作モード判定信号130が"0")を示している。しかし、動作モード確定後、動作モード指定端子信号206へノイズが発生した場合、ノイズ発生中は誤モードに遷移する欠点がある。図5は、動作モード確定後、ラッチA23及びラッチB24へノイズが発生しラッチA23及びラッチB24の値が反転した場合、誤モード遷移を防ぐことができる事を示し、加えて動作モード指定端子信号206へノイズが発生した場合は、ノイズ発生中は誤モード遷移する事を示している。   4 and 5 show timing charts of the operation mode control circuit 4 shown in FIG. FIG. 4 shows that when noise occurs in the operation mode designation terminal signal 206 (signal line of the operation mode designation terminal signal 206) at the time of reset release, transition to an erroneous mode (the operation mode determination signal 130 is “1”) during the noise generation. However, after that, when there is no noise in the operation mode designation terminal signal 206, the operation mode is restored (the operation mode determination signal 130 is “0”). However, when noise occurs in the operation mode designation terminal signal 206 after the operation mode is determined, there is a disadvantage that the mode is shifted to an erroneous mode while the noise is generated. FIG. 5 shows that after the operation mode is determined, when noise occurs in the latch A23 and the latch B24 and the values of the latch A23 and the latch B24 are inverted, the erroneous mode transition can be prevented, and in addition, the operation mode designation terminal signal If noise is generated at 206, it indicates that an erroneous mode transition occurs during the generation of noise.

図6に、図3に示す動作モード制御回路4における状態遷移を表す。図18では、ラッチへノイズ影響があった場合、マイクロコンピュータの動作状態が誤遷移していた(図18の状態ブロック34、35)。本実施形態では、動作モード指定端子信号206とAND回路25の出力信号401のAND回路41を動作モード制御回路4に配置した。これにより、ラッチA23及びラッチB24へノイズ影響があった場合でも、状態ブロック51に示すように、マイクロコンピュータ1の動作状態は誤遷移しない。図18の状態ブロック34では、マイクロコンピュータ1の動作状態が"1"であったが、図6の状態ブロック51では"0"になる。また、図6の状態ブロック52の状態でも同じである。マイクロコンピュータ1は、動作状態がすべての動作モード端子111〜113で"0"の時、通常動作モードを選ぶ。   FIG. 6 shows a state transition in the operation mode control circuit 4 shown in FIG. In FIG. 18, when there is a noise influence on the latch, the operation state of the microcomputer is erroneously changed (state blocks 34 and 35 in FIG. 18). In the present embodiment, the operation mode designation terminal signal 206 and the AND circuit 41 of the output signal 401 of the AND circuit 25 are arranged in the operation mode control circuit 4. Thereby, even when there is a noise influence on the latch A23 and the latch B24, as shown in the state block 51, the operation state of the microcomputer 1 does not erroneously change. In the state block 34 of FIG. 18, the operation state of the microcomputer 1 is “1”, but in the state block 51 of FIG. 6, it becomes “0”. The same applies to the state of the state block 52 in FIG. The microcomputer 1 selects the normal operation mode when the operation state is “0” at all the operation mode terminals 111 to 113.

以上説明したとおり、本実施形態では、AND回路41を追加し、ノイズフィルタ後の動作モード指定端子信号206とAND回路25の出力信号401の論理積を算出する。これにより、ラッチまたはラッチの出力信号へノイズ影響があった場合に動作モードの誤遷移を防止することができる。   As described above, in this embodiment, the AND circuit 41 is added, and the logical product of the operation mode designation terminal signal 206 after the noise filter and the output signal 401 of the AND circuit 25 is calculated. Thereby, it is possible to prevent erroneous transition of the operation mode when there is a noise influence on the latch or the output signal of the latch.

なお、図3では、判定部42は、二つのAND回路25,41から構成される例を示したが、一つのAND回路で実現してもよい。一つのAND回路へ出力信号207、208及び動作モーと端子信号206を入力し、論理積を動作モード判定信号130として出力してもよい。   In FIG. 3, the determination unit 42 is configured by two AND circuits 25 and 41. However, the determination unit 42 may be realized by one AND circuit. The output signals 207 and 208 and the operation mode and the terminal signal 206 may be input to one AND circuit, and a logical product may be output as the operation mode determination signal 130.

(実施形態2)
実施形態1では、ラッチまたはラッチの出力信号へノイズ影響があった場合に動作モードが誤遷移することを防止する一態様を説明したが、実施形態2では、動作モード端子111がノイズの影響を受けた場合に動作モードが誤遷移することを防止する一態様を説明する。図7は、本発明の実施形態2に係る動作モード制御回路の構成例を示すブロック図である。図7に示す動作モード制御回路6は、図3に示した動作モード制御回路4へラッチの値を再ラッチする構成を追加したものである。動作モード制御回路6は、動作モードの誤遷移防止に加えて、動作モード制御部11を安定した状態にし、動作モード制御回路127を安定化させる。
(Embodiment 2)
In the first embodiment, one mode for preventing the operation mode from erroneously changing when there is a noise influence on the latch or the output signal of the latch has been described. However, in the second embodiment, the operation mode terminal 111 affects the influence of the noise. An aspect of preventing the operation mode from erroneously changing when received will be described. FIG. 7 is a block diagram showing a configuration example of an operation mode control circuit according to the second embodiment of the present invention. The operation mode control circuit 6 shown in FIG. 7 is obtained by adding a configuration for relatching the latch value to the operation mode control circuit 4 shown in FIG. In addition to preventing erroneous transition of the operation mode, the operation mode control circuit 6 stabilizes the operation mode control circuit 127 by bringing the operation mode control unit 11 into a stable state.

図7では、ラッチA23は、動作モード指定端子信号206が第一動作モードを示す値であり、かつラッチA23の出力信号207(第一保持値)が第一動作モードでない場合に、動作モード指定端子信号206を再度ラッチする。また、同様にラッチB24は、動作モード指定端子信号206が第一動作モードを示す値であり、かつラッチB24の出力信号208(第二保持値)が第一動作モードでない場合に、動作モード指定端子信号206を再度ラッチする。ラッチの値を再ラッチすることによって、ラッチに外部ノイズが入った場合でも正常な端子の値に修正することができる。また、モード端子とラッチの値を同じにすることで、ノイズに対して安定状態にすることが可能となる。   In FIG. 7, the latch A23 designates the operation mode when the operation mode designation terminal signal 206 is a value indicating the first operation mode and the output signal 207 (first hold value) of the latch A23 is not the first operation mode. The terminal signal 206 is latched again. Similarly, the latch B24 designates the operation mode when the operation mode designation terminal signal 206 is a value indicating the first operation mode and the output signal 208 (second hold value) of the latch B24 is not the first operation mode. The terminal signal 206 is latched again. By re-latching the latch value, even when external noise enters the latch, it can be corrected to a normal terminal value. Further, by making the mode terminal and the latch value the same, it becomes possible to achieve a stable state against noise.

図7に示すように、ラッチA23または、ラッチB24へ回路を追加することで、ラッチA23または、ラッチB24の再ラッチが可能になる。AND回路61は、ノイズフィルタ後の動作モード指定端子信号206を反転回路607で反転させた値とラッチA23が保持する第一保持値(ラッチA23の出力信号207)の論理積をAND信号601として出力する。AND回路63は、AND信号601を反転回路603で反転させた値とリセット信号19との論理積をAND信号605として出力する。AND回路62は、ノイズフィルタ後の動作モード指定端子信号206を反転回路608で反転させた値とラッチB24が保持する第二保持値の論理積をAND信号602として出力する。AND回路64は、AND信号602を反転回路604で反転させた値とフィルタ後のリセット信号210との論理積をAND信号606として出力する。   As shown in FIG. 7, by adding a circuit to the latch A23 or the latch B24, the latch A23 or the latch B24 can be re-latched. The AND circuit 61 uses a logical product of the value obtained by inverting the operation mode designation terminal signal 206 after the noise filter by the inverting circuit 607 and the first holding value (the output signal 207 of the latch A23) held by the latch A23 as an AND signal 601. Output. The AND circuit 63 outputs a logical product of the value obtained by inverting the AND signal 601 by the inverting circuit 603 and the reset signal 19 as an AND signal 605. The AND circuit 62 outputs, as an AND signal 602, a logical product of the value obtained by inverting the operation mode designation terminal signal 206 after the noise filter by the inverting circuit 608 and the second holding value held by the latch B24. The AND circuit 64 outputs a logical product of the value obtained by inverting the AND signal 602 by the inverting circuit 604 and the reset signal 210 after filtering as an AND signal 606.

具体的には、ラッチA23にノイズ発生時、例えば動作モード指定端子信号206が"0"、ラッチA23の出力信号207が"1"の時、AND信号601は、"1"となり、AND信号605は、リセット信号19とAND信号601を反転回路603で反転させた値とのAND回路63の出力信号605は"0"となり、ラッチA23の出力信号207が第一動作モードを示す値"0"となる。ラッチA23には、AND信号605を反転回路205で反転した値"0"が入力されるので、再ラッチが行われることになる(動作モード指定端子信号206がスルーされ出力信号207から出力される)。ラッチB24についても同様である。   Specifically, when noise occurs in the latch A23, for example, when the operation mode designation terminal signal 206 is "0" and the output signal 207 of the latch A23 is "1", the AND signal 601 becomes "1" and the AND signal 605 The output signal 605 of the AND circuit 63, which is the value obtained by inverting the reset signal 19 and the AND signal 601 by the inverting circuit 603, is "0", and the output signal 207 of the latch A23 is a value "0" indicating the first operation mode. It becomes. Since a value “0” obtained by inverting the AND signal 605 by the inverting circuit 205 is input to the latch A 23, re-latching is performed (the operation mode designation terminal signal 206 is passed through and output from the output signal 207. ). The same applies to the latch B24.

図8〜図10に、図7に示す動作モード制御回路6のタイミングチャートを示す。
図8は、リセット解除時に動作モード指定端子信号206へノイズが発生した場合、誤モードに一時的に遷移するが、その後、動作モード指定端子信号206へのノイズが無くなると動作モードが元に戻る事を示し、動作モード指定端子信号206へのノイズが無くなると同時にラッチA23及びラッチB24を再ラッチし、ラッチA23及びラッチB24から出力されるラッチA23の出力信号207,ラッチB24の出力信号208を動作モード端子111(動作モード指定端子信号206)と同じ値にすることを示している。加えてこの時、動作モード制御回路127を安定した状態にできている。ラッチA23及びラッチB24を再ラッチすることで、モード確定後、動作モード指定端子信号206へノイズが発生した場合、誤モード遷移を防ぐ事ができる事を示している。
8 to 10 show timing charts of the operation mode control circuit 6 shown in FIG.
In FIG. 8, when noise occurs in the operation mode designation terminal signal 206 at the time of reset release, the operation mode is temporarily switched to the erroneous mode. However, when the noise to the operation mode designation terminal signal 206 disappears thereafter, the operation mode is restored. As a result, the noise to the operation mode designation terminal signal 206 disappears, and at the same time, the latch A23 and the latch B24 are relatched, and the output signal 207 of the latch A23 and the output signal 208 of the latch B24 output from the latch A23 and the latch B24 This indicates that the value is the same as that of the operation mode terminal 111 (operation mode designation terminal signal 206). In addition, at this time, the operation mode control circuit 127 is in a stable state. It is shown that by re-latching the latch A23 and the latch B24, when noise occurs in the operation mode designation terminal signal 206 after the mode is determined, erroneous mode transition can be prevented.

図9は、モード確定後、ラッチA23及びラッチB24の値が反転した場合、誤モード遷移を防ぐことができる事を示している。加えて動作モード指定端子信号206へノイズが発生した場合、誤モード遷移を防ぐことができる事を示している。具体的には、ラッチにノイズが発生した場合でも、動作モード指定端子信号206、AND回路61及びAND回路63等(ラッチB24は、AND回路62及びAND回路64等)に基づいて再ラッチすることにより、ラッチが保持する第一保持値及び第二保持値への影響が直ちになくなっている。また、動作モード指定端子信号206へノイズが発生した場合にも、再ラッチによりラッチA23及びラッチB24の値が第一動作モードを示す値であり、動作モード判定信号130へ影響することはない。   FIG. 9 shows that an erroneous mode transition can be prevented when the values of the latch A23 and the latch B24 are inverted after the mode is determined. In addition, when noise occurs in the operation mode designation terminal signal 206, it indicates that an erroneous mode transition can be prevented. Specifically, even when noise occurs in the latch, re-latching is performed based on the operation mode designation terminal signal 206, the AND circuit 61, the AND circuit 63, etc. (the latch B24 is the AND circuit 62, the AND circuit 64, etc.). As a result, the influence on the first holding value and the second holding value held by the latch immediately disappears. Even when noise occurs in the operation mode designation terminal signal 206, the values of the latch A23 and the latch B24 are values indicating the first operation mode due to re-latching, and the operation mode determination signal 130 is not affected.

図10は、図7に示す動作モード制御回路6における再ラッチ時のタイミングチャートを示す。図10に示すように、ラッチA23へノイズが発生した場合、AND回路61及び63等によりAND回路61の出力信号601は"1"になり、AND回路63の出力信号605は"0"になる。出力信号605が"0"の時、ラッチA23の出力信号207は、モード端子信号206を転送し"0"になる。AND回路61及び63等による再ラッチにより、動作モード回路127を安定した状態にすることができる。   FIG. 10 is a timing chart at the time of re-latching in the operation mode control circuit 6 shown in FIG. As shown in FIG. 10, when noise occurs in the latch A 23, the output signal 601 of the AND circuit 61 becomes “1” and the output signal 605 of the AND circuit 63 becomes “0” by the AND circuits 61 and 63 and the like. . When the output signal 605 is “0”, the output signal 207 of the latch A 23 transfers the mode terminal signal 206 and becomes “0”. The operation mode circuit 127 can be brought into a stable state by re-latching by the AND circuits 61 and 63 and the like.

図11に、図7に示す動作モード制御回路6における状態遷移を表す。実施形態1との違いは、マイクロコンピュータが状態ブロック51または状態ブロック52から再ラッチ71、72することによって、状態ブロック32になることである。例えば状態ブロック51は、動作モード端子111へノイズの影響を受けると状態ブロック33になり誤モードへ遷移します。しかしながら、再ラッチ71することで状態ブロック32になり、マイクロコンピュータ1は安定した状態になる。   FIG. 11 shows a state transition in the operation mode control circuit 6 shown in FIG. The difference from the first embodiment is that the microcomputer re-latches 71 and 72 from the state block 51 or the state block 52 to become the state block 32. For example, when the operation mode terminal 111 is affected by noise, the state block 51 becomes the state block 33 and shifts to an erroneous mode. However, by re-latching 71, the state block 32 is obtained, and the microcomputer 1 becomes stable.

このように、本実施形態によれば、ラッチ(ラッチA23及びラッチB24)と動作モード端子111の情報が異なる不安定な状態を防ぐことができる。これにより、ラッチへ外部ノイズ影響があり、その後、動作モード端子111に外部ノイズ影響が発生しても誤モードへ遷移することを防ぐことができる。また、動作モード制御回路127を安定した状態にすることができる。   As described above, according to the present embodiment, it is possible to prevent an unstable state in which information of the latch (latch A23 and latch B24) and the operation mode terminal 111 are different. As a result, it is possible to prevent the latch from being affected by external noise, and then transitioning to an erroneous mode even if the external noise effect occurs at the operation mode terminal 111. Further, the operation mode control circuit 127 can be brought into a stable state.

(実施形態3)
実施形態3では、実施形態1に加えて、リセット解除時に、ノイズフィルタ後の動作モード指定端子信号206へノイズの影響があった場合に、動作モードの誤遷移を防止する一態様を説明する。図12は、本発明の実施形態3に係る動作モード制御回路の構成例を示すブロック図である。図12に示す動作モード制御回路8は、図3に示した動作モード制御回路4へF/F回路81等と、AND回路83を追加したものである。
(Embodiment 3)
In the third embodiment, in addition to the first embodiment, one mode for preventing an erroneous transition of the operation mode when there is an influence of noise on the operation mode designation terminal signal 206 after the noise filter at the time of reset release will be described. FIG. 12 is a block diagram illustrating a configuration example of an operation mode control circuit according to the third embodiment of the present invention. The operation mode control circuit 8 shown in FIG. 12 is obtained by adding an F / F circuit 81 and the like and an AND circuit 83 to the operation mode control circuit 4 shown in FIG.

F/F回路81は、リセット信号がリセット解除中を示すときに、動作モード指定端子信号206が第一動作モード(通常動作モード)に変化するタイミングを検出し、検出したタイミングでラッチする。F/F回路81は、動作モード指定端子信号206の立下がりを検出することによりラッチを行う(立下りをトリガーにラッチする)。また、動作モード指定端子信号206をAND回路83へ出力する構成(F/F回路81、反転回路82)を、検出部85とする。   The F / F circuit 81 detects the timing at which the operation mode designation terminal signal 206 changes to the first operation mode (normal operation mode) when the reset signal indicates that reset is being released, and latches at the detected timing. The F / F circuit 81 latches by detecting the falling edge of the operation mode designation terminal signal 206 (latching is triggered by the falling edge). Further, a configuration (F / F circuit 81, inverting circuit 82) that outputs the operation mode designation terminal signal 206 to the AND circuit 83 is referred to as a detection unit 85.

AND回路83は、AND回路41から出力される信号804(AND回路25の出力信号401と動作モード指定端子信号206との論理積)と検出部85による出力信号801との論理積を動作モード判定信号130として出力するものであり、動作モード指定端子信号の立下がりを検出したときに、動作モード判定信号を第一動作モード(通常動作モード)を示す値に変更する。   The AND circuit 83 determines the operation mode of the logical product of the signal 804 (the logical product of the output signal 401 of the AND circuit 25 and the operation mode designation terminal signal 206) output from the AND circuit 41 and the output signal 801 from the detection unit 85. The signal is output as the signal 130, and when the falling of the operation mode designation terminal signal is detected, the operation mode determination signal is changed to a value indicating the first operation mode (normal operation mode).

このような構成により、動作モード制御回路8は、動作モード指定端子信号206へノイズの影響があった場合に誤遷移を防止する。従って、動作モード制御回路8は、リセット解除時に、動作モード指定端子信号206へノイズの影響があった場合の誤遷移を防止する。   With such a configuration, the operation mode control circuit 8 prevents erroneous transitions when the operation mode designation terminal signal 206 is affected by noise. Therefore, the operation mode control circuit 8 prevents an erroneous transition when the operation mode designation terminal signal 206 is affected by noise at the time of reset release.

リセット解除時に、動作モード指定端子信号206へノイズの影響があった場合、ノイズによる信号の立下りが必ず発生する。F/F回路81において、動作モード指定端子信号206の立下りによりラッチされた信号802をF/F回路81の出力信号802の反転信号801は、"0"(通常動作モード)になる。これにより、動作モード判定信号130も"0"になり、動作モード誤遷移を防止する。すなわち、検出部85は、リセット信号がリセット解除中のときは、動作モード指定端子信号の立下りを検出したとき、信号801が第一動作モード(通常動作モード)を示すように構成される。   If the operation mode designation terminal signal 206 is affected by noise at the time of reset cancellation, a signal fall due to noise always occurs. In the F / F circuit 81, the inverted signal 801 of the output signal 802 of the F / F circuit 81 becomes “0” (normal operation mode) from the signal 802 latched by the falling of the operation mode designation terminal signal 206. As a result, the operation mode determination signal 130 is also set to “0” to prevent erroneous operation mode transition. That is, the detection unit 85 is configured such that the signal 801 indicates the first operation mode (normal operation mode) when the falling edge of the operation mode designation terminal signal is detected when the reset signal is being reset.

また、動作モード指定端子信号206でのノイズによる立下りが無い場合は、検出部85の出力信号801は"1"になり、動作モード判定信号130は、AND回路41の出力信号804で決定され、動作モード遷移が実行可能な回路構成になっている。   When there is no falling due to noise at the operation mode designation terminal signal 206, the output signal 801 of the detection unit 85 is “1”, and the operation mode determination signal 130 is determined by the output signal 804 of the AND circuit 41. The circuit configuration can execute the operation mode transition.

図13に、図12に示す動作モード制御回路のタイミングチャートを示す。図13は、リセット解除時に動作モード指定端子信号206へノイズが発生した場合、誤モードに一時的に遷移するが、F/F回路81により、動作モード指定端子信号206へのノイズが無くなると動作モードが元に戻る事を示している。F/F回路81を加えることで、モード確定後、動作モード指定端子信号206へノイズが発生した場合、誤モード遷移を防ぐことができることになる。   FIG. 13 shows a timing chart of the operation mode control circuit shown in FIG. In FIG. 13, when noise occurs in the operation mode designation terminal signal 206 at the time of reset release, the mode is temporarily shifted to an erroneous mode. However, when the noise to the operation mode designation terminal signal 206 is eliminated by the F / F circuit 81, the operation is performed. Indicates that the mode is restored. By adding the F / F circuit 81, if noise occurs in the operation mode designation terminal signal 206 after the mode is determined, the erroneous mode transition can be prevented.

図14に、図12に示す動作モード制御回路における状態遷移を表す。実施形態1との違いは、ノイズフィルタ後の信号線へノイズ影響があった場合901、状態ブロック91においてマイクロコンピュータの動作状態をF/F回路81の再ラッチにより"0"(符号92で示す部分)にすることができる。   FIG. 14 shows a state transition in the operation mode control circuit shown in FIG. The difference from the first embodiment is that when there is a noise influence on the signal line after the noise filter 901, the operation state of the microcomputer in the state block 91 is “0” (indicated by reference numeral 92) by re-latching the F / F circuit 81. Part).

このように、実施形態3では、ラッチへのノイズ影響に加えて、リセット解除時にノイズフィルタ後の動作モード指定端子信号206へノイズの影響があった場合の動作モードの誤遷移を防止できる。実施形態1に比べて、動作モード指定端子信号206へノイズ影響に対するマイクロコンピュータの安定性を高めることができる。
なお、実施形態2と実施形態3とを組み合わせた動作モード制御回路用いることも可能である。
As described above, in the third embodiment, in addition to the influence of noise on the latch, it is possible to prevent an erroneous transition of the operation mode when the influence of the noise on the operation mode designation terminal signal 206 after the noise filter at the time of reset release. Compared to the first embodiment, the stability of the microcomputer against the influence of noise on the operation mode designation terminal signal 206 can be improved.
Note that an operation mode control circuit combining the second embodiment and the third embodiment can also be used.

以上のように、本発明に係る好適な実施形態によれば、リセット解除時及び動作モード確定後、複数の動作モードを有するマイクロコンピュータで、動作モード制御回路127へ外部ノイズ影響があった場合、動作モードの誤遷移を防止することができる。加えて、ノイズ発生後の動作モード制御部を安定化させることができる。具体的には、二つのラッチA、Bの出力信号とラッチ入力前の信号のAND論理を形成する。これにより、ラッチとラッチ後の信号線へ外部ノイズ影響があった場合、動作モードの誤遷移を防止すること、及び、マイクロコンピュータを安定化されることができる。
また、二つのラッチA、Bにおいて、ラッチした後、再ラッチすることにより、ラッチへのノイズ影響に対して動作モード制御回路127を安定化させることができる。さらに、動作モード指定端子信号206がノイズの影響を受けた場合にノイズの影響がなくなったタイミング(動作モード指定端子信号206の立下り)を検出することにより、動作モード指定端子信号206へのノイズの影響に基づく誤遷移を防止することができる。また、上記で説明した各実施形態を組み合わせることにより、外部ノイズによる動作モード誤遷移を従来技術より大きく防止することができるとともに、情報処理装置全体を安定化させることができる。
As described above, according to a preferred embodiment of the present invention, when a reset is released and after the operation mode is determined, the microcomputer having a plurality of operation modes has an external noise influence on the operation mode control circuit 127. It is possible to prevent erroneous transition of the operation mode. In addition, the operation mode control unit after noise generation can be stabilized. Specifically, an AND logic of the output signals of the two latches A and B and the signal before the latch input is formed. Thereby, when there is an external noise influence on the latch and the signal line after the latch, it is possible to prevent erroneous transition of the operation mode and to stabilize the microcomputer.
Further, by latching and latching again in the two latches A and B, the operation mode control circuit 127 can be stabilized against the influence of noise on the latches. Further, when the operation mode designation terminal signal 206 is affected by noise, the noise to the operation mode designation terminal signal 206 is detected by detecting the timing at which the influence of noise disappears (fall of the operation mode designation terminal signal 206). It is possible to prevent erroneous transitions based on the influence of. Further, by combining the embodiments described above, it is possible to prevent the operation mode erroneous transition due to the external noise to be greater than that in the prior art and to stabilize the entire information processing apparatus.

上記各実施形態で説明した動作モード制御回路は、半導体回路装置、ROMを内蔵しないプロセッサ、フラッシュ内蔵マイクロコンピュータ、複数動作モードを持ったマイクロコンピュータなど情報処理装置に適用することが可能である。   The operation mode control circuit described in each of the above embodiments can be applied to an information processing device such as a semiconductor circuit device, a processor without a built-in ROM, a flash built-in microcomputer, a microcomputer having a plurality of operation modes.

なお、本発明は上記に示す実施形態に限定されるものではない。本発明の範囲において、上記実施形態の各要素を、当業者であれば容易に考えうる内容に変更、追加、変換することが可能である。   In addition, this invention is not limited to embodiment shown above. Within the scope of the present invention, it is possible to change, add, or convert each element of the above-described embodiment to a content that can be easily considered by those skilled in the art.

本発明に係るマイクロコンピュータの構成例を示すブロック図である。It is a block diagram which shows the structural example of the microcomputer which concerns on this invention. マイクロコンピュータの動作モードの一例を示す図である。It is a figure which shows an example of the operation mode of a microcomputer. 本発明の実施形態1に係る動作モード制御回路の構成例を示すブロック図である。It is a block diagram which shows the structural example of the operation mode control circuit which concerns on Embodiment 1 of this invention. 図3に示す動作モード制御回路のタイミングチャートである。4 is a timing chart of the operation mode control circuit shown in FIG. 3. 図3に示す動作モード制御回路の別のタイミングチャートである。4 is another timing chart of the operation mode control circuit shown in FIG. 3. 図3に示す動作モード制御回路における状態遷移を表す図である。It is a figure showing the state transition in the operation mode control circuit shown in FIG. 本発明の実施形態2に係る動作モード制御回路の構成例を示すブロック図である。It is a block diagram which shows the structural example of the operation mode control circuit which concerns on Embodiment 2 of this invention. 図7に示す動作モード制御回路のタイミングチャートである。It is a timing chart of the operation mode control circuit shown in FIG. 図7に示す動作モード制御回路の別のタイミングチャートである。It is another timing chart of the operation mode control circuit shown in FIG. 図7に示す動作モード制御回路の再ラッチ時のタイミングチャートである。8 is a timing chart at the time of re-latching of the operation mode control circuit shown in FIG. 図7に示す動作モード制御回路における状態遷移を表す図である。It is a figure showing the state transition in the operation mode control circuit shown in FIG. 本発明の実施形態3に係る動作モード制御回路の構成例を示すブロック図である。It is a block diagram which shows the structural example of the operation mode control circuit which concerns on Embodiment 3 of this invention. 図12に示す動作モード制御回路のタイミングチャートである。13 is a timing chart of the operation mode control circuit shown in FIG. 図12に示す動作モード制御回路における状態遷移を表す図である。It is a figure showing the state transition in the operation mode control circuit shown in FIG. 従来の動作モード制御回路の構成例のブロック図を示す図である。It is a figure which shows the block diagram of the structural example of the conventional operation mode control circuit. 図15に示す動作モード制御回路のタイミングチャートである。16 is a timing chart of the operation mode control circuit shown in FIG. 図15に示す動作モード制御回路の別のタイミングチャートである。16 is another timing chart of the operation mode control circuit shown in FIG. 図15に示す動作モード制御回路における状態遷移を表す図である。FIG. 16 is a diagram illustrating state transition in the operation mode control circuit illustrated in FIG. 15.

符号の説明Explanation of symbols

1 マイクロコンピュータ
2、4、6、8 動作モード制御回路
3、31〜36、51、52、71、72、91 状態ブロック
11 動作モード制御部
12 CPU、13 ROM、14 RAM、15 I/O
16 CPU−ROM配線、17 CPU−RAM配線、18 CPU−I/O配線
19、210 リセット信号
21、27 プルダウン抵抗
22、28 グランド(GND)
23 ラッチA
24 ラッチB
25、41、61〜64、83、 AND回路
42 判定部
71、72 再ラッチによる状態遷移
81 F/F回路(フリップフロップ回路)
82、205、209、603、604、607、608、803 反転回路(インバータ)
84 Highクランプ
85 検出部
111〜113 動作モード端子
114 デコーダ
115 動作モード信号
116 リセット端子
121 レジスタセット、122 制御部、123 演算部、124 バスインターフェース
125 マクロ、
126 CPU−マクロ配線
127〜129 動作モード制御回路
130〜132 動作モード判定信号
201 動作モード指定端子信号外部ライン
202、203 ノイズフィルタ
204、206、動作モード指定端子信号
207 ラッチA23の出力信号
208 ラッチB24の出力信号
301、302 リセット解除による状態遷移
303、311、312 端子ノイズ
304、306 端子ノイズによる状態遷移
305 ラッチノイズによる状態遷移
307、310 端子安定による状態遷移
313 ラッチノイズ
401 AND回路25の出力信号
601 AND回路61の出力信号
602 AND回路62の出力信号
605 AND回路63の出力信号
606 AND回路64の出力信号
401 AND回路25の出力信号
801 信号802の反転信号
802 F/F回路の出力信号
804 AND回路41の出力信号
901 ノイズフィルタ後の信号線ノイズ
902 ノイズフィルタ後の信号線ノイズによる状態遷移
DESCRIPTION OF SYMBOLS 1 Microcomputer 2, 4, 6, 8 Operation mode control circuit 3, 31-36, 51, 52, 71, 72, 91 Status block 11 Operation mode control part 12 CPU, 13 ROM, 14 RAM, 15 I / O
16 CPU-ROM wiring, 17 CPU-RAM wiring, 18 CPU-I / O wiring 19, 210 Reset signal 21, 27 Pull-down resistor 22, 28 Ground (GND)
23 Latch A
24 Latch B
25, 41, 61-64, 83, AND circuit 42 determination unit 71, 72 State transition 81 by re-latching F / F circuit (flip-flop circuit)
82, 205, 209, 603, 604, 607, 608, 803 Inversion circuit (inverter)
84 High clamp 85 Detection unit 111 to 113 Operation mode terminal 114 Decoder 115 Operation mode signal 116 Reset terminal 121 Register set 122 Control unit 123 Operation unit 124 Bus interface 125 Macro
126 CPU-macro wiring 127-129 operation mode control circuit 130-132 operation mode determination signal 201 operation mode designation terminal signal external line 202, 203 noise filter 204, 206, operation mode designation terminal signal 207 output signal 208 of latch A23 latch B24 Output signal 301, 302 State transition 303, 311, 312 due to reset release Terminal noise 304, 306 State transition due to terminal noise 305 State transition 307 due to latch noise, 310 State transition due to terminal stabilization 313 Latch noise 401 Output signal of AND circuit 25 601 Output signal 602 of AND circuit 61 Output signal 605 of AND circuit 62 Output signal 606 of AND circuit 63 Output signal 401 of AND circuit 64 Output signal 801 of AND circuit 25 Inverted signal 8 of signal 802 State transition by 2 F / F circuit of the output signal 901 the noise filter after the signal line noise 902 noise filter after the signal line noise of the output signal 804 the AND circuit 41

Claims (6)

動作モード指定端子信号をリセット信号に基づいてラッチして、第一保持値を保持する第一ラッチと、
前記動作モード指定端子信号をノイズフィルタによりフィルタ処理したリセット信号に基づいてラッチして、第二保持値を保持する第二ラッチと、
前記第一保持値、前記第二保持値、及び前記動作モード指定端子信号に基づいて、動作モード判定信号を出力する判定部と、を備え
前記第一ラッチは、前記動作モード指定端子信号が第一動作モードを示す値であり、かつ前記第一保持値が第一動作モードでない場合に、前記動作モード指定端子信号を再度ラッチし、
前記第二ラッチは、前記動作モード指定端子信号が第一動作モードを示す値であり、かつ前記第二保持値が第一動作モードでない場合に、前記動作モード指定端子信号を再度ラッチする情報処理装置の動作モード制御回路。
A first latch for latching the operation mode designation terminal signal based on the reset signal and holding the first holding value;
Latching the operation mode designation terminal signal based on a reset signal filtered by a noise filter, and holding a second holding value;
A determination unit that outputs an operation mode determination signal based on the first hold value, the second hold value, and the operation mode designation terminal signal ;
The first latch latches the operation mode designation terminal signal again when the operation mode designation terminal signal is a value indicating the first operation mode and the first hold value is not the first operation mode;
The information processing for latching the operation mode specification terminal signal again when the operation mode specification terminal signal is a value indicating the first operation mode and the second holding value is not the first operation mode. Device operation mode control circuit.
前記判定部は、前記動作モード判定信号を、前記第一保持値、前記第二保持値、及び前記動作モード指定端子信号が示す値が同じでない場合に第一動作モードにし、同じ場合に第二動作モードにすることを特徴とする請求項1記載の動作モード制御回路。   The determination unit sets the operation mode determination signal to the first operation mode when the first holding value, the second holding value, and the value indicated by the operation mode designation terminal signal are not the same, and when the same, 2. The operation mode control circuit according to claim 1, wherein the operation mode is set to an operation mode. 前記第一ラッチは、前記動作モード指定端子信号が第一動作モードを示す値であり、かつ前記第一保持値が第一動作モードでない場合であって、かつ、前記リセット信号がリセット解除を示す場合に、前記動作モード指定端子信号を再度ラッチし、
前記第二ラッチは、前記動作モード指定端子信号が第一動作モードを示す値であり、かつ前記第二保持値が第一動作モードでない場合であって、かつ、前記リセット信号がリセット解除を示す場合に、前記動作モード指定端子信号を再度ラッチすることを特徴とする請求項1または2記載の情報処理装置の動作モード制御回路。
The first latch is a case where the operation mode designation terminal signal is a value indicating the first operation mode, and the first hold value is not the first operation mode, and the reset signal indicates reset release. The operation mode designation terminal signal is latched again,
The second latch is a case where the operation mode designation terminal signal is a value indicating the first operation mode and the second holding value is not the first operation mode, and the reset signal indicates reset release. 3. The operation mode control circuit of the information processing apparatus according to claim 1 , wherein the operation mode designation terminal signal is latched again.
リセット解除済みの状態であるときに、前記動作モード指定端子信号が第一動作モードを示す値へ変化するタイミングを検出する検出部を更に備え、
前記判定部は、前記検出部が前記タイミングを検出したときに、前記動作モード判定信号を第一動作モードを示す値に変更することを特徴とする請求項1乃至のいずれかに記載の情報処理装置の動作モード制御回路。
A detection unit for detecting a timing at which the operation mode designation terminal signal changes to a value indicating the first operation mode when the reset is released ;
The information according to any one of claims 1 to 3 , wherein the determination unit changes the operation mode determination signal to a value indicating a first operation mode when the detection unit detects the timing. An operation mode control circuit of the processing apparatus.
前記第一動作モードは、通常動作モードであり、前記第二動作モードは、テストモード、プログラミングモード、エミュレータモード、及びデバッグモードのうちのいずれかであることを特徴とする請求項1乃至のいずれかに記載の情報処理装置の動作モード制御回路。 The first operation mode is a normal operation mode, the second operation mode, the test mode, the programming mode, the emulator mode, and out of the debug mode of claims 1 to 4, characterized in that either An operation mode control circuit of the information processing apparatus according to any one of the above. 前記請求項1乃至のいずれかに記載の動作モード制御回路を備える情報処理装置。 An information processing apparatus comprising the operation mode control circuit according to any one of claims 1 to 5 .
JP2007038324A 2007-02-19 2007-02-19 Operation mode control circuit for information processing apparatus and information processing apparatus Expired - Fee Related JP4755123B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007038324A JP4755123B2 (en) 2007-02-19 2007-02-19 Operation mode control circuit for information processing apparatus and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007038324A JP4755123B2 (en) 2007-02-19 2007-02-19 Operation mode control circuit for information processing apparatus and information processing apparatus

Publications (2)

Publication Number Publication Date
JP2008204087A JP2008204087A (en) 2008-09-04
JP4755123B2 true JP4755123B2 (en) 2011-08-24

Family

ID=39781545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007038324A Expired - Fee Related JP4755123B2 (en) 2007-02-19 2007-02-19 Operation mode control circuit for information processing apparatus and information processing apparatus

Country Status (1)

Country Link
JP (1) JP4755123B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5880862B2 (en) * 2012-11-15 2016-03-09 株式会社デンソー Control system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0631727B2 (en) * 1986-05-08 1994-04-27 日本電気株式会社 Pulse measurement circuit with noise removal capability
JPH01116897A (en) * 1987-10-30 1989-05-09 Tokyo Electric Co Ltd Electronic type cash register
JPH02144561A (en) * 1988-11-25 1990-06-04 Fuji Xerox Co Ltd Fcot shortening processing system
JPH0338730A (en) * 1989-07-05 1991-02-19 Nec Corp Test signal generating circuit
JP3123994B2 (en) * 1998-12-17 2001-01-15 茨城日本電気株式会社 Timing signal malfunction detection circuit
KR100380272B1 (en) * 2001-04-04 2003-04-18 주식회사 하이닉스반도체 Noise elimination circuit
JP2007003635A (en) * 2005-06-22 2007-01-11 Sony Corp Correcting circuit for analog circuit, driver circuit equipped with correcting circuit, and video device
JP4953788B2 (en) * 2006-12-05 2012-06-13 株式会社デンソー Electronic equipment

Also Published As

Publication number Publication date
JP2008204087A (en) 2008-09-04

Similar Documents

Publication Publication Date Title
JP5067111B2 (en) Semiconductor integrated circuit and debug mode determination method
US20150019779A1 (en) Microcomputer
US7058856B2 (en) Semiconductor circuit with flash ROM and improved security for the contents thereof
US10108469B2 (en) Microcomputer and microcomputer system
US10372545B2 (en) Safe reset techniques for microcontroller systems in safety related applications
JP2006079345A (en) Microcomputer
JP4755123B2 (en) Operation mode control circuit for information processing apparatus and information processing apparatus
US7500021B2 (en) Operation mode control circuit, microcomputer including the same, and control system using the microcomputer
US9400708B2 (en) Integrated circuit and method of detecting a data integrity error
US20070033514A1 (en) Apparatus and method for detecting data error
US10725880B2 (en) Semiconductor device
US4651323A (en) Fault protection flip flop
US7389445B2 (en) Circuit for detecting abnormal operation of memory and integrated circuit and method for detecting abnormal operation
JP2005309652A (en) Microcontroller
JP4162846B2 (en) Microcomputer
JP5756413B2 (en) Control device
JP4647276B2 (en) Semiconductor circuit device
JP6645467B2 (en) Microcomputer
JP3752970B2 (en) One-chip microcomputer device having a normal operation mode and a plurality of low power consumption operation modes
US7340583B2 (en) Method and apparatus of controlling memory device
JP6435884B2 (en) Information processing apparatus and abnormality detection method
JP6302775B2 (en) Control device and control method thereof
JPH0877134A (en) Microcomputer
JPH0477924A (en) Microcomputer
JPS62137643A (en) Microprocessor operation back-up circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100114

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110311

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110526

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

Free format text: PAYMENT UNTIL: 20140603

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees