JP2002091935A - Circuit for operating plurality of cpus - Google Patents
Circuit for operating plurality of cpusInfo
- Publication number
- JP2002091935A JP2002091935A JP2000282864A JP2000282864A JP2002091935A JP 2002091935 A JP2002091935 A JP 2002091935A JP 2000282864 A JP2000282864 A JP 2000282864A JP 2000282864 A JP2000282864 A JP 2000282864A JP 2002091935 A JP2002091935 A JP 2002091935A
- Authority
- JP
- Japan
- Prior art keywords
- cpu
- program
- cpus
- bus
- switch
- 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
Links
Landscapes
- Multi Processors (AREA)
- Bus Control (AREA)
- Stored Programmes (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は複数のCPUを作
動させる回路に係わり、特に、各CPUを動作させるプ
ログラムを蓄積するフラッシュメモリやプログラムを更
新するためのポートを節約した回路に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circuit for operating a plurality of CPUs, and more particularly to a flash memory for storing a program for operating each CPU and a circuit in which ports for updating the program are saved.
【0002】[0002]
【従来の技術】2個以上のCPUの夫々に接続されるB
USがデータ記憶手段を介して通信可能であり、前記C
PUの夫々を動作させるプログラムが外部より入力され
る回路の従来の例を図2に示す。2. Description of the Related Art B connected to each of two or more CPUs
US can communicate via data storage means,
FIG. 2 shows a conventional example of a circuit in which a program for operating each PU is inputted from the outside.
【0003】図2に示すように、CPU20およびCP
U21は夫々BUS22およびBUS23に接続されて
おり、BUS22およびBUS23はFIFO5を介し
て通信可能となっている。すなわち、CPU20とCP
U21との通信はBUS22、23およびFIFO5を
介して行われる。なお、FIFO5はDPRAMであっ
てもよい。[0003] As shown in FIG.
U21 is connected to BUS22 and BUS23, respectively, and BUS22 and BUS23 can communicate via FIFO5. That is, the CPU 20 and the CP
Communication with U21 is performed via BUS22, 23 and FIFO5. Note that the FIFO 5 may be a DPRAM.
【0004】BUS22にはさらにSRAM6、ポート
24およびフラッシュROM26が接続されており、B
US23にはSRAM7、ポート25およびフラッシュ
ROM27が接続されている。The BUS 22 is further connected to an SRAM 6, a port 24 and a flash ROM 26.
The SRAM 23, the port 25, and the flash ROM 27 are connected to the US23.
【0005】CPU20のプログラムはフラッシュRO
M26に保存され、動作時にフラッシュROM26から
SRAM6にロードされる。また、フラッシュROM2
6に保存されているCPU20のプログラムの更新はC
PU20に管理されポート24を使用して行われる。The program of the CPU 20 is a flash RO
The data is stored in the M26 and loaded into the SRAM 6 from the flash ROM 26 during operation. In addition, flash ROM2
The update of the program of the CPU 20 stored in the CPU 6 is C
This is managed by the PU 20 and is performed using the port 24.
【0006】同様にCPU21のプログラムはフラッシ
ュROM27に保存され、動作時にフラッシュROM2
7からSRAM7にロードされる。また、フラッシュR
OM27に保存されているCPU21のプログラムの更
新はCPU21に管理されポート25を使用して行われ
る。Similarly, the program of the CPU 21 is stored in the flash ROM 27, and the flash ROM 2 is used during operation.
7 to the SRAM 7. Also, Flash R
Updating of the program of the CPU 21 stored in the OM 27 is managed by the CPU 21 and is performed using the port 25.
【0007】[0007]
【発明が解決しようとする課題】上記図2に示す従来の
回路ではCPU20とCPU21の両方にプログラムを
更新するためとプログラムをロードするためのプログラ
ムが必要になるが、同じ機能のプログラムを両方のCP
Uに対して持たせるのは無駄である。また、CPUの数
だけプログラムの保存用メモリ(フラッシュメモリ)と
ポートを持たせるのも無駄であり、回路が大きくなり製
造コストが高くなっていた。The conventional circuit shown in FIG. 2 requires a program for updating the program and a program for loading the program in both the CPU 20 and the CPU 21. CP
It is useless to give to U. Further, it is useless to provide a memory (flash memory) for storing programs and ports as many as the number of CPUs, resulting in a large circuit and high manufacturing cost.
【0008】上記の無駄をなくすためにポートとプログ
ラム保存用メモリを1つにして、双方のBUSを接続し
ているFIFOやDPRAMを介して、ポートとプログ
ラム保存用メモリを持つ側から持たない側へプログラム
を受け渡すという方法も考えられる。しかし、この場合
はメモリアクセスの回数が増大してプログラムをロード
するのに非常に時間がかかってしまうという問題が発生
する。[0008] In order to eliminate the above waste, the port and the program storage memory are made into one, and from the side having the port and the program storage memory via the FIFO or DPRAM connecting both buses. It is also conceivable to transfer the program to. However, in this case, there occurs a problem that the number of memory accesses increases and it takes a very long time to load the program.
【0009】この発明は上記した点に鑑みてなされたも
のであって、その目的とするところは、プログラムの保
存用メモリ(フラッシュメモリ)とロード用のポートを
1つにしてしかも各CPUのプログラムをRAMに短時
間でロードできる複数のCPUを作動させる回路を提供
することにある。SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and an object of the present invention is to provide a single memory for storing a program (flash memory) and a single port for loading a program, and a program for each CPU. Is to provide a circuit for operating a plurality of CPUs that can load the data into the RAM in a short time.
【0010】[0010]
【課題を解決するための手段】この発明の複数のCPU
を作動させる回路は、2個以上のCPUの夫々に接続さ
れるBUSがデータ記憶手段を介して通信可能であり、
前記CPUの夫々を動作させるプログラムが特定のCP
Uに接続されたBUSに接続されているフラッシュメモ
リに蓄積され、夫々のCPUを作動させるとき前記特定
のCPUにより前記プログラムが夫々のCPUに接続さ
れたBUSと接続されたRAMにロードされ夫々のRA
M上のプログラムにより夫々のCPUが動作する回路に
おいて、前記CPUの内の1個の特定されたCPUに接
続されたBUSと他のCPUに接続されるBUSとを第
1のスイッチを介して接続し、前記他のCPUとそれに
接続されるBUSとの間に他のスイッチを介在させ、前
記特定されたCPUが接続されるBUSに前記フラシュ
メモリと入力ポートを接続し、前記特定されたCPUに
より前記入力ポートを介して外部から入力されて更新さ
れる夫々のCPUのプログラムを前記フラシュメモリに
蓄積させ、前記他のCPUを動作させるプログラムを夫
々のRAMにロードするときは前記第1のスイッチを閉
じ前記他のスイッチを開き前記特定されたCPUにより
ロードさせ、前記他のCPUを動作させるときは前記第
1のスイッチを開き前記他のスイッチを閉じた状態とす
るように構成したものである。A plurality of CPUs according to the present invention
BUS connected to each of the two or more CPUs can communicate via data storage means,
A program for operating each of the CPUs has a specific CP.
The program is stored in the flash memory connected to the BUS connected to the U, and when the respective CPUs are operated, the program is loaded by the specific CPU into the RAM connected to the BUS connected to the respective CPUs, and the respective programs are loaded. RA
In a circuit in which each CPU operates according to the program on M, a BUS connected to one specified CPU of the CPUs and a BUS connected to another CPU are connected via a first switch. Then, another switch is interposed between the other CPU and the BUS connected thereto, the flash memory and the input port are connected to the BUS to which the specified CPU is connected, and the specified CPU When the program of each CPU, which is externally input and updated via the input port, is stored in the flash memory, and the program for operating the other CPU is loaded into each RAM, the first switch is set. Close the other switch to open and load by the specified CPU. Open the first switch to operate the other CPU. It is obtained by adapted to the state of closing the other switch.
【0011】[0011]
【発明の実施の形態】この発明の実施例の回路を図面に
基づいて説明する。図1はこの発明の実施例である複数
のCPUを作動させる回路を示すブロック図である。図
に示すように、BUS3およびBUS4はFIFO5を
介して通信可能となっている。なお、FIFO5はDP
RAMでもよい。BUS3およびBUS4はアナログス
イッチからなる第1のスイッチ10を介しても接続され
ている。スイッチ10はスリーステートのバッファでも
構わない。DESCRIPTION OF THE PREFERRED EMBODIMENTS A circuit according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a circuit for operating a plurality of CPUs according to an embodiment of the present invention. As shown in the figure, BUS3 and BUS4 are communicable via FIFO5. FIFO5 is DP
RAM may be used. BUS3 and BUS4 are also connected via a first switch 10 composed of an analog switch. The switch 10 may be a three-state buffer.
【0012】CPU1はBUS3に接続されており、C
PU2は他のスイッチ11を介してBUS4に接続され
ている。BUS3にはさらにSRAM6、ポート8およ
びフラッシュROM9が接続されており、BUS4には
他のスイッチ11を介してCPU2が接続されている。
BUS4にはさらにSRAM7が接続されている。CP
U1とCPU2との通信はBUS3、BUS4およびF
IFO5を介して行われる。CPU 1 is connected to BUS 3 and C
PU2 is connected to BUS4 via another switch 11. The BUS 3 is further connected to the SRAM 6, the port 8, and the flash ROM 9, and the BUS 4 is connected to the CPU 2 via another switch 11.
The BUS 4 is further connected to an SRAM 7. CP
The communication between U1 and CPU2 is BUS3, BUS4 and F
This is performed via the IFO5.
【0013】CPU1およびCPU2のプログラムは共
にフラッシュROM9に保存され、フラッシュROM9
に保存されているCPU1およびCPU2のプログラム
の更新はポート8を使用してCPU1が行う。ポート8
から入力されて更新されるCPU1あるいはCPU2の
プログラムを、BUS3に接続されたCPU1がフラッ
シュROM9に書き込む。The programs of the CPU 1 and the CPU 2 are both stored in the flash ROM 9 and are stored in the flash ROM 9.
The CPU 1 updates the programs stored in the CPU 1 and the CPU 2 by using the port 8. Port 8
The CPU 1 connected to the BUS 3 writes the program of the CPU 1 or the CPU 2 input and updated from the flash ROM 9 into the flash ROM 9.
【0014】CPU1の動作時にはCPU1に管理され
CPU1のプログラムがフラッシュROM9からSRA
M6にロードされる。また、CPU2のプログラムのロ
ードは、スイッチ10を閉じることによりBUS3とB
US4を接続し、さらにCPU2とBUS4の間にある
スイッチ11を開くことによりCPU2とBUS4を切
り離してBUS4へのCPU2の干渉を絶った状態と
し、CPU1がフラッシュROM9内のCPU2のプロ
グラムをスイッチ10を介してBUS4に接続されたS
RAM7にロードすることにより行われる。When the CPU 1 operates, the program of the CPU 1 is managed by the CPU 1 and the program of the CPU 1 is stored in the flash ROM 9 from the SRA.
Loaded to M6. The loading of the program of the CPU 2 is performed by closing the switch 10 so that BUS3 and B
By connecting the US4 and further opening the switch 11 between the CPU2 and the BUS4, the CPU2 is disconnected from the BUS4 to eliminate the interference of the CPU2 with the BUS4, and the CPU1 switches the program of the CPU2 in the flash ROM 9 to the switch10. Connected to BUS4 via S
This is performed by loading into the RAM 7.
【0015】CPU1によるスイッチ10を介した、B
US4に接続されたSRAM7へのCPU2のプログラ
ムのロードが終了すると、スイッチ10を開いてBUS
3とBUS4を切り離し、さらにCPU2とBUS4の
間にあるスイッチ11を閉じてCPU2とBUS4を接
続する。これにより、CPU2はSRAM7にロードさ
れているプログラムにより動作する。B through the switch 10 by the CPU 1
When the loading of the program of the CPU 2 to the SRAM 7 connected to the US 4 is completed, the switch 10 is opened and the BUS
3 and BUS4 are separated, and the switch 11 between the CPU2 and BUS4 is closed to connect the CPU2 and BUS4. Thereby, the CPU 2 operates according to the program loaded in the SRAM 7.
【0016】[0016]
【発明の効果】この発明の複数のCPUを作動させる回
路によれば、各CPUに対してプログラム保存用メモリ
およびプログラム更新用ポートを持つ必要がなく、夫々
1つで済むため、回路が簡略化される。また、バスとバ
スを結ぶデータ記憶手段を介して各CPUを動作させる
プログラムを受け渡す場合と比較してプログラムのロー
ド時間を短縮できる。According to the circuit for operating a plurality of CPUs of the present invention, it is not necessary to provide a memory for storing a program and a port for updating a program for each CPU. Is done. Further, the load time of the program can be reduced as compared with the case where a program for operating each CPU is transferred via a data storage unit connecting the buses.
【図1】この発明の実施例である複数のCPUを作動さ
せる回路を示すブロック図である。FIG. 1 is a block diagram showing a circuit for operating a plurality of CPUs according to an embodiment of the present invention.
【図2】従来の例を示すブロックである。FIG. 2 is a block diagram showing a conventional example.
1 CPU 2 CPU 3、4 BUS 5 FIFO 6 SRAM 7 SRAM 8 ポート 9 フラッシュROM 10 第1のスイッチ 11 他のスイッチ 20、21 CPU 22、23 BUS 24、25 ポート 26、27 フラッシュROM 1 CPU 2 CPU 3, 4 BUS 5 FIFO 6 SRAM 7 SRAM 8 port 9 Flash ROM 10 First switch 11 Other switches 20, 21 CPU 22, 23 BUS 24, 25 ports 26, 27 Flash ROM
Claims (1)
USがデータ記憶手段を介して通信可能であり、前記C
PUの夫々を動作させるプログラムが特定のCPUに接
続されたBUSに接続されているフラッシュメモリに蓄
積され、夫々のCPUを作動させるとき前記特定のCP
Uにより前記プログラムが夫々のCPUに接続されたB
USと接続されたRAMにロードされ夫々のRAM上の
プログラムにより夫々のCPUが動作する回路におい
て、前記CPUの内の1個の特定されたCPUに接続さ
れたBUSと他のCPUに接続されるBUSとを第1の
スイッチを介して接続し、前記他のCPUとそれに接続
されるBUSとの間に他のスイッチを介在させ、前記特
定されたCPUが接続されるBUSに前記フラシュメモ
リと入力ポートを接続し、前記特定されたCPUにより
前記入力ポートを介して外部から入力されて更新される
夫々のCPUのプログラムを前記フラシュメモリに蓄積
させ、前記他のCPUを動作させるプログラムを夫々の
RAMにロードするときは前記第1のスイッチを閉じ前
記他のスイッチを開き前記特定されたCPUによりロー
ドさせ、前記他のCPUを動作させるときは前記第1の
スイッチを開き前記他のスイッチを閉じた状態とするよ
うに構成した複数のCPUを作動させる回路。1. A B connected to each of two or more CPUs
US can communicate via data storage means,
A program for operating each of the PUs is stored in a flash memory connected to a BUS connected to a specific CPU, and when the respective CPUs are operated, the specific CP is used.
U, the program is connected to each CPU by B
A circuit which is loaded into a RAM connected to the US and operates each CPU by a program on each RAM, and is connected to a BUS connected to one specified CPU among the CPUs and another CPU. BUS via a first switch, another switch is interposed between the other CPU and the BUS connected thereto, and the flash memory is input to the BUS to which the specified CPU is connected. A port is connected, a program of each CPU, which is externally input and updated by the specified CPU through the input port, is stored in the flash memory, and a program for operating the other CPU is stored in each RAM. When loading to the other CPU, the first switch is closed, the other switch is opened, and the specified CPU is loaded. Circuit for operating a plurality of CPU that is configured to a state of closing the other switches open the first switch when operating the U.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000282864A JP2002091935A (en) | 2000-09-19 | 2000-09-19 | Circuit for operating plurality of cpus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000282864A JP2002091935A (en) | 2000-09-19 | 2000-09-19 | Circuit for operating plurality of cpus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2002091935A true JP2002091935A (en) | 2002-03-29 |
Family
ID=18767301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000282864A Pending JP2002091935A (en) | 2000-09-19 | 2000-09-19 | Circuit for operating plurality of cpus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2002091935A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7266630B2 (en) | 2002-12-16 | 2007-09-04 | Matsushita Electric Industrial Co., Ltd. | CPU contained LSI |
US7634261B2 (en) | 2002-04-08 | 2009-12-15 | Sony Ericsson Mobile Communications Japan, Inc. | Mobile communications terminal and software updating method for mobile communications terminal |
JP2012014380A (en) * | 2010-06-30 | 2012-01-19 | Yokogawa Electric Corp | Electronic apparatus |
JP2014153964A (en) * | 2013-02-11 | 2014-08-25 | Sumitomo Electric Ind Ltd | Electronic apparatus capable of updating micro programs |
-
2000
- 2000-09-19 JP JP2000282864A patent/JP2002091935A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7634261B2 (en) | 2002-04-08 | 2009-12-15 | Sony Ericsson Mobile Communications Japan, Inc. | Mobile communications terminal and software updating method for mobile communications terminal |
US7266630B2 (en) | 2002-12-16 | 2007-09-04 | Matsushita Electric Industrial Co., Ltd. | CPU contained LSI |
JP2012014380A (en) * | 2010-06-30 | 2012-01-19 | Yokogawa Electric Corp | Electronic apparatus |
JP2014153964A (en) * | 2013-02-11 | 2014-08-25 | Sumitomo Electric Ind Ltd | Electronic apparatus capable of updating micro programs |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1324835C (en) | Modular crossbar interconnection network for data transaction between system units in a multi-processor system | |
KR920013141A (en) | Supervisory Control Expansion Method and Circuit of Variable Master Method Using Single Line | |
JP2007522571A5 (en) | ||
JP2007522571A (en) | A reconfigurable switching device for parallel computation of arbitrary algorithms | |
JP2002091935A (en) | Circuit for operating plurality of cpus | |
JP2008506204A (en) | Apparatus and method for exchanging data between a plurality of data buses | |
EP1213891A2 (en) | Packet processing device | |
JP2000099452A (en) | Dma control device | |
CN108427829B (en) | FPGA with common line structure | |
JPH11340876A (en) | Serial communication equipment and communication system provided with the same | |
Amano et al. | A dynamically adaptive switching fabric on a multicontext reconfigurable device | |
JPH11274915A (en) | Fpga rewriting processor | |
JP2021174610A (en) | Control system and control equipment | |
JPS6314242A (en) | Memory expansion system | |
JPH10320175A (en) | Endian conversion system | |
JPH05127983A (en) | Semiconductor integrated circuit | |
US7499843B2 (en) | Reconfigurable control system based on hardware implementation of Petri graphs | |
FI115929B (en) | Processor and processor bus | |
JPS6136652B2 (en) | ||
JPH0758747A (en) | Call controller of exchange | |
JPS6346558A (en) | Protecting system for multi-byte data in stand-by ram | |
JPH04367989A (en) | Input/output circuit of microcomputer | |
JPH01248207A (en) | Numerical controller | |
JPS6027055A (en) | Input and output channel control system | |
JPH0581166A (en) | Data transfer control device and system with this device |