JP2001101004A - Electronic device - Google Patents

Electronic device

Info

Publication number
JP2001101004A
JP2001101004A JP27954299A JP27954299A JP2001101004A JP 2001101004 A JP2001101004 A JP 2001101004A JP 27954299 A JP27954299 A JP 27954299A JP 27954299 A JP27954299 A JP 27954299A JP 2001101004 A JP2001101004 A JP 2001101004A
Authority
JP
Japan
Prior art keywords
pci bus
flash rom
expansion board
cpu
bus
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
JP27954299A
Other languages
Japanese (ja)
Inventor
Masaki Sato
正毅 佐藤
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP27954299A priority Critical patent/JP2001101004A/en
Publication of JP2001101004A publication Critical patent/JP2001101004A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To rewrite a flash ROM not via the CPU of an extended board. SOLUTION: When a flash ROM down-load mode from a host CPU 2 to a PCI bus bridge 29 of an extended board 12 is set, a bus release request signal from a CPU bus release request signal generating part 34 of the extended board 12 to a CPU 21 is asserted so that the CPU 21 can release a bus 20, and the bus of a flash ROM 22 can drive a PCI bus bridge 29. The host CPU 2 executes a rewriting algorithm to the flash ROM 22 so that writing in all address regions can be attained.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、PCI(Peripera
l Component Interconnect)バスに接続される拡張ボー
ド上のCPUのプログラムをフラッシュROMに記憶さ
せる電子装置に関する。
The present invention relates to a PCI (Peripera)
The present invention relates to an electronic device that stores a program of a CPU on an expansion board connected to a (Component Interconnect) bus in a flash ROM.

【0002】[0002]

【従来の技術】PCIバスは拡張ボードを接続する際に
特定のCPUに依存しないように提案され、このため、
CPUとローカルバス用拡張ボードの間にブリッジ回路
が挿入される。この種の従来例として、例えば特開平0
9―048164号公報には、プリンタをベースとした
拡張型多機能システムにおいて、PCIバスに接続して
機能を拡張するために、パソコンモジュールにアプリケ
ーションプログラムをダウンロードし、パソコンモジュ
ールが他の拡張モジュールを制御可能にしたシステムが
提案されている。
2. Description of the Related Art A PCI bus has been proposed to be independent of a specific CPU when connecting an expansion board.
A bridge circuit is inserted between the CPU and the local bus expansion board. As a conventional example of this kind, for example,
In Japanese Patent Application Laid-Open No. 9-048164, in an extended multifunction system based on a printer, an application program is downloaded to a personal computer module in order to extend the function by connecting to a PCI bus, and the personal computer module installs another extension module. Controllable systems have been proposed.

【0003】[0003]

【発明が解決しようとする課題】ところで、PCIバス
に接続される拡張ボード上に実装されてその拡張ボード
の制御を行なうCPUが存在する場合、当然、その動作
プログラムが必要になる。そのため拡張ボード上にフラ
ッシュROMが実装される。そのフラッシュROMに対
して、PCIバスのホストCPUからプログラムをダウ
ンロードするためには、拡張ボード上のCPUがホスト
CPUから転送されたROMコードデータをフラッシュ
ROMに自分で書き込まなければならない。そのため予
めフラッシュROMに書き換えのためのプログラムが記
憶されていなければならず、また、書き換えの途中で電
源断等により書き換えに失敗した場合に最悪は拡張ボー
ドのCPUが立ち上がらないという欠点がある(第1の
問題点)。
When there is a CPU mounted on an expansion board connected to the PCI bus and controlling the expansion board, an operation program is naturally required. Therefore, a flash ROM is mounted on the extension board. In order to download a program from the host CPU of the PCI bus to the flash ROM, the CPU on the expansion board must write the ROM code data transferred from the host CPU into the flash ROM by itself. For this reason, a program for rewriting must be stored in advance in the flash ROM, and if rewriting fails due to power cutoff during rewriting, the worst case is that the CPU of the expansion board does not start up. 1).

【0004】また、ホストCPUが直接、拡張ボード上
のフラッシュROMを制御して書き込みを行う場合、フ
ラッシュROMの書き込みアルゴリズムがROMメーカ
によって違っていたり、また、複数個使用の場合には、
ホストCPUが制御を行うことができない(第2の問題
点)。また、ホストCPUが直接、拡張ボード上のフラ
ッシュROMを制御して書き込みを行う場合、ホストC
PUが拡張ボード上のPCIブリッジに対し、書込み完
了のステータスを確認しながら1ワードの書込みが完了
する毎にROMコードデータを転送するという煩わしさ
がある(第3の問題点)。
When the host CPU directly controls the flash ROM on the extension board to perform writing, if the flash ROM writing algorithm is different depending on the ROM manufacturer, or if a plurality of flash ROMs are used,
The host CPU cannot perform control (second problem). When the host CPU directly controls the flash ROM on the expansion board to perform writing, the host C
There is a trouble that the PU transfers the ROM code data to the PCI bridge on the expansion board every time one-word writing is completed while confirming the write completion status (third problem).

【0005】本発明は上記第1の問題点に鑑み、拡張ボ
ードのCPUの介在なしでフラッシュROMを書き換え
ることができる電子装置を提供することを第1の目的と
する。
SUMMARY OF THE INVENTION In view of the first problem, it is a first object of the present invention to provide an electronic device capable of rewriting a flash ROM without the intervention of a CPU of an expansion board.

【0006】本発明はまた、上記第2の問題点に鑑み、
拡張ボード上のPCIブリッジがフラッシュROMの書
込みアルゴリズムを実行することにより、ホストCPU
はただROMコードデータのみを転送すればよい電子装
置を提供することを第2の目的とする。
The present invention has also been made in view of the second problem,
The PCI bridge on the expansion board executes the write algorithm of the flash ROM, and the host CPU
It is a second object of the present invention to provide an electronic device which only needs to transfer ROM code data.

【0007】本発明はまた、上記第3の問題点に鑑み、
拡張ボード上のPCIブリッジがPCIバスのバスマス
タとなり、書込み完了毎にROMコードデータをリード
してフラッシュROMに書き込むことにより、ホストC
PUの処理を介在しないでフラッシュROMを書き換え
ることが可能な電子装置を提供することを第3の目的と
する。
The present invention has also been made in view of the above third problem,
The PCI bridge on the expansion board becomes the bus master of the PCI bus, and reads the ROM code data each time the writing is completed and writes the data to the flash ROM, so that the host C
A third object is to provide an electronic device capable of rewriting a flash ROM without intervening PU processing.

【0008】[0008]

【課題を解決するための手段】第1の手段は上記第1の
目的を達成するために、PCIバスに接続される拡張ボ
ード上に、PCIバスブリッジと、その拡張ボードを制
御するCPUとCPUの動作プログラムが記憶されるフ
ラッシュROMが実装されるとともに、前記PCIバス
のホストCPUが前記PCIバスを介して前記拡張ボー
ドを制御する電子装置において、前記拡張ボード上のP
CIバスブリッジが前記拡張ボード上のCPUにバスの
解放を要求する手段と、ホストCPUから前記フラッシ
ュROMを直接書き換え可能なように前記PCIバスか
らのアクセスに応じて前記フラッシュROMへのバスを
制御する手段とを有することを特徴とする。
In order to achieve the first object, a first means is to provide a PCI bus bridge, a CPU for controlling the expansion board, a CPU and a CPU on an expansion board connected to a PCI bus. In an electronic device in which a flash ROM storing the operation program of the expansion board is mounted and the host CPU of the PCI bus controls the expansion board via the PCI bus, a PROM on the expansion board
Means for the CI bus bridge to request the CPU on the expansion board to release the bus; and controlling the bus to the flash ROM in response to access from the PCI bus so that the host CPU can directly rewrite the flash ROM. And means for performing the operation.

【0009】第2の手段は上記第2の目的を達成するた
めに、PCIバスに接続される拡張ボード上に、PCI
バスブリッジと、その拡張ボードを制御するCPUとC
PUの動作プログラムが記憶されるフラッシュROMが
実装されるとともに、前記PCIバスのホストCPUが
前記PCIバスを介して前記拡張ボードを制御する電子
装置において、前記拡張ボードのPCIバスブリッジが
フラッシュROMの書込みアルゴリズムを実行する手段
と、PCIバスからのライトデータをラッチする手段
と、PCIバスへフラッシュROM書込みステータスを
通知する手段を有し、ホストCPUが前記PCIバスブ
リッジに対してステータスを確認しながらROMコード
データのみをライトし、前記PCIバスブリッジが前記
ラッチされたデータをフラッシュROMに書き込むこと
を特徴とする。
In order to achieve the second object, the second means includes a PCI bus on an expansion board connected to a PCI bus.
Bus bridge, CPU and C controlling the expansion board
In an electronic device in which a flash ROM in which an operation program of a PU is stored is mounted and a host CPU of the PCI bus controls the expansion board via the PCI bus, a PCI bus bridge of the expansion board is connected to the flash ROM. Means for executing a write algorithm, means for latching write data from the PCI bus, and means for notifying the PCI bus of a flash ROM write status, wherein the host CPU checks the status to the PCI bus bridge. Only the ROM code data is written, and the PCI bus bridge writes the latched data to a flash ROM.

【0010】第3の手段は上記第3の目的を達成するた
めに、PCIバスに接続される拡張ボード上に、PCI
バスブリッジと、その拡張ボードを制御するCPUとC
PUの動作プログラムが記憶されるフラッシュROMが
実装されるとともに、前記PCIバスのホストCPUが
前記PCIバスを介して前記拡張ボードを制御する電子
装置において、前記拡張ボードのPCIバスブリッジが
PCIバスのバスマスタ機能と、マスタリードデータを
ラッチする手段を有し、フラッシュROMに書込み完了
する毎にPCIバスのメモリ空間のデバイスからバスマ
スタとなってデータをリードしてフラッシュROMへプ
ログラムを書き込むことを特徴とする。
[0010] A third means is to provide a PCI bus on an expansion board connected to a PCI bus in order to achieve the third object.
Bus bridge, CPU and C controlling the expansion board
In an electronic device in which a flash ROM storing an operation program of a PU is stored and a host CPU of the PCI bus controls the expansion board via the PCI bus, a PCI bus bridge of the expansion board is connected to a PCI bus. It has a bus master function and means for latching master read data, and every time writing to the flash ROM is completed, a device in a memory space of the PCI bus becomes a bus master to read data and write a program to the flash ROM. I do.

【0011】[0011]

【発明の実施の形態】<第1の実施形態>以下、図面を
参照して本発明の実施の形態について説明する。図1は
本発明に係る電子装置の一実施形態としてデジタル複合
機を示すブロック図、図2は図1の拡張ボードの一例と
してファクシミリボードの構成を詳しく示すブロック
図、図3は図2のPCIバスブリッジの構成を詳しく示
すブロック図、図4はフラッシュROM書き込み処理を
説明するためのフローチャートである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS <First Embodiment> An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a digital multifunction peripheral as one embodiment of an electronic apparatus according to the present invention, FIG. 2 is a block diagram showing a detailed configuration of a facsimile board as an example of an expansion board in FIG. 1, and FIG. FIG. 4 is a block diagram showing the configuration of the bus bridge in detail, and FIG. 4 is a flowchart for explaining flash ROM writing processing.

【0012】図1において、システムバス1にはホスト
CPU2、フラッシュROM3、メモリカード4、ホス
トメモリ5、表示操作部6、スキャナ7、プロッタ8、
DMA制御部9、ホストPCIブリッジ10が接続さ
れ、ホストPCIブリッジ10はまた、PCIバス11
を介して拡張ボード12−1〜12−3が接続されてい
る。ホストCPU2はこの例ではデジタル複合機全体を
制御するプロセッサである。すなわち、ホストCPU2
やホストメモリ5などはシステムバス1で接続され、シ
ステムバス1はホストPCIブリッジ10を介してPC
Iバス11に接続される。PCIバス11には拡張ボー
ド12が接続されて機能拡張が行われ、この場合、ホス
トCPU2がPCIバス11を介して拡張ボード12の
制御を行うことができる。
In FIG. 1, a system bus 1 has a host CPU 2, a flash ROM 3, a memory card 4, a host memory 5, a display operation unit 6, a scanner 7, a plotter 8,
The DMA controller 9 and the host PCI bridge 10 are connected, and the host PCI bridge 10
Are connected to the expansion boards 12-1 to 12-3. In this example, the host CPU 2 is a processor that controls the entire digital multifunction peripheral. That is, the host CPU 2
And the host memory 5 are connected by a system bus 1, and the system bus 1 is connected to a PC via a host PCI bridge 10.
Connected to I bus 11. An expansion board 12 is connected to the PCI bus 11 to perform function expansion. In this case, the host CPU 2 can control the expansion board 12 via the PCI bus 11.

【0013】図2は拡張ボード12の一例としてファク
シミリボードを示している。内部バス(ローカルバス)
20にはCPU21、フラッシュROM22、RAM2
3、画像メモリ24、DMA制御部25、符号化復号化
部26、通信制御部27、DPRAM28、PCIバス
ブリッジ29が接続され、PCIバスブリッジ29はま
た、図1に示すPCIバス11に接続される。このボー
ド12の制御はボード12上のCPU21が行い、フラ
ッシュROM22にその動作プログラムが記憶される。
ホストCPU2とはDPRAM(Dual Port RAM)28
を介して通信が行われ、ホストCPU2が拡張ボード1
2上のDPRAM28をPCIバス11を介してアクセ
スする。
FIG. 2 shows a facsimile board as an example of the extension board 12. Internal bus (local bus)
Reference numeral 20 denotes a CPU 21, a flash ROM 22, a RAM 2
3, the image memory 24, the DMA control unit 25, the encoding / decoding unit 26, the communication control unit 27, the DPRAM 28, and the PCI bus bridge 29 are connected. The PCI bus bridge 29 is also connected to the PCI bus 11 shown in FIG. You. The control of the board 12 is performed by the CPU 21 on the board 12, and the operation program is stored in the flash ROM 22.
The host CPU 2 is a DPRAM (Dual Port RAM) 28
Is communicated through the host CPU 2 and the expansion board 1
2 is accessed via the PCI bus 11.

【0014】図3は拡張ボード12上のPCIバスブリ
ッジ29を詳しく示す。内部バス30にはローカルバス
制御部31、フラッシュROM書き換え制御部32、デ
ータ要求発生部33、CPUバス解放要求信号発生部3
4、PCIバス制御部35、コンフィグ制御部36、イ
ニシエータ制御部37、ターゲット制御部38が接続さ
れている。ローカルバス制御部31はローカルバス(図
2に示す内部バス20)に接続され、PCIバス制御部
35また、図1に示すPCIバス11に接続されてい
る。
FIG. 3 shows the PCI bus bridge 29 on the expansion board 12 in detail. The internal bus 30 includes a local bus controller 31, a flash ROM rewrite controller 32, a data request generator 33, and a CPU bus release request signal generator 3.
4, a PCI bus control unit 35, a configuration control unit 36, an initiator control unit 37, and a target control unit 38 are connected. The local bus control unit 31 is connected to the local bus (the internal bus 20 shown in FIG. 2), and is connected to the PCI bus control unit 35 and the PCI bus 11 shown in FIG.

【0015】このような構成において、PCIバス制御
部35はPCIバス11のインターフェイスを行なう。
コンフィグ制御部36はPCIバス規格に準拠するため
のコンフィグレーションレジスタ等の制御を行う。イニ
シエータ制御部37は拡張ボード12がPCIバス11
のバスマスタとなってPCIバスメモリ空間のデバイス
に対してリード/ライトアクセスを行う。ターゲット制
御部38は他のバスマスタによるアクセスに対して応答
する。ローカルバス制御部31はローカルバスの入出力
制御等を行なう。
In such a configuration, the PCI bus control unit 35 interfaces the PCI bus 11.
The configuration control unit 36 controls a configuration register and the like for complying with the PCI bus standard. The initiator control unit 37 determines that the expansion board 12 is connected to the PCI bus 11
And performs read / write access to devices in the PCI bus memory space. The target control unit 38 responds to an access by another bus master. The local bus control unit 31 controls input / output of the local bus.

【0016】CPUバス解放要求信号発生部34はPC
Iバス11からホストCPU2によりターゲットアクセ
スされて拡張ボード12上のCPU21に対してバスの
解放要求信号を発生する。フラッシュROM書換え制御
部32は拡張ボード12上に実装されているフラッシュ
ROM22の書換えアルゴリズムを実行して書換えを行
ない、また書込み完了状態のステータス情報をホストC
PU2からターゲットアクセスされて通知する。データ
要求発生部33はマスター制御部(イニシエータ制御部
37)に対してPCIバス11からフラッシュROM書
換えデータをリードすることを要求する。
The CPU bus release request signal generator 34 is a PC
The host CPU 2 performs target access from the I bus 11 and generates a bus release request signal to the CPU 21 on the expansion board 12. The flash ROM rewriting control unit 32 executes a rewriting algorithm of the flash ROM 22 mounted on the extension board 12 to perform rewriting, and also transmits status information of a write completed state to the host C.
The target is accessed from PU2 and notified. The data request generation unit 33 requests the master control unit (the initiator control unit 37) to read the flash ROM rewrite data from the PCI bus 11.

【0017】次に図4を参照して第1の実施形態のフラ
ッシュROM書き込み処理について説明する。まず、ホ
ストCPU2から拡張ボード12のPCIバスブリッジ
29に対してフラッシュROM(FROM)ダウンロー
ドモードを設定する(ステップS1)。すると拡張ボー
ド12のCPUバス解放要求信号発生部34からCPU
21へのバス解放要求信号がアサートされ、CPU21
はバス20を解放してフラッシュROM22のバスはP
CIバスブリッジ29がドライブできるようになる。つ
まりホストCPU2からのアクセスがそのままフラッシ
ュROM22を制御することになる。
Next, a flash ROM writing process according to the first embodiment will be described with reference to FIG. First, a flash ROM (FROM) download mode is set from the host CPU 2 to the PCI bus bridge 29 of the expansion board 12 (step S1). Then, the CPU bus release request signal generator 34 of the extension board 12
The bus release request signal to the CPU 21 is asserted and the CPU 21
Releases the bus 20 and the bus of the flash ROM 22 becomes P
The CI bus bridge 29 can be driven. That is, the access from the host CPU 2 controls the flash ROM 22 as it is.

【0018】そしてホストCPU2はフラッシュROM
22に対して書換えアルゴリズムを実行して全てのアド
レス領域に対して書き込みを行う(ステップS2、S
3)。なお書換えのためのROMコードデータはホスト
CPUバス1に接続されたメモリカード4等から読み込
む。書換えが完了したら拡張ボード12をリセットして
再起動させる(ステップS4、S5)。
The host CPU 2 is a flash ROM
22 to execute a rewrite algorithm and write to all address areas (steps S2 and S2).
3). The ROM code data for rewriting is read from the memory card 4 or the like connected to the host CPU bus 1. When the rewriting is completed, the extension board 12 is reset and restarted (steps S4 and S5).

【0019】<第2の実施形態>次に図5を参照して第
2の実施形態の書き込み処理について説明する。まず、
図4に示す場合と同様にフラッシュROMダウンロード
モードを設定し、フラッシュROM22のバスをPCI
ブリッジ29がドライブできるようにする(ステップS
11)。次いで第1の実施形態とは異なり、フラッシュ
ROM書換え制御部32がフラッシュROM22を制御
する。フラッシュROM書換え制御部32はフラッシュ
ROM22を消去、書込みを行なうが、書込みデータは
ホストCPU2がフラッシュROM書換え制御部32に
対してターゲットアクセスして転送する。
<Second Embodiment> Next, a write process according to a second embodiment will be described with reference to FIG. First,
The flash ROM download mode is set as in the case shown in FIG.
Enable the bridge 29 to drive (step S
11). Next, different from the first embodiment, the flash ROM rewrite control unit 32 controls the flash ROM 22. The flash ROM rewrite control unit 32 erases and writes the flash ROM 22, and the host CPU 2 accesses the flash ROM rewrite control unit 32 with target access to the write data.

【0020】ただしホストCPU2からの転送間隔が短
いとフラッシュROM22に正しく書込みができないの
で、ホストCPU2はフラッシュROM書換え制御部3
2から書込み完了ステータス情報をリードして完了して
いることを確認しながら1ワードずつデータを転送して
いく。フラッシュROM書換え制御部32は1ワードず
つホストCPU2から転送されたデータを、アドレスを
自動的にインクリメントしながらフラッシュROM22
に書き込んでいく(ステップS12、S13)。書換え
が完了したら拡張ボード12をリセットして再起動させ
る(ステップS14、S15)。
However, if the transfer interval from the host CPU 2 is short, writing to the flash ROM 22 cannot be performed correctly.
Data is transferred one word at a time while reading the write completion status information from No. 2 and confirming completion. The flash ROM rewriting control unit 32 stores the data transferred from the host CPU 2 word by word while automatically incrementing the address.
(Steps S12 and S13). When the rewriting is completed, the extension board 12 is reset and restarted (steps S14 and S15).

【0021】<第3の実施形態>次に図6を参照して第
3の実施形態の書き込み処理について説明する。まず、
第2の実施形態と同様にフラッシュROMダウンロード
モードを設定し(ステップS21)、フラッシュROM
22のバスをPCIバスブリッジ29がドライブし、フ
ラッシュROM書換え制御部32がフラッシュROM2
2を制御する。しかし、第2の実施形態とは異なり、フ
ラッシュROM22の書込みデータはPCIバスブリッ
ジ29がバスマスタとなってメモリカード4からリード
する。
<Third Embodiment> Next, a write process according to a third embodiment will be described with reference to FIG. First,
The flash ROM download mode is set as in the second embodiment (step S21), and the flash ROM
The bus 22 is driven by the PCI bus bridge 29, and the flash ROM rewriting control unit 32
2 is controlled. However, unlike the second embodiment, the write data in the flash ROM 22 is read from the memory card 4 by the PCI bus bridge 29 acting as a bus master.

【0022】ホストCPU2はPCIバスブリッジ29
のデータ要求発生部33にターゲットアクセスしてメモ
リカード4のPCIバスメモリ空間におけるアドレスを
設定する。データ要求発生部33はフラッシュROM書
換え制御部32の書込み完了ステータス信号を監視し、
書込み完了したらマスター制御部(イニシエータ制御部
37)にメモリカード4のアドレスを通知して次の書込
みデータを要求する。マスター制御部37がPCIバス
11のバスマスタモードを実行してメモリカード4のア
ドレスを出力してメモリカード4からデータをリードす
る(ステップS22、S23)。書換えが完了したら拡
張ボードをリセットして再起動させる(ステップS2
4、S25)。
The host CPU 2 has a PCI bus bridge 29
The target access is made to the data request generation unit 33 of the above-described manner, and an address in the PCI bus memory space of the memory card 4 is set. The data request generator 33 monitors the write completion status signal of the flash ROM rewrite controller 32,
When writing is completed, the master control unit (initiator control unit 37) is notified of the address of the memory card 4 and requests the next write data. The master controller 37 executes the bus master mode of the PCI bus 11, outputs the address of the memory card 4, and reads data from the memory card 4 (steps S22 and S23). When the rewriting is completed, the extension board is reset and restarted (step S2
4, S25).

【0023】[0023]

【発明の効果】以上説明したように請求項1記載の発明
によれば、拡張ボード上のフラッシュROMにプログラ
ムをダウンロードする際に、拡張ボード上のCPUの介
在なしに行うので、フラッシュROMに書き換えのため
のプログラムをあらかじめ記憶しておく必要がなくな
る。また、途中で失敗してもシステムが立ち上がらなく
なることがなくなる。
As described above, according to the first aspect of the present invention, when downloading a program to the flash ROM on the expansion board, the program is downloaded without the intervention of the CPU on the expansion board. It is no longer necessary to store a program for the operation in advance. Also, even if a failure occurs on the way, the system will not stop starting up.

【0024】請求項2記載の発明によれば、拡張ボード
上のPCIバスブリッジがフラッシュROMの書き換え
アルゴリズムを実行するので、ホストCPUはROMコ
ードデータを転送するだけで書き換えが可能となる。
According to the second aspect of the present invention, the PCI bus bridge on the expansion board executes the rewriting algorithm of the flash ROM, so that the host CPU can rewrite only by transferring the ROM code data.

【0025】請求項3記載の発明によれば、拡張ボード
上のPCIバスブリッジがPCIバスのバスマスタにな
ってROMコードデータをリードしてフラッシュROM
に書き込みを行うので、ホストCPUの介在がなくても
書き換えが可能となる。
According to the third aspect of the present invention, the PCI bus bridge on the expansion board becomes a bus master of the PCI bus and reads ROM code data to read the flash ROM.
In this case, rewriting can be performed without the intervention of the host CPU.

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

【図1】本発明に係る電子装置の一実施形態としてデジ
タル複合機を示すブロック図である。
FIG. 1 is a block diagram illustrating a digital multifunction peripheral as an embodiment of an electronic apparatus according to the invention.

【図2】図1の拡張ボードの一例としてファクシミリボ
ードの構成を詳しく示すブロック図である。
FIG. 2 is a block diagram showing a detailed configuration of a facsimile board as an example of the extension board of FIG. 1;

【図3】図3のPCIバスブリッジの構成を詳しく示す
ブロック図である。
FIG. 3 is a block diagram showing a configuration of a PCI bus bridge of FIG. 3 in detail.

【図4】フラッシュROM書き込み処理を説明するため
のフローチャートである。
FIG. 4 is a flowchart illustrating a flash ROM writing process.

【図5】第2の実施形態のフラッシュROM書き込み処
理を説明するためのフローチャートである。
FIG. 5 is a flowchart illustrating a flash ROM writing process according to a second embodiment.

【図6】第3の実施形態のフラッシュROM書き込み処
理を説明するためのフローチャートである。
FIG. 6 is a flowchart illustrating a flash ROM writing process according to a third embodiment.

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

2 ホストCPU 10 ホストPCIブリッジ 11 PCIバス 12 拡張ボード 21 CPU 22 フラッシュROM 29 PCIバスブリッジ 31 ローカルバス制御部 32 フラッシュROM書き換え制御部 33 データ要求発生部 34 CPUバス解放要求信号発生部 35 PCIバス制御部 36 コンフィグ制御部 37 イニシエータ制御部 38 ターゲット制御部 2 Host CPU 10 Host PCI bridge 11 PCI bus 12 Expansion board 21 CPU 22 Flash ROM 29 PCI bus bridge 31 Local bus controller 32 Flash ROM rewrite controller 33 Data request generator 34 CPU bus release request signal generator 35 PCI bus control Unit 36 Config control unit 37 Initiator control unit 38 Target control unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 PCIバスに接続される拡張ボード上
に、PCIバスブリッジと、その拡張ボードを制御する
CPUと、CPUの動作プログラムが記憶されるフラッ
シュROMが実装されるとともに、前記PCIバスのホ
ストCPUが前記PCIバスを介して前記拡張ボードを
制御する電子装置において、 前記拡張ボード上のPCIバスブリッジが、前記拡張ボ
ード上のCPUにバスの解放を要求する手段と、ホスト
CPUから前記フラッシュROMを直接書き換え可能な
ように前記PCIバスからのアクセスに応じて前記フラ
ッシュROMへのバスを制御する手段とを有することを
特徴とする電子装置。
A PCI bus bridge, a CPU for controlling the expansion board, and a flash ROM for storing an operation program of the CPU are mounted on an expansion board connected to the PCI bus. In an electronic device in which a host CPU controls the expansion board via the PCI bus, a PCI bus bridge on the expansion board requests a CPU on the expansion board to release the bus, and the host CPU controls the flash. Means for controlling a bus to said flash ROM in accordance with an access from said PCI bus so that said ROM can be directly rewritten.
【請求項2】 PCIバスに接続される拡張ボード上
に、PCIバスブリッジと、その拡張ボードを制御する
CPUと、CPUの動作プログラムが記憶されるフラッ
シュROMが実装されるとともに、前記PCIバスのホ
ストCPUが前記PCIバスを介して前記拡張ボードを
制御する電子装置において、 前記拡張ボードのPCIバスブリッジが、フラッシュR
OMの書込みアルゴリズムを実行する手段と、PCIバ
スからのライトデータをラッチする手段と、PCIバス
へフラッシュROM書込みステータスを通知する手段を
有し、 ホストCPUが前記PCIバスブリッジに対してステー
タスを確認しながらROMコードデータのみをライト
し、前記PCIバスブリッジが前記ラッチされたデータ
をフラッシュROMに書き込むことを特徴とする電子装
置。
2. An expansion board connected to a PCI bus, on which a PCI bus bridge, a CPU for controlling the expansion board, and a flash ROM for storing an operation program of the CPU are mounted. An electronic device in which a host CPU controls the expansion board via the PCI bus, wherein a PCI bus bridge of the expansion board
Means for executing the OM write algorithm, means for latching write data from the PCI bus, and means for notifying the PCI bus of the flash ROM write status, and the host CPU confirms the status to the PCI bus bridge An electronic device that writes only ROM code data while the PCI bus bridge writes the latched data to a flash ROM.
【請求項3】 PCIバスに接続される拡張ボード上
に、PCIバスブリッジと、その拡張ボードを制御する
CPUと、CPUの動作プログラムが記憶されるフラッ
シュROMが実装されるとともに、前記PCIバスのホ
ストCPUが前記PCIバスを介して前記拡張ボードを
制御する電子装置において、 前記拡張ボードのPCIバスブリッジが、PCIバスの
バスマスタ機能と、マスタリードデータをラッチする手
段を有し、フラッシュROMに書込み完了する毎にPC
Iバスのメモリ空間のデバイスからバスマスタとなって
データをリードしてフラッシュROMへプログラムを書
き込むことを特徴とする電子装置。
3. A PCI bus bridge, a CPU controlling the expansion board, and a flash ROM storing an operation program of the CPU are mounted on an expansion board connected to the PCI bus. In an electronic device in which a host CPU controls the expansion board via the PCI bus, a PCI bus bridge of the expansion board has a bus master function of a PCI bus and a unit for latching master read data, and writes data to a flash ROM. PC every time completed
An electronic apparatus wherein a device in a memory space of an I bus serves as a bus master to read data and write a program to a flash ROM.
JP27954299A 1999-09-30 1999-09-30 Electronic device Pending JP2001101004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27954299A JP2001101004A (en) 1999-09-30 1999-09-30 Electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27954299A JP2001101004A (en) 1999-09-30 1999-09-30 Electronic device

Publications (1)

Publication Number Publication Date
JP2001101004A true JP2001101004A (en) 2001-04-13

Family

ID=17612450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27954299A Pending JP2001101004A (en) 1999-09-30 1999-09-30 Electronic device

Country Status (1)

Country Link
JP (1) JP2001101004A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1457880A1 (en) * 2003-03-10 2004-09-15 Samsung Electronics Co., Ltd. Methods, circuits, and data structures for programming electronic devices
JP2006259966A (en) * 2005-03-16 2006-09-28 Ricoh Co Ltd Image processor
JP2010128834A (en) * 2008-11-28 2010-06-10 Yokogawa Electric Corp Posted write bus control device
US7831740B2 (en) 2003-03-10 2010-11-09 Samsung Electronics Co., Ltd. Method and circuit for programming electronic devices
JP2020021246A (en) * 2018-07-31 2020-02-06 キヤノン株式会社 Image forming apparatus for updating firmware

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1457880A1 (en) * 2003-03-10 2004-09-15 Samsung Electronics Co., Ltd. Methods, circuits, and data structures for programming electronic devices
US7831740B2 (en) 2003-03-10 2010-11-09 Samsung Electronics Co., Ltd. Method and circuit for programming electronic devices
JP2006259966A (en) * 2005-03-16 2006-09-28 Ricoh Co Ltd Image processor
JP4583981B2 (en) * 2005-03-16 2010-11-17 株式会社リコー Image processing device
JP2010128834A (en) * 2008-11-28 2010-06-10 Yokogawa Electric Corp Posted write bus control device
JP2020021246A (en) * 2018-07-31 2020-02-06 キヤノン株式会社 Image forming apparatus for updating firmware
JP7267692B2 (en) 2018-07-31 2023-05-02 キヤノン株式会社 Image forming device for updating firmware

Similar Documents

Publication Publication Date Title
US7765413B2 (en) Image processing device and method of controlling the image processing device which estimates a state-transition sequence for a USB driver
JP2008065434A (en) Program start control device
KR19990041698A (en) Computer system capable of updating data of fixed flash ROM and its control method
US20060190637A1 (en) Control apparatus, information processing apparatus, and data transferring method
JP2002245022A (en) Multiprocessor system, its shared memory control method and shared memory control program,
JP2001101004A (en) Electronic device
JPH10116187A (en) Microcomputer
EP1394682B1 (en) Data transfer control device, program and method of fabricating an electronic instrument
US7844754B2 (en) Data transfer apparatus and data transfer method
JP2004086860A (en) Image forming apparatus and control method therefor
JP2000227907A (en) Device and method for controlling reboot
JPH11143718A (en) Bios storing and controlling method
JP2002259151A (en) Communication equipment
US6651152B1 (en) Microcomputer including download circuit controlling data download to plurality of memories
JP4793798B2 (en) Microcomputer
JP2002366362A (en) Electronic equipment and its control method
JP2001273143A (en) Electronic controller
JP2812285B2 (en) Network interface card for printer
JPH1185529A (en) Method for starting data storage system and computer system
JPH10198524A (en) Hard disk controller
JP2002259148A (en) Method and device for rewriting data of programmable rom
JP2008077389A (en) Data processor
JP2002024159A (en) Controller
JPH11195111A (en) Image processor and its controlling method
JPH10320366A (en) Nonresident program loading system