JPS62192824A - Access system for processor - Google Patents

Access system for processor

Info

Publication number
JPS62192824A
JPS62192824A JP61036339A JP3633986A JPS62192824A JP S62192824 A JPS62192824 A JP S62192824A JP 61036339 A JP61036339 A JP 61036339A JP 3633986 A JP3633986 A JP 3633986A JP S62192824 A JPS62192824 A JP S62192824A
Authority
JP
Japan
Prior art keywords
register
processing
processing device
instruction
data
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
JP61036339A
Other languages
Japanese (ja)
Inventor
Yuji Ogasawara
小笠原 祐治
Mikio Sato
佐藤 幹雄
Masahito Hidaka
日高 正仁
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61036339A priority Critical patent/JPS62192824A/en
Publication of JPS62192824A publication Critical patent/JPS62192824A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)
  • Multi Processors (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To simplify the hardware by providing an access means for a register of one processing part of plural processors, so that write and read-out can be executed directly to and from its register from other processor. CONSTITUTION:In an information processing system provided with plural processors 1, 2 the processor 2 is constituted by connecting a processing part 3, a memory part 4, a line corresponding part 5, line control mechanisms 6, 6' and an interface part 7, to an internal bus 8, and an access means 9 is provided on an interface part 7 and connected to registers 3a, 3b,... in the processing part 3. In this way, write and read-out can be executed directly to and from the registers 3a, 3b... from the processor 1, therefore, the memory part 4 can be constituted of only a RAM.

Description

【発明の詳細な説明】 〔概要〕 本発明は夫々プログラム制御で動作する複数の処理装置
を備えた情報処理システムにおいて、処理装置のレジス
タに対するアクセス手段を設け、一つの処理装置から他
の処理装置のレジスタに対する書き込みまたは読み出し
を直接行なうことにより、プログラムのロードや他の処
理装置の診断ができるようにして、ハードウェアを面素
化できるようにしたものである。
[Detailed Description of the Invention] [Summary] The present invention provides an information processing system including a plurality of processing devices each operating under program control, and provides access means for the registers of the processing devices, so that access from one processing device to another processing device is provided. By directly writing to or reading from the registers, programs can be loaded and other processing devices can be diagnosed, thereby making it possible to simplify hardware.

〔産業上の利用分野〕[Industrial application field]

本発明は複数の処理装置で構成される情報処理装置にお
いて、イニシャル時に一つの処理装置から他の処理装置
へプログラムをロードしたり、障害発生時等に診断を行
ったりするための処理装置アクセス方式に関するもので
ある。
The present invention provides a processing device access method for loading a program from one processing device to another processing device at the initial time and for diagnosing when a failure occurs in an information processing device composed of a plurality of processing devices. It is related to.

〔従来の技術〕[Conventional technology]

複数の処理装置で構成される情報処理システムの例とし
て、中央処理装置とこれに接続され、処理部を有する周
辺制御装置とで構成されたものがある。
An example of an information processing system configured with a plurality of processing devices is one configured with a central processing unit and a peripheral control device connected to the central processing unit and having a processing section.

この周辺制御装置の処理動作に必要なプログラムは、リ
ード・オンリ・メモリ(以下ROMと記す)に格納して
おくか、ブートストラップ用のROMを持ち、このブー
トストラップによりフロッピーディスク等の補助記憶装
置からローディングするものであった。
The programs necessary for the processing operations of this peripheral control device are stored in a read-only memory (hereinafter referred to as ROM), or have a ROM for bootstrapping, and the bootstrapping allows the program to be stored in an auxiliary storage device such as a floppy disk. It was to be loaded from.

また周辺制御装置などに障害が発生した時、その状況把
握を行なうための従来の診断方法は、通常時には不要な
診断用のアダプタを必要時または予め周辺制御装置に取
り付け、このアダプタと専用のインクフェイスを介して
必要なトラブルシューティング用の情報などを入力して
原因の解析等を行なうものであった。
Furthermore, when a failure occurs in a peripheral control device, etc., the conventional diagnostic method for grasping the situation is to attach a diagnostic adapter that is not required under normal conditions to the peripheral control device when necessary or in advance, and to use this adapter and a special ink cartridge. The user entered necessary troubleshooting information via the computer's interface to analyze the cause.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、上記周辺制御装置の従来のプログラム格
納方法において、プログラムやブートストラップをRO
Mとして持つ方法では、システムの変更の際に行なわれ
るプログラムの改版時、ROMの書き替えまたは交換の
作業があり、A−ドウエアの着脱操作等を伴い、簡単に
は対処できないという問題点があった。
However, in the conventional program storage method for the peripheral control device, the program and bootstrap are stored in the RO.
With the M method, there is a problem that it is not easy to deal with because it involves rewriting or replacing the ROM when the program is revised when changing the system, and it involves attaching and detaching A-ware. Ta.

また従来の上記周辺制御装置の診断方法では、中央処理
装置側が障害に関する周辺制御装置側の情報を直接収集
できないという欠点を有していた。
Furthermore, the conventional method for diagnosing a peripheral control device has a drawback in that the central processing unit cannot directly collect information about a failure from the peripheral control device.

さらに上記従来のブートストラップ用のROMや診断方
法に必要な診断用アダプタとそのための専用インクフェ
イス等のハードウェアは、通常動作では必要としないも
のであり、ハードウェアを複雑化するものであった。
Furthermore, the hardware such as the conventional bootstrap ROM, the diagnostic adapter necessary for the diagnostic method, and the dedicated ink face for that purpose are not required for normal operation and complicate the hardware. .

本発明は上記従来の問題点を解決するためになされたも
のであり、複数の処理装置を備えた情報処理システムに
おいて、プログラムの改版に容易に対処できるようにし
、故障診断の機能を向上させると共に、プログラムやブ
ートストラップ用のROM及び診断専用のハードウェア
を不要とすることによってハードウェアの軽減を行なう
ことを目的とする。
The present invention has been made in order to solve the above-mentioned conventional problems, and makes it possible to easily deal with program revisions in an information processing system equipped with a plurality of processing devices, and improves the failure diagnosis function. The purpose of the present invention is to reduce the amount of hardware required by eliminating the need for a program, a ROM for bootstrapping, and hardware dedicated to diagnosis.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の上記目的を達成するための手段は、第1図の本
発明の原理説明用のブロック図に示すように、複数の処
理装置1,2を備えた情報処理システムにおいて、上記
処理装置2の処理部3のレジスタ3aに対するアクセス
手段を設け、一つの処理装置1から他の処理装置2のレ
ジスタ3aに対して直接に書き込みまたは読み出しを行
なうようにした処理装置アクセス方式である。なお処理
装置数は上記2つに限定されるものではなく多数であっ
ても良い。
As shown in the block diagram for explaining the principle of the present invention in FIG. This is a processing device access method in which a means for accessing the register 3a of the processing unit 3 is provided, and one processing device 1 can directly write to or read from the register 3a of another processing device 2. Note that the number of processing devices is not limited to the above two, and may be many.

〔作用〕[Effect]

処理装置2に上記アクセス手段9を設けたことにより、
処理装置間のインクフェイスは従来通りでありながら、
たとえば中央処理装置などの一つの処理装置1がその処
理装置2内の処理部3の命令レジスタやデータレジスタ
、その他害種制御レジスタ等に対して直接に書き込みや
読み出しが出来るので、その処理装置2のメモリ部をラ
ンダムアクセス・メモリ (以下RAMと記す)のみで
構成しても、イニシャル時には中央処理装置1は上記レ
ジスタ3a・・・を制御してブートプログラムをRAM
へ転送することができる。この結果上記処理装置2はプ
ログラムをROMとして持つ必要がなくなり、プログラ
ムの改版に容易に対処できるようになる。また診断にお
いても中央処理装置1が上記処理装置2のレジスタ3a
に命令を書き込み、この実行結果をレジスタ3aから読
み出すことができるから、直接障害情報を収集できるよ
うになると共に、診断用のアダプタやそのための専用イ
ンクフェイスが不要になる。
By providing the processing device 2 with the access means 9,
Although the ink face between processing devices is the same as before,
For example, one processing device 1 such as a central processing unit can directly write to and read from the instruction register, data register, other harmful species control register, etc. of the processing unit 3 in the processing device 2, so the processing device 2 Even if the memory section of the computer is configured with only a random access memory (hereinafter referred to as RAM), at the initial stage, the central processing unit 1 controls the registers 3a, etc., and stores the boot program in the RAM.
can be transferred to. As a result, the processing device 2 does not need to have the program as a ROM, and can easily deal with revisions of the program. Also in diagnosis, the central processing unit 1 uses the register 3a of the processing unit 2.
Since an instruction can be written to the register 3a and the execution result can be read from the register 3a, it becomes possible to directly collect failure information, and there is no need for a diagnostic adapter or a dedicated ink face.

〔実施例〕〔Example〕

以下に本発明の実施例を図面に基づいて詳細に説明する
。第2図は本発明の詳細な説明用のブロック図、第3図
はアクセス手段の説明用ブロック図である。
Embodiments of the present invention will be described in detail below based on the drawings. FIG. 2 is a block diagram for explaining the present invention in detail, and FIG. 3 is a block diagram for explaining the access means.

第2図において本発明を適用する情報処理システムは、
二つの処理装置即ちホスト計算機(以下ホストCPU)
1と、通信制御装置(以下CCP)2とで構成されてい
る。CCP 2は処理手順を解読し実行する処理部(以
下CC)3と、この処理手順などを記憶するメモリ部(
以下MS)4と、各回線に接続されモデムやバッファ等
を備えた回線対応部(以下LIC)5と、LIC5との
接続を制御しCC3と送受信データの受授を行なう複数
の回線制御機構(以下C3)6.6’と、cpUlとの
インタフェイス部(以下CA)7とで構成され、CC3
,MS4.C36,6’、CA7は内部バス8で接続さ
れている。このCA7はホストCPU Iとはチャネル
インクフェイスで接続され、CC3とは内部バス8で接
続される以外に、後記する本発明の要部であるアクセス
手段9、即ちCCa内の命令レジスタ、データレジスタ
等の制御レジスタにアクセスできるインタフェイスで接
続され、上記内部バス8とは割込制御のためのインクフ
ェイス、DMA (ダイレクトメモリアクセス)転送の
ためのインクフェイスで接続されている。MS4はRO
Mを用いずRAMのみで構成されている。なおホストc
pui側のチャネルインクフェイスは従来通りであり、
特別なハードウェアは必要としない。
In FIG. 2, the information processing system to which the present invention is applied is as follows:
Two processing units, namely host computers (hereinafter referred to as host CPUs)
1 and a communication control device (hereinafter referred to as CCP) 2. The CCP 2 includes a processing unit (hereinafter referred to as CC) 3 that decodes and executes processing procedures, and a memory unit (hereinafter referred to as CC) 3 that stores the processing procedures and other information.
A plurality of line control mechanisms (hereinafter referred to as MS) 4, a line corresponding unit (hereinafter referred to as LIC) 5 connected to each line and equipped with a modem, a buffer, etc., and a plurality of line control mechanisms (hereinafter referred to as LIC) that control the connection with the LIC 5 and exchange data with the CC 3. It consists of C3) 6.6' and an interface section (CA) 7 with cpUl.
, MS4. C36, 6' and CA7 are connected by an internal bus 8. This CA7 is connected to the host CPU I through a channel ink face, and to the CC3 through an internal bus 8. In addition, the CA7 is connected to an access means 9 which is a main part of the present invention, which will be described later, ie, an instruction register and a data register in the CCa. It is connected to the internal bus 8 through an ink face for interrupt control and an ink face for DMA (direct memory access) transfer. MS4 is RO
It is configured only with RAM without using M. Furthermore, host c
The channel ink face on the pui side is the same as before,
No special hardware required.

次に第3図により本発明の要部であるCA7からCC3
内の各種レジスタに対するアクセス手段の構成を説明す
る。アクセス手段9はCA7およびCC3のそれぞれに
一体的に設けられている。
Next, according to FIG. 3, from CA7 to CC3, which are the main parts of the present invention.
The configuration of the means for accessing various registers in the system will be explained. Access means 9 is integrally provided in each of CA7 and CC3.

CAT側は、データ転送に先立ってホストCPU1から
送信される命令を一時記憶する命令識別用レジスタ10
と、内部バス8とのインタフェイスを使用する一般命令
(従来の命令)か、CC3のレジスタをアクセスするた
めの特殊命令かを識別し、必要な指令を発するデコーダ
1)と、その指令によりCC3のレジスタに対するリー
ド信号(読み出し)またはライト信号(書き込み)を必
要な転送のタイミングを計って発するタイミング作成回
路12と、書き込み時にはホストCPUIからのライト
データを、読み出し時にはリードデータを一時記憶する
タイミング調整用レジスタ13などで構成される。CC
a側はCAT側の命令識別用レジスタ10およびデコー
ダ1)から発せられるレジスタアドレス信号を受け、こ
れをデコードして読み出しまたは書き込みすべきレジス
タを指定するセレクト信号を該当のレジスタ3a、3b
、3c、 ・・・・・・に発するアドレスデコーダ14
などから構成される。
The CAT side includes an instruction identification register 10 that temporarily stores instructions sent from the host CPU 1 prior to data transfer.
and a decoder 1) that identifies whether it is a general instruction (conventional instruction) that uses the interface with the internal bus 8 or a special instruction that accesses the registers of CC3, and issues the necessary command; A timing generation circuit 12 that issues a read signal (read) or a write signal (write) to the register by timing the necessary transfer, and a timing adjustment circuit that temporarily stores write data from the host CPUI when writing and read data when reading. It is composed of a register 13 and the like. C.C.
The a side receives a register address signal issued from the instruction identification register 10 and decoder 1) on the CAT side, decodes it, and sends a select signal specifying the register to be read or written to the corresponding registers 3a and 3b.
, 3c, . . . address decoder 14
Consists of etc.

各レジスタ3a、3b、3c、・・・・・・は上記のセ
レクト信号によりイネーブルされ、リード信号を受信し
てリードしたデータ信号を、またはライト信号を受信し
てライトすべきデータ信号をこのアクセス手段9側のイ
ンクフェイスのデータ信号線に接続できるよう構成され
る。このデータ信号線は双方向であっても、リード/ラ
イト別であっても良い。双方向の場合は公知のトライス
テートバッファ回路などで切り替えられる。
Each register 3a, 3b, 3c, . It is constructed so that it can be connected to the data signal line of the ink face on the means 9 side. This data signal line may be bidirectional or may be read/write separately. In the case of bidirectional operation, switching is performed using a known tri-state buffer circuit or the like.

以上のように構成された情報処理システムにおける本実
施例の作用を説明する。データ転送に先立ってホストC
PUIから出力される命令はCA7のチャネルインクフ
ェイスを介して命令識別用レジスタ10へ一時記憶され
る。続いてデコーダ1)によりその命令が一般命令か特
殊命令か識別される。一般命令であればCC3に対して
割込みが発せられ、内部パ゛ス8のインクフェイスが使
用されて通常のデータ転送要求が出され、CC3はMS
4中のプログラムによる制御卸によって内部バス8を用
いたデータ転送処理を行なうにされる。上記の識別の結
果が特殊命令であればCC3に対して割込みが発せられ
た後、前述のアクセス手段9を介してホストCPUIか
らCC3の命令レジスタ3a、データレジスタ3b、 
 その他の制御レジスタ3c、・・・・・・等が直接ア
クセスできるようになる。
The operation of this embodiment in the information processing system configured as above will be explained. Host C prior to data transfer.
The command output from the PUI is temporarily stored in the command identification register 10 via the channel ink face of the CA7. Subsequently, the decoder 1) identifies whether the instruction is a general instruction or a special instruction. If it is a general instruction, an interrupt is issued to CC3, the ink face of internal pass 8 is used to issue a normal data transfer request, and CC3
Data transfer processing using the internal bus 8 is performed by control over by the program in 4. If the result of the above identification is a special instruction, an interrupt is issued to the CC3, and then the instruction register 3a, data register 3b,
Other control registers 3c, etc. can be directly accessed.

尚、CC3の割込み受付は処理、はプログラム制御では
なくハードウェアで行なうものとする。
It is assumed that the CC3 interrupt acceptance processing is performed by hardware rather than program control.

このアクセス手段90作用を詳細に述べると、まず、特
殊命令を受けたデコーダ1)はその命令からさらに読み
出しか書き込みかを識別し、タイミング作成回路12に
指示する。読み出しの場合、タイミング作成回路はCC
3が割込みを受は付けて、割込可能になったことを割込
み制御のインクフェイスで確認しリード信号を発する。
Describing the operation of this access means 90 in detail, first, the decoder 1) that receives a special command further identifies whether the command is a read or a write, and instructs the timing generation circuit 12. For reading, the timing generation circuit is CC
3 accepts the interrupt, confirms with the interrupt control ink face that the interrupt is enabled, and issues a read signal.

このリード信号に先立って、命令識別用レジスタ10の
レジスタアドレスコードがCC3のアドレスデコーダ1
4に送出され、これによって指定されたCC3のレジス
タ3a、3b、3c、・・・のいずれかに対しセレクト
信号が発せられていて、セレクト信号を受けたレジスタ
のみ前記リード信号を受付けてデータ信号線にそのレジ
スタ内容を送出する。このデータ信号線のデータが確定
したタイミングを計って、タイミング調整用レジスタ1
3のリードデータレジスタ13aに対しこのデータを一
時記憶すべくリードデータセット信号がタイミング作成
回路から発せられる。この後はCA7のチャネルインク
フェイスを使用して通常の手順によりCPU 1に上記
のり一ドレジスタ13aのリードデータが送信される。
Prior to this read signal, the address decoder 1 whose register address code of the instruction identification register 10 is CC3
4, a select signal is issued to any of the registers 3a, 3b, 3c, . sends the contents of that register on the line. The timing adjustment register 1
A read data set signal is issued from the timing generation circuit to the read data register 13a of No. 3 to temporarily store this data. Thereafter, the read data of the read register 13a is transmitted to the CPU 1 using the channel ink face of the CA7 according to the normal procedure.

特殊命令が書き込みを指示した場合、タイミング作成回
路12は、CPUIから次に送信されて来たライトデー
タが確定したこと、をチャネルインタフェイスから指示
を受け、タイミング調整用レジスタ13のライトデータ
レジスタ13bに上記ライトデータを一時記憶すべくラ
イトデータセット信号を発する。このライトデータレジ
スタ13bのライトデータはアクセス手段9のデータ信
号線に送出される。このデータ信号線のライトデータが
確定するタイミングでタイミング作成回路12からライ
ト信号が発せられる。このライト信号に先立ってすでに
命令識別用レジスタlOに一時記憶されているアドレス
コードがレジスタアドレス信号線を介してアドレスデコ
ーダ14に入力されてデコードされ、セレクト信号が書
き込むべき一つのレジスタ3a、・・・・・・に発せら
れていて、このセレクト信号を受けたレジスタのみ前記
ライト信号を受付けてデータ信号線のライトデータをそ
のレジスタに書き込む。
When the special instruction instructs writing, the timing generation circuit 12 receives an instruction from the channel interface that the next write data transmitted from the CPUI has been determined, and writes the write data register 13b of the timing adjustment register 13. A write data set signal is issued to temporarily store the write data. The write data in the write data register 13b is sent to the data signal line of the access means 9. A write signal is issued from the timing generation circuit 12 at the timing when the write data on the data signal line is determined. Prior to this write signal, the address code temporarily stored in the instruction identification register IO is input to the address decoder 14 via the register address signal line and decoded, and one register 3a to which the select signal is to be written is selected. . . . Only the register that receives this select signal accepts the write signal and writes the write data on the data signal line into that register.

以上のようにしてCPUIからCC3のレジスタ3B、
3b、3c・・・・・・に対し直接アクセスすることが
でき、この中には命令レジスタ等も含まれるから、ホス
1−CPUIからの特殊命令によって他の処理装置に対
し割込んで種々の命令を転送し実行させることが可能と
なる。
As described above, from the CPUI, register 3B of CC3,
3b, 3c, etc. can be directly accessed, and this includes instruction registers, etc., so special instructions from the host 1-CPU can interrupt other processing devices and execute various instructions. can be transferred and executed.

これを利用した一つの実施例としてブートストラップの
ためのブートプログラムないしはプログラムをホス)C
PUIから通信制御装置CCP 2へ転送する方式があ
る。前述のCCP2はプログラムやブートプログラムを
ROMとして持たない。
One example of using this is to host a boot program or program for bootstrapping.
There is a method of transferring data from the PUI to the communication control device CCP 2. The CCP2 described above does not have a program or a boot program as a ROM.

そこでホストCPUIがイニシャルスタートすると、C
CP 2に対し特殊命令により「データレジスタ(3b
)に書き込まれたデータをメモリ部(MS4)に転送せ
よ」と言う一連の命令が発せられる。
Then, when the host CPUI initializes, the C
A special command for CP 2 causes the data register (3b
) is issued to the memory unit (MS4).

このデータレジスタに転送される一連の内容がブートス
トラップ用のブートプログラムである。上記特殊命令は
次のようにしてCCP2のアクセス手段9の持つ前述の
機能によって処理される。
A series of contents transferred to this data register is a boot program for bootstrap. The above-mentioned special command is processed by the above-mentioned function of the access means 9 of the CCP 2 as follows.

+8)  チャネルインクフェイスで送られた特殊命令
は命令識別用レジスタ10に一時記憶される。
+8) The special command sent by the channel ink face is temporarily stored in the command identification register 10.

(b)  特殊命令はたとえばその信号コードの1ビツ
トが一般命令と異なるようにフォーマツティングがなさ
れているため、デコーダ1)にて特殊命令と識別され、
さらに同様に書き込み(ライト)であることが識別され
る。
(b) Since a special instruction is formatted so that, for example, one bit of its signal code is different from a general instruction, it is identified as a special instruction by the decoder 1),
Furthermore, writing is similarly identified.

(C)  命令識別用レジスタlOの特殊命令中のレジ
スタアドレスがアドレスデコーダ14によってデコード
され、指示されたレジスタにセレクト信号が発せられる
(C) The register address in the special instruction in the instruction identification register IO is decoded by the address decoder 14, and a select signal is issued to the designated register.

+d)Vtいてチャネルインクフェイスから送られるラ
イトデータがライトレジスタ13bに書き込まれる。な
おこのライトデータは上記特殊命令と時分割で送られる
ほか、特殊命令と同時並列に転送されても良いし、回線
により特殊命令と共に各ビットがシリアルに転送されて
も良い。
+d) Write data sent from the channel ink face at Vt is written to the write register 13b. Note that this write data may be sent in a time-sharing manner with the special command, or may be transferred concurrently with the special command, or each bit may be serially transferred along with the special command via a line.

(G)  タイミング作成回路12からライト信号が発
せられ、セレクト信号が発せられたレジスタにのみライ
1−データが書き込まれる。
(G) A write signal is issued from the timing generation circuit 12, and write 1 data is written only to the register to which the select signal has been issued.

以上の(al〜(elを繰り返してたとえば命令レジス
タ3aにはレジスターメモリ間の転送命令を、データレ
ジスタ3bには格納すべきデータを、メモリアドレスレ
ジスタには格納すべきメモリアドレス値を、その他必要
なレジスタヘセットした後に命令実行のだめの制御フラ
グレジスタのフラグのセント、リセットを行なって命令
レジスタ3aに格納した命令を実行させる。これを繰り
返してブートプログラムをMS4のリセットスタート番
地から書き込むことができる。このブートプログラムの
書き込みが終了するとCPUIから「リセットスタート
」の指令または特殊命令が発せられてブートプログラム
が起動され、これによってCC3は図示しないフロッピ
ーディスク等の補助メモリまたはCPUIから一般命令
と内部バス8を経由して通信制御用のプログラムのロー
ディングを行なうことができる。
By repeating the above (al~(el), for example, the instruction register 3a stores the transfer command between the registers and memories, the data register 3b stores the data to be stored, the memory address register stores the memory address value, and other necessary information. After setting the flag to the appropriate register, set and reset the flag in the control flag register for instruction execution, and execute the instruction stored in the instruction register 3a.By repeating this, the boot program can be written from the reset start address of the MS4. When writing of this boot program is completed, a "reset start" command or special command is issued from the CPUI to start the boot program, and the CC3 receives general commands and internal bus from auxiliary memory such as a floppy disk (not shown) or from the CPU. 8, a program for communication control can be loaded.

次に他の利用実施例を述べる。前述の情報処理システム
は、ハードウェアの簡素化のため診断用のインタフェイ
スやアダプタを有しない。そこで前述した特殊命令によ
るレジスタの読み込みを利用し、CCP2の障害発生時
などにおいて、診断に必要な情報を直接収集する。この
読み込みの実行のためには予め「テスト」命令を前述し
たと同様にしてレジスタへ書き込み実行させる。この実
行結果が制御フラグや入出力データレジスタで判定がつ
くものであれば、それらのレジスタを特殊命令で読み込
み、リードデータとしてホストCPU1へ転送させる。
Next, another usage example will be described. The above-mentioned information processing system does not have a diagnostic interface or adapter to simplify the hardware. Therefore, by using the above-described register reading by the special instruction, information necessary for diagnosis is directly collected when a failure occurs in the CCP2. To execute this reading, a "test" instruction is written to the register in advance and executed in the same manner as described above. If the execution result can be determined by the control flags and input/output data registers, those registers are read by a special instruction and transferred to the host CPU 1 as read data.

実行結果がメモリ部(MS4)に格納されたものであれ
ば、メモリ部からデータレジスタへの転送命令を特殊命
令で書き込み実行させた後、上記の読み込みを行なえば
良い。ホストCPUIはこのリードデータの解析により
異常を発生した部分の特定、異常の内容把握を容易に行
なうことが可能となる。このようにテスト動作により診
断結果を収集できるから、本実施例ではホストCPUI
およびCCP 2と゛もトラブルシューティングのため
のぼう大な処理履歴を記憶する必要がなくなる。
If the execution result is stored in the memory unit (MS4), the above reading may be performed after writing and executing a transfer command from the memory unit to the data register using a special command. By analyzing this read data, the host CPU can easily identify the part where the abnormality has occurred and understand the details of the abnormality. Since diagnostic results can be collected through test operations in this way, in this embodiment, the host CPU
And CCP 2 also eliminates the need to store extensive processing history for troubleshooting.

上記実施例の応用として第4図に示す運用例も行なわれ
る。第2図の情報処理システムにおいて、運用中にC3
6に異常が発生した場合、装置のオンライン運用を継続
しつつ、かつC36の異常の診断を行うためにCC3の
処理サイクルを第4図の様に時分割して診断サイクルと
運用サイクルに分割する。診断サイクル中はホストCP
UIから特殊命令で診断を行い、運用サイクル中は一般
命令によりC36’を用いて通常の運用を行う。なお、
処理サイクルと診断サイクルとを切り換える際には、レ
ジスタ等の内容の退避復元を行なうことはいうまでもな
い。
As an application of the above embodiment, an operational example shown in FIG. 4 is also performed. In the information processing system shown in Figure 2, C3 is used during operation.
If an abnormality occurs in C36, the processing cycle of CC3 is time-divided into a diagnostic cycle and an operation cycle as shown in Figure 4 in order to continue online operation of the device and diagnose the abnormality in C36. . Host CP during diagnostic cycle
Diagnosis is performed using special commands from the UI, and during the operation cycle, normal operation is performed using C36' according to general commands. In addition,
Needless to say, when switching between a processing cycle and a diagnostic cycle, the contents of registers and the like are saved and restored.

なお本実施例では通信制御装置を有する情報処理システ
ムについて述べたが上記に限るものではなく、また本発
明の主旨に沿って種々の変形、適用ならびに応用が可能
である。
Although this embodiment describes an information processing system having a communication control device, the present invention is not limited to the above, and various modifications, applications, and applications are possible in accordance with the gist of the present invention.

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

以上述べた様に本発明によれば情報処理システムにおい
て、処理装置にその処理部のレジスタのアクセス手段を
設けたので、直接外部から上記レジスタの読み出しや、
書き込みが可能となり、命令を書き込んで実行させるこ
ともできるようになる結果、ブートプログラムを転送す
ることが可能となり、その処理装置にそれらを格納する
ROMを無くすことができ、プログラムの改版時にハー
ドウェアの交換を伴うことがなく対応を容易にする効果
が得られる。
As described above, in the information processing system according to the present invention, since the processing device is provided with means for accessing the registers of the processing unit, it is possible to directly read the registers from the outside,
As it becomes possible to write and execute instructions, it becomes possible to transfer the boot program, eliminating the need for ROM to store it in the processing unit, and when updating the program, the hardware This has the effect of making it easier to deal with the problem without having to replace it.

また診断においてはテスト命令を実行させその結果を直
接収集できるので、トラブルシューティング用のぼう大
な処理履歴を記憶しておく必要がなくなると共に、診断
用の特別なハードウェアやインタフェイスが不要となっ
たので経済効果が得られる。
Additionally, during diagnostics, test instructions can be executed and the results can be collected directly, eliminating the need to store extensive processing history for troubleshooting purposes and eliminating the need for special hardware or interfaces for diagnostics. Therefore, economic effects can be obtained.

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

第1図は本発明の原理説明用のブロック図、第2図は本
発明の詳細な説明用のブロック図、第3図はアクセス手
段説明用のブロック図、第4図は運用の実施例の説明図
である。 1・・・処理装置(中央処理装置、ホストCPU)2・
・・処理装置(通信制御装置、CCP)3・・・処理部
(CC) 3a、3b、3c・・・レジスタ 4・・・メモリ部(MS) 5・・・回線対応部(L I C) 6.6′・・・回線制御機構(C3) 7・・・インクフェイス部 8・・・内部バス       9・・・アクセス手段
10・・・命令識別用レジスタ  1)・・・デコーダ
12・・・タイミング作成回路 13・・・タイミング調整用レジスタ 運用の実施例の説明図 第4図
Fig. 1 is a block diagram for explaining the principle of the present invention, Fig. 2 is a block diagram for explaining the invention in detail, Fig. 3 is a block diagram for explaining the access means, and Fig. 4 is a block diagram for explaining the operational example. It is an explanatory diagram. 1... Processing unit (central processing unit, host CPU) 2.
...Processing device (communication control device, CCP) 3...Processing section (CC) 3a, 3b, 3c...Register 4...Memory section (MS) 5...Line correspondence section (L I C) 6.6'...Line control mechanism (C3) 7...Ink face section 8...Internal bus 9...Access means 10...Register for instruction identification 1)...Decoder 12... Timing creation circuit 13...Explanatory diagram of an example of timing adjustment register operation FIG. 4

Claims (4)

【特許請求の範囲】[Claims] (1)夫々プログラム制御で動作する複数の処理装置(
1)、(2)を備えた情報処理システムにおいて、上記
処理装置(2)の処理部(3)のレジスタ(3a)に対
して当該処理装置のプログラム制御によらずにアクセス
するアクセス手段(9)を設け、一つの処理装置(1)
から他の処理装置(2)のレジスタ(3a)に対して直
接書き込みまたは読み出しを行なうことを特徴とする処
理装置アクセス方式。
(1) Multiple processing devices each operating under program control (
1) and (2), an access means (9) for accessing the register (3a) of the processing unit (3) of the processing device (2) without being under program control of the processing device; ) and one processing device (1)
A processing device access method characterized by directly writing to or reading from a register (3a) of another processing device (2).
(2)上記アクセス手段(9)は、上記一つの処理装置
(1)から与えられる命令をデコードし、一般命令の場
合は処理装置(2)の内部バスを介して処理部(3)の
プログラム制御による処理を要求し、特定の命令の場合
は該内部バスとは別のインタフェースを介して、処理部
(3)のレジスタ(3a)に直接アクセスすることを特
徴とする特許請求の範囲第1項に記載の処理装置アクセ
ス方式。
(2) The access means (9) decodes the instruction given from the one processing device (1), and in the case of a general instruction, the access means (9) decodes the instruction to the processing unit (3) via the internal bus of the processing device (2). Claim 1, characterized in that in the case of a specific instruction that requests processing by control, the register (3a) of the processing unit (3) is directly accessed via an interface other than the internal bus. Processor access method described in .
(3)レジスタ(3a)に対する書き込みが上記一つの
処理装置(1)から上記他の処理装置(2)にプログラ
ムをロードするものであることを特徴とする上記特許請
求の範囲第1項に記載の処理装置アクセス方式。
(3) The writing to the register (3a) is for loading a program from the one processing device (1) to the other processing device (2). processing unit access method.
(4)レジスタ(3a)に対する書き込みまたは読み出
しが上記一つの処理装置(1)から上記他の処理装置(
2)の診断処理を指令するものであることを特徴とする
特許請求の範囲第1項に記載の処理装置アクセス方式。
(4) Writing to or reading from the register (3a) is performed from one of the processing devices (1) to the other processing device (1).
2) The processing device access method according to claim 1, wherein the method instructs the diagnostic processing of item 2).
JP61036339A 1986-02-20 1986-02-20 Access system for processor Pending JPS62192824A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61036339A JPS62192824A (en) 1986-02-20 1986-02-20 Access system for processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61036339A JPS62192824A (en) 1986-02-20 1986-02-20 Access system for processor

Publications (1)

Publication Number Publication Date
JPS62192824A true JPS62192824A (en) 1987-08-24

Family

ID=12467069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61036339A Pending JPS62192824A (en) 1986-02-20 1986-02-20 Access system for processor

Country Status (1)

Country Link
JP (1) JPS62192824A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012172682A1 (en) * 2011-06-17 2012-12-20 富士通株式会社 Arithmetic processing device and control method for arithmetic processing device
JPWO2012172682A1 (en) * 2011-06-17 2015-02-23 富士通株式会社 Arithmetic processing device and control method of arithmetic processing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012172682A1 (en) * 2011-06-17 2012-12-20 富士通株式会社 Arithmetic processing device and control method for arithmetic processing device
JPWO2012172682A1 (en) * 2011-06-17 2015-02-23 富士通株式会社 Arithmetic processing device and control method of arithmetic processing device

Similar Documents

Publication Publication Date Title
US4354225A (en) Intelligent main store for data processing systems
JP3210466B2 (en) CPU core, ASIC having the CPU core, and emulation system including the ASIC
US6539500B1 (en) System and method for tracing
US4516199A (en) Data processing system
US4028668A (en) Apparatus for selectively addressing sections and locations in a device controller's memory
JPH02287635A (en) Debugging peripheral equipment for microcomputer,microprocessor and core processor integrated circuit
JPH11212817A (en) Tracking method and device for hardware assisted firmware
US5488728A (en) Microprocessor having a run/stop pin for accessing an idle mode
JPS60175152A (en) Method and apparatus for self-testing floating-point acceleration processor
US6971046B1 (en) System and method for performing input/output diagnostics
US5307482A (en) Computer, non-maskable interrupt trace routine override
US4628445A (en) Apparatus and method for synchronization of peripheral devices via bus cycle alteration in a microprocessor implemented data processing system
EP0139254A2 (en) Apparatus and method for direct memory to peripheral and peripheral to memory data transfer
EP0037424A1 (en) Data processing system
JPS62192824A (en) Access system for processor
JPS60159951A (en) Tracing system in information processing device
US5173903A (en) Method for performing quality logic tests on data processing systems by sequentially loading test microinstruction programs and operating microinstruction programs into a single control store
US7237099B2 (en) Multiprocessor system having a plurality of control programs stored in a continuous range of addresses of a common memory and having identification registers each corresponding to a processor and containing data used in deriving a starting address of a CPU-linked interrupt handler program to be executed by the corresponding processor
US7689864B2 (en) Processor comprising an integrated debugging interface controlled by the processing unit of the processor
JP3350069B2 (en) Bus line monitoring method
EP0138045A2 (en) Apparatus and method for synchronization of peripheral devices via bus cycle alteration in a microprocessor implemented data processing system
JPS60262251A (en) Backup device for development of microprocessor
JPS5840619A (en) Sequence controller and its control method
JPH096641A (en) Information processor
JPH01293443A (en) Diagnosing method for data processor