JPH06208546A - Program download system - Google Patents

Program download system

Info

Publication number
JPH06208546A
JPH06208546A JP6161992A JP6161992A JPH06208546A JP H06208546 A JPH06208546 A JP H06208546A JP 6161992 A JP6161992 A JP 6161992A JP 6161992 A JP6161992 A JP 6161992A JP H06208546 A JPH06208546 A JP H06208546A
Authority
JP
Japan
Prior art keywords
download
microprocessor
downloading
master
program
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
JP6161992A
Other languages
Japanese (ja)
Inventor
Kiichi Sasaki
紀一 佐々木
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP6161992A priority Critical patent/JPH06208546A/en
Publication of JPH06208546A publication Critical patent/JPH06208546A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To shorten a downloading time by enabling respective slave-side microprocessors to read information on a bus simultaneously with a master side with a downloading start indication from a master-side microprocessor. CONSTITUTION:A download control part 31 in the master-side microprocessor 3 sets a downloading frequency in a counting register and sends a common memory read indication and a local memory write indication, and also sends the downloading start indication to a control line 4 for the slave-side microprocessors 6 while performing master-side downloading. After 1st downloading, the address registers of a common memory 2 and local memories 5 are added for next downloading and the contents of a count register are decreased by one. The slave-side microprocessors 6, on the other hand, receive the downloading start indication and write the information on the bus 1 in the local memories 5. This cycle is repeated until the count register reaches 0.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はプログラムダウンロード
方式に関し、特に共通メモリから複数のローカルメモリ
へのプログラムダウンロード方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program download system, and more particularly to a program download system from a common memory to a plurality of local memories.

【0002】[0002]

【従来の技術】従来、複数のマイクロプロセッサが共通
メモリから自分のローカルメモリヘ同一のプログラムを
ダウンロードする場合、各マイクロプロセッサが各々独
立に共通メモリから自分のローカルメモリにダウンロー
ドしていたため、ひとつのマイクロプロセッサがダウン
ロードしている間は、他のマイクロプロセッサはダウン
ロードすることはできなかった。
2. Description of the Related Art Conventionally, when a plurality of microprocessors download the same program from a common memory to their own local memory, each microprocessor independently downloads from the common memory to its own local memory. While the microprocessor was downloading, no other microprocessor could download.

【0003】[0003]

【発明が解決しようとする課題】そのため、上述した従
来のプログラムダウンロード方式では、各々のマイクロ
プロセッサがプログラムをダウンロードするためにマイ
クロプロセッサの数の分だけダウンロードの時間がかか
るという問題があった。
Therefore, in the above-mentioned conventional program download method, there is a problem in that each microprocessor takes a download time corresponding to the number of microprocessors to download the program.

【0004】[0004]

【課題を解決するための手段】本発明のプログラムダウ
ンロード方式は、1つのバス上に共通メモリと複数のマ
イクロプロセッサが接続されており、全ての前記マイク
ロプロセッサが前記共通メモリから自分のローカルメモ
リに同一のプログラムをダウンロードするプログラムダ
ウンロード方式において、マスタ側の前記マイクロプロ
セッサが前記プログラムを自分のローカルメモリに書き
込む制御を行うと同時にダウンロード開始をスレーブ側
の前記マイクロプロセッサに知らせる第1のダウンロー
ド制御部と、この第1のダウンロード制御部からのダウ
ンロード開始指示を伝送する制御信号線と、この制御信
号線からのダウンロード開始指示を受信してスレーブ側
の前記マイクロプロセッサに前記マスタ側のマイクロプ
ロセッサと同時に前記バス上の情報を読み込み自分のロ
ーカルメモリに前記プログラムを書き込ませる制御を行
う第2のダウンロード制御部とを有する。
According to the program download method of the present invention, a common memory and a plurality of microprocessors are connected on one bus, and all the microprocessors are transferred from the common memory to their own local memory. In a program download system for downloading the same program, a first download control unit that controls the master side microprocessor to write the program in its own local memory and at the same time notifies the slave side microprocessor of the download start. , A control signal line for transmitting a download start instruction from the first download control section, and a slave side microprocessor for receiving the download start instruction from the control signal line at the same time as the master side microprocessor. Serial and a second download control unit for performing control to write the program to their local memory reads information on the bus.

【0005】[0005]

【実施例】以下に本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings.

【0006】本発明の一実施例を示す図1を参照する
と、1つのバス1上に共通メモリ2とマスタ側のマイク
ロプロセッサ3と複数のスレーブ側のマイクロプロセッ
サ6とが接続されており、マイクロプロセッサ3および
6にはそれぞれローカルメモリ5が接続されている。マ
イクロプロセッサ3とマイクロプロセッサ6の間は、ダ
ウンロード指示を通知するための制御線4が接続されて
いる。
Referring to FIG. 1 showing an embodiment of the present invention, a common memory 2, a master side microprocessor 3 and a plurality of slave side microprocessors 6 are connected on one bus 1, and A local memory 5 is connected to each of the processors 3 and 6. A control line 4 for notifying a download instruction is connected between the microprocessor 3 and the microprocessor 6.

【0007】図2は図1のマスタ側のマイクロプロセッ
サ3内のダウンロード制御部A31のブロック図であ
り、共通メモリ2のアドレスレジスタ32と、ローカル
メモリ5のアドレスレジスタ34と、アドレス加算器3
3及び35と、共通メモリリード・ローカルメモリライ
ト制御部36と、ダウンロード回数をカウントするカウ
ントレジスタ37と、カウント減算器38とからなる。
FIG. 2 is a block diagram of the download control unit A31 in the microprocessor 3 on the master side in FIG. 1. The address register 32 of the common memory 2, the address register 34 of the local memory 5, and the address adder 3 are shown.
3 and 35, a common memory read / local memory write controller 36, a count register 37 that counts the number of downloads, and a count subtractor 38.

【0008】図3は図1のスレーブ側のマイクロプロセ
ッサ6内のダウンロード制御部B61のブロック図であ
り、ローカルメモリ5のアドレスレジスタ62と、アド
レス加算器63と、ローカルメモリライト制御部64と
からなる。
FIG. 3 is a block diagram of the download control unit B61 in the microprocessor 6 on the slave side of FIG. 1, which includes an address register 62 of the local memory 5, an address adder 63, and a local memory write control unit 64. Become.

【0009】次に、図1〜図3を参照してダウンロード
時の動作を説明する。
Next, the operation at the time of downloading will be described with reference to FIGS.

【0010】まず、マスタ側のマイクロプロセッサ3内
のダウンロード制御部A31がカウントレジスタ37に
ダウンロード転送回数をセットする。次にダウンロード
制御部A31の共通メモリリード・ローカルメモリライ
ト制御部36から共通メモリリード指示39,ローカル
メモリライト指示40を行い、マスタ側のダウンロード
を行う。それと同時にスレーブ側のマイクロプロセッサ
6に対してダウンロード開始指示を制御線4に出す。1
回ダウンロードが終了すると、次のダウンロードを行う
ために、共通メモリ2のアドレスレジスタ32の内容と
ローカルメモリ5のアドレスレジスタ34の内容を内部
制御線41,42によりアドレス加算器33を用いて加
算し、カウントレジスタ37の内容を内部制御線43に
よりカウント減算器38を用いて1減算する。
First, the download control unit A31 in the microprocessor 3 on the master side sets the number of download transfers in the count register 37. Next, the common memory read / local memory write control unit 36 of the download control unit A31 issues a common memory read instruction 39 and a local memory write instruction 40, and the master side download is performed. At the same time, it issues a download start instruction to the control line 4 to the slave side microprocessor 6. 1
When the second download is completed, the contents of the address register 32 of the common memory 2 and the contents of the address register 34 of the local memory 5 are added by the internal control lines 41 and 42 using the address adder 33 to perform the next download. , The content of the count register 37 is decremented by 1 using the count subtractor 38 via the internal control line 43.

【0011】一方、スレーブ側のマイクロプロセッサ6
のローカルメモリライト制御部64では、マスタ側のマ
イクロプロセッサ3からのダウンロード開始指示を制御
線4により受け付けたら、バス上の情報読み込み指示6
5、ローカルメモリライト指示66を行い、バス1上の
情報をローカルメモリ5に書き込む。書き込みが終了す
ると、次のダウンロードを行うために、ローカルメモリ
5のアドレスレジスタ62の内容を内部制御線67によ
りアドレス加算器63を用いて加算する。
On the other hand, the slave microprocessor 6
In the local memory write control unit 64, when receiving the download start instruction from the master side microprocessor 3 through the control line 4, the information read instruction 6 on the bus
5. The local memory write instruction 66 is given to write the information on the bus 1 to the local memory 5. When the writing is completed, the contents of the address register 62 of the local memory 5 are added by the internal control line 67 using the address adder 63 for the next download.

【0012】以上によりダウンロードの1サイクルが終
了する。同様にしてダウンロードのサイクルを繰返し、
カウントレジスタ37の内容が0になったらダウンロー
ドが終了する。
With the above, one download cycle is completed. Repeat the download cycle in the same way,
When the content of the count register 37 becomes 0, the download ends.

【0013】[0013]

【発明の効果】以上説明したように本発明は、マスタ側
のマイクロプロセッサからのダウンロード開始指示によ
りスレーブ側の各マイクロプロセッサもマスタ側のマイ
クロプロセッサと同時にバス上の情報を読み込むので、
共通メモリから各々のマイクロプロセッサのローカルメ
モリに対してプロセッサダウンロードが1回で行え、ダ
ウンロードの時間が大幅に短縮できる効果がある。
As described above, according to the present invention, since each slave microprocessor reads information on the bus at the same time as the master microprocessor in response to a download start instruction from the master microprocessor,
The processor can be downloaded from the common memory to the local memory of each microprocessor only once, which has the effect of significantly reducing the download time.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1のマスタ側のマイクロプロセッサ3内のダ
ウンロード制御部A31のブロック図である。
FIG. 2 is a block diagram of a download control unit A31 in the microprocessor 3 on the master side in FIG.

【図3】図1のスレーブ側のマイクロプロセッサ6内の
ダウンロード制御部B61のブロック図である。
FIG. 3 is a block diagram of a download control unit B61 in the microprocessor 6 on the slave side in FIG.

【符号の説明】[Explanation of symbols]

1 バス 2 共通メモリ 3 マスタ側のマイクロプロセッサ 4 制御線 5 ローカルメモリ 6 スレーブ側のマイクロプロセッサ 31 ダウンロード制御部A 61 ダウンロード制御部B 1 Bus 2 Common Memory 3 Microprocessor on Master Side 4 Control Line 5 Local Memory 6 Microprocessor on Slave Side 31 Download Control Unit A 61 Download Control Unit B

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 1つのバス上に共通メモリと複数のマイ
クロプロセッサが接続されており、全ての前記マイクロ
プロセッサが前記共通メモリから自分のローカルメモリ
に同一のプログラムをダウンロードするプログラムダウ
ンロード方式において、マスタ側の前記マイクロプロセ
ッサが前記プログラムを自分のローカルメモリに書き込
む制御を行うと同時にダウンロード開始をスレーブ側の
前記マイクロプロセッサに知らせる第1のダウンロード
制御部と、この第1のダウンロード制御部からのダウン
ロード開始指示を伝送する制御信号線と、この制御信号
線からのダウンロード開始指示を受信してスレーブ側の
前記マイクロプロセッサに前記マスタ側のマイクロプロ
セッサと同時に前記バス上の情報を読み込み自分のロー
カルメモリに前記プログラムを書き込ませる制御を行う
第2のダウンロード制御部とを有することを特徴とする
プログラムダウンロード方式。
1. A master in a program download method in which a common memory and a plurality of microprocessors are connected on one bus, and all the microprocessors download the same program from the common memory to their own local memory. And a first download control section for notifying the slave side microprocessor of the start of download at the same time that the microprocessor on the side controls the writing of the program in its own local memory, and the download start from the first download control section. A control signal line for transmitting an instruction and a download start instruction from the control signal line are received, and the microprocessor on the slave side reads the information on the bus at the same time as the microprocessor on the master side. The A program download method comprising: a second download control unit that controls to write a program.
JP6161992A 1992-03-18 1992-03-18 Program download system Pending JPH06208546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6161992A JPH06208546A (en) 1992-03-18 1992-03-18 Program download system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6161992A JPH06208546A (en) 1992-03-18 1992-03-18 Program download system

Publications (1)

Publication Number Publication Date
JPH06208546A true JPH06208546A (en) 1994-07-26

Family

ID=13176377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6161992A Pending JPH06208546A (en) 1992-03-18 1992-03-18 Program download system

Country Status (1)

Country Link
JP (1) JPH06208546A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001014170A (en) * 1999-05-25 2001-01-19 Robert Bosch Gmbh Control device and control device programming method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001014170A (en) * 1999-05-25 2001-01-19 Robert Bosch Gmbh Control device and control device programming method

Similar Documents

Publication Publication Date Title
JPH06208546A (en) Program download system
JP2687716B2 (en) Information processing device
JPS58195278A (en) Controller for printer
JPS6162158A (en) Data delivering and receiving system
JP3678537B2 (en) Data transfer method and apparatus
JPS60181957A (en) Adaptor machine number setting system
JPH01134653A (en) Priority control system for common bus
JPS59106060A (en) Data logging system
JPH04248652A (en) Dma controller
JPH02201569A (en) Inter-microprocessor communication system
JP2591211B2 (en) High-speed interrupt processing device
JP2657947B2 (en) Data processing device
JPH04160458A (en) DMA controller peripheral circuit
JPS62145345A (en) Control system for direct memory access interval
JPH10293702A (en) Computer system, bus control device, and bus trace method
JPS6057603B2 (en) arithmetic processing unit
JPH0426744B2 (en)
JPS5938615B2 (en) microprocessor
JPH1029477A (en) Electronic control device and control method thereof
JP2001005742A (en) Data transfer method
JPS5839364A (en) Graphic information processing unit
JPH045748A (en) Information processor
JPS62190544A (en) Higher link unit for programmable controller
JPH08171529A (en) Information processing device
JPS62243055A (en) Data transfer system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000725