JPH09269896A - Booting method for firm cpu - Google Patents

Booting method for firm cpu

Info

Publication number
JPH09269896A
JPH09269896A JP10412396A JP10412396A JPH09269896A JP H09269896 A JPH09269896 A JP H09269896A JP 10412396 A JP10412396 A JP 10412396A JP 10412396 A JP10412396 A JP 10412396A JP H09269896 A JPH09269896 A JP H09269896A
Authority
JP
Japan
Prior art keywords
cpu
memory
firmware
common memory
address
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
JP10412396A
Other languages
Japanese (ja)
Inventor
Akihito Fujiwara
彰人 藤原
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.)
Anritsu Corp
Original Assignee
Anritsu Corp
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 Anritsu Corp filed Critical Anritsu Corp
Priority to JP10412396A priority Critical patent/JPH09269896A/en
Publication of JPH09269896A publication Critical patent/JPH09269896A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To realize a booting method for firm CPU unnecessitating ROM for boostrap. SOLUTION: At the time of starting power supply, main CPU 1 is made to operate and CPU 2 of a firm is made into a resetting state. In the state, CPU 1 expands the program of CPU 2 from a main memory to a common memory 6. After expansion, CPU 1 releases the resetting of CPU 2. When resetting is released, CPU 2 activates CS0 to access to the common memory 6 to start boot processing. CPU 2 makes the chip select of its own memory 7 to be CS1 and copies all the contents of the common memory 6 in its own memory 7 within CPU 2. After finishing copying, CPU 2 makes its own memory 7 the same address as he common memory 6 and moves the address of the chip select CS0 of the common memory 6 to an area where its own memory 7 originally exists.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、マルチプロセッサ
方式においてメインCPUからファームCPUにプログ
ラムをロードする、ファームCPUのブート方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a firmware CPU boot method for loading a program from a main CPU to a firmware CPU in a multiprocessor system.

【0002】[0002]

【従来の技術】最初のいくつかの命令によって目的の状
態にする装置、または方法がある。従来、マルチプロセ
ッサ方式においてメインCPUからファームCPUにプ
ログラムをロードする場合、ファームCPUにブート用
のROMが必要であった。コンピュータではプログラム
を読み込ますための短いプログラムを、さらに短いプロ
グラムによって読み込ます。このような短いプログラム
をブートストラップと言い、上記ROMに書き込まれて
いる。
2. Description of the Related Art There is an apparatus or method for bringing a target state by a first few instructions. Conventionally, in the multiprocessor system, when a program is loaded from the main CPU to the firmware CPU, the firmware CPU needs a ROM for booting. In a computer, a short program for reading a program is read by a shorter program. Such a short program is called a bootstrap and is written in the ROM.

【0003】[0003]

【発明が解決するための課題】しかし、従来のブート方
法では、各ファームCPUにブートROMが必要とな
り、実装スペース、およびコストの上昇の課題があっ
た。また、ファームウエアとブートプログラムの2つの
プログラムを作成、管理する必要があった。
However, the conventional boot method has a problem that the boot ROM is required for each firmware CPU, and the mounting space and cost are increased. Also, it was necessary to create and manage two programs, firmware and a boot program.

【0004】本発明はこのような事情に鑑みてなされた
ものであり、ブートストラップのためのROMを必要と
しないファームCPUのブート方法を提供することを課
題とする。
The present invention has been made in view of the above circumstances, and an object thereof is to provide a boot method for a firmware CPU that does not require a ROM for bootstrap.

【0005】[0005]

【課題を解決するための手段】上記課題を解決するため
本発明のファームCPUのブート方法では、ファームC
PUのブートROMをメインCPUの共通メモリに置き
換える方法とした。具体的には、下記〜の段階とし
た。
In order to solve the above-mentioned problems, in the boot method of the firmware CPU of the present invention, firmware C is used.
The boot ROM of the PU is replaced with the common memory of the main CPU. Specifically, the following steps were performed.

【0006】装置電源立ち上げ時、メインCPU1は
動作、ファームCPU2はリセット状態にする第1の段
階と、 該状態で該メインCPU1は、メインメモリ8からフ
ァームCPU2のプログラムを共通メモリ6に展開する
第2の段階と、 第2の段階後メインCPU1はファームCPU2のリ
セットを解除する第3の段階と、 ファームCPU2はリセットが解除されるとチップセ
レクトCS0をアクティブとし共通メモリ6がアクセス
されてブート処理を開始する第4の段階と、 ファームCPU2は、該自メモリ7のチップセレクト
はCS1とし、共通メモリ6の内容をファームCPU2
内の自メモリ7に全てコピーする第5の段階と、 コピー終了後、自メモリ7を共通メモリ6と同一のア
ドレスとする第6の段階と、 共通メモリ6のチップセレクトCS0のアドレスを自
メモリ7のあったエリアに移動する第7の段階。
When the power of the apparatus is turned on, the main CPU 1 operates and the firmware CPU 2 is in a reset state in the first stage. In this state, the main CPU 1 expands the program of the firmware CPU 2 from the main memory 8 to the common memory 6. Second stage, after the second stage the main CPU1 releases the reset of the firmware CPU2, and the third stage. When the reset is released, the firmware CPU2 activates the chip select CS0 and the common memory 6 is accessed to boot. Fourth stage of starting processing, the firmware CPU2 sets the chip select of its own memory 7 to CS1, and sets the contents of the common memory 6 to the firmware CPU2.
5th step of copying all to the own memory 7 in the internal memory, 6th step of making the own memory 7 the same address as the common memory 6 after the completion of copying, and the address of the chip select CS0 of the common memory 6 to the own memory 7. 7th stage to move to the area where 7 was.

【0007】これによりブートROMを用意しなくて
も、マルチプロセッサ方式においてメインCPUからフ
ァームCPUにプログラムをロードすることができる。
Thus, the program can be loaded from the main CPU to the firmware CPU in the multiprocessor system without preparing a boot ROM.

【0008】[0008]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

〔構成〕本発明の一実施形態を使用するマルチCPUの
構成図を図1に示す。回線管理部内のCPU1がメCP
Uとなり、マンマシンI/F制御部を介して、例えばハ
ードデイスク(図示せず)等の外部記憶装置から、また
は回線管理部内のROM/RAMからプログラム等を共
通メモリ6に書き込み、そのデータをファームCPUで
あるCPU2の自メモリ7にロードする。その際、CP
U2のリセット、および解除は、回線管理部内のI/O
で行う。1
[Configuration] FIG. 1 shows a configuration diagram of a multi-CPU using one embodiment of the present invention. CPU 1 in the line management unit
It becomes U and writes a program or the like to the common memory 6 from the external storage device such as a hard disk (not shown) or the ROM / RAM in the line management unit via the man-machine I / F control unit, and the data is stored in the firmware. It is loaded into its own memory 7 of the CPU 2, which is the CPU. At that time, CP
U2 is reset and released by I / O in the line management unit.
Do with. 1

【0009】〔動作〕本発明の一実施態様の動作を図2
に基づいて説明する。 (1)電源立ち上げ時、メインCPU1(以下、単位C
PU1という)は動作、ファームCPU2(以下、単位
CPU1という)〜5はリセット状態にする。 (2)CPU1は、ROM/RAMからCPU2のプロ
グラムを共通メモリ6に展開する。 (3)CPU1はCPU2のリセットを解除する。 (4)CPU2はリセットが解除されるとチップセレク
トCS0がアクティブになり、共通メモリ6がアクセス
されてブート処理を開始する(図2(a))q (5)共通メモリ6の内容を自CPU2内の自メモリ7
に全てコピーする。この場合、自メモリ7のチップセレ
クトはCS1となっている。 (6)コピー終了後、自メモリ7を共通メモリ6と同一
のアドレスとする。この時点では共通メモリ6が優先さ
れてアクセスされる(図2(b))。 (7)共通メモリ6のアドレス(CS0)を自メモリ7
のあったエリアに移動する(図2(b))。 (8)以上でCPU2の立ち上げが完了し、CPU2は
共通メモリ6を通じてCPU1に完了を通知する。 (9)CPU1は完了を認識したら、CPU2に対して
行ったのと同様に、順次、CPU3〜5のリセットを解
除してブート処理を行う。 (11)共通メモリ6は以後、ファームウエアとの通信
手段として使用される。
[Operation] FIG. 2 shows the operation of one embodiment of the present invention.
It will be described based on. (1) When the power is turned on, the main CPU 1 (hereinafter, unit C
PU1) is in operation, and firmware CPUs 2 (hereinafter referred to as unit CPU1) to 5 are in reset state. (2) The CPU 1 loads the program of the CPU 2 from the ROM / RAM into the common memory 6. (3) CPU1 cancels the reset of CPU2. (4) When the reset is released, the CPU 2 activates the chip select CS0 and the common memory 6 is accessed to start the boot process (FIG. 2A) q (5) The contents of the common memory 6 are stored in the CPU 2 Own memory 7
Copy everything to. In this case, the chip select of the own memory 7 is CS1. (6) After completion of copying, the own memory 7 is set to the same address as the common memory 6. At this point, the common memory 6 is preferentially accessed (FIG. 2B). (7) Set the address (CS0) of the common memory 6 to the own memory 7
Move to the area where there was (Fig. 2 (b)). (8) With the above, the startup of the CPU 2 is completed, and the CPU 2 notifies the completion to the CPU 1 through the common memory 6. (9) Upon recognizing the completion, the CPU 1 sequentially releases the reset of the CPUs 3 to 5 and performs the boot process, similarly to the case of performing the process to the CPU 2. (11) The common memory 6 will be used as a communication means with the firmware thereafter.

【0010】(回線測定装置の構成)次に、本発明を使
用した回線測定装置の構成につて、図3に基づいて説明
する。回線測定装置は、マンマシンインタフェース(マ
ンマシンI/F)制御部10、回線管理部20、および
4つの回線制御部30で構成される。マンマシンI/F
制御部10は、操作者が回線試験のための種々の試験動
作モードの設定、試験条件データの設定、表示、試験結
果の表示等を行う。回線管理部20は、マンマシンI/
F制御部10からの呼制御シーケンス、試験条件等のパ
ラメータを受け取り、その条件に従って各回線制御部3
0の管理を行う。回線制御部30は、回線管理部20の
管理の下に測定を行う。
(Structure of Line Measuring Device) Next, the structure of the line measuring device using the present invention will be described with reference to FIG. The line measuring device includes a man-machine interface (man-machine I / F) control unit 10, a line management unit 20, and four line control units 30. Man-machine I / F
The control unit 10 allows the operator to set various test operation modes for line testing, set and display test condition data, display test results, and the like. The line management unit 20 is a man-machine I /
Parameters such as a call control sequence and a test condition are received from the F control unit 10, and each line control unit 3 receives the parameters according to the conditions.
0 is managed. The line control unit 30 performs measurement under the control of the line management unit 20.

【0011】回線管理部20は、回線管理CPU21、
マルチポートRAM22、ROM23、RAM24、を
含む回路であり、回線管理CPU21がメインCPU1
に該当し、マルチポートRAM22が共通メモリ6に該
当する。回線管理部20は、試験条件に従って各回線制
御部に指示を与える。試験状態、結果はマルチポートR
AM22を通じて回線制御部30から受け取り、集計を
行い、マンマシンI/F制御部10に通知する。
The line management unit 20 includes a line management CPU 21,
The line management CPU 21 is a circuit including a multi-port RAM 22, a ROM 23, and a RAM 24.
And the multi-port RAM 22 corresponds to the common memory 6. The line management unit 20 gives an instruction to each line control unit according to the test conditions. Test status, result is multiport R
It is received from the line control unit 30 through the AM 22, the total is calculated, and the man-machine I / F control unit 10 is notified.

【0012】回線制御部30は、回線制御CPU31、
メモリ(RAM)32、8つの信号処理部33、16の
回線部34から構成される。また、各信号処理部33
は、2つの回線部34と接続される。つまり、回線測定
装置には、64の回線部34が収納されている。ここ
で、回線制御CPU31がファームCPU2に該当し、
RAM32が、自メモリ7に該当する。
The line control unit 30 includes a line control CPU 31,
It is composed of a memory (RAM) 32, eight signal processing units 33, and a line unit 34 of 16. In addition, each signal processing unit 33
Is connected to the two line units 34. That is, the line measuring device accommodates 64 line units 34. Here, the line control CPU 31 corresponds to the firmware CPU 2,
The RAM 32 corresponds to the own memory 7.

【0013】具体的に、図4に基づいて回線制御部30
のプログラムの起動手順を説明する。(a)マンマシン
I/F制御部10は回線制御部3のリセットに先立ち、
共通メモリ6に回線制御部30のプログラム(0番地〜
100,000番地)を転送する。 (b)回線制御部30のリセット解除後、CS0がアク
ティブとなり、共通メモリの0番地のリセットベクタに
て、ブート部にジャンプする。 (c)CS1のベースアドレスを400,000番地
に、エリアサイズを1Mバイトに設定する。 (d)共通メモリ6の0番地から回線制御部30の自メ
モリ7(400,000番地)にプログラムを転送を行
う。 (e)自メモリ7を共通メモリ6と同一のアドレスとす
る。 (f)CS0のベースアドレスを400,000番地に
変更する。
Specifically, the line controller 30 will be described with reference to FIG.
The procedure for starting the program will be described. (A) The man-machine I / F control unit 10 prior to resetting the line control unit 3
The program of the line control unit 30 (address 0 to
100,000 address) is transferred. (B) After reset release of the line control unit 30, CS0 becomes active, and the reset vector at address 0 of the common memory jumps to the boot unit. (C) The CS1 base address is set to 400,000 and the area size is set to 1 Mbyte. (D) The program is transferred from the address 0 of the common memory 6 to the own memory 7 (address 400,000) of the line control unit 30. (E) The own memory 7 has the same address as the common memory 6. (F) Change the base address of CS0 to 400,000.

【0014】これらの処理により、回線制御部30の自
メモリ7はプログラム転送後、400,000番地から
0番地に変更され、共通メモリ6は400,000番地
に変更される。また、エリアサイズの設定、メモリエリ
アの先頭アドレスの設定は、CPU(例えば、東芝製T
MP68301)のメモリアドレスレジスタを制御して
行う。
By these processes, the own memory 7 of the line control unit 30 is changed from the 400,000 address to the 0 address after the program transfer, and the common memory 6 is changed to the 400,000 address. The area size and memory area start address are set by the CPU (for example, T
It is performed by controlling the memory address register of MP68301).

【0015】[0015]

【発明の効果】以上説明したように、ファームウエアの
プログラムを1つにできるため、管理が容易になる。ま
た、各ファームCPUにブートROMを実装する必要が
ないため、実装スペース、およびコストの低減が図れ
る。さらに、簡単なブート装置でプログラムをロードで
きるため、ファームウエアのメモリを、例えば、安価、
かつ大容量のDRAMとし、電池のバックアップも必要
がない。
As described above, since only one firmware program can be used, management becomes easy. Further, since it is not necessary to mount the boot ROM on each firmware CPU, the mounting space and cost can be reduced. In addition, because the program can be loaded with a simple boot device, the firmware memory can be
Moreover, the DRAM has a large capacity, and there is no need to back up the battery.

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

【図1】本発明の一実施態様を使用したマルチCPUの
構成図である。
FIG. 1 is a configuration diagram of a multi-CPU using an embodiment of the present invention.

【図2】本発明の一実施態様を示すマルチCPUの動作
を説明するための図である。
FIG. 2 is a diagram for explaining the operation of the multi-CPU showing one embodiment of the present invention.

【図3】本発明を使用した回線測定装置の構成図であ
る。
FIG. 3 is a configuration diagram of a line measuring device using the present invention.

【図4】回線測定装置の回線制御部のプログラムの起動
手順を説明するための図である。
FIG. 4 is a diagram for explaining a procedure for starting a program of a line control unit of the line measuring device.

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

1…メインCPU、2…ファームCPU、6…共通メモ
リ、7…自メモリ、8…メインメモリ、10…マンマシ
ンインタフェース制御部、20…回線管理部、30…回
線制御部、31、回線制御CPU、32…メモリ、33
…信号処理部、34…回線部。
1 ... Main CPU, 2 ... Firmware CPU, 6 ... Common memory, 7 ... Own memory, 8 ... Main memory, 10 ... Man-machine interface control unit, 20 ... Line management unit, 30 ... Line control unit, 31, Line control CPU , 32 ... Memory, 33
... signal processing unit, 34 ... line unit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】装置電源立ち上げ時、メインCPU1は動
作、ファームCPU2はリセット状態にする第1の段階
と、 該状態で該メインCPU1は、メインメモリ8からファ
ームCPU2のプログラムを共通メモリ6に展開する第
2の段階と、 第2の段階後メインCPU1はファームCPU2のリセ
ットを解除する第3の段階と、 ファームCPU2はリセットが解除されるとチップセレ
クトCS0をアクティブとし共通メモリ6がアクセスさ
れてブート処理を開始する第4の段階と、 ファームCPU2は、該自メモリ7のチップセレクトは
CS1とし、共通メモリ6の内容をファームCPU2内
の自メモリ7に全てコピーする第5の段階と、コピー終
了後、自メモリ7を共通メモリ6と同一のアドレスとす
る第6の段階と、 共通メモリ6のチップセレクトCS0のアドレスを自メ
モリ7のあったエリアに移動する第7の段階とからなる
ファームCPUのブート方法。
1. A first step in which the main CPU 1 is in operation and the firmware CPU 2 is in a reset state when the apparatus power is turned on, and in this state, the main CPU 1 transfers the program of the firmware CPU 2 from the main memory 8 to the common memory 6. The second stage of expansion, the third stage after the second stage, in which the main CPU1 releases the reset of the firmware CPU2, and the firmware CPU2 makes the chip select CS0 active and the common memory 6 accessed when the reset is released. And a fourth step of starting the boot process, the firmware CPU2 sets the chip select of the own memory 7 to CS1, and copies all the contents of the common memory 6 to the own memory 7 in the firmware CPU2. After the copying is completed, the sixth step of setting the own memory 7 to the same address as the common memory 6 and the common memory 6 Stage 7 boot process farm CPU consisting of moving the address of Ppuserekuto CS0 to the area for which the own memory 7.
JP10412396A 1996-03-29 1996-03-29 Booting method for firm cpu Pending JPH09269896A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10412396A JPH09269896A (en) 1996-03-29 1996-03-29 Booting method for firm cpu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10412396A JPH09269896A (en) 1996-03-29 1996-03-29 Booting method for firm cpu

Publications (1)

Publication Number Publication Date
JPH09269896A true JPH09269896A (en) 1997-10-14

Family

ID=14372356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10412396A Pending JPH09269896A (en) 1996-03-29 1996-03-29 Booting method for firm cpu

Country Status (1)

Country Link
JP (1) JPH09269896A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006202200A (en) * 2005-01-24 2006-08-03 Nec Corp Portable terminal, multiprocessor system and program thereof
JP2015191606A (en) * 2014-03-28 2015-11-02 富士通株式会社 Information processing apparatus, information processing apparatus control method, and information processing apparatus control program
CN109460260A (en) * 2018-10-24 2019-03-12 福州瑞芯微电子股份有限公司 A kind of method and apparatus of quick turn-on

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006202200A (en) * 2005-01-24 2006-08-03 Nec Corp Portable terminal, multiprocessor system and program thereof
JP2015191606A (en) * 2014-03-28 2015-11-02 富士通株式会社 Information processing apparatus, information processing apparatus control method, and information processing apparatus control program
CN109460260A (en) * 2018-10-24 2019-03-12 福州瑞芯微电子股份有限公司 A kind of method and apparatus of quick turn-on
CN109460260B (en) * 2018-10-24 2021-07-09 瑞芯微电子股份有限公司 Method and device for quickly starting up

Similar Documents

Publication Publication Date Title
JPH0756818A (en) Method and equipment for testing of system storage device of computer
US7711941B2 (en) Method and apparatus for booting independent operating systems in a multi-processor core integrated circuit
JP2007213571A (en) Method for starting system using direct memory access in novel memory architecture
JPH06214670A (en) Computer system and method for initializing it
US5761456A (en) Processor device having automatic bus sizing
JPH09269896A (en) Booting method for firm cpu
JP7394849B2 (en) Testing read-only memory using the memory built-in self-test controller
JPH01261758A (en) Computer system
JPH0554009A (en) Program load system
JP3114870B2 (en) Microprogram loading method, loading control device, information processing device, and information processing system
JPS62226216A (en) System rise system
JPH03182949A (en) Diagnostic system for main storage device in computer system
JP2001256055A (en) Program download system
JPH0540637A (en) Load system for basic input/output ststem
JPH04169929A (en) Boot priority changing device
JPS626498A (en) Memory appreciating device
JP2000347949A (en) System and method for diagnosing memory
JP2707308B2 (en) Multipurpose processor and data processing system with multipurpose processor
US6327649B1 (en) Apparatus for developing internal ROM code using a ROM bus external interface
JPH05342094A (en) Computer device
JP2547329B2 (en) Lock data setting device
JPH04181321A (en) Microprogram loading system
JPH01292451A (en) Information processor
JPS63140362A (en) System program loading method for multi-cpu system
JPH01134536A (en) Multi-processor system and its test method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040106