JPS6364149A - Program loading method - Google Patents

Program loading method

Info

Publication number
JPS6364149A
JPS6364149A JP20832586A JP20832586A JPS6364149A JP S6364149 A JPS6364149 A JP S6364149A JP 20832586 A JP20832586 A JP 20832586A JP 20832586 A JP20832586 A JP 20832586A JP S6364149 A JPS6364149 A JP S6364149A
Authority
JP
Japan
Prior art keywords
program
board
bus
ram
substrate
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
JP20832586A
Other languages
Japanese (ja)
Inventor
Yuji Ashizawa
芦沢 雄司
Kenichiro Yoshida
健一郎 吉田
Koichi Hizuka
肥塚 弘一
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.)
Nippon Telegraph and Telephone Corp
Panasonic Mobile Communications Co Ltd
Original Assignee
Nippon Telegraph and Telephone Corp
Matsushita Communication Industrial 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 Nippon Telegraph and Telephone Corp, Matsushita Communication Industrial Co Ltd filed Critical Nippon Telegraph and Telephone Corp
Priority to JP20832586A priority Critical patent/JPS6364149A/en
Publication of JPS6364149A publication Critical patent/JPS6364149A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the removing and actual loading works of a ROM at the time of changing a program and to prevent the generation of the imperfect contact by providing a RAM for accommodating the program, a bus changing- over part, a bus separating part and an address control part at a second substrate. CONSTITUTION:A first substrate 9 to load a CPU to control a device as a whole and the second substrate 10 to load a CPU 12 to realize a part of the function of the device are connected through an external bus line 11. At the time of the rise of the device, the substrate 9 writes the program of the substrate 10 through the line 11 to a RAM 13 for accommodating a program, and finally, the writing completion of the program is detected through the RAM 13 by an address control part 16. The control part 16 respectively sends a control signal to a bus changing-over part 14 and a bus separating part 15, the CPU 12 is connected to an internal bus line 18 and the program is read and executed from the RAM 13. The data are transmitted and received through a RAM 19 between substrates 10 and 9. Thus, without the work such as the removing of an ROM, the program can be changed and the generation of the imperfect contact can be prevented.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、cpuを搭載した複数の基板を接続してなる
装置のプログラムを実行するプログラムロード方法に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a program loading method for executing a program in a device formed by connecting a plurality of boards each equipped with a CPU.

従来の技術 第2図は従来例の構成を示している。第2図において、
1は装置全体を管理する中央処理部(例えばマイクロプ
ロセッサ)を搭載した第1の基板、2は固有の機能を実
現するために中央処理部(例えばマイクロプロセッサ)
を搭載し、第1の基板1の中央処理部の管理下で動作す
る第2の基板、3は基板1と2とを電気的に接続するた
めの外部パスライン、4は中央処理部、6はプログラム
が格納されているリードオンリーメモリ(ROM)、6
は中央処理部4七ROλI5とを接続するための内部バ
スライン、7は基板1と基板2との間でデータの送受を
行うためのデュアルポー1− RAM(DP、RAM)
 、8は電源部である。
Prior Art FIG. 2 shows the configuration of a conventional example. In Figure 2,
1 is a first board equipped with a central processing unit (for example, a microprocessor) that manages the entire device; 2 is a central processing unit (for example, a microprocessor) that implements specific functions;
3 is an external pass line for electrically connecting the substrates 1 and 2; 4 is a central processing section; is a read-only memory (ROM) in which the program is stored, 6
7 is an internal bus line for connecting the central processing unit 47 and ROλI5, and 7 is a dual port 1-RAM (DP, RAM) for transmitting and receiving data between the board 1 and the board 2.
, 8 is a power supply section.

次に上記従来例の動作について説明する。装置立上げ時
、電源部8から外部パスライン3を介して第1の基板1
および第2の基板2へ電源が供給される。第2の基板2
では電源が供給されることにより、中央処理部4がリセ
ットされROM5の特定の番地に書かれているプログラ
ムを読み出しプログラムの実行を開始する。第1の基板
1ても第2の基板2と同様の手順でプログラム実行が開
始され、D P 、 RA M了を介してデータの送受
を行いこの装置が運用される。
Next, the operation of the above conventional example will be explained. When starting up the device, the first board 1 is connected from the power supply section 8 via the external path line 3.
And power is supplied to the second substrate 2. Second board 2
When power is supplied, the central processing unit 4 is reset, reads out a program written in a specific address in the ROM 5, and starts executing the program. Program execution is started on the first board 1 in the same procedure as on the second board 2, and the device is operated by transmitting and receiving data via the Dp and RAM.

発明が解決しようとする問題点 しかしながら、上記従来の方法では第2の基板2のプロ
グラムがROM 5に書換えが不可能な状態で搭載され
ているため、第2の基板2固有の機能に追加や変更があ
った場合はROM 5を第2の基板2から覗りはすし、
追加や変更を行った新たなプログラムを書込んだROM
を第2の基板2に実装しなければならない。
Problems to be Solved by the Invention However, in the conventional method described above, the program of the second board 2 is loaded in the ROM 5 in an unrewritable state, so it is necessary to add or add to the functions specific to the second board 2. If there is a change, it is recommended to look into the ROM 5 from the second board 2,
ROM in which new programs that have been added or changed are written
must be mounted on the second substrate 2.

このため、ROM 5の取りはずしおよび実装作業とい
う手間がかかり、この作業が多発するとRON16と第
2の基板2との接触不良で装置が誤動作をおこすという
問題点があった。
Therefore, it takes time and effort to remove and mount the ROM 5, and if this work is performed frequently, there is a problem in that the device malfunctions due to poor contact between the RON 16 and the second board 2.

本発明はこのような従来の問題を解決するものであり、
RO〜1の取り;まずしおよび実装作業を無くし、接触
不良を生じさせない優れたプログラムロード方法を提供
することを目的とするものである。
The present invention solves these conventional problems,
The purpose of the present invention is to provide an excellent program loading method that eliminates mounting work and does not cause contact failure.

問題点を解決するための手段 本発明は上記目的を達成するために、第2の基板2のR
OM5の代りに、新たにプログラム格納用RA Mと内
部/外部バス切換部とアドレス制御部とcpuバス分離
部とを設け、第1の基板1から追加および変更になった
プログラムを新たに設けたR A Mに書き込めるよう
にしたものである。
Means for Solving the Problems In order to achieve the above object, the present invention provides a
In place of OM5, a new program storage RAM, an internal/external bus switching section, an address control section, and a CPU bus separation section were provided, and the programs added and changed from the first board 1 were newly provided. It is designed so that it can be written to RAM.

作   用 本発明によれば、第1の基板から変更になったプログラ
ムを第2の基板に新たに設けたブロクラム格納用RA 
hlに書き込めるため、第2の基板のプログラムを基板
の取りはずし、実装、ROMの増りはずし、実装作業な
しに変更でき、前記接触不良による誤動作を生じさせな
いきいう効果を有する。
According to the present invention, the program that has been changed from the first board is newly installed in the program storage RA on the second board.
Since it can be written in the hl, the program on the second board can be changed without removing the board, mounting, adding/removing ROM, or mounting work, and has the effect of preventing malfunctions due to the aforementioned contact failure.

実施例 第1図は本発明の一実施例の構成を示すものである。第
1図において9は装置全体を管理する中央処理部(例え
ばマイクロプロセッサ)を搭載した第1の基板、10は
固有の機能を実現するために中央処理部(例えばマイク
ロプロセッサ)を搭載し第1の基板9の中央処理部の管
理下で動作する第2の基板、11は第1の基板9と第2
の基板10とを電気的に接続するための外部パスライン
、12は中央処理部、13はプログラム格納用ランダム
アクセスメモリ(RAM)、14はプログラム格納用R
AM13を外部パスラインに接続するか内部パスライン
に接続するかを切換える内部/外部バス切換部、15は
中央処理部12を内部パスラインから分離するバス分離
部、16は第1の基板9からのプログラム格納RAM1
3用のアドレス信号によりバス切換部14とバス分離部
16を制御するアドレス制御部、17は中央処理部12
を初期化するためのリセット信号線、18は内部パスラ
イン、19は第1の基板9と第2の基板10とでデータ
を送受するためのプーアルポートRAM(DP、RAM
)、20は装置全体へ電源を供給するための電源部であ
る。
Embodiment FIG. 1 shows the configuration of an embodiment of the present invention. In FIG. 1, reference numeral 9 denotes a first board equipped with a central processing unit (for example, a microprocessor) for managing the entire device, and 10 denotes a first board equipped with a central processing unit (for example, a microprocessor) for realizing specific functions. A second substrate 11 operates under the control of the central processing section of the substrate 9;
12 is a central processing unit, 13 is a random access memory (RAM) for storing programs, and 14 is an R for storing programs.
An internal/external bus switching section that switches between connecting the AM 13 to an external path line or an internal path line, 15 a bus separation section that separates the central processing section 12 from the internal path line, and 16 a bus separating section from the first board 9; Program storage RAM1
17 is the central processing unit 12;
18 is an internal pass line, 19 is a pull port RAM (DP, RAM) for transmitting and receiving data between the first board 9 and the second board 10.
), 20 is a power supply unit for supplying power to the entire device.

次に上記実施例の動作について説明する。装置立上げ時
、電源部2oから外部バスライン11を介して第1の基
板9および第2の基板10へ電源が供給される。この時
、第2の基板10のバス切換部14のスイッチは外部パ
スライン11側へたおれプログラム格納用RAM13は
外部パスライン11に接続される。同時にバス分離部1
5のスイッチは開放状態となり中央処理部12はバスか
ら分離され第2の基板1Qの内部へのアクセスが上 禁夛される。その後、第1の基板9は外部パスライン1
1を介してフ知グラム格納用RAM13に第2の基板1
0のプログラムを書き込む。そして最後にプログラムの
書き込み終了をアドレス制御部16に通知するためにフ
知グラム格納!’tAλ(13の特定番地(例えば実行
すべきプログラムが利用しない番地)をアクセスする。
Next, the operation of the above embodiment will be explained. When the device is started up, power is supplied from the power supply section 2o to the first substrate 9 and the second substrate 10 via the external bus line 11. At this time, the switch of the bus switching section 14 of the second board 10 is turned to the external path line 11 side, and the program storage RAM 13 is connected to the external path line 11. At the same time, bus separation section 1
The switch 5 is opened, and the central processing unit 12 is separated from the bus, and access to the inside of the second board 1Q is prohibited. After that, the first substrate 9 is connected to the external pass line 1
1 to the RAM 13 for storing the program via the second board 1.
Write program 0. Finally, in order to notify the address control unit 16 that the program has finished writing, a program is stored! 'tAλ (accesses 13 specific addresses (for example, addresses that are not used by the program to be executed).

アドレス制御部16は、プログラムの書き込み終了を検
出しバス切換部14とバス分離部15に対して次の制御
信号を送出する。バス切換部14に対しては、プログラ
ム格納用RAM13を内部パスライン18に接続する信
号を、バス分離部15に対しては中央処理部12を内部
パスライン18に接続する信号を送出する。バス切換部
14は前述した信号に基づきプログラム格納用RAM1
3を内部バスライン18に接続し、バス分離部15は中
央処理部12を内部パスライン18に接続し中央処理部
12に対しリセット信号線17を用いてリセット信号を
発行する。この段階で中央処理部12は内部パスライン
18に接続され、さらにリセットがかかり初期化される
ので、プログラム格納用RAM13からプログラムを読
み出し実行する。そして第2の基板1oが始動したこと
により、DP、RAM19を介して第1の基板9との間
でデータの送受が行われる。
The address control section 16 detects the end of program writing and sends the next control signal to the bus switching section 14 and the bus separation section 15. A signal for connecting the program storage RAM 13 to the internal path line 18 is sent to the bus switching section 14, and a signal for connecting the central processing section 12 to the internal path line 18 is sent to the bus separating section 15. The bus switching unit 14 selects the program storage RAM 1 based on the above-mentioned signal.
3 is connected to the internal bus line 18, the bus separation unit 15 connects the central processing unit 12 to the internal pass line 18, and issues a reset signal to the central processing unit 12 using the reset signal line 17. At this stage, the central processing unit 12 is connected to the internal path line 18 and is further reset and initialized, so the program is read out from the program storage RAM 13 and executed. When the second board 1o is started, data is sent and received to and from the first board 9 via the DP and RAM 19.

上記実施例によれば、第1の基板9からプログラムを第
2の基板10のプログラム格納用RAM13へ格納する
ため、プログラムの変更がROMのように取りはずし作
業が不要となるとともに、プログラム格納用RAλ11
3の特定番地へのアクセスという単純な動作のみで中央
処理部12を簡単に動作させることができるという利点
をもつ。
According to the above embodiment, since the program is stored from the first board 9 to the program storage RAM 13 of the second board 10, it is not necessary to remove the program when changing the program as in the case of ROM, and the program storage RAM 13
This has the advantage that the central processing unit 12 can be easily operated with only the simple operation of accessing the specific address No. 3.

発明の効果 本発明は上記実施例より明らかなように、第2の基板に
プログラム格納用RAMとバス切換部とバス分離部とア
ドレス制御部とを設けるようにしたものであり、第2の
基板に搭載するすべてのプログラムを第1の基板から容
易に変更できるため、第2の基板のプログラムを基板の
取りはずし、実装、ROMの取りはずし、実装作業なし
に変更でき、前記接触不良による誤動作を生じさせない
という効果を有する。
Effects of the Invention As is clear from the above embodiments, the present invention is such that the second board is provided with a program storage RAM, a bus switching section, a bus separation section, and an address control section. Since all programs installed on the second board can be easily changed from the first board, the program on the second board can be changed without removing the board, mounting, removing the ROM, and mounting work, and malfunctions due to the aforementioned contact failures will not occur. It has this effect.

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

第1図は本発明の一実施例におけるプログラムロード方
法を実施する装置のブロック図、第2図は従来のプログ
ラムロード方法を実施する装置のブロック図である。 9°°°第1の基板、10・・・第2の基板、11・・
・外部パスライン、12・・・中央処理部、13・・・
グログラム格納用RAM、14・バス切換部、16・・
・バス分離部、16 アドレス制御部、17・・・リセ
ット信号線、18・°・内部バスライン、19・・・デ
ュアルポートRAM、20・・・電源部。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
FIG. 1 is a block diagram of an apparatus that implements a program loading method according to an embodiment of the present invention, and FIG. 2 is a block diagram of an apparatus that implements a conventional program loading method. 9°°°First substrate, 10...Second substrate, 11...
- External pass line, 12...Central processing unit, 13...
Grogram storage RAM, 14, bus switching section, 16...
- Bus separation section, 16 Address control section, 17... Reset signal line, 18... Internal bus line, 19... Dual port RAM, 20... Power supply section. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 1
figure

Claims (1)

【特許請求の範囲】[Claims] 装置全体を管理する中央処理部を搭載した第1の基板と
、装置の機能の一部を実現するための中央処理部を搭載
した第2の基板とを外部バスを介して接続し、上記第2
の基板上にプログラム格納用RAMとアドレス制御部と
バス切換部とバス分離部とを設け、電源投入時に第2の
基板の中央処理部を内部バスから切り離し、かつ上記プ
ログラム格納用RAMを外部バスに接続し、上記第1の
基板からプログラムをこのプログラム格納用RAMに書
込み、書込み終了後に上記第1の基板の中央処理部から
の命令により上記第2の基板の中央処理部と上記プログ
ラム格納用RAMを内部バスに接続してプログラムを実
行することを特徴とするプログラムロード方法。
A first board equipped with a central processing unit that manages the entire device and a second board equipped with a central processing unit that implements some of the functions of the device are connected via an external bus. 2
A program storage RAM, an address control unit, a bus switching unit, and a bus isolation unit are provided on the second board, and when the power is turned on, the central processing unit of the second board is separated from the internal bus, and the program storage RAM is connected to the external bus. The program is written from the first board to the program storage RAM, and after the writing is completed, the central processing unit of the second board and the program storage RAM are connected to the program storage RAM by a command from the central processing unit of the first board. A program loading method characterized by connecting RAM to an internal bus and executing a program.
JP20832586A 1986-09-04 1986-09-04 Program loading method Pending JPS6364149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20832586A JPS6364149A (en) 1986-09-04 1986-09-04 Program loading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20832586A JPS6364149A (en) 1986-09-04 1986-09-04 Program loading method

Publications (1)

Publication Number Publication Date
JPS6364149A true JPS6364149A (en) 1988-03-22

Family

ID=16554394

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20832586A Pending JPS6364149A (en) 1986-09-04 1986-09-04 Program loading method

Country Status (1)

Country Link
JP (1) JPS6364149A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56108154A (en) * 1980-01-31 1981-08-27 Meidensha Electric Mfg Co Ltd Microprogram debug system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56108154A (en) * 1980-01-31 1981-08-27 Meidensha Electric Mfg Co Ltd Microprogram debug system

Similar Documents

Publication Publication Date Title
EP0552873A1 (en) Modifying system configuration in a computer system
JPS6344799A (en) Method and apparatus for inserting and taking out circuit module
JPH06187283A (en) Card
JPS6364149A (en) Program loading method
JPS6229822B2 (en)
JP4174272B2 (en) Device controller
JPS58168121A (en) Processing system of power failure restoration
JPH08234929A (en) Disk array device
JPH06259369A (en) Information processor
JPH0414166A (en) Program controller for multi-cpu system
KR19990001831A (en) Redundancy Method Using Shared Memory
JPS58139259A (en) Storage controlling system
JPS63165984A (en) Power supply control interface circuit for unloadable ram card
JPS59136832A (en) Data transfer system
JP2778444B2 (en) Initial value setting device
JPH05233519A (en) Memory extending method
JPH0510698B2 (en)
JPH0194742A (en) Communication control processor
JPS6210751A (en) Microcomputer circuit
JPH05181575A (en) Active loading/unloading system for input/output device
JPH01316856A (en) Multi-cpu system
JPS6210746A (en) Non-volatile ram checking method
JPH0426993A (en) Storage device
JPH052547A (en) Terminal equipment and its memory dump transfer system
JPS62111339A (en) Program loading method