JPH03288247A - peripheral controller - Google Patents

peripheral controller

Info

Publication number
JPH03288247A
JPH03288247A JP2090027A JP9002790A JPH03288247A JP H03288247 A JPH03288247 A JP H03288247A JP 2090027 A JP2090027 A JP 2090027A JP 9002790 A JP9002790 A JP 9002790A JP H03288247 A JPH03288247 A JP H03288247A
Authority
JP
Japan
Prior art keywords
controller
bus
data buffer
buffer ram
peripheral device
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
JP2090027A
Other languages
Japanese (ja)
Inventor
Satoshi Sakai
聡 酒井
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2090027A priority Critical patent/JPH03288247A/en
Publication of JPH03288247A publication Critical patent/JPH03288247A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、コンピュータ周辺装置用のコントローラに関
するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a controller for a computer peripheral device.

[従来の技術] 第2図は、従来の周辺装置コントローラの一例を示すブ
ロック図である。
[Prior Art] FIG. 2 is a block diagram showing an example of a conventional peripheral device controller.

この周辺装置コントローラは、ホスト装置とのインター
フェースを行なうホストインターフェースブロック14
と、ホスト装置と周辺装置との間のデータの一時記憶領
域であるデータバッファRAM12と、周辺装置の読み
出し、書き込みの制御およびデータ転送を行なうシーケ
ンサ/DMAブロック11と、データのエラー検出、訂
正を行なうエラー訂正ブロック13と、ホスト装置から
のコマンド解釈と、シーケンサ/DMAブロック11の
制御を行なうコントローラCPUl0と、それに付属す
るROM15およびRAM16とで構成されている。
This peripheral device controller includes a host interface block 14 that interfaces with the host device.
, a data buffer RAM 12 which is a temporary storage area for data between the host device and peripheral devices, a sequencer/DMA block 11 which controls reading and writing of peripheral devices and transfers data, and a data error detection and correction block. A controller CPU10 that interprets commands from the host device and controls the sequencer/DMA block 11, and a ROM 15 and a RAM 16 attached thereto.

また、ホストインターフェースブロック14、エラー訂
正ブロック13、データバッファRAM12およびシー
ケンサ/DMAブロック11の間のバスがデータバッフ
ァRAM用バス17であり、コントローラCPUl0、
シーケンサ/DMAブロック11、コントローラ用RA
M16およびコントローラ用ROM15の間のバスがコ
ントローラCPU用バス18である。
Further, a bus between the host interface block 14, error correction block 13, data buffer RAM 12 and sequencer/DMA block 11 is a data buffer RAM bus 17, and the controller CPU10,
Sequencer/DMA block 11, RA for controller
The bus between M16 and controller ROM 15 is controller CPU bus 18.

[発明が解決しようとする課題] しかしながら、上記従来例では、コントローラCPUl
0用のワークエリアRAM16とデータバッファRAM
12とは、バス系統が別になっており、コントローラC
PUl0からは、データバッファRAM12が直接アク
セスできないため、データバッファRAM12をコント
ローラCPU1Oのプログラム保存に使えず、また、デ
ータ保存用としてもアクセスタイムが余分にかかってし
まうという問題があった。
[Problems to be Solved by the Invention] However, in the above conventional example, the controller CPU
0 work area RAM 16 and data buffer RAM
12, the bus system is different, and the controller C
Since the data buffer RAM 12 cannot be accessed directly from the PU10, the data buffer RAM 12 cannot be used to store programs for the controller CPU 1O, and there is a problem in that it takes extra access time even when used for data storage.

また、上記従来例では、エラー訂正ブロック5に機能障
害が発生した場合には、周辺装置コントローラ全体が動
作不能となってしまうという欠点を持っていた。
Furthermore, the conventional example described above has the disadvantage that if a functional failure occurs in the error correction block 5, the entire peripheral device controller becomes inoperable.

本発明は、コントローラCPU用とデータバッファRA
M用の2木のバスをより自在に活用することができ、事
故発生時等に有効に対処することができる周辺装置コン
トローラを提供することを目的とする。
The present invention provides controller CPU and data buffer RA.
It is an object of the present invention to provide a peripheral device controller that can more freely utilize two M buses and can effectively deal with the occurrence of an accident.

[課題を解決する手段] 本発明は、コントローラCPUのバスとデータバッファ
RAMのバスとが、内部で別々に存在してイル周辺装置
コントローラにおいて、コントローラCPUのバスとデ
ータバッファRAMのバスとを接続するバス切換制御手
段を設けたことを特徴とする。
[Means for Solving the Problems] The present invention provides a method for connecting the controller CPU bus and the data buffer RAM bus in a peripheral device controller in which the controller CPU bus and the data buffer RAM bus exist separately internally. The present invention is characterized in that it is provided with a bus switching control means for controlling the bus switching.

[作用] 本発明では、コントローラCPU用バスト、データバッ
ファRAM用バスとの間に、バス切換制御手段を設ける
ことにより、データバッファRAMにアクセスする装置
の切り換え、切り離しを行なえるようにし、周辺装置コ
ントローラ内におけるメモリ管理を一元的に行なうこと
によって、コントローラとしての信頼性の向上及び機能
の拡大を図るものである。
[Function] In the present invention, by providing a bus switching control means between the controller CPU bus and the data buffer RAM bus, devices accessing the data buffer RAM can be switched and disconnected, and peripheral devices By centrally performing memory management within the controller, the reliability of the controller is improved and its functions are expanded.

[実施例] 第1図は、本発明の一実施例を示すブロック図である。[Example] FIG. 1 is a block diagram showing one embodiment of the present invention.

なお0本実施例は、上記第2図に示す構成にバス切換制
御手段3を付加するとともに、コントローラCPU用R
AMを省略したものであり、その他の各構成ブロックは
共通であることから個々の詳細は省略する。
Note that this embodiment adds a bus switching control means 3 to the configuration shown in FIG.
AM is omitted, and other constituent blocks are common, so individual details will be omitted.

この実施例では、データバッファRAM4およびエラー
訂正ブロック5とシーケンサ/DMAブロック2との間
に、バス切換制御手段3を接続し、さらに、コントロー
ラCPUIのバス9とバス切換制御手段3を接続したも
のである。
In this embodiment, a bus switching control means 3 is connected between the data buffer RAM 4 and the error correction block 5 and the sequencer/DMA block 2, and the bus switching control means 3 is further connected to the bus 9 of the controller CPUI. It is.

これによりコントローラCPUIは、バス切換制御手段
3を介してデータバッファRAM4に直接アクセスでき
るようになると同時に、バス切換制御手段3を制御して
、エラー訂正ブロック5のバスから切り離されることが
可能になる。
This allows the controller CPUI to directly access the data buffer RAM 4 via the bus switching control means 3, and at the same time, it becomes possible to control the bus switching control means 3 to disconnect the error correction block 5 from the bus.

したがって、コントローラCPUIは、データバッファ
RAM4をプログラム保存用およヒデータ保存用として
直接アクセスすることができるようになるとともに、エ
ラー訂正ブロック5に障害が発生した際は、これをバス
から切り離すことができるようになる。
Therefore, the controller CPUI can directly access the data buffer RAM 4 for storing programs and data, and can also disconnect it from the bus when a failure occurs in the error correction block 5. become.

以上の構成により、コントローラCPUIが、直接デー
タバッファRAM4にアクセスできるため、周辺装置の
エージングや製造工程での機能チエツクなどの一時的に
しか使用しないプログラムをホストからデータバッファ
RAM4にダウンロードして実行することができ、プロ
グラムROM7の不必要な増大を防ぐことができる。
With the above configuration, the controller CPUI can directly access the data buffer RAM 4, so programs that are used only temporarily, such as for aging peripheral devices or checking functions in the manufacturing process, can be downloaded from the host to the data buffer RAM 4 and executed. Therefore, unnecessary increase in the program ROM 7 can be prevented.

また、プログラムROM7の中にエラー訂正プログラム
を入れておき、エラー訂正ブロック5に機能障害が発生
した際に、これを起動して、周辺装置コントローラとし
ての機能を保つことができる。これはソフトウェアによ
る訂正であるため、動作速度は低下するが、このような
障害をホストに通知してからち、動作が可能であるため
、ホストに障害回復の手段を行なう余裕を与えることが
でき、システムとしての信頼性が向上する。
Further, an error correction program is stored in the program ROM 7, and when a functional failure occurs in the error correction block 5, it can be activated to maintain the function as a peripheral device controller. This is a software correction, so it slows down the operation, but it can take action after notifying the host of such a failure, giving the host leeway to take measures to recover from the failure. , the reliability of the system is improved.

さらに、コントローラCPU用RAMとデータバッファ
RAMが共通化されるため、コントローラCPU用RA
Mは、不要となると同時に、データバッファRAM内の
コントローラCPUの使用部分が動的に確保できるため
、システムとしての柔軟性が増大する。
Furthermore, since the RAM for the controller CPU and the data buffer RAM are shared, the RAM for the controller CPU
M becomes unnecessary, and at the same time, the portion of the data buffer RAM used by the controller CPU can be dynamically secured, increasing the flexibility of the system.

[発明の効果] 以上説明したように、周辺装置コントローラ内に、バス
切換制御手段を設けることにより、周辺装置コントロー
ラ内におけるメモリ/デバイスの管理をコントローラC
PUが一元的に行なうことが可能となり、データバッフ
ァRAMをコントローラCPUプログラム用としての使
用ができる効果がある。
[Effects of the Invention] As explained above, by providing the bus switching control means in the peripheral device controller, memory/device management in the peripheral device controller is controlled by the controller C.
This enables the PU to perform operations in a unified manner, and has the advantage that the data buffer RAM can be used for the controller CPU program.

また、エラー訂正ブロックの機能をコントローラCPU
で代替することも可能となる。
In addition, the error correction block function is implemented by the controller CPU.
It is also possible to replace it with

さらに、コントローラCPU用としてのワークエリア用
RAMを省略できるという効果も得られる。
Furthermore, it is possible to omit the work area RAM for the controller CPU.

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

第1図は、本発明の一実施例を示すブロック図である。 第2図は、従来の周辺装置コントローラの一例を示すブ
ロック図である。 1・・・コントローラCPU。 2・・・シーケンサ/DMAブロック、3・・・バス切
換制御用ブロック、 4・・・データバ)ファRAM、 5・・・エラー訂正ブロック、 6・・・ホストインターフェースブロック、7・・・コ
ントローラCPU用ROM、8・・・データバッファR
AM用/<ス、9・・・コントローラCPU用バス。 同代理人 用久保 新
FIG. 1 is a block diagram showing one embodiment of the present invention. FIG. 2 is a block diagram showing an example of a conventional peripheral device controller. 1... Controller CPU. 2... Sequencer/DMA block, 3... Bus switching control block, 4... Data buffer RAM, 5... Error correction block, 6... Host interface block, 7... Controller CPU ROM, 8...Data buffer R
AM/<S, 9... Bus for controller CPU. Arata Kubo for the same agent

Claims (3)

【特許請求の範囲】[Claims] (1)コントローラCPUのバスとデータバッファRA
Mのバスとが、内部で別々に存在している周辺装置コン
トローラにおいて、 コントローラCPUのバスとデータッバッフアRAMの
バスとを接続するバス切換制御手段を設けたことを特徴
とする周辺装置コントローラ。
(1) Controller CPU bus and data buffer RA
1. A peripheral device controller in which a bus for a controller CPU and a bus for a data buffer RAM are provided separately in the peripheral device controller.
(2)請求項(1)において、 上記バス切換制御手段は障害の発生した機能ブロックを
電気的に切り離す機能を有し、この障害の発生した機能
ブロックの機能を、コントローラCPUのプログラムで
代替実行することを特徴とする周辺装置コントローラ。
(2) In claim (1), the bus switching control means has a function of electrically disconnecting a faulty functional block, and alternatively executes the function of the faulty functional block by a program of the controller CPU. A peripheral device controller characterized by:
(3)請求項(1)において、 一時的に使用するプログラムを、外部からデータバッフ
ァRAMに記憶させてコントローラCPUに実行させる
ことを特徴とする周辺装置コントローラ。
(3) The peripheral device controller according to claim (1), wherein a temporarily used program is stored from outside in a data buffer RAM and executed by the controller CPU.
JP2090027A 1990-04-04 1990-04-04 peripheral controller Pending JPH03288247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2090027A JPH03288247A (en) 1990-04-04 1990-04-04 peripheral controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2090027A JPH03288247A (en) 1990-04-04 1990-04-04 peripheral controller

Publications (1)

Publication Number Publication Date
JPH03288247A true JPH03288247A (en) 1991-12-18

Family

ID=13987197

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2090027A Pending JPH03288247A (en) 1990-04-04 1990-04-04 peripheral controller

Country Status (1)

Country Link
JP (1) JPH03288247A (en)

Similar Documents

Publication Publication Date Title
US5109505A (en) Semiconductor memory disk apparatus with backup device capable of being accessed immediately after power source is recovered
KR100827287B1 (en) Semiconductor auxiliary memory and data storage method using same
JP2010128808A (en) Storage control apparatus
JPS59214952A (en) Processing system of fault
JPWO2004040451A1 (en) System controller, control system, and system control method
JPS626269B2 (en)
JPS62269253A (en) Power failure processing system for semiconductor memory device
JPH03208158A (en) electronic control unit
JP3157794B2 (en) Peripheral control processor
JPS6217877Y2 (en)
JPS62144202A (en) Programmable controller debugging device
JPS62286143A (en) Semiconductor memory device
JP4009401B2 (en) Disk control apparatus and recording medium recording program
JPS58168121A (en) Processing system of power failure restoration
JP3012402B2 (en) Information processing system
JPS6378253A (en) Program loading system
JPH03271823A (en) High speed writing system for disk controller
JPS63133246A (en) Instruction processor
JPS60220448A (en) Mutual checking method of multi-cpu system
JPH047771A (en) Composite system
JPS61153741A (en) Programmable controller
JPH02263249A (en) Information collecting terminal equipment
JPH03255507A (en) Programmable controller
JPH03262037A (en) Fault recovering system for data processor
JPH09282243A (en) Memory connection controller capable of coping with bus degradation