JPH02280216A - Standby system for data processor - Google Patents

Standby system for data processor

Info

Publication number
JPH02280216A
JPH02280216A JP1100249A JP10024989A JPH02280216A JP H02280216 A JPH02280216 A JP H02280216A JP 1100249 A JP1100249 A JP 1100249A JP 10024989 A JP10024989 A JP 10024989A JP H02280216 A JPH02280216 A JP H02280216A
Authority
JP
Japan
Prior art keywords
standby
controlled
controller
address
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1100249A
Other languages
Japanese (ja)
Other versions
JP2732890B2 (en
Inventor
Kazuo Kikuchi
和雄 菊地
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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric 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 Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP1100249A priority Critical patent/JP2732890B2/en
Publication of JPH02280216A publication Critical patent/JPH02280216A/en
Application granted granted Critical
Publication of JP2732890B2 publication Critical patent/JP2732890B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To reduce the energy consumption of a data processor by interrupting the selection of equipment to be controlled which is selected by means of an address outputted on an address bus in a standby condition and reducing a current to flow to the equipment to be controlled. CONSTITUTION:Before a standby mode is in, one part or the whole part of a program at the time of the standby stored in a program area 200 for standby of a ROM 2 is copied to an area 120 of an internal RAM 11 by a controller 1. After the copying is completed, the controller 1 executes the processing while reading program data copied to the area 120, and the standby condition is made at the time of executing an instruction (STOP instruction, etc.) to get in the standby mode. In such a way, the controller 1 stops the access of the equipment to be controlled, all address buss to an address decoder 6 are made into a high level, and the selection line of the equipment to be controlled to be selected is turned off. Thus, in the standby mode, the current to flow to the equipment to be controlled can be suppressed, and the energy consumption can be reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ処理装置のスタンバイ方式に係り、特
に、処理プログラムデータをROMから読み出し、これ
をアドレスバスの出力で選択された被制御機器に与える
ようにしたデータ処理装置を、被制御機器を選択してい
る状態でスタンバイ状態とする際の消費電力を低減させ
るようにしたデータ処理装置のスタンバイ方式に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a standby method for a data processing device, and in particular, to reading processing program data from a ROM and transmitting it to a selected controlled device using the output of an address bus. The present invention relates to a standby method for a data processing device that reduces power consumption when the data processing device is placed in a standby state while a controlled device is selected.

〔従来の技術〕[Conventional technology]

この種のデータ処理装置における制御装置のコントロー
ラとしては、8ビツトあるいは16ビツトALU、RA
M、A/Dコンバータ、多機能タイマ/イベント・カウ
ンタ、汎用シリアル・インターフェースなどを1チツプ
に集積し、さらに外部にメモリ (ROM/RAM)を
拡張でき、64にバイトまでの外部ないし内部メモリを
直接アドレス可能、かつスタンバイ機能を有する低消費
電力でのデータ保持ができるCMOSの、たとえばμP
078G10等(日本電気型)、HD6301V等(日
立製作新製)などが用いられる。
The controller of the control device in this type of data processing device uses 8-bit or 16-bit ALU, RA
M, A/D converter, multi-function timer/event counter, general-purpose serial interface, etc. are integrated on a single chip, and memory (ROM/RAM) can be expanded externally, allowing up to 64 bytes of external or internal memory. For example, μP is a CMOS device that is directly addressable, has a standby function, and can hold data with low power consumption.
078G10 etc. (Nippon Denki type), HD6301V etc. (Newly manufactured by Hitachi Seisakusho) etc. are used.

上記のようなコントローラを用いたデータ処理装置では
、複数の被制御機器のうちの少なくとも一つを選択する
と、選択された被制御機器は動作状C,(アクティブ状
態)となり、非動作状態と比べて電流が多く流れるよう
な構成となっている。
In a data processing device using a controller as described above, when at least one of a plurality of controlled devices is selected, the selected controlled device becomes an operating state C, (active state), which is different from a non-operating state. The structure is such that a large amount of current flows.

そして、コントローラがスタンバイ状態となったときに
も選択された制御機器はアクティブ状態を保持すること
になる。
Then, even when the controller enters the standby state, the selected control device remains in the active state.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来の技術においては、データ処理装置が被制御機
器を選択してスタンバイ状態(スタンバイモード)とな
ったときにも、アドレスバスが上記被制御機器をアクセ
スした状態で止まってしまうため、すなわちコントロー
ラの出力のうちデータバスはハイインピーダンスとなる
がアドレスバスは次のアドレスを保持しており全てハイ
インピーダンスあるいはハイレベルとはならず、このア
ドレスに対応する被制御機器はアクティブ状態のままと
なり、該被制御機器に多くの電流が流れ続け、低消費電
力化が困難であるという問題があった。
In the above conventional technology, even when the data processing device selects a controlled device and enters a standby state (standby mode), the address bus stops accessing the controlled device, that is, the controller Of the outputs, the data bus becomes high impedance, but the address bus holds the next address and does not become high impedance or high level, and the controlled device corresponding to this address remains active and the corresponding There is a problem in that a large amount of current continues to flow through the controlled device, making it difficult to reduce power consumption.

本発明の目的は、上記したようなスタンバイ状態におい
ては、アドレスバス上に出ているアドレスにより選択さ
れるべき被制御機器の選択を中断して、該被制御機器に
流れるべき電流を少なくすることにより、データ処理装
置の消費電力を大幅に低減させることのできるデータ処
理装置のスタンバイ方式を提供することにある。
An object of the present invention is to interrupt the selection of the controlled device to be selected by the address on the address bus in the standby state as described above, and to reduce the current that should flow through the controlled device. Accordingly, it is an object of the present invention to provide a standby system for a data processing device that can significantly reduce power consumption of the data processing device.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は、スタンバイ時にはROMに格納されている
スタンバイ時のプログラムの一部または全部をコントロ
ーラの内部RAMにコピー(複写)し、アドレスバス全
てをハイインピーダンスあるいはハイレベルのいずれか
一方に設定することによって達成される。
The above purpose is to copy part or all of the standby program stored in the ROM to the controller's internal RAM during standby, and to set all address buses to either high impedance or high level. achieved by

〔作用〕[Effect]

スタンバイ状態では、選択された被制御機器の選択情報
(アドレスデータ)は、コントローラの内部RAMに記
憶されており、スタンバイ解除後の処理はこの内部RA
Mをアクセスすることにより開始されるため、スタンバ
イ中に被制御機器をアクティブ状態しておく必要はなく
、該被制御機器への電流は抑制され、データ処理装置全
体の消費電流は低減される。
In the standby state, the selection information (address data) of the selected controlled device is stored in the internal RAM of the controller, and the processing after standby is canceled is performed using this internal RAM.
Since it is started by accessing M, there is no need to keep the controlled device in an active state during standby, the current to the controlled device is suppressed, and the current consumption of the entire data processing device is reduced.

〔実施例〕〔Example〕

以下、本発明の実施例を図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明によるデータ処理装置の一実施例のブロ
ック図であって、lはコントローラ、IOはCPU、1
1は内部RAM、2はROM、3は外部RAM、4はア
ドレスバス(AO〜A15)、5はデータバス(DO〜
D7)、6はアドレスデコーダ、?a、7b、7c、7
d、7e、7f −・・は被制御装置の選択ラインであ
る。なお、ROM2と外部RAM3も共にコントローラ
lで制御される被制御機器である。
FIG. 1 is a block diagram of an embodiment of a data processing device according to the present invention, where l is a controller, IO is a CPU, and 1
1 is internal RAM, 2 is ROM, 3 is external RAM, 4 is address bus (AO~A15), 5 is data bus (DO~
D7), 6 is an address decoder, ? a, 7b, 7c, 7
d, 7e, 7f-- are selection lines of controlled devices. Note that both the ROM 2 and the external RAM 3 are controlled devices controlled by the controller l.

同図において、コントローラ1と、ROM2゜外部RA
M3.およびその他の破割?Il1機器は、アドレスバ
ス4とデータバス5を介して接続され、アドレスバス4
の一部に接続されたアドレスデコーダ6からの信号で選
択されるように構成されている。
In the same figure, controller 1, ROM 2゜external RA
M3. and other breakouts? The Il1 device is connected via an address bus 4 and a data bus 5.
It is configured to be selected by a signal from an address decoder 6 connected to a part of the address decoder 6.

ROM2には外部機器の処理プログラム、その他の各種
の処理プログラムが格納されている。
The ROM 2 stores processing programs for external devices and various other processing programs.

第2図、第3図は本発明におけるメモリエリアの説明図
であって、20はROMエリア、200はROM2内の
スタンバイ用プログラムエリア、30は外部RAMエリ
ア、110は内部RAMエリア、210はROM2内の
スタンバイ用プログラムエリア200の一部、120は
内部RAMエリアllOのスタンバイ用プログラムコピ
ーエリアである。
2 and 3 are explanatory diagrams of memory areas in the present invention, 20 is a ROM area, 200 is a standby program area in ROM2, 30 is an external RAM area, 110 is an internal RAM area, and 210 is a ROM2 A part of the standby program area 200, 120, is a standby program copy area of the internal RAM area IO.

同図に示したように、この例ではROMエリア20をア
ドレス0000〜、外部RAMエリア30を8000〜
、内部RAMエリア110をFF0O〜FFFFとして
いる。内部RAMll0はFF0O〜FFFFに固定で
あるが、外部RAMエリア30とROMエリア20は選
択可能である。
As shown in the figure, in this example, the ROM area 20 is located at addresses 0000~, and the external RAM area 30 is located at addresses 8000~.
, the internal RAM area 110 is designated as FF00 to FFFF. Internal RAMll0 is fixed to FF00 to FFFF, but external RAM area 30 and ROM area 20 are selectable.

コントローラ(CPU)1はROMエリア20に格納さ
れているプログラムデータを読み出しながら被制御機器
の制御等の処理を行って行く。
The controller (CPU) 1 reads program data stored in the ROM area 20 and performs processing such as controlling the controlled equipment.

以下、第1図の動作を第2図、第3図と共に説明する。The operation shown in FIG. 1 will be explained below in conjunction with FIGS. 2 and 3.

コントローラ(CPU)1はROMエリア20に格納さ
れているプログラムデータを読み出しながら被制御機器
の制御等の処理を行って行く。
The controller (CPU) 1 reads program data stored in the ROM area 20 and performs processing such as controlling the controlled equipment.

そして、スタンバイモードに入る前に、コントローラ1
はROM2のスタンバイ用プログラムエリア200に格
納されているスタンバイ時のプログラムの一部、または
全部を、内部RAMIIのエリア120にコピーする。
Then, before entering standby mode, controller 1
copies part or all of the standby program stored in the standby program area 200 of the ROM 2 to the area 120 of the internal RAM II.

このコピー終了後、コントローラlはエリア120にコ
ピーされたプログラムデータを読み出しながら処理を行
い、スタンバイモードに入る命令(STOP命令等)を
実行した時点で、スタンバイ状態となる。
After this copying is completed, the controller l processes the program data copied to the area 120 while reading it, and enters the standby state when it executes an instruction to enter the standby mode (such as a STOP instruction).

このようにして、コントローラ1は被制御機器のアクセ
スを停止し、アドレスデコーダ6へのアドレスバスを全
てハイレベルとし、選択されていた被制御機器の選択ラ
インをオフとする。
In this way, the controller 1 stops accessing the controlled device, sets all address buses to the address decoder 6 to high level, and turns off the selection line of the selected controlled device.

内部RAMIIにコピーされたプログラムには、スタン
バイ状態に入る時点で選択されるべき次の外部機器のア
ドレスも保持されている。
The program copied to the internal RAM II also holds the address of the next external device to be selected when entering the standby state.

これにより、スタンバイモードにおいては、被制御機器
に流れる電流が抑えられる。
Thereby, in standby mode, the current flowing through the controlled device is suppressed.

スタンバイモードから処理モードに入る時(戻る時)は
、コントローラ1のCPUl0は内部RAMIIのコピ
ーエリア120をアクセスする。
When entering (returning) from the standby mode to the processing mode, the CPU 10 of the controller 1 accesses the copy area 120 of the internal RAM II.

上記のように、コピーエリアにはスタンバイモードに入
る時点の次に選択されるべき被制御機器のアドレスが保
持されているので、スタンバイモードの解除が行われる
と、このアドレスがアドレスバス4を介してアドレスデ
コーダ6に供給され、デコードされて選択ライン73〜
7fにより所定の被制御機器が選択される。
As mentioned above, the copy area holds the address of the controlled device to be selected next after entering standby mode, so when standby mode is canceled, this address is transferred via address bus 4. is supplied to the address decoder 6, decoded and sent to the selection lines 73~
7f selects a predetermined controlled device.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、スタンバイモー
ドにおいては被制御機器のアドレスバス(コントローラ
のアドレス出力)は全てハイインピーダンスあるいはハ
イレベルのいずれか一方となり、データ処理装置の省電
力化を図って全体として電力消費の少ないデータ処理装
置を提供することができる。
As explained above, according to the present invention, in standby mode, the address bus of the controlled device (address output of the controller) is either high impedance or high level, thereby reducing the power consumption of the data processing device. Therefore, it is possible to provide a data processing device that consumes less power as a whole.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明によるデータ処理装置の一実施例のブロ
ック図、第2図、第3図は本発明の一実施例におけるメ
モリエリアの説明図である。 ? ど l・・・・コントローラ、10・・・・中央処理装置(
CPU) 、11・・・・内部RAM、2・・・・RO
M、3・・・・外部RAM、4・・・・アドレスバス(
AO〜A15)、5・・・・データバス(Do〜D?)
、6・・・・アドレスデコーダ、?a、7b、7c、7
d、7e、7f・・・被制御装置の選択ライン。 第 図 第3 図
FIG. 1 is a block diagram of an embodiment of a data processing apparatus according to the present invention, and FIGS. 2 and 3 are explanatory diagrams of a memory area in an embodiment of the present invention. ? 1...Controller, 10...Central processing unit (
CPU), 11...Internal RAM, 2...RO
M, 3...External RAM, 4...Address bus (
AO~A15), 5...Data bus (Do~D?)
, 6...address decoder, ? a, 7b, 7c, 7
d, 7e, 7f... Controlled device selection lines. Figure 3

Claims (1)

【特許請求の範囲】[Claims] 内部RAMを有するコントローラ、アドレスバスとデー
タバスを介してコントローラに接続したROMを含む複
数の被制御機器およびこれらの被制御機器に選択信号を
与えるアドレスデコーダとを備えたデータ処理装置のス
タンバイ方式において、上記コントローラが上記複数の
被制御機器のうちの少なくとも一つを選択している状態
でスタンバイ状態に入る際、該スタンバイ状態に入る時
点のプログラムの一部ないし全部を上記内部RAMに複
写してアドレスバスをハイインピーダンスあるいはハイ
レベルとすることにより、上記被制御機器の選択を中断
することを特徴とするデータ処理装置のスタンバイ方式
In a standby system for a data processing device that includes a controller having an internal RAM, a plurality of controlled devices including a ROM connected to the controller via an address bus and a data bus, and an address decoder that provides selection signals to these controlled devices. , when the controller enters a standby state with at least one of the plurality of controlled devices selected, copying part or all of the program at the time of entering the standby state to the internal RAM; A standby method for a data processing device, characterized in that selection of the controlled device is interrupted by setting an address bus to high impedance or high level.
JP1100249A 1989-04-21 1989-04-21 Standby method for data processing equipment Expired - Lifetime JP2732890B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1100249A JP2732890B2 (en) 1989-04-21 1989-04-21 Standby method for data processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1100249A JP2732890B2 (en) 1989-04-21 1989-04-21 Standby method for data processing equipment

Publications (2)

Publication Number Publication Date
JPH02280216A true JPH02280216A (en) 1990-11-16
JP2732890B2 JP2732890B2 (en) 1998-03-30

Family

ID=14268956

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1100249A Expired - Lifetime JP2732890B2 (en) 1989-04-21 1989-04-21 Standby method for data processing equipment

Country Status (1)

Country Link
JP (1) JP2732890B2 (en)

Also Published As

Publication number Publication date
JP2732890B2 (en) 1998-03-30

Similar Documents

Publication Publication Date Title
US4949241A (en) Microcomputer system including a master processor and a slave processor synchronized by three control lines
JPS59200327A (en) Control system of peripheral device
JP3226055B2 (en) Information processing device
US4095268A (en) System for stopping and restarting the operation of a data processor
WO1996018154A1 (en) Gate-a20 and cpu reset circuit for microprocessor-based system
JPH02280216A (en) Standby system for data processor
US5931930A (en) Processor that indicates system bus ownership in an upgradable multiprocessor computer system
JP2508038B2 (en) Programmable controller
JP3267110B2 (en) Microcomputer data transfer device
JP2722908B2 (en) Single chip microcomputer
JP2004013289A (en) On-chip debugging method of microcontroller
JPS6240565A (en) Memory control system
JPH03225546A (en) Method for confirming whether option board is mounted or not
JPH0981500A (en) Virtual dma transfer method
JPH04264652A (en) Dma control system
CA1209273A (en) High-speed auxiliary computer plug-in units
JP2513037B2 (en) Micro computer
JPS599306Y2 (en) data processing equipment
JPS61193255A (en) Operation method for high speed central processing unit
JPH0247741A (en) Memory address decoding system
JPH07244607A (en) Queue memory system and method thereof
JPH05210623A (en) Microprocessor and data processor
JPH03138752A (en) Information processor
JPH0696235A (en) Single chip microcomputer
JPS62190544A (en) Higher link unit for programmable controller