JP2002024159A - Controller - Google Patents

Controller

Info

Publication number
JP2002024159A
JP2002024159A JP2000208196A JP2000208196A JP2002024159A JP 2002024159 A JP2002024159 A JP 2002024159A JP 2000208196 A JP2000208196 A JP 2000208196A JP 2000208196 A JP2000208196 A JP 2000208196A JP 2002024159 A JP2002024159 A JP 2002024159A
Authority
JP
Japan
Prior art keywords
cpu
system program
bus
external memory
memory
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
JP2000208196A
Other languages
Japanese (ja)
Inventor
Hirosuke Gotou
寛介 後藤
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 JP2000208196A priority Critical patent/JP2002024159A/en
Publication of JP2002024159A publication Critical patent/JP2002024159A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a controller capable of updating a system program by operating a CPU on the side of a CPU bus on the basis of a new system program stored in an external memory even when connecting a connecting part capable of connecting the relevant external memory storing the new system program for update to the side of a DMA bus. SOLUTION: The external memory connecting part is connected to the DMA bus and on the other hand, an access control means is provided for controlling access from the CPU to the external memory on the DMA bus. The CPU updates the relevant system program by writing it in an internal memory on the CPU bus on the basis of the system program stored in the relevant external memory by accessing the external memory on the DMA bus through the access control means.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ファクシミリ通
信、データ通信等の制御に適用可能な制御装置に関す
る。
The present invention relates to a control device applicable to control of facsimile communication, data communication and the like.

【0002】[0002]

【従来の技術】フラッシュメモリ等の書き換え可能な内
部メモリにシステムプログラムを記憶し、そのメモリを
CPUがCPUバスを介してアクセスしてシステムプロ
グラムを読み出し実行することで、所定の制御処理を行
うファクシミリ装置等の制御装置においては、その内部
メモリに記憶されたシステムプログラムを不具合の修正
や機能向上等のためにICカード等の形態で装置に接続
される外部メモリに記憶された新システムプログラムに
更新する必要がある場合がある。
2. Description of the Related Art A system program is stored in a rewritable internal memory such as a flash memory, and the CPU accesses the memory via a CPU bus to read and execute the system program, thereby performing a predetermined control process. In a control device such as a device, the system program stored in its internal memory is updated to a new system program stored in an external memory connected to the device in the form of an IC card or the like in order to correct a defect or improve a function. You may need to.

【0003】しかし、更新のために新システムプログラ
ムに書き換え中の内部メモリの旧システムプログラムに
基づいてCPUが書き換え動作を行うことはできないた
め、外部メモリに記憶された新システムプログラムに基
づいてCPUが書き換え動作を行う必要がある。
However, since the CPU cannot perform a rewriting operation based on the old system program in the internal memory that is being rewritten with the new system program for updating, the CPU cannot perform the rewriting operation based on the new system program stored in the external memory. A rewrite operation needs to be performed.

【0004】一方、制御装置においては、CPUにより
アクセスされるCPUバスの他に、DMAバスを備え、
データ転送の高速化を図ったものものあり、そのような
DMAバスをも備えた装置においては、例えばオプショ
ンの大容量蓄積メモリやハードディスク等の機能拡張用
の外部メモリを内蔵したICカードがDMAバス側に接
続される構成のものがある。
On the other hand, the control device has a DMA bus in addition to the CPU bus accessed by the CPU.
Some devices are also equipped with such a DMA bus to increase the speed of data transfer. For example, an IC card with a built-in external memory for function expansion such as an optional large-capacity storage memory or a hard disk is used as a DMA bus. Some are connected to the side.

【0005】[0005]

【発明が解決しようとする課題】そのような、DMAバ
スに接続されるICカードの形態で、システムプログラ
ムが記憶された外部メモリを制御装置に接続してシステ
ムプログラムの更新を行おうとしても、CPUバス上の
CPUからは、DMAバス上の当該外部メモリに記憶さ
たれたシステムプログラムにアクセスして読み出しその
システムプログラムに基づいた制御動作を行うことはで
きない。そのため、ICカードの形態でシステムプログ
ラムが記憶された外部メモリを制御装置に接続して内部
メモリのシステムプログラムの更新を行うためには、C
PUバス側にもシステムプログラムの更新のためのIC
カード接続用コネクタを実装しなければならなくなるた
め、ICカード用のコネクタをDMAバスとCPUバス
との双方に実装する必要があり装置コストがかさんでし
まうという問題点があった。
In the case of such an IC card connected to the DMA bus, even if an external memory storing a system program is connected to a control device to update the system program, The CPU on the CPU bus cannot access and read the system program stored in the external memory on the DMA bus and perform a control operation based on the system program. Therefore, in order to connect an external memory storing a system program in the form of an IC card to the control device and update the system program in the internal memory, C
IC for updating system program on PU bus side
Since the connector for connecting the card must be mounted, the connector for the IC card needs to be mounted on both the DMA bus and the CPU bus, and there is a problem that the device cost is increased.

【0006】本発明は係る事情に鑑みてなされたもので
あり、DMAバス側に更新用の新システムプログラムが
記憶された外部メモリを接続可能な接続部が接続される
場合でもCPUバス側のCPUが当該外部メモリに記憶
された新システムプログラムに基づいて動作してシステ
ムプログラムの更新を行うことができる制御装置を提供
することを目的とする。
The present invention has been made in view of the above circumstances, and even when a connection unit capable of connecting an external memory storing a new system program for updating is connected to the DMA bus side, the CPU on the CPU bus side. It is an object of the present invention to provide a control device that can operate based on a new system program stored in the external memory and update the system program.

【0007】[0007]

【課題を解決するための手段】請求項1に記載の制御装
置は、システムプログラムが記憶された書き換え可能な
内部メモリをCPUがCPUバスを介してアクセスして
当該内部メモリに記憶されたシステムプログラムに基づ
いて所定の制御処理を行う一方、前記CPUが外部メモ
リ接続部に接続された外部メモリにアクセスして当該外
部メモリに記憶されたシステムプログラムに基づいて前
記外部メモリに記憶されたシステムプログラムを前記内
部メモリに書き込んで前記内部メモリに記憶されるシス
テムプログラムの更新処理を行う制御装置において、前
記外部メモリ接続部はDMAバスに接続される一方、前
記CPUによる、前記DMAバス上の前記外部メモリ接
続部に接続される前記外部メモリへのアクセスを制御す
るアクセス制御手段を備え、前記CPUは、システムプ
ログラムの更新時に、前記DMAバス上の前記外部メモ
リ接続部に接続された外部メモリに前記アクセス制御手
段を介してアクセスして当該外部メモリに記憶されたシ
ステムプログラムに基づいて当該システムプログラムを
前記CPUバス上の前記内部メモリに書き込んでシステ
ムプログラムを更新することを特徴とする。
According to a first aspect of the present invention, there is provided a control device wherein a CPU accesses a rewritable internal memory storing a system program via a CPU bus and stores the system program in the internal memory. While the CPU performs predetermined control processing based on the above, the CPU accesses the external memory connected to the external memory connection unit and executes the system program stored in the external memory based on the system program stored in the external memory. In a control device for writing to the internal memory and updating a system program stored in the internal memory, the external memory connection unit is connected to a DMA bus, and the external memory on the DMA bus is controlled by the CPU. An access control means for controlling access to the external memory connected to the connection unit The CPU accesses the external memory connected to the external memory connection unit on the DMA bus via the access control means when the system program is updated, and updates the system program stored in the external memory. And updating the system program by writing the system program to the internal memory on the CPU bus.

【0008】請求項2に記載の制御装置は、システムプ
ログラムが記憶された書き換え可能な内部メモリをCP
UがCPUバスを介してアクセスして当該内部メモリに
記憶されたシステムプログラムに基づいて所定の制御処
理を行う一方、前記CPUが外部メモリ接続部に接続さ
れた外部メモリにアクセスして当該外部メモリに記憶さ
れたシステムプログラムに基づいて前記外部メモリに記
憶されたシステムプログラムを前記内部メモリに書き込
んで前記内部メモリに記憶されるシステムプログラムの
更新処理を行う制御装置において、前記外部メモリ接続
部に接続される外部メモリをDMAバスまたは前記CP
Uバスのいずれに接続するかを選択設定する設定端子
と、その設定端子による設定に応じて、前記CPUバス
またはDMAバスに接続された前記外部メモリ接続部に
接続された前記外部メモリへの前記CPUからのアクセ
スを制御して、前記CPUによる、前記外部メモリへの
アクセスを制御するアクセス制御手段とを備え、前記C
PUは、システムプログラムの更新時に、前記外部メモ
リに前記アクセス制御手段を介してアクセスして当該外
部メモリに記憶されたシステムプログラムに基づいて当
該システムプログラムを前記CPUバス上の前記内部メ
モリに書き込んでシステムプログラムを更新することを
特徴とする。
According to a second aspect of the present invention, in the control device, a rewritable internal memory storing a system program is stored in a CP.
U performs predetermined control processing based on a system program stored in the internal memory by accessing via the CPU bus, while the CPU accesses an external memory connected to the external memory connection unit and A controller that writes a system program stored in the external memory to the internal memory based on the system program stored in the internal memory and updates the system program stored in the internal memory; The external memory to be transferred to the DMA bus or the CP
A setting terminal for selecting and setting which of the U buses to connect to, and the external memory connected to the external memory connection unit connected to the CPU bus or the DMA bus according to the setting by the setting terminal. Access control means for controlling access from the CPU to control access to the external memory by the CPU;
When updating the system program, the PU accesses the external memory via the access control means and writes the system program to the internal memory on the CPU bus based on the system program stored in the external memory. It is characterized in that the system program is updated.

【0009】請求項3に記載の制御装置は、システムプ
ログラムが記憶された書き換え可能な内部メモリをCP
UがCPUバスを介してアクセスして当該内部メモリに
記憶されたシステムプログラムに基づいて所定の制御処
理を行う一方、前記CPUが外部メモリ接続部に接続さ
れた外部メモリにアクセスして当該外部メモリに記憶さ
れたシステムプログラムに基づいて前記外部メモリに記
憶されたシステムプログラムを前記内部メモリに書き込
んで前記内部メモリに記憶されるシステムプログラムの
更新処理を行う制御装置において、前記外部メモリ接続
部に接続される外部メモリをDMAバスまたは前記CP
Uバスのいずれに接続するかを前記CPUからの指示に
応じて設定・記憶する設定レジスタと、その設定レジス
タの設定に応じて、前記CPUバスまたはDMAバスに
接続された前記外部メモリ接続部に接続された前記外部
メモリへの前記CPUからのアクセスを制御して、前記
CPUによる、前記外部メモリへのアクセスを制御する
アクセス制御手段とを備え、前記CPUは、システムプ
ログラムの更新時に、前記外部メモリに前記アクセス制
御手段を介してアクセスして当該外部メモリに記憶され
たシステムプログラムに基づいて当該システムプログラ
ムを前記CPUバス上の前記内部メモリに書き込んでシ
ステムプログラムを更新することを特徴とする。
According to a third aspect of the present invention, in the control device, a rewritable internal memory storing a system program is stored in a CP.
U performs predetermined control processing based on a system program stored in the internal memory by accessing via the CPU bus, while the CPU accesses an external memory connected to the external memory connection unit and A controller that writes a system program stored in the external memory to the internal memory based on the system program stored in the internal memory and updates the system program stored in the internal memory; The external memory to be transferred to the DMA bus or the CP
A setting register for setting and storing which of the U buses to connect to in accordance with an instruction from the CPU, and an external memory connection unit connected to the CPU bus or DMA bus in accordance with the setting of the setting register. Access control means for controlling access to the external memory connected to the external memory by the CPU and controlling access to the external memory by the CPU; The memory is accessed via the access control means, and the system program is updated by writing the system program to the internal memory on the CPU bus based on the system program stored in the external memory.

【0010】[0010]

【発明の実施の形態】以下、添付図面を参照しながら、
本発明の実施の形態を、第1、第2及び第3実施形態に
分けて詳細に説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG.
An embodiment of the present invention will be described in detail by dividing into first, second and third embodiments.

【0011】先ず、第1実施形態に係る制御装置として
のファクシミリ装置100のブロック構成を図1に示
し、その第1実施形態に係るファクシミリ装置100の
チップセレクト制御部12のブロック構成を図2に示
す。
First, FIG. 1 shows a block configuration of a facsimile apparatus 100 as a control apparatus according to the first embodiment, and FIG. 2 shows a block configuration of a chip select control unit 12 of the facsimile apparatus 100 according to the first embodiment. Show.

【0012】図1に示すファクシミリ装置100におい
て、CPU1は、電気的に書き換え可能な読み出し専用
メモリである内部フラッシュメモリ2に記憶されている
システムプログラムに従い装置全体を制御するマイクロ
コンピュータである。
In the facsimile apparatus 100 shown in FIG. 1, a CPU 1 is a microcomputer which controls the entire apparatus according to a system program stored in an internal flash memory 2 which is an electrically rewritable read-only memory.

【0013】内部フラッシュメモリ2は、CPU1によ
りCPUバス5を介してアクセスされ、読み出されるも
ので、装置全体を制御するシステムプログラムが記憶さ
れている。
The internal flash memory 2 is accessed and read by the CPU 1 via the CPU bus 5, and stores a system program for controlling the entire apparatus.

【0014】RAM3は、CPUバス5に接続され、C
PU1が内部フラッシュメモリ2に記憶されたシステム
プログラムに従って制御動作を行う際に必要となる、ス
タック領域、システムのワークエリア等に使用されるラ
ンダムアクセスメモリである。
The RAM 3 is connected to the CPU bus 5 and
A random access memory used for a stack area, a work area of the system, and the like, which is necessary when the PU 1 performs a control operation according to a system program stored in the internal flash memory 2.

【0015】CPUバスI/Oは、CPUバス5に接続
され、CPU1とデータの受け渡しを行うI/Oであ
る。例えば、送信、受信、コピーに必要な各種キー、ス
イッチを持つ操作部、網制御部と通信制御部からなり、
これらの制御を行うNCUなど比較的小量のデータ転送
を行うブロックで、即時性を必要とするブロックが接続
される。
The CPU bus I / O is an I / O that is connected to the CPU bus 5 and exchanges data with the CPU 1. For example, it consists of various keys required for transmission, reception, copy, an operation unit with switches, a network control unit and a communication control unit,
Blocks such as an NCU that performs these controls and that transfer relatively small amounts of data are connected to blocks that require immediacy.

【0016】CPUバス5は、CPU1と接続される各
部とのデータの受け渡しを行う信号ラインである。
The CPU bus 5 is a signal line for transferring data to and from each unit connected to the CPU 1.

【0017】DMAC6は、CPUを介さないデータの
受け渡しを制御するコントローラである。通常のDMA
転送では、CPUバス5側にあるCPU1からDMAバ
ス9上のブロックにはアクセスできないが、本第1実施
形態及び後述する第2及び第3実施形態では、CPU1
が、DMAバス9上の各ブロックをアクセスすることが
可能である。
The DMAC 6 is a controller that controls data transfer without passing through the CPU. Normal DMA
In the transfer, the block on the DMA bus 9 cannot be accessed from the CPU 1 on the CPU bus 5 side. However, in the first embodiment and second and third embodiments described later, the CPU 1
However, each block on the DMA bus 9 can be accessed.

【0018】RAM7は、DMAC6により直接アクセ
スされ、各DMAバスI/O8とのデータの受け渡しを
行うためのものである。
The RAM 7 is directly accessed by the DMAC 6 and exchanges data with each DMA bus I / O 8.

【0019】DMAバスI/O8は、DMAバス9に接
続されるI/Oであり、例えば、原稿を光学的にスキャ
ンし、その画情報に符号化処理を施すスキャナ部、画情
報の圧縮・伸張を行う画像処理部、画像処理部を経由し
た送信先からの画像データを物理的にイメージ化するプ
ロッター部など大量のデータ転送を行うブロックが接続
される。
The DMA bus I / O 8 is an I / O connected to the DMA bus 9. For example, a scanner unit that optically scans a document and encodes the image information, and compresses / compresses the image information. Blocks for transferring a large amount of data, such as an image processing unit for performing expansion and a plotter unit for physically converting image data from a transmission destination via the image processing unit, are connected.

【0020】DMAバス9は、DMAC6と接続される
各部とのデータの受け渡しを行うための信号ラインであ
る。
The DMA bus 9 is a signal line for exchanging data with each unit connected to the DMAC 6.

【0021】外部メモリ接続部としてのICカードコネ
クタ10は、ICカードを実装するコネクタであり、こ
の第1実施形態ではDMAバス9に接続される。
An IC card connector 10 serving as an external memory connection unit is a connector for mounting an IC card, and is connected to the DMA bus 9 in the first embodiment.

【0022】ICカードコネクタ10には、各種の目的
に応じた外部メモリを実装したICカードが装着可能
で、例えば、機能拡張用のプログラムを記憶するフラッ
シュメモリや、RAMが実装されたカードや、登録デー
タ等を記憶するRAMカード、画情報等の大量データを
記憶するハードディスクカード等が装着される。
The IC card connector 10 can be mounted with an IC card mounted with an external memory according to various purposes. For example, a flash memory storing a function expansion program, a card mounted with a RAM, A RAM card that stores registration data and the like, a hard disk card that stores a large amount of data such as image information, and the like are mounted.

【0023】本第1実施形態及び後述する第2及び第3
実施形態では、内部フラッシュメモリ2に記憶されたシ
ステムプログラムを更新するための、新システムプログ
ラムが内蔵の外部フラッシュメモリ11aに記憶された
フラッシュカード11を、ICカードコネクタ10に装
着する。
The first embodiment and second and third embodiments to be described later
In the embodiment, the flash card 11 in which the new system program for updating the system program stored in the internal flash memory 2 is stored in the external flash memory 11a built in is attached to the IC card connector 10.

【0024】チップセレクト制御部12は、具体的に
は、図2に示す構成で、図2において、チップセレクト
制御部12は、DMAバスアドレスデコーダ13、CP
Uバスアドレスデコーダ14、及び、DMAC制御部1
5により構成されている。
The chip select control unit 12 has a specific configuration shown in FIG. 2. In FIG. 2, the chip select control unit 12 includes a DMA bus address decoder 13 and a CP.
U bus address decoder 14 and DMAC controller 1
5.

【0025】DMAバスアドレスデコーダ13は、DM
AC6が発生したアドレスをデコードし、フラッシュガ
ード11内の外部フラッシュメモリ11aのチップセレ
クト信号である外部フラッシュメモリCSを生成する。
The DMA bus address decoder 13 has a
The address generated by the AC 6 is decoded to generate an external flash memory CS which is a chip select signal of the external flash memory 11 a in the flash guard 11.

【0026】CPUバスアドレスデコーダ14は、CP
U1が発生したアドレスをデコードし、フラッシュカー
ド11内の外部フラッシュメモリ11aの選択信号であ
るCPUバスCSを生成する。
The CPU bus address decoder 14 has a CP
The address generated by U1 is decoded to generate a CPU bus CS which is a selection signal for the external flash memory 11a in the flash card 11.

【0027】DMAC制御部15は、CPUバスCS信
号がアサートされると、CPU1に対しCPUウエイト
信号をアサートし、DMAC6に対しDMAバス要求信
号をアサートする。そして、DMAC6からDMAバス
許可信号がアサートされると、CPUウエイト信号及び
DMAバス要求信号をネゲートする。
When the CPU bus CS signal is asserted, the DMAC control unit 15 asserts a CPU wait signal to the CPU 1 and asserts a DMA bus request signal to the DMAC 6. Then, when the DMA bus permission signal is asserted from the DMAC 6, the CPU wait signal and the DMA bus request signal are negated.

【0028】以上の構成の第1実施形態では、CPU1
は、内部フラッシュメモリ2からプログラムフェッチを
行い装置各部の制御動作をしているが、システムプログ
ラム更新要求が、CPUバスI/O4に接続された操作
部などからなされると、ICカードコネクタ10に接続
されたフラッシュカード11aに内蔵された外部フラッ
シュメモリ11aのあらかじめ決められた番地にジャン
プする。
In the first embodiment having the above configuration, the CPU 1
Performs a program fetch from the internal flash memory 2 to control each unit of the apparatus. When a system program update request is made from an operation unit or the like connected to the CPU bus I / O 4, the IC card connector 10 Jump to a predetermined address of the external flash memory 11a built in the connected flash card 11a.

【0029】ここで、第1実施形態において、CPU1
が外部フラッシュメモリ11aをシステムプログラムの
更新のためにアクセスする時の各部の動作を説明する。
Here, in the first embodiment, the CPU 1
The operation of each unit when the user accesses the external flash memory 11a for updating the system program will be described.

【0030】CPU1が外部フラッシュメモリ11aの
アドレスを出力すると、チップセレクト制御部12内の
CPUバスアドレスデコーダ14が、外部フラッシュメ
モリ11aの選択信号であるCPUバスCS信号をアサ
ートする。
When the CPU 1 outputs the address of the external flash memory 11a, the CPU bus address decoder 14 in the chip select control unit 12 asserts a CPU bus CS signal which is a selection signal of the external flash memory 11a.

【0031】DMAC制御部15は、CPUバスCS信
号がアサートされると、CPU1に対しCPUウエイト
信号をアサートする一方、DMAC6に対してはDMA
バス要求信号をアサートする。
When the CPU bus CS signal is asserted, the DMAC control unit 15 asserts a CPU wait signal to the CPU 1 and a DMAC signal to the DMAC 6.
Assert the bus request signal.

【0032】CPU1は、CPUウエイト信号がアサー
トされるとバスサイクルにウエイトを挿入する。
When the CPU wait signal is asserted, the CPU 1 inserts a wait in the bus cycle.

【0033】DMAC6は、DMAバス要求信号がアサ
ートされると、バスアービトレーションを行い、DMA
バス9が使用可能になると、DMAバス許可信号をアサ
ートする。このときDMAC6は、CPU1が発生した
アドレスをDMAバス9に出力し、DMAバスアドレス
デコーダ13が、外部フラッシュメモリCSをアサート
する。DMAC6は、このチップセレクト信号とともに
ストローブ信号を発生し、外部フラッシュメモリ11a
にアクセスする。
When the DMA bus request signal is asserted, the DMAC 6 performs bus arbitration, and
When the bus 9 becomes available, it asserts a DMA bus permission signal. At this time, the DMAC 6 outputs the address generated by the CPU 1 to the DMA bus 9, and the DMA bus address decoder 13 asserts the external flash memory CS. The DMAC 6 generates a strobe signal together with the chip select signal, and outputs the strobe signal to the external flash memory 11a.
To access.

【0034】DMAC制御部15は、DMAバス許可信
号がアサートされると、ウエイト信号、DMAバス要求
信号をネゲートする。
When the DMA bus control signal is asserted, the DMAC controller 15 negates the wait signal and the DMA bus request signal.

【0035】一方、CPU1は、ウエイト信号がネゲー
トされると、DMAC6経由で、外部フラッシュメモリ
11aのデータをリードする。
On the other hand, when the wait signal is negated, the CPU 1 reads data from the external flash memory 11a via the DMAC 6.

【0036】CPU1は、以上の動作を繰り返し、外部
フラッシュメモリ11aからプログラムフェッチを行
い、外部フラッシュメモリ11aに記憶されているシス
テムプログラムを内部フラッシュメモリ2にコピーす
る。
The CPU 1 repeats the above operation, fetches a program from the external flash memory 11a, and copies the system program stored in the external flash memory 11a to the internal flash memory 2.

【0037】CPU1はシステムプログラムのコピーが
終了すると、内部フラッシュメモリ2のあらかじめ決め
られた番地にリターンし、システムプログラムの更新を
終了する。
When the copying of the system program is completed, the CPU 1 returns to the predetermined address of the internal flash memory 2 and ends the updating of the system program.

【0038】このように、第1実施形態では、CPUバ
ス5側のCPU1からDMAバス9側の外部フラッシュ
メモリ11aにアクセスして、その外部フラッシュメモ
リ11aに記憶された新システムプログラムにより動作
して当該新システムプログラムにより、内部フラッシュ
メモリ2に記憶されていた旧システムプログラムを更新
することができる。
As described above, in the first embodiment, the CPU 1 on the CPU bus 5 accesses the external flash memory 11a on the DMA bus 9 and operates according to the new system program stored in the external flash memory 11a. With the new system program, the old system program stored in the internal flash memory 2 can be updated.

【0039】次に、第2及び第3実施形態に係るファク
シミリ装置100のブロック構成を図3に示すと共に、
第2実施形態に係るファクシミリ装置100のチップセ
レクト制御部12のブロック構成を図4に、第3実施形
態に係るファクシミリ装置100のチップセレクト制御
部12のブロック構成を図5に示す。
Next, the block configuration of the facsimile apparatus 100 according to the second and third embodiments is shown in FIG.
FIG. 4 shows a block configuration of the chip select control unit 12 of the facsimile apparatus 100 according to the second embodiment, and FIG. 5 shows a block configuration of the chip select control unit 12 of the facsimile apparatus 100 according to the third embodiment.

【0040】図3に示す第2及び第3実施形態に係るフ
ァクシミリ装置100において、図1に示した第1実施
形態に係るファクシミリ装置100と異なる点は、外部
フラッシュメモリ11aが内蔵されたフラッシュカード
11が接続されるICカードコネクタ10が、DMAバ
ス9とCPUバス5のいずれかに選択的に割り付け可能
な構成になっている点と、チップセレクト制御部12が
第2実施形態においては図4のように構成され、第3実
施形態においては図5のように構成される点で、それ以
外の構成は、図1に示した第1実施形態に係るファクシ
ミリ装置100と同一である。
The facsimile apparatus 100 according to the second and third embodiments shown in FIG. 3 is different from the facsimile apparatus 100 according to the first embodiment shown in FIG. In the second embodiment, the IC card connector 10 to which the IC card 11 is connected can be selectively assigned to either the DMA bus 9 or the CPU bus 5, and the chip select control unit 12 has the configuration shown in FIG. The third embodiment has the same configuration as the facsimile apparatus 100 according to the first embodiment shown in FIG. 1 except that it is configured as shown in FIG.

【0041】図4に示す第2実施形態に係るチップセレ
クト制御部12は、DMAバスアドレスデコーダ13、
CPUバスアドレスデコーダ14、DMAC制御部1
5、マルチプレクサ16、及び、設定端子17により構
成されている。
The chip select control unit 12 according to the second embodiment shown in FIG.
CPU bus address decoder 14, DMAC controller 1
5, a multiplexer 16, and a setting terminal 17.

【0042】DMAバスアドレスデコーダ13は、DM
AC6が発生したアドレスをデコードし、フラッシュガ
ード11内の外部フラッシュメモリ11aのチップセレ
クト信号であるDMAバスCSを生成する。
The DMA bus address decoder 13 outputs
The address generated by the AC 6 is decoded, and a DMA bus CS, which is a chip select signal of the external flash memory 11a in the flash guard 11, is generated.

【0043】CPUバスアドレスデコーダ14は、CP
U1が発生したアドレスをデコードし、フラッシュカー
ド11内の外部フラッシュメモリ11aの選択信号であ
るCPUバスCSを生成する。
The CPU bus address decoder 14 has a CP
The address generated by U1 is decoded to generate a CPU bus CS which is a selection signal for the external flash memory 11a in the flash card 11.

【0044】DMAC制御部15は、CPUバスCS信
号がアサートされると、CPU1に対しCPUウエイト
信号をアサートし、DMAC6に対しDMAバス要求信
号をアサートする。そして、DMAC6からDMAバス
許可信号がアサートされると、CPUウエイト信号及び
DMAバス要求信号をネゲートする。
When the CPU bus CS signal is asserted, the DMAC controller 15 asserts a CPU wait signal to the CPU 1 and asserts a DMA bus request signal to the DMAC 6. Then, when the DMA bus permission signal is asserted from the DMAC 6, the CPU wait signal and the DMA bus request signal are negated.

【0045】マルチプレクサ16は、DMAバスCSと
CPUバスCSとをマルチプレクスして、設定端子17
の設定に従い、外部フラッシュメモリ11aのチップセ
レクト信号である外部フラッシュメモリCSを生成す
る。なお、設定端子17は、ICカードコネクタ10に
接続されたフラッシュカード11内の外部フラッシュメ
モリ11aが、CPUバス5に接続されるか、DMAバ
ス8に接続されるかを設定するための端子である。
The multiplexer 16 multiplexes the DMA bus CS and the CPU bus CS, and sets
, The external flash memory CS which is a chip select signal of the external flash memory 11a is generated. The setting terminal 17 is a terminal for setting whether the external flash memory 11a in the flash card 11 connected to the IC card connector 10 is connected to the CPU bus 5 or the DMA bus 8. is there.

【0046】以上の構成の第2実施形態では、CPU1
は、内部フラッシュメモリ2からプログラムフェッチを
行い装置各部の制御動作をしているが、システムプログ
ラム更新要求が、CPUバスI/O4に接続された操作
部などからなされると、ICカードコネクタ10に接続
されたフラッシュカード11aに内蔵された外部フラッ
シュメモリ11aのあらかじめ決められた番地にジャン
プする。
In the second embodiment having the above configuration, the CPU 1
Performs a program fetch from the internal flash memory 2 to control each unit of the apparatus. When a system program update request is made from an operation unit or the like connected to the CPU bus I / O 4, the IC card connector 10 Jump to a predetermined address of the external flash memory 11a built in the connected flash card 11a.

【0047】ここで、第2実施形態において、CPU1
が外部フラッシュメモリ11aをシステムプログラムの
更新のためにアクセスする時の各部の動作を説明する。
Here, in the second embodiment, the CPU 1
The operation of each unit when the user accesses the external flash memory 11a for updating the system program will be described.

【0048】その場合の動作としては、設定端子17の
設定によりICカードコネクタ10がDMAバス9に割
り付けられる場合とCPUバス5に割り付けられる場合
とがある。
The operation in this case includes a case where the IC card connector 10 is allocated to the DMA bus 9 and a case where the IC card connector 10 is allocated to the CPU bus 5 by setting the setting terminal 17.

【0049】先ず、DMAバス9に割り付けられる場合
について説明する。
First, the case of assignment to the DMA bus 9 will be described.

【0050】CPU1が外部フラッシュメモリ11aの
アドレスを出力すると、チップセレクト制御部12内の
CPUバスアドレスデコーダ14が、外部フラッシュメ
モリ11aの選択信号であるCPUバスCS信号をアサ
ートする。
When the CPU 1 outputs the address of the external flash memory 11a, the CPU bus address decoder 14 in the chip select control section 12 asserts a CPU bus CS signal which is a selection signal of the external flash memory 11a.

【0051】DMAC制御部15は、CPUバスCS信
号がアサートされると、CPU1に対しCPUウエイト
信号をアサートする一方、DMAC6に対してはDMA
バス要求信号をアサートする。
When the CPU bus CS signal is asserted, the DMAC control unit 15 asserts a CPU wait signal to the CPU 1 and a DMAC signal to the DMAC 6.
Assert the bus request signal.

【0052】CPU1は、CPUウエイト信号がアサー
トされるとバスサイクルにウエイトを挿入する。
When the CPU wait signal is asserted, the CPU 1 inserts a wait in the bus cycle.

【0053】DMAC6は、DMAバス要求信号がアサ
ートされると、バスアービトレーションを行い、DMA
バス9が使用可能になると、DMAバス許可信号をアサ
ートする。このときDMAC6は、CPU1が発生した
アドレスをDMAバス9に出力し、DMAバスアドレス
デコーダ13が、外部フラッシュメモリCSをアサート
する。マルチプレクサ16は、設定端子17の設定に従
い外部フラッシュメモリCS信号としてDMAバスCS
信号を出力する。DMAC6は、その外部フラッシュメ
モリCS信号のタイミングでストローブ信号を発生し、
外部フラッシュメモリ11aにアクセスする。
When the DMA bus request signal is asserted, the DMAC 6 performs bus arbitration, and
When the bus 9 becomes available, it asserts a DMA bus permission signal. At this time, the DMAC 6 outputs the address generated by the CPU 1 to the DMA bus 9, and the DMA bus address decoder 13 asserts the external flash memory CS. The multiplexer 16 outputs a DMA bus CS as an external flash memory CS signal in accordance with the setting of the setting terminal 17.
Output a signal. The DMAC 6 generates a strobe signal at the timing of the external flash memory CS signal,
Access the external flash memory 11a.

【0054】DMAC制御部15は、DMAバス許可信
号がアサートされると、ウエイト信号、DMAバス要求
信号をネゲートする。
When the DMA bus control signal is asserted, the DMAC control unit 15 negates the wait signal and the DMA bus request signal.

【0055】一方、CPU1は、ウエイト信号がネゲー
トされると、DMAC6経由で、外部フラッシュメモリ
11aのデータをリードする。
On the other hand, when the wait signal is negated, the CPU 1 reads data from the external flash memory 11a via the DMAC 6.

【0056】CPU1は、以上の動作を繰り返し、外部
フラッシュメモリ11aからプログラムフェッチを行
い、外部フラッシュメモリ11aに記憶されているシス
テムプログラムを内部フラッシュメモリ2にコピーす
る。
The CPU 1 repeats the above operation, fetches a program from the external flash memory 11a, and copies the system program stored in the external flash memory 11a to the internal flash memory 2.

【0057】CPU1はシステムプログラムのコピーが
終了すると、内部フラッシュメモリ2のあらかじめ決め
られた番地にリターンし、システムプログラムの更新を
終了する。
When the copying of the system program is completed, the CPU 1 returns to the predetermined address of the internal flash memory 2 and ends the updating of the system program.

【0058】次に、設定端子17の設定によりICカー
ドコネクタ10がCPUバス5に割り付けられる場合に
ついて説明する。
Next, a case where the IC card connector 10 is allocated to the CPU bus 5 by setting the setting terminal 17 will be described.

【0059】CPU1が外部フラッシュメモリ11aの
アドレスを出力すると、チップセレクト制御部12内の
CPUバスアドレスデコーダ14が、外部フラッシュメ
モリ11aの選択信号であるCPUバスCS信号をアサ
ートする。
When the CPU 1 outputs the address of the external flash memory 11a, the CPU bus address decoder 14 in the chip select control section 12 asserts a CPU bus CS signal which is a selection signal of the external flash memory 11a.

【0060】CPUバスCSがアサートされると、マル
チプレクサ16は、設定端子17の設定に従い外部フラ
ッシュメモリCSとしてCPUバスCSを出力する。C
PU1は、外部フラッシュメモリCSのタイミングでス
トローブ信号を発生し、外部フラッシュメモリ11aに
アクセスする。
When the CPU bus CS is asserted, the multiplexer 16 outputs the CPU bus CS as the external flash memory CS according to the setting of the setting terminal 17. C
The PU1 generates a strobe signal at the timing of the external flash memory CS and accesses the external flash memory 11a.

【0061】CPU1は、以上の動作を繰り返し、外部
フラッシュメモリ11aからプログラムフェッチを行
い、外部フラッシュメモリ11aに記憶されているシス
テムプログラムを内部フラッシュメモリ2にコピーす
る。
The CPU 1 repeats the above operation, fetches a program from the external flash memory 11a, and copies the system program stored in the external flash memory 11a to the internal flash memory 2.

【0062】CPU1はシステムプログラムのコピーが
終了すると、内部フラッシュメモリ2のあらかじめ決め
られた番地にリターンし、システムプログラムの更新を
終了する。
When the copying of the system program is completed, the CPU 1 returns to a predetermined address of the internal flash memory 2 and ends the updating of the system program.

【0063】図5に示す第3実施形態に係るチップセレ
クト制御部12は、DMAバスアドレスデコーダ13、
CPUバスアドレスデコーダ14、DMAC制御部1
5、マルチプレクサ16、及び、設定レジスタ18によ
り構成されている。
The chip select control unit 12 according to the third embodiment shown in FIG.
CPU bus address decoder 14, DMAC controller 1
5, a multiplexer 16, and a setting register 18.

【0064】DMAバスアドレスデコーダ13は、DM
AC6が発生したアドレスをデコードし、フラッシュガ
ード11内の外部フラッシュメモリ11aのチップセレ
クト信号であるDMAバスCSを生成する。
The DMA bus address decoder 13 outputs
The address generated by the AC 6 is decoded, and a DMA bus CS, which is a chip select signal of the external flash memory 11a in the flash guard 11, is generated.

【0065】CPUバスアドレスデコーダ14は、CP
U1が発生したアドレスをデコードし、フラッシュカー
ド11内の外部フラッシュメモリ11aの選択信号であ
るCPUバスCSを生成する。
The CPU bus address decoder 14 has a CP
The address generated by U1 is decoded to generate a CPU bus CS which is a selection signal for the external flash memory 11a in the flash card 11.

【0066】DMAC制御部15は、CPUバスCS信
号がアサートされると、CPU1に対しCPUウエイト
信号をアサートし、DMAC6に対しDMAバス要求信
号をアサートする。そして、DMAC6からDMAバス
許可信号がアサートされると、CPUウエイト信号及び
DMAバス要求信号をネゲートする。
When the CPU bus CS signal is asserted, the DMAC controller 15 asserts a CPU wait signal to the CPU 1 and asserts a DMA bus request signal to the DMAC 6. Then, when the DMA bus permission signal is asserted from the DMAC 6, the CPU wait signal and the DMA bus request signal are negated.

【0067】マルチプレクサ16は、DMAバスCSと
CPUバスCSとをマルチプレクスして、設定レジスタ
18の設定に従い、外部フラッシュメモリ11aのチッ
プセレクト信号である外部フラッシュメモリCSを生成
する。なお、設定レジスタ18は、ICカードコネクタ
10に接続されたフラッシュカード11内の外部フラッ
シュメモリ11aが、CPUバス5に接続されるか、D
MAバス8に接続されるかを設定するためのレジスタ
で、CPU1によりアクセスされ設定される。
The multiplexer 16 multiplexes the DMA bus CS and the CPU bus CS, and generates an external flash memory CS which is a chip select signal of the external flash memory 11a according to the setting of the setting register 18. The setting register 18 determines whether the external flash memory 11a in the flash card 11 connected to the IC card connector 10 is connected to the CPU bus 5 or not.
A register for setting whether or not to be connected to the MA bus 8, which is accessed and set by the CPU 1.

【0068】以上の構成の第3実施形態では、CPU1
は、内部フラッシュメモリ2からプログラムフェッチを
行い装置各部の制御動作をしているが、システムプログ
ラム更新要求が、CPUバスI/O4に接続された操作
部などからなされると、ICカードコネクタ10に接続
されたフラッシュカード11aに内蔵された外部フラッ
シュメモリ11aのあらかじめ決められた番地にジャン
プする。
In the third embodiment having the above configuration, the CPU 1
Performs a program fetch from the internal flash memory 2 to control each unit of the apparatus. When a system program update request is made from an operation unit or the like connected to the CPU bus I / O 4, the IC card connector 10 Jump to a predetermined address of the external flash memory 11a built in the connected flash card 11a.

【0069】ここで、第3実施形態において、CPU1
が外部フラッシュメモリ11aをシステムプログラムの
更新のためにアクセスする時の各部の動作を説明する。
Here, in the third embodiment, the CPU 1
The operation of each unit when the user accesses the external flash memory 11a for updating the system program will be described.

【0070】その場合の動作としては、設定レジスタ1
8の設定によりICカードコネクタ10がDMAバス9
に割り付けられる場合とCPUバス5に割り付けられる
場合とがある。
The operation in that case is as follows.
8, the IC card connector 10 is connected to the DMA bus 9
And may be assigned to the CPU bus 5.

【0071】先ず、DMAバス9に割り付けられる場合
について説明する。
First, the case where the data is allocated to the DMA bus 9 will be described.

【0072】CPU1が外部フラッシュメモリ11aの
アドレスを出力すると、チップセレクト制御部12内の
CPUバスアドレスデコーダ14が、外部フラッシュメ
モリ11aの選択信号であるCPUバスCS信号をアサ
ートする。
When the CPU 1 outputs the address of the external flash memory 11a, the CPU bus address decoder 14 in the chip select control unit 12 asserts a CPU bus CS signal which is a selection signal of the external flash memory 11a.

【0073】DMAC制御部15は、CPUバスCS信
号がアサートされると、CPU1に対しCPUウエイト
信号をアサートする一方、DMAC6に対してはDMA
バス要求信号をアサートする。
When the CPU bus CS signal is asserted, the DMAC control unit 15 asserts a CPU wait signal to the CPU 1 and a DMAC signal to the DMAC 6.
Assert the bus request signal.

【0074】CPU1は、CPUウエイト信号がアサー
トされるとバスサイクルにウエイトを挿入する。
When the CPU wait signal is asserted, CPU 1 inserts a wait in the bus cycle.

【0075】DMAC6は、DMAバス要求信号がアサ
ートされると、バスアービトレーションを行い、DMA
バス9が使用可能になると、DMAバス許可信号をアサ
ートする。このときDMAC6は、CPU1が発生した
アドレスをDMAバス9に出力し、DMAバスアドレス
デコーダ13が、外部フラッシュメモリCSをアサート
する。マルチプレクサ16は、設定レジスタ18の設定
に従い外部フラッシュメモリCS信号としてDMAバス
CS信号を出力する。DMAC6は、その外部フラッシ
ュメモリCS信号のタイミングでストローブ信号を発生
し、外部フラッシュメモリ11aにアクセスする。
When the DMA bus request signal is asserted, the DMAC 6 performs bus arbitration, and
When the bus 9 becomes available, it asserts a DMA bus permission signal. At this time, the DMAC 6 outputs the address generated by the CPU 1 to the DMA bus 9, and the DMA bus address decoder 13 asserts the external flash memory CS. The multiplexer 16 outputs a DMA bus CS signal as an external flash memory CS signal according to the setting of the setting register 18. The DMAC 6 generates a strobe signal at the timing of the external flash memory CS signal and accesses the external flash memory 11a.

【0076】DMAC制御部15は、DMAバス許可信
号がアサートされると、ウエイト信号、DMAバス要求
信号をネゲートする。
When the DMA bus control signal is asserted, the DMAC control unit 15 negates the wait signal and the DMA bus request signal.

【0077】一方、CPU1は、ウエイト信号がネゲー
トされると、DMAC6経由で、外部フラッシュメモリ
11aのデータをリードする。
On the other hand, when the wait signal is negated, the CPU 1 reads the data in the external flash memory 11a via the DMAC 6.

【0078】CPU1は、以上の動作を繰り返し、外部
フラッシュメモリ11aからプログラムフェッチを行
い、外部フラッシュメモリ11aに記憶されているシス
テムプログラムを内部フラッシュメモリ2にコピーす
る。
The CPU 1 repeats the above operation, fetches a program from the external flash memory 11a, and copies the system program stored in the external flash memory 11a to the internal flash memory 2.

【0079】CPU1はシステムプログラムのコピーが
終了すると、内部フラッシュメモリ2のあらかじめ決め
られた番地にリターンし、システムプログラムの更新を
終了する。
When the copying of the system program is completed, the CPU 1 returns to a predetermined address in the internal flash memory 2 and ends the updating of the system program.

【0080】次に、設定レジスタ18の設定によりIC
カードコネクタ10がCPUバス5に割り付けられる場
合について説明する。
Next, by setting the setting register 18, the IC
The case where the card connector 10 is allocated to the CPU bus 5 will be described.

【0081】CPU1が外部フラッシュメモリ11aの
アドレスを出力すると、チップセレクト制御部12内の
CPUバスアドレスデコーダ14が、外部フラッシュメ
モリ11aの選択信号であるCPUバスCS信号をアサ
ートする。
When the CPU 1 outputs the address of the external flash memory 11a, the CPU bus address decoder 14 in the chip select control unit 12 asserts a CPU bus CS signal which is a selection signal of the external flash memory 11a.

【0082】CPUバスCSがアサートされると、マル
チプレクサ16は、設定レジスタ18の設定に従い外部
フラッシュメモリCSとしてCPUバスCSを出力す
る。CPU1は、外部フラッシュメモリCSのタイミン
グでストローブ信号を発生し、外部フラッシュメモリ1
1aにアクセスする。
When the CPU bus CS is asserted, the multiplexer 16 outputs the CPU bus CS as the external flash memory CS according to the setting of the setting register 18. The CPU 1 generates a strobe signal at the timing of the external flash memory CS,
Access 1a.

【0083】CPU1は、以上の動作を繰り返し、外部
フラッシュメモリ11aからプログラムフェッチを行
い、外部フラッシュメモリ11aに記憶されているシス
テムプログラムを内部フラッシュメモリ2にコピーす
る。
The CPU 1 repeats the above operation, fetches a program from the external flash memory 11a, and copies the system program stored in the external flash memory 11a to the internal flash memory 2.

【0084】CPU1はシステムプログラムのコピーが
終了すると、内部フラッシュメモリ2のあらかじめ決め
られた番地にリターンし、システムプログラムの更新を
終了する。
When the copying of the system program is completed, the CPU 1 returns to the predetermined address of the internal flash memory 2 and ends the updating of the system program.

【0085】このように第2または第3実施形態によれ
ば、外部メモリ接続部としてのICカードコネクタ10
がDMAバス9またはCPUバス5のいずれに接続され
る場合でも、システムプログラムの書き換えを行え、機
種ごとにICカードコネクタ10の接続先バスが異なっ
ても同一回路構成でシステムプログラムの更新に柔軟に
対応することができる。
As described above, according to the second or third embodiment, the IC card connector 10 as an external memory connection portion
The system program can be rewritten regardless of whether the device is connected to the DMA bus 9 or the CPU bus 5, and even if the connection destination bus of the IC card connector 10 is different for each model, the system circuit can be flexibly updated with the same circuit configuration. Can respond.

【0086】なお、以上説明した実施の形態において
は、本発明に係る制御装置をファクシミリ装置の制御に
適用したが、本発明は、制御内容により限定されるもの
ではなく、その他の多様な制御装置に対しても同様に適
用可能なものである。
In the above-described embodiment, the control device according to the present invention is applied to control of a facsimile machine. However, the present invention is not limited by the control contents, and other various control devices may be used. Is similarly applicable.

【0087】[0087]

【発明の効果】請求項1に係る発明によれば、システム
プログラム書き換え用の外部メモリを接続するための、
ICカードコネクタ等の外部メモリ接続部がDMAバス
に実装されるシステムでも、当該外部メモリ接続部に接
続された外部メモリによるシステムプログラムの更新が
可能となるため、CPUバス側にシステムプログラムの
更新のためだけの無駄なICカードコネクタ等を実装す
る必要がなく、装置の低コスト化を図ることが可能とな
る効果が得られる。
According to the first aspect of the present invention, an external memory for rewriting a system program is connected.
Even in a system in which an external memory connection unit such as an IC card connector is mounted on a DMA bus, the system program can be updated by an external memory connected to the external memory connection unit. Therefore, there is no need to mount a wasteful IC card connector or the like, and the effect that the cost of the apparatus can be reduced can be obtained.

【0088】請求項2に係る発明によれば、前記外部メ
モリが前記CPUバスまたはDMAバスのいずれに接続
される場合でも、前記設定端子により設定により、前記
外部メモリによるシステムプログラムの書き換えを行う
ことが可能となるため、機種毎に回路構成を変更するこ
となく同様の回路構成でシステムプログラムの更新に対
応でき、装置コストの低減を図ることが可能となる効果
が得られる。
According to the second aspect of the present invention, whether the external memory is connected to the CPU bus or the DMA bus, the system program can be rewritten by the external memory by setting the setting terminal. Therefore, it is possible to cope with the update of the system program with the same circuit configuration without changing the circuit configuration for each model, and it is possible to reduce the apparatus cost.

【0089】請求項3に係る発明によれば、前記外部メ
モリが前記CPUバスまたはDMAバスのいずれに接続
される場合でも、前記設定レジスタの設定により、前記
外部メモリによるシステムプログラムの書き換えを行う
ことが可能となるため、機種毎に回路構成を変更するこ
となく同様の回路構成でシステムプログラムの更新に対
応でき、装置コストの低減を図ることが可能となる効果
が得られる。
According to the third aspect of the present invention, whether the external memory is connected to the CPU bus or the DMA bus, the system program is rewritten by the external memory by setting the setting register. Therefore, it is possible to cope with the update of the system program with the same circuit configuration without changing the circuit configuration for each model, and it is possible to reduce the apparatus cost.

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

【図1】本発明の実施の形態に係る制御装置としてのフ
ァクシミリ装置の、第1実施形態に係るブロック構成を
示す図である。
FIG. 1 is a diagram showing a block configuration according to a first embodiment of a facsimile machine as a control device according to an embodiment of the present invention.

【図2】第1実施形態に係るファクシミリ装置のチップ
セレクト制御部のブロック構成を示す図である。
FIG. 2 is a diagram illustrating a block configuration of a chip select control unit of the facsimile apparatus according to the first embodiment.

【図3】本発明の実施の形態に係る制御装置としてのフ
ァクシミリ装置の、第2及び第3実施形態に係るブロッ
ク構成を示す図である。
FIG. 3 is a diagram showing a block configuration according to second and third embodiments of a facsimile apparatus as a control apparatus according to an embodiment of the present invention.

【図4】第2実施形態に係るファクシミリ装置のチップ
セレクト制御部のブロック構成を示す図である。
FIG. 4 is a diagram illustrating a block configuration of a chip select control unit of the facsimile apparatus according to the second embodiment.

【図5】第3実施形態に係るファクシミリ装置のチップ
セレクト制御部のブロック構成を示す図である。
FIG. 5 is a diagram illustrating a block configuration of a chip select control unit of a facsimile apparatus according to a third embodiment.

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

1 CPU 2 内部フラッシュメモリ 3 RAM 4 CPUバスI/O群 5 CPUバス 6 DMAC 7 RAM 8 DMAバスI/O群 9 DMAバス 10 ICカードコネクタ 11 フラッシュカード 11a 外部フラッシュメモリ 12 チップセレクト制御部 13 DMAバスアドレスデコーダ 14 CPUバスアドレスデコーダ 15 DMAC制御部 16 マルチプレクサ 17 設定端子 18 設定レジスタ Reference Signs List 1 CPU 2 Internal flash memory 3 RAM 4 CPU bus I / O group 5 CPU bus 6 DMAC 7 RAM 8 DMA bus I / O group 9 DMA bus 10 IC card connector 11 Flash card 11a External flash memory 12 Chip select control unit 13 DMA Bus address decoder 14 CPU bus address decoder 15 DMAC controller 16 multiplexer 17 setting terminal 18 setting register

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 システムプログラムが記憶された書き換
え可能な内部メモリをCPUがCPUバスを介してアク
セスして当該内部メモリに記憶されたシステムプログラ
ムに基づいて所定の制御処理を行一方、前記CPUが外
部メモリ接続部に接続された外部メモリにアクセスして
当該外部メモリに記憶されたシステムプログラムに基づ
いて前記外部メモリに記憶されたシステムプログラムを
前記内部メモリに書き込んで前記内部メモリに記憶され
るシステムプログラムの更新処理を行う制御装置におい
て、 前記外部メモリ接続部はDMAバスに接続される一方、
前記CPUによる、前記DMAバス上の前記外部メモリ
接続部に接続される前記外部メモリへのアクセスを制御
するアクセス制御手段を備え、前記CPUは、システム
プログラムの更新時に、前記DMAバス上の前記外部メ
モリ接続部に接続された外部メモリに前記アクセス制御
手段を介してアクセスして当該外部メモリに記憶された
システムプログラムに基づいて当該システムプログラム
を前記CPUバス上の前記内部メモリに書き込んでシス
テムプログラムを更新することを特徴とする制御装置。
1. A CPU accesses a rewritable internal memory in which a system program is stored via a CPU bus, and performs predetermined control processing based on the system program stored in the internal memory. A system in which an external memory connected to an external memory connection unit is accessed, and a system program stored in the external memory is written to the internal memory based on the system program stored in the external memory and stored in the internal memory. In the control device for performing a program update process, the external memory connection unit is connected to a DMA bus,
An access control unit for controlling access to the external memory connected to the external memory connection unit on the DMA bus by the CPU, wherein the CPU updates the external program on the DMA bus when a system program is updated. An external memory connected to a memory connection unit is accessed via the access control means, and based on the system program stored in the external memory, the system program is written to the internal memory on the CPU bus to execute the system program. A control device characterized by updating.
【請求項2】 システムプログラムが記憶された書き換
え可能な内部メモリをCPUがCPUバスを介してアク
セスして当該内部メモリに記憶されたシステムプログラ
ムに基づいて所定の制御処理を行一方、前記CPUが外
部メモリ接続部に接続された外部メモリにアクセスして
当該外部メモリに記憶されたシステムプログラムに基づ
いて前記外部メモリに記憶されたシステムプログラムを
前記内部メモリに書き込んで前記内部メモリに記憶され
るシステムプログラムの更新処理を行う制御装置におい
て、 前記外部メモリ接続部に接続される外部メモリをDMA
バスまたは前記CPUバスのいずれに接続するかを選択
設定する設定端子と、その設定端子による設定に応じ
て、前記CPUバスまたはDMAバスに接続された前記
外部メモリ接続部に接続された前記外部メモリへの前記
CPUからのアクセスを制御して、前記CPUによる、
前記外部メモリへのアクセスを制御するアクセス制御手
段とを備え、前記CPUは、システムプログラムの更新
時に、前記外部メモリに前記アクセス制御手段を介して
アクセスして当該外部メモリに記憶されたシステムプロ
グラムに基づいて当該システムプログラムを前記CPU
バス上の前記内部メモリに書き込んでシステムプログラ
ムを更新することを特徴とする制御装置。
2. A CPU accesses a rewritable internal memory in which a system program is stored via a CPU bus, and performs predetermined control processing based on the system program stored in the internal memory. A system in which an external memory connected to an external memory connection unit is accessed, and a system program stored in the external memory is written to the internal memory based on the system program stored in the external memory and stored in the internal memory. In a control device for performing a program update process, an external memory connected to the external memory connection unit is set to a DMA.
A setting terminal for selectively setting the connection to the bus or the CPU bus, and the external memory connected to the external memory connection unit connected to the CPU bus or the DMA bus according to the setting by the setting terminal By controlling access from the CPU to the
An access control unit for controlling access to the external memory, wherein the CPU accesses the external memory via the access control unit and updates the system program stored in the external memory when the system program is updated. The system program based on the CPU
A control device for updating a system program by writing to the internal memory on a bus.
【請求項3】 システムプログラムが記憶された書き換
え可能な内部メモリをCPUがCPUバスを介してアク
セスして当該内部メモリに記憶されたシステムプログラ
ムに基づいて所定の制御処理を行一方、前記CPUが外
部メモリ接続部に接続された外部メモリにアクセスして
当該外部メモリに記憶されたシステムプログラムに基づ
いて前記外部メモリに記憶されたシステムプログラムを
前記内部メモリに書き込んで前記内部メモリに記憶され
るシステムプログラムの更新処理を行う制御装置におい
て、 前記外部メモリ接続部に接続される外部メモリをDMA
バスまたは前記CPUバスのいずれに接続するかを前記
CPUからの指示に応じて設定・記憶する設定レジスタ
と、その設定レジスタの設定に応じて、前記CPUバス
またはDMAバスに接続された前記外部メモリ接続部に
接続された前記外部メモリへの前記CPUからのアクセ
スを制御して、前記CPUによる、前記外部メモリへの
アクセスを制御するアクセス制御手段とを備え、前記C
PUは、システムプログラムの更新時に、前記外部メモ
リに前記アクセス制御手段を介してアクセスして当該外
部メモリに記憶されたシステムプログラムに基づいて当
該システムプログラムを前記CPUバス上の前記内部メ
モリに書き込んでシステムプログラムを更新することを
特徴とする制御装置。
3. A CPU accesses a rewritable internal memory in which a system program is stored via a CPU bus, and performs predetermined control processing based on the system program stored in the internal memory. A system in which an external memory connected to an external memory connection unit is accessed, and a system program stored in the external memory is written to the internal memory based on the system program stored in the external memory and stored in the internal memory. In a control device for performing a program update process, an external memory connected to the external memory connection unit is set to a DMA.
A setting register for setting and storing which of the bus and the CPU bus to connect to in accordance with an instruction from the CPU, and the external memory connected to the CPU bus or the DMA bus in accordance with the setting of the setting register An access control unit for controlling access from the CPU to the external memory connected to the connection unit, and controlling access to the external memory by the CPU;
When updating the system program, the PU accesses the external memory via the access control means and writes the system program to the internal memory on the CPU bus based on the system program stored in the external memory. A control device for updating a system program.
JP2000208196A 2000-07-10 2000-07-10 Controller Pending JP2002024159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000208196A JP2002024159A (en) 2000-07-10 2000-07-10 Controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000208196A JP2002024159A (en) 2000-07-10 2000-07-10 Controller

Publications (1)

Publication Number Publication Date
JP2002024159A true JP2002024159A (en) 2002-01-25

Family

ID=18704819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000208196A Pending JP2002024159A (en) 2000-07-10 2000-07-10 Controller

Country Status (1)

Country Link
JP (1) JP2002024159A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8495277B2 (en) 2006-09-07 2013-07-23 Ricoh Company, Ltd. Semiconductor integrated circuit, system device including semiconductor integrated circuit, and semiconductor integrated circuit control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8495277B2 (en) 2006-09-07 2013-07-23 Ricoh Company, Ltd. Semiconductor integrated circuit, system device including semiconductor integrated circuit, and semiconductor integrated circuit control method

Similar Documents

Publication Publication Date Title
JPWO2008117520A1 (en) MEMORY CONTROLLER, NONVOLATILE MEMORY SYSTEM, AND HOST DEVICE
JP2695017B2 (en) Data transfer method
JP2000105725A (en) Chip enable signal generating circuit, and memory device
US6092170A (en) Data transfer apparatus between devices
US5440708A (en) Microprocessor and storage management system having said microprocessor
US6851036B1 (en) Method and apparatus for controlling external devices through address translation buffer
JP2004220575A (en) Interface circuit of card type memory, asic carrying its circuit and image forming apparatus carrying asic
JP2002024159A (en) Controller
JP2001134486A (en) Microprocessor and storage device
US20060248263A1 (en) Data processing apparatus and data processing method
JP7468112B2 (en) INTERFACE CIRCUIT AND METHOD FOR CONTROLLING INTERFACE CIRCUIT - Patent application
JPH11184801A (en) Interface device and data processing system
JP2006011926A (en) Serial data transfer system, serial data transfer device, serial data transfer method and image forming apparatus
JPH11232213A (en) Data transfer system for input/output device
JP2002259151A (en) Communication equipment
JPH11184800A (en) Data processor and system constitution method
JP4895264B2 (en) Storage device and information processing device
US20060036779A1 (en) Method and control system for controlling a plurality of function blocks
JP4965974B2 (en) Semiconductor integrated circuit device
JP2000163313A (en) Device and system for controlling program read
JP4793798B2 (en) Microcomputer
JPH1027097A (en) Method and device for rewriting data of flash rom
GB2221066A (en) Address translation for I/O controller
JPH10240607A (en) Memory system
JP2001101004A (en) Electronic device