JP2007264978A - Information processor and method for starting the same - Google Patents

Information processor and method for starting the same Download PDF

Info

Publication number
JP2007264978A
JP2007264978A JP2006088592A JP2006088592A JP2007264978A JP 2007264978 A JP2007264978 A JP 2007264978A JP 2006088592 A JP2006088592 A JP 2006088592A JP 2006088592 A JP2006088592 A JP 2006088592A JP 2007264978 A JP2007264978 A JP 2007264978A
Authority
JP
Japan
Prior art keywords
cpu
program
transfer
reset
controller
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.)
Granted
Application number
JP2006088592A
Other languages
Japanese (ja)
Other versions
JP5011780B2 (en
Inventor
Koichi Murata
晃一 村田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2006088592A priority Critical patent/JP5011780B2/en
Publication of JP2007264978A publication Critical patent/JP2007264978A/en
Application granted granted Critical
Publication of JP5011780B2 publication Critical patent/JP5011780B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To achieve the quick and smooth start of an information processor in which a program from a non-volatile memory to a volatile memory is transferred at startup, and a CPU executes the program on the volatile memory. <P>SOLUTION: A method for starting an information processor is provided to store the reset of a CPU 33 at startup of an ASIC 30, and to start the transfer of F/W or the like from a serial ROM 21 to an RAM 23 by hardware (DMA controller 34, F/W copy controller 35, bus controller 36, serial ROM controller 31, RAM controller 32) other than the CPU 33, and to release the reset of the CPU 33 in a preliminarily designated start timing(the transfer end timing of a boot loader) during the transfer. After the reset release of the CPU 33, initialization processing by the CPU 33 and the transfer of the F/W or the like are executed in parallel. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、不揮発性メモリから揮発性メモリに転送されたプログラムに従ってCPUが処理を実行する情報処理装置、及びその起動方法に関する。   The present invention relates to an information processing apparatus in which a CPU executes processing according to a program transferred from a nonvolatile memory to a volatile memory, and a startup method thereof.

従来より、小型(ピン数が少ない)で安価なシリアルROMに、機器を制御するプログラムであるファームウェア(F/W)等を格納しておき、電源投入時に、このシリアルROM上のデータ(F/W等)を、高速アクセスが可能なRAMに転送して、そのRAM上でCPUがプログラムを実行するように構成された情報処理装置が知られている。   Conventionally, firmware (F / W), which is a program for controlling devices, is stored in a small (low pin count) and inexpensive serial ROM, and the data (F / W) on this serial ROM is stored when the power is turned on. W, etc.) is transferred to a RAM that can be accessed at high speed, and an information processing apparatus configured such that a CPU executes a program on the RAM is known.

この種の情報処理装置では、一般的に、シリアルROMからRAMへのデータ転送が完了してからCPUのリセットを解除するため、CPUの起動、ひいては装置の立ち上がり時間(電源投入から外部からの要求を受付可能となるまでの時間)が長引いてしまうという問題があった。   In this type of information processing apparatus, in general, since the reset of the CPU is released after the data transfer from the serial ROM to the RAM is completed, the startup of the CPU and the rise time of the apparatus (request from the outside after power-on) There was a problem that it took a long time to accept.

これに対して、電源投入時に、シリアルROMからRAMへのデータ転送を開始すると共に、CPUのリセットも解除し、RAM上のデータ未転送領域へのCPUからのアクセスが発生した場合には、ウェイト信号を発生させて、CPUの動作を停止させる装置が開示されている(例えば、特許文献1参照。)。   On the other hand, when power is turned on, data transfer from the serial ROM to the RAM is started, and the reset of the CPU is also released. An apparatus that generates a signal and stops the operation of a CPU is disclosed (for example, see Patent Document 1).

また、この装置において、ROM内のデータの一部をハードウェアでRAMへ転送し、ROM内の残りのデータは、CPUが転送を行うことも開示されている。
特開2005−10942号公報
In this device, it is also disclosed that a part of the data in the ROM is transferred to the RAM by hardware, and the remaining data in the ROM is transferred by the CPU.
Japanese Patent Laid-Open No. 2005-10942

しかし、ウェイト信号を発生させる前者の手法では、電源投入後、シリアルROMからRAMへのデータ転送が完了するまでの間は、CPUの停止が不規則に繰り返されることになるため、装置の動作が不安定であるかのように見えてしまう可能性があるという問題があった。   However, in the former method for generating the wait signal, the CPU operation is irregularly repeated after the power is turned on until the data transfer from the serial ROM to the RAM is completed. There was a problem that it may appear as if it were unstable.

例えば、表示部に複数の文字を表示するプログラムの転送中に、そのプログラムが実行された場合、表示の途中でウェイトが発生すると、装置がフリーズしたかのに見えてしまうのである。   For example, if the program is executed during the transfer of a program that displays a plurality of characters on the display unit, if a wait occurs during the display, it will appear as if the device is frozen.

また、CPUによるデータ転送を併用する後者の手法では、ハードウェアによる転送に比べて時間がかかり、装置の立ち上がり時間が長引いてしまうという問題があった。
本発明は、上記問題点を解決するために、起動時に不揮発性メモリから揮発性メモリへのプログラムを転送し、揮発性メモリ上でCPUがプログラム実行する情報処理装置において、速やか且つスムーズな装置の立ち上を可能とすることを目的とする。
Further, the latter method using the data transfer by the CPU has a problem that it takes longer time than the transfer by the hardware, and the rise time of the apparatus is prolonged.
In order to solve the above problems, the present invention provides an information processing apparatus in which a program is transferred from a non-volatile memory to a volatile memory at startup and the CPU executes the program on the volatile memory. The purpose is to make it possible to stand up.

上記目的を達成するためになされた請求項1に記載の発明は、不揮発性メモリからなる第1記憶手段から揮発性メモリからなる第2記憶手段に転送されたプログラムに従ってCPUが処理を実行する情報処理装置の起動方法であって、前記情報処理装置の起動時に前記CPUのリセットを保持して、前記CPU以外のハードウェアにより、前記プログラムの転送を開始させ、前記プログラム転送中の予め指定された解除タイミングで前記CPUのリセットを解除し、該CPUのリセット解除後は、該CPUによる所定の初期化処理と前記プログラムの転送とを並列に実行することを特徴とする。   In order to achieve the above-mentioned object, the invention according to claim 1 is the information that the CPU executes processing according to the program transferred from the first storage means consisting of the non-volatile memory to the second storage means consisting of the volatile memory. A method of starting a processing apparatus, wherein the CPU reset is held when the information processing apparatus is started, and the transfer of the program is started by hardware other than the CPU, and is designated in advance during the program transfer The reset of the CPU is released at the release timing, and after the reset of the CPU is released, a predetermined initialization process by the CPU and the transfer of the program are executed in parallel.

つまり、本発明の起動方法によれば、CPUで直ちに必要となる必要最低限の処理(初期化処理)を実行するためのプログラムが転送されると、全プログラムの転送終了を待つことなく、CPUのリセットが解除されるため、装置の立ち上がり時間を大幅に短縮することができ、また、CPUの処理と並行してプログラムの転送が継続されるため、プログラムの転送も必要最小限の時間で行うことができる。   That is, according to the activation method of the present invention, when a program for executing the minimum necessary processing (initialization processing) that is immediately required by the CPU is transferred, the CPU does not wait for the completion of the transfer of all the programs. Since the reset is released, the rise time of the device can be greatly shortened, and since the program transfer is continued in parallel with the CPU processing, the program transfer is also performed in the minimum necessary time. be able to.

次に、請求項2に記載の発明は、プログラムを記憶する不揮発性メモリからなる第1記憶手段と、揮発性メモリからなる第2記憶手段と、前記第1記憶手段に格納されたプログラムを前記第2記憶手段に転送する転送手段と、前記転送手段によって前記第2記憶手段に格納されたプログラムに従って処理を実行するCPUと、当該装置の起動時に前記CPUのリセットを保持すると共に、前記転送手段によるプログラム転送中の予め指定された解除タイミングで前記CPUのリセットを解除するリセット制御手段とを備え、前記リセット制御手段による前記CPUのリセット解除後は、該CPUによる所定の初期化処理と前記転送手段によるプログラムの転送とを並列に実行させることを特徴とする情報処理装置である。   Next, the invention according to claim 2 is directed to a first storage unit comprising a nonvolatile memory for storing a program, a second storage unit comprising a volatile memory, and the program stored in the first storage unit. A transfer means for transferring to the second storage means; a CPU for executing processing in accordance with a program stored in the second storage means by the transfer means; and holding the reset of the CPU when the apparatus is activated, and the transfer means Reset control means for releasing the reset of the CPU at a release timing specified in advance during the program transfer by the CPU, and after the reset release of the CPU by the reset control means, a predetermined initialization process by the CPU and the transfer An information processing apparatus characterized in that program transfer by means is executed in parallel.

つまり、本発明は、請求項1に記載の方法を実現する装置であり、請求項1と同様の効果を得ることができる。
ところで、請求項3に記載のように、第1記憶手段には、解除タイミングを示す起動タイミング情報を格納し、リセット解除手段を、転送手段が転送するデータの転送量を監視することにより、解除タイミングを判断するように構成してもよい。
That is, the present invention is an apparatus for realizing the method according to claim 1, and can obtain the same effect as that of claim 1.
By the way, as described in claim 3, the first storage means stores start timing information indicating the release timing, and the reset release means is released by monitoring the transfer amount of data transferred by the transfer means. You may comprise so that timing may be judged.

この場合、第1記憶手段に格納する解除タイミングを示す起動タイミング情報を変更するだけで、CPUの起動タイミングを簡単に変更することができる。
なお、データ転送量の監視は、転送元アドレス,転送先アドレス,転送バイト数のいずれによって行ってもよい。
In this case, the activation timing of the CPU can be easily changed simply by changing the activation timing information indicating the release timing stored in the first storage means.
The data transfer amount may be monitored by any of the transfer source address, the transfer destination address, and the number of transfer bytes.

また、請求項4に記載のように、プログラムを、予め指定された指定処理を実行するための指定プログラムと、該指定プログラム以外の非指定プログラムとに区分けして、指定プログラムの転送終了を示すアドレスを解除タイミングとすることが望ましい。   Further, as described in claim 4, the program is divided into a designated program for executing a designated process designated in advance and a non-designated program other than the designated program to indicate the end of transfer of the designated program. It is desirable to set the address as the release timing.

この場合、指定処理については、CPUの起動後に直ちにRAM上で実行することができ、しかも、その指定処理の途中では、従来装置とは異なり、ウエイトが発生してしまうようなことがないため、スムーズに装置を立ち上げることができる。   In this case, the designation process can be executed on the RAM immediately after the CPU is started, and in the middle of the designation process, unlike the conventional apparatus, no weight is generated. The device can be started up smoothly.

そして、請求項5に記載のように、外部からの操作を受け付けるユーザI/F又は外部機器とのデータの入出力を行う外部機器I/Fのうち少なくとも一方からなるインターフェイス手段を備えている場合、指定処理には、インターフェイス手段を使用可能な状態に初期化する処理が少なくとも含まれていることが望ましい。   And when the interface means which consists of at least one among the external device I / F which inputs / outputs data with the user I / F which accepts the operation from the outside or the external device as described in claim 5 is provided The designation process preferably includes at least a process for initializing the interface unit to a usable state.

このように構成された本発明の情報処理装置によれば、当該装置の起動後、必要最小限の時間で、インターフェイス手段を介した外部からの要求の受け付けを可能とすることができる。   According to the information processing apparatus of the present invention configured as described above, it is possible to accept an external request via the interface means in a necessary minimum time after the apparatus is activated.

更に、請求項6に記載のように、CPUは、インターフェイス手段が受け付けた要求に対応するプログラムが、第2記憶手段に転送済であるか否かを検出し、起動すべきプログラムが未転送である場合に、該プログラムの転送が終了するまで待機するように構成してもよい。   Furthermore, as described in claim 6, the CPU detects whether or not the program corresponding to the request accepted by the interface means has been transferred to the second storage means, and the program to be started is not transferred. In some cases, it may be configured to wait until the transfer of the program is completed.

このように構成された本発明の情報処理装置によれば、全てのプログラムの転送を待つことなく、転送済のプログラムであれば直ちに起動されるため、要求した処理が開始されるまでの待ち時間を必要最小限に抑えることができる。   According to the information processing apparatus of the present invention configured as described above, the waiting time until the requested processing is started because the transferred program is started immediately without waiting for the transfer of all programs. Can be minimized.

また、請求項7に記載のように、各種表示を行うための表示手段を備えている場合、指定処理には、表示手段の表示制御を行う処理が少なくとも含まれていることが望ましい。
このように構成された本発明の情報処理装置によれば、当該装置の立ち上げ時に、表示手段の表示がフリーズしたような状態になってしまうことを防止でき、装置の動作状態などを、速やか且つスムーズに表示することができる。
In the case where the display means for performing various displays is provided, it is desirable that the designation process includes at least a process for performing display control of the display means.
According to the information processing apparatus of the present invention configured as described above, it is possible to prevent the display on the display unit from being frozen when the apparatus is started up, and to quickly change the operation state of the apparatus. And it can display smoothly.

また、請求項8に記載のように、指定処理には、当該装置各部のエラー検出を行う処理が少なくとも含まれていることが望ましい。
このように構成された本発明の情報処理装置によれば、当該装置の立ち上げ時に、エラーの有無を速やかに検出することができる。
In addition, as specified in claim 8, it is desirable that the designation process includes at least a process for detecting an error in each part of the apparatus.
According to the information processing apparatus of the present invention configured as described above, it is possible to quickly detect the presence or absence of an error when the apparatus is started up.

以下に本発明の実施形態を図面と共に説明する。
図1は、本発明が適用された画像形成装置1の構成を示すブロック図である。
なお、本実施形態の画像形成装置1は、プリンタ,スキャナ,コピー機,FAXとしての機能を有する、いわゆる複合機として構成されたものである。
[画像形成装置の全体構成]
図1に示すように、画像形成装置1は、用紙等の印刷媒体に画像情報を印刷する画像形成部3と、原稿に記録された画像情報を読み取る画像読取部5と、一般公衆回線を介して画像情報を通信する通信インターフェイス(I/F)7と、各種設定や指令を入力するためのカーソルキーやスイッチ、及び各種メニュー項目が示されたメニュー画面や、利用者が入力した内容やエラー表示などを行う液晶パネルからなる操作パネル9と、各種記憶メディアを装着するためのカードスロット等からなる外部メモリカードI/F11と、パラレルケーブルを介して外部のパーソナルコンピュータ等と画像データの入出力を行なうためのコネクタからなるパラレルI/F13と、USBケーブルを介して外部のパーソナルコンピュータ、デジタルカメラ等の外部機器と画像データの入出力を行なうためのコネクタからなるUSBI/F15とを備えている。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of an image forming apparatus 1 to which the present invention is applied.
The image forming apparatus 1 according to the present embodiment is configured as a so-called multi-function machine having functions as a printer, a scanner, a copier, and a FAX.
[Entire configuration of image forming apparatus]
As shown in FIG. 1, an image forming apparatus 1 includes an image forming unit 3 that prints image information on a print medium such as paper, an image reading unit 5 that reads image information recorded on a document, and a general public line. Communication interface (I / F) 7 for communicating image information, cursor keys and switches for inputting various settings and commands, menu screens showing various menu items, contents input by users and errors Input / output of image data to and from an operation panel 9 including a liquid crystal panel for display, an external memory card I / F 11 including a card slot for mounting various storage media, and an external personal computer via a parallel cable Parallel I / F 13 consisting of a connector for performing an operation and an external personal computer or digital camera via a USB cable And an external device comprising a connector for inputting and outputting image data USB I / F15 in.

なお、これら各部の構成は周知のものであるため、その詳細については説明を省略する。
また、通信I/F7,操作パネル9の入力用の構成,外部メモリカードI/F11,パラレルI/F,USBI/F15が本発明を構成するインターフェイス手段の一例であり、操作パネル9の表示用の構成が本発明を構成する表示手段の一例である。
In addition, since the structure of these each part is a well-known thing, description is abbreviate | omitted for the detail.
The communication I / F 7, the input configuration of the operation panel 9, the external memory card I / F 11, the parallel I / F, and the USB I / F 15 are examples of interface means that constitute the present invention. Is an example of the display means constituting the present invention.

ここで、画像形成装置1は、操作パネル9を介して入力される指令や設定に従って、装置各部(画像形成部3,画像読取部5,通信I/F7,外部メモリカードI/F11,パラレルI/F13,USBI/F15)を制御することにより、プリンタ,スキャナ,コピー機,FAXとしての機能を実現する制御部20と、制御部20を含む装置各部に電源供給を行う電源供給部40とを備え得ている。   Here, the image forming apparatus 1 is configured according to commands and settings input via the operation panel 9 (image forming unit 3, image reading unit 5, communication I / F 7, external memory card I / F 11, parallel I / F). / F13, USB I / F15), a control unit 20 that realizes functions as a printer, a scanner, a copier, and a FAX, and a power supply unit 40 that supplies power to each unit including the control unit 20 I'm getting ready.

そして、制御部20は、装置各部の動作を制御するためのプログラムであるファームウェア(F/W)やプログラムの実行に必要な各種設定や初期値等(以下、これらを総称して「F/W等」という)が格納されたシリアルROM21(第1記憶手段の一例)と、シリアルROM21上のF/W等がコピーされる共に、各種処理で生じる一時的なデータを記憶するRAM23(第2記憶手段の一例)と、装置各部3〜15との間の各種信号の入出力を制御するI/O制御部、ROM21,RAM23の入出力を制御するメモリ制御部、装置の起動を制御する起動制御部、各種プログラムを実行するCPU等を内蔵したASIC(Application Specific Integrated Circuit)30とを備えている。   Then, the control unit 20 includes firmware (F / W) that is a program for controlling the operation of each unit of the apparatus, various settings necessary for execution of the program, initial values, and the like (hereinafter collectively referred to as “F / W”). The serial ROM 21 (an example of the first storage means) in which the F / W and the like on the serial ROM 21 are copied and the RAM 23 (second storage) that stores temporary data generated in various processes. An example) and an I / O control unit that controls input / output of various signals between each unit 3 to 15, a memory control unit that controls input / output of ROM 21 and RAM 23, and startup control that controls startup of the device ASIC (Application Specific Integrated Circuit) 30 including a CPU and a CPU for executing various programs.

なお、シリアルROM21は、データの出力をシリアルに行う周知の不揮発性メモリであり、RAM23は、データへのアクセスをランダムに行うことが可能な周知の揮発性メモリである。   The serial ROM 21 is a well-known nonvolatile memory that serially outputs data, and the RAM 23 is a well-known volatile memory that can randomly access data.

また、電源供給部40は、商用電源(AC100V)から電源供給を受けて、主としてモータやアクチュエータ等の駆動系への給電に使用する高電圧電源DH(本実施形態では5V)、及び制御部20等の制御系への給電に使用する低電圧電源DL(本実施形態では3.3V)を発生させるように構成されている。   The power supply unit 40 receives a power supply from a commercial power supply (AC 100 V), and mainly uses a high voltage power source DH (5 V in the present embodiment) for power supply to a drive system such as a motor or an actuator, and the control unit 20. A low-voltage power supply DL (3.3 V in this embodiment) used for power supply to the control system is generated.

更に、電源供給部40は、低電圧電源DLの給電電圧を監視して、その給電電圧が所定値を超えて上昇すると、電源や回路動作が安定するのに要する安定時間の経過後にH(ハイ)レベル/リセット解除となり、給電電圧が所定値を超えて下降するとL(ロウ)レベル/リセット保持となるICリセット信号RST_N(但し、記号の‘_N’は、負論理を表す。以下同様。)を、ASIC30に供給するように構成されている。
[シリアルROMの内容]
ここで、図2(a)は、シリアルROM21の記憶内容の概略を示す説明図、図2(b)は、F/W等がRAM23に転送(コピー)された状態、及び転送内容の概略を示す説明図である。
Furthermore, the power supply unit 40 monitors the power supply voltage of the low-voltage power supply DL, and when the power supply voltage rises above a predetermined value, the power supply unit 40 becomes H (high) after a stable time required for the power supply and circuit operation to stabilize. ) IC reset signal RST_N that becomes L (low) level / reset holding when the level / reset is canceled and the power supply voltage falls below a predetermined value (where the symbol “_N” represents negative logic. The same applies hereinafter.) Is supplied to the ASIC 30.
[Contents of serial ROM]
Here, FIG. 2A is an explanatory diagram showing an outline of the contents stored in the serial ROM 21, and FIG. 2B is a state where the F / W or the like has been transferred (copied) to the RAM 23, and an outline of the transferred contents. It is explanatory drawing shown.

図2(a)に示すように、シリアルROM21は、RAM23へのデータ転送に必要な情報と、CPUの起動タイミング情報が格納されたヘッダ領域と、RAM23に転送されるF/W等が格納されたデータ領域とからなる。   As shown in FIG. 2A, the serial ROM 21 stores information necessary for data transfer to the RAM 23, a header area in which CPU startup timing information is stored, an F / W to be transferred to the RAM 23, and the like. Data area.

このうち、データ領域に格納されるF/W等は、当該装置1の立ち上げに必要なプログラム群からなるブートローダと、画像形成部3等を利用した印字に関するプログラム,画像読取部5等を利用したスキャナに関するプログラム,通信I/F7等を利用したFAXに関するプログラムなど、外部からの要求に応じて実行されるアプリケーションプログラム群とからなる(図2(b)参照)。   Among these, F / W, etc. stored in the data area uses a boot loader consisting of a program group necessary for starting up the apparatus 1, a program related to printing using the image forming unit 3, the image reading unit 5, etc. And a group of application programs executed in response to an external request, such as a program related to the scanner and a program related to FAX using the communication I / F 7 (see FIG. 2B).

なお、ブートローダには、画像形成部3や画像読取部5等の機能の初期化、ユーザI/F(操作パネル9など),PCI/F(パラレルI/F13やUSBI/F15),通信I/F7、外部メモリカードI/Fの制御、プログラム管理(OS)が少なくとも含まれている。   The boot loader includes initialization of functions such as the image forming unit 3 and the image reading unit 5, user I / F (operation panel 9 and the like), PCI / F (parallel I / F 13 and USB I / F 15), communication I / F. At least F7, control of the external memory card I / F, and program management (OS) are included.

一方、ヘッダ領域には、図2(a)に示すように、データ領域に格納されたF/W等のデータサイズを示す転送データサイズ(4バイト)、後述するCPU35のリセット解除タイミングを示す起動タイミング(4バイト)が格納されている。   On the other hand, in the header area, as shown in FIG. 2A, the transfer data size (4 bytes) indicating the data size such as F / W stored in the data area, and the reset release timing of the CPU 35 described later are activated. The timing (4 bytes) is stored.

そして、シリアルROM21には、転送データサイズ、起動タイミング、F/W本体が、その順に先頭番地から格納されている。
また、本実施形態では、起動タイミングとして、シリアルROM21に格納されているアプリケーションプログラム群の先頭アドレスが設定されている。つまり、ブートローダが指定プログラムの一例であり、アプリケーションプログラム群が非指定プログラムの一例である。
[主要部の構成]
次に、図3は、本発明の主要部に関わる構成、具体的には、ASIC30中のCPU及びメモリ制御,起動制御に関わる構成を示すブロック図である。
The serial ROM 21 stores the transfer data size, the start timing, and the F / W main body in that order from the top address.
In the present embodiment, the start address of the application program group stored in the serial ROM 21 is set as the start timing. That is, the boot loader is an example of a designated program, and the application program group is an example of a non-designated program.
[Configuration of main parts]
Next, FIG. 3 is a block diagram showing a configuration related to the main part of the present invention, specifically, a configuration related to the CPU and memory control and start-up control in the ASIC 30.

図3に示すように、ASIC30は、プログラムに従って処理を実行するCPU33と、シリアルROM21からのデータの読み出し(リード)を制御するシリアルROMコントローラ31と、RAM23に対するデータの読み書き(リード/ライト)を制御するRAMコントローラ32と、CPU33を介さないデータ転送(いわゆるDMA転送)を制御するDMAコントローラ34と、ASIC30の起動時に、DMAコントローラ34を利用したシリアルROM21からRAM23へのデータ転送を制御するF/Wコピーコントローラ35(DMAコントローラ34と共に転送手段の一例)と、シリアルROMコントローラ31(ひいてはシリアルROM21),RAMコントローラ32(ひいてはRAM23)やその他の周辺回路が共通に接続されたバス(データバス,アドレスバス,制御信号線)Bを制御するバスコントローラ36と、上述したASIC30内の各部に対するリセットを制御するリセットコントローラ37(リセット制御手段の一例)とを備えている。   As shown in FIG. 3, the ASIC 30 controls a CPU 33 that executes processing according to a program, a serial ROM controller 31 that controls reading (reading) of data from the serial ROM 21, and data read / write (read / write) with respect to the RAM 23. A RAM controller 32 for controlling data transfer (so-called DMA transfer) not via the CPU 33, and an F / W for controlling data transfer from the serial ROM 21 to the RAM 23 using the DMA controller 34 when the ASIC 30 is activated. A copy controller 35 (an example of transfer means together with the DMA controller 34), a serial ROM controller 31 (and serial ROM 21), a RAM controller 32 (and RAM 23), and other peripheral circuits A bus controller 36 that controls the buses (data bus, address bus, control signal line) B connected to each other, and a reset controller 37 (an example of a reset control means) that controls a reset for each part in the ASIC 30 described above. ing.

なお、CPU33,DMAコントローラ34,F/Wコピーコントローラ35は、バスコントローラ36を介してバスBに接続されている。そして、バスコントローラ36は、CPU33,DMAコントローラ34,F/Wコピーコントローラ35からのバスBに接続された各種メモリや周辺装置に対するアクセス要求を調停するように構成されている。   The CPU 33, the DMA controller 34, and the F / W copy controller 35 are connected to the bus B via the bus controller 36. The bus controller 36 is configured to arbitrate access requests to various memories and peripheral devices connected to the bus B from the CPU 33, the DMA controller 34, and the F / W copy controller 35.

また、F/Wコピーコントローラ35,DMAコントローラ34,バスコントローラ36,リセットコントローラ37は、いずれも入力信号に応答して、予め決められた手順の処理を実行するシーケンサとして構成され、論理回路の組合せにより実現されるものである。   Also, the F / W copy controller 35, the DMA controller 34, the bus controller 36, and the reset controller 37 are all configured as a sequencer that executes processing of a predetermined procedure in response to an input signal. Is realized.

以下、リセットコントローラ37,F/Wコピーコントローラ35,DMAコントローラ34が実行する処理の手順を、図4〜図6に示すフローチャートに沿って詳述する。
[リセットコントローラの処理手順]
まず、リセットコントローラ37は、電源供給部40からのICリセット信号RST_N、及びDMAコントローラ34からのCPUリセット解除要求CRST_CRに従って、CPU31の起動停止を制御するCPUリセット信号CRST_N、及びCPU35以外の各部の起動停止を制御する他部リセット信号ARST_Nを生成するように構成されたものである(図3参照)。
Hereinafter, the procedure of processing executed by the reset controller 37, the F / W copy controller 35, and the DMA controller 34 will be described in detail with reference to the flowcharts shown in FIGS.
[Reset Controller Processing Procedure]
First, in accordance with the IC reset signal RST_N from the power supply unit 40 and the CPU reset release request CRST_CR from the DMA controller 34, the reset controller 37 activates the CPU reset signal CRST_N that controls the start and stop of the CPU 31 and the activation of each unit other than the CPU 35. The other part reset signal ARST_N for controlling the stop is generated (see FIG. 3).

そして、リセットコントローラ37は、ASIC30に電源供給が開始されると、その出力である、CPUリセット信号CRST_N、及び他部リセット信号ARST_Nが、いずれもLレベル、即ちリセット保持となるように構成されており、これにより、電源投入直後のASIC30全体がリセット状態に保持される。   The reset controller 37 is configured such that when power supply to the ASIC 30 is started, the CPU reset signal CRST_N and the other-part reset signal ARST_N, which are outputs thereof, are both at the L level, that is, the reset hold. As a result, the entire ASIC 30 immediately after the power is turned on is held in the reset state.

その後、電源供給部40からのICリセット信号RST_NがHレベルとなり、リセットが解除されると、リセットコントローラ37は起動し、図4に示すように、まず、所定の保持時間を経過後に他部リセット信号ARST_NをHレベルにして、CPU35以外の各部のリセットを解除する(S110)。   After that, when the IC reset signal RST_N from the power supply unit 40 becomes H level and the reset is released, the reset controller 37 is activated and, as shown in FIG. The signal ARST_N is set to H level, and the reset of each part other than the CPU 35 is released (S110).

そして、DMAコントローラ34からのCPUリセット解除要求CRST_CRがHレベル、即ち、要求有りとなるまで待機し(S120)、CPUリセット解除要求CRST_CRがHレベルになると、CPUリセット信号CRST_NをHレベル、即ち、リセット解除にすることにより、CPU35を起動して(S130)、一連の処理を終了する。
[F/Wコピーコントローラの処理手順]
次に、F/Wコピーコントローラ35は、リセットコントローラ37からの他部リセット信号ARST_NがHレベルとなり、リセットが解除されると起動する。
Then, it waits until the CPU reset release request CRST_CR from the DMA controller 34 becomes H level, that is, there is a request (S120). When the CPU reset release request CRST_CR becomes H level, the CPU reset signal CRST_N is set to H level, that is, By canceling the reset, the CPU 35 is activated (S130), and the series of processes is terminated.
[Processing procedure of F / W copy controller]
Next, the F / W copy controller 35 starts when the other-part reset signal ARST_N from the reset controller 37 becomes H level and the reset is released.

そして、図5に示すように、まず、ヘッダ読出開始要求HDR_SをHレベルにして、バスコントローラ36に対してシリアルROM21のヘッダ領域の読み込みを要求し(S210)、バスコントローラ36からのヘッダ読出終了通知HDR_EがHレベルとなるまで待機する(S220)。   Then, as shown in FIG. 5, first, the header read start request HDR_S is set to the H level, the bus controller 36 is requested to read the header area of the serial ROM 21 (S210), and the header read from the bus controller 36 is completed. It waits until the notification HDR_E becomes H level (S220).

この時、バスコントローラ36は、シリアルROMコントローラ31に対して、シリアルROM21からヘッダ領域(即ち、先頭の8バイト)を読み出すための信号を出力し、シリアルROM21から読み出されたヘッダ領域のデータをF/Wコピーコントローラ35に供給すると共に、ヘッダ読出終了通知HDR_EをHレベルにして、F/Wコピーコントローラ35に読出終了を通知する。   At this time, the bus controller 36 outputs a signal for reading the header area (that is, the first 8 bytes) from the serial ROM 21 to the serial ROM controller 31, and the header area data read from the serial ROM 21 is output. While supplying to the F / W copy controller 35, the header reading end notification HDR_E is set to the H level to notify the F / W copy controller 35 of the reading end.

F/Wコピーコントローラ35は、ヘッダ読出終了通知HDR_EがHレベルになると、バスコントローラ36から供給されたヘッダ領域のデータを読み込むと共に、ヘッダ読出開始要求HDR_SをLレベルにして、要求を解除する(S230)。   When the header read end notification HDR_E becomes H level, the F / W copy controller 35 reads the header area data supplied from the bus controller 36 and sets the header read start request HDR_S to L level to cancel the request ( S230).

この時、バスコントローラ36は、ヘッダ読出開始要求HDR_SのLレベルに応答して、F/Wコピーコントローラ35に対するヘッダ領域のデータの供給を終了すると共に、ヘッダ読出終了通知HDR_EをLレベルにする。   At this time, in response to the L level of the header read start request HDR_S, the bus controller 36 ends the supply of the header area data to the F / W copy controller 35 and sets the header read end notification HDR_E to the L level.

次に、F/Wコピーコントローラ35は、読み込んだヘッダ領域のデータ(転送データサイズ,起動タイミング)に基づき、DMAコントローラ34の設定を行う(S240)。   Next, the F / W copy controller 35 sets the DMA controller 34 based on the read header area data (transfer data size, activation timing) (S240).

具体的には、シリアルROM21のF/W等が格納されたデータ領域の先頭アドレスを転送元アドレスの開始アドレス、RAM23の先頭アドレスを転送先アドレスの開始アドレスとして、S240で読み込んだ転送データサイズだけ、シリアルROM21のデータをRAM23に転送するように設定する。これと共に、S240で読み込んだ起動タイミングを監視情報として設定する。なお、これらの設定はDMAコントローラ34に対する設定コマンドを用いて行われる。   Specifically, the start address of the data area in which the serial ROM 21 F / W, etc. is stored is set as the start address of the transfer source address, and the start address of the RAM 23 is set as the start address of the transfer destination address. The data in the serial ROM 21 is set to be transferred to the RAM 23. At the same time, the activation timing read in S240 is set as monitoring information. These settings are performed using a setting command for the DMA controller 34.

次に、F/Wコピーコントローラ35は、コピー開始要求CPY_SをHレベルにして、DMAコントローラ34に対してデータ転送の開始を要求し(S250)、DMAコントローラ34からのコピー終了通知CPY_EがHレベルとなるまで待機する(S260)。   Next, the F / W copy controller 35 sets the copy start request CPY_S to H level to request the DMA controller 34 to start data transfer (S250), and the copy end notification CPY_E from the DMA controller 34 is H level. It waits until it becomes (S260).

そして、コピー終了通知CPY_EがHレベルになると、コピー開始要求CPY_SをLレベルにすることで要求を解除して(S270)、一連の処理を終了する。
[DMAコントローラの処理手順]
DMAコントローラ34は、設定コマンドによって設定された設定内容に従ってDMA転送を行う周知の構成に加えて、監視情報(起動タイミング)が設定されている場合、DMA転送の転送元アドレスが監視情報、即ち起動タイミングに一致すると、リセットコントローラ37に対して、CPUリセット解除要求CRST_CRを出力(一定期間Hレベルを出力)する監視回路を備えている。
When the copy end notification CPY_E becomes H level, the request is canceled by setting the copy start request CPY_S to L level (S270), and a series of processing ends.
[Processing procedure of DMA controller]
When the monitoring information (start timing) is set in addition to a known configuration for performing DMA transfer according to the setting contents set by the setting command, the DMA controller 34 sets the transfer source address of the DMA transfer to the monitoring information, that is, the start When the timing coincides, a monitoring circuit is provided that outputs a CPU reset release request CRST_CR (outputs an H level for a certain period) to the reset controller 37.

具体的には、DMAコントローラ34は、リセットコントローラ37からの他部リセット信号ARST_NがHレベルとなり、リセットが解除されると起動し、図6に示すように、F/Wコピーコントローラ35からのコピー開始要求CPY_SがHレベルになるまで待機する(S310)。   Specifically, the DMA controller 34 is activated when the other-part reset signal ARST_N from the reset controller 37 becomes H level and the reset is released, and the copy from the F / W copy controller 35 is performed as shown in FIG. Wait until the start request CPY_S becomes H level (S310).

但し、DMAコントローラ34の起動後は、本処理手順とは別に、適宜、設定コマンドを受け付けることで、DMA転送の設定を行うことが可能なようにされている。
コピー開始要求CPY_SがHレベルになると、既に設定コマンドによって設定されている設定情報に従って、DMA転送、ここでは、シリアルROM21からRAM23へのF/W本体の転送を開始し(S320)、転送元アドレスを監視することで、転送元アドレスがF/Wコピーコントローラ35によって設定される起動タイミング(監視情報)と一致するまで待機する(S330)。
However, after the DMA controller 34 is activated, the DMA transfer can be set by appropriately receiving a setting command separately from this processing procedure.
When the copy start request CPY_S becomes H level, DMA transfer, here, F / W main body transfer from the serial ROM 21 to the RAM 23 is started according to the setting information set by the setting command (S320), and the transfer source address Is monitored until the transfer source address matches the activation timing (monitoring information) set by the F / W copy controller 35 (S330).

転送元アドレスが起動タイミングと一致すると、CPUリセット解除要求CRST_CRをHレベルにすることにより、リセットコントローラ37に対してCPU33のリセット解除を要求し(S340)、DMAコントローラ34によるデータの転送数が、F/Wコピーコントローラ35により設定された転送データサイズと一致するまで、即ち、DMA転送が終了するまで待機する(S350)。   When the transfer source address coincides with the start timing, the CPU reset release request CRST_CR is set to H level to request the reset controller 37 to release the reset of the CPU 33 (S340), and the number of data transfers by the DMA controller 34 is The process waits until it matches the transfer data size set by the F / W copy controller 35, that is, until the DMA transfer is completed (S350).

DMA転送が終了すると、コピー終了通知CPY_EをHレベルにすることにより、F/Wコピーコントローラ35にコピーの終了を通知し、これに応答して、コピー開始要求CPY_SがLレベルになると、コピー終了通知CPY_EもLレベルにして(S360)、一連の処理を終了する。
[主要部の動作]
ここで、図7は、ASIC30の各部の動作タイミングを示すタイミング図である。
When the DMA transfer ends, the copy end notification CPY_E is set to the H level to notify the F / W copy controller 35 of the end of the copy. In response to this, when the copy start request CPY_S becomes the L level, the copy ends. The notification CPY_E is also set to the L level (S360), and the series of processing ends.
[Operation of main part]
Here, FIG. 7 is a timing chart showing the operation timing of each part of the ASIC 30.

図7に示すように、ASIC30では、ICリセット信号RST_NがHレベルになると、リセットコントローラ37が起動する(時刻T0)。すると、起動したリセットコントローラ37は、他部リセット信号ARST_NをHレベルにして、ASIC30のCPU33以外の部分が起動する(時刻T1)。   As shown in FIG. 7, in the ASIC 30, when the IC reset signal RST_N becomes H level, the reset controller 37 is activated (time T0). Then, the activated reset controller 37 sets the other-part reset signal ARST_N to the H level, and the part other than the CPU 33 of the ASIC 30 is activated (time T1).

これにより起動したF/Wコピーコントローラ35が、ヘッダ読出開始要求HDR_SをHレベルにすることで、バスコントローラ36に、シリアルROM21のヘッダ領域のデータの読出を要求する。すると、バスコントローラ36は、シリアルROM21からヘッダ領域のデータの読出が終了すると、ヘッダ読出終了通知HDR_EをHレベルにすることで、その旨をF/Wコピーコントローラ35に通知する(時刻T2)。   Thus, the activated F / W copy controller 35 sets the header read start request HDR_S to the H level, thereby requesting the bus controller 36 to read the data in the header area of the serial ROM 21. Then, when the reading of the data in the header area from the serial ROM 21 is completed, the bus controller 36 notifies the F / W copy controller 35 to that effect by setting the header reading end notification HDR_E to the H level (time T2).

このヘッダ読出終了通知HDR_Eに応答して、F/Wコピーコントローラ35は、バスコントローラ36から供給されるヘッダ領域のデータを取り込むと共に、ヘッダ読出開始要求HDR_SをLレベルにして要求を解除する(時刻T3)。また、このヘッダ読出開始要求HDR_Sに応答して、バスコントローラ36は、ヘッダ読出終了通知HDR_EをLレベルに戻す。   In response to this header read end notification HDR_E, the F / W copy controller 35 fetches the header area data supplied from the bus controller 36 and sets the header read start request HDR_S to L level to cancel the request (time). T3). In response to this header read start request HDR_S, the bus controller 36 returns the header read end notification HDR_E to the L level.

また、ヘッダ領域のデータを取り込んだF/Wコピーコントローラ35は、そのヘッダ領域のデータ(転送データサイズ、起動タイミング)に従って、DMAコントローラ34の設定を行った後、コピー開始要求CPY_SをHレベルにすることで、DMAコントローラ34に、シリアルROM21からRAM23へのF/W等のコピー(データ転送)を要求する(時刻T4)。   Further, the F / W copy controller 35 that has fetched the header area data sets the DMA controller 34 in accordance with the header area data (transfer data size, activation timing), and then sets the copy start request CPY_S to the H level. Thus, the DMA controller 34 is requested to copy (data transfer) such as F / W from the serial ROM 21 to the RAM 23 (time T4).

コピー開始要求CPY_Sに応答して、データ転送を開始したDMAコントローラ34は、転送元アドレスを監視して、その転送元アドレスが起動タイミングに一致すると、CPUリセット解除要求CRST_CRを一定期間の間だけHレベルにして、リセットコントローラ37にCPU33のリセット解除(即ち、起動)を要求する(時刻T5)。   In response to the copy start request CPY_S, the DMA controller 34 that has started data transfer monitors the transfer source address. When the transfer source address matches the start timing, the DMA reset 34 issues a CPU reset release request CRST_CR for a certain period. The reset controller 37 is requested to cancel the reset of the CPU 33 (that is, start) (time T5).

このCPUリセット解除要求CRST_CRに応答して、リセットコントローラ37は、CPUリセット信号CRST_NをHレベルにすることで、CPU33を起動する(時刻T6)。なお、起動したCPU33は、後述する初期化処理の実行を開始する。   In response to the CPU reset cancellation request CRST_CR, the reset controller 37 activates the CPU 33 by setting the CPU reset signal CRST_N to the H level (time T6). The activated CPU 33 starts executing an initialization process described later.

つまり、時刻T4〜T6までは、DMAコントローラ34によるシリアルROM21からRAM23へのF/W等のコピーのみが実行され、時刻T6からは、CPU33の初期化処理が実行されるのと並行してF/W等のコピーが継続して実行されることになる。   That is, from time T4 to T6, only copying such as F / W from the serial ROM 21 to the RAM 23 by the DMA controller 34 is executed, and from time T6, F is executed in parallel with the initialization processing of the CPU 33 being executed. Copying such as / W is continuously executed.

その後、DMAコントローラ34は、設定された量(転送データサイズ)のデータ転送を終了すると、コピー終了通知CPY_EをHレベルにすることで、その旨をF/Wコピーコントローラ35に通知する(時刻T7)。   Thereafter, when the data transfer of the set amount (transfer data size) is completed, the DMA controller 34 sets the copy end notification CPY_E to the H level to notify the F / W copy controller 35 of this (time T7). ).

このコピー終了通知CPY_Eに応答して、F/Wコピーコントローラ35は、コピー開始要求CPY_SをLレベルにして要求を解除し(時刻T8)、また、これに応答して、DMAコントローラ34は、コピー終了通知CPY_EをLレベルにする。
[CPUの初期化処理について]
ここで、時刻T6にて起動したCPU33が、その起動直後に実行する初期化処理を、図8に示すフローチャートに沿って説明する。
In response to this copy end notification CPY_E, the F / W copy controller 35 sets the copy start request CPY_S to L level to cancel the request (time T8). In response to this, the DMA controller 34 copies End notification CPY_E is set to L level.
[CPU initialization processing]
Here, the initialization process executed immediately after the CPU 33 activated at time T6 will be described with reference to the flowchart shown in FIG.

なお、本処理が開始される時点では、RAM23には、ブートローダのコピーが格納された状態となっている。
図8に示すように、本処理が起動すると、装置各部3〜15を動作可能な状態にするための初期設定を行い(S410)、外部からの要求やデータを受け付けることができるように各I/F7,11,13,15を起動する(S420)。
At the time when this process is started, the RAM 23 is in a state where a copy of the boot loader is stored.
As shown in FIG. 8, when this process is activated, initial settings are made to enable the respective units 3 to 15 to operate (S410), and each I so that requests and data from the outside can be received. / F7, 11, 13, and 15 are activated (S420).

なお、これらの処理を実行するためのプログラムは、全てブートローダに含まれているため、これらの処理は中断を強いられることなくスムーズに実行される。
次に、DMAコントローラ34からF/W等の転送状況を取得して(S430)、全データが転送済であるか否かを判断する(S440)。なお、S430では、その都度、どのアプリケーションプログラムが転送済(即ち、実行可能な状態)であるかを把握できるように、転送の進捗状況を記憶する。
Note that since all programs for executing these processes are included in the boot loader, these processes are executed smoothly without being interrupted.
Next, the transfer status such as F / W is acquired from the DMA controller 34 (S430), and it is determined whether or not all data has been transferred (S440). In S430, the progress status of the transfer is stored so that it can be grasped which application program has been transferred (that is, in an executable state) each time.

そして、全データが転送済でなければ、S420にて起動した、各I/F7,11,13,15や操作パネル9を介して、何等かの要求が発生したか否かを判断し(S450)、要求が発生していない場合(S450:NO)、S430に戻る。   If all the data has not been transferred, it is determined whether any request has occurred via each I / F 7, 11, 13, 15 or operation panel 9 activated in S420 (S450). ), If no request is generated (S450: NO), the process returns to S430.

一方、要求が発生している場合(S450:YES)、発生した要求に対応するアプリケーションプログラムは転送済であるか否かを判断し(S460)、転送済であれば、そのアプリケーションプログラムを起動して(S480)、S440に戻る。   On the other hand, if a request has occurred (S450: YES), it is determined whether or not the application program corresponding to the generated request has been transferred (S460). If it has been transferred, the application program is started. (S480), the process returns to S440.

また、発生した要求に対応するアプリケーションプログラムが転送済でなければ(S460:NO)、S430の場合と同様に、DMAコントローラ34からF/W等の転送状況を取得して(S470)、S460に戻ることにより、対応するアプリケーションプログラムが転送済となるまで待機する。   If the application program corresponding to the generated request has not been transferred (S460: NO), the transfer status such as F / W is acquired from the DMA controller 34 (S470), as in S430, and the process proceeds to S460. By returning, it waits until the corresponding application program has been transferred.

また、先のS440にて、全データが転送済であると判断された場合(S440:YES)、各I/F7,11,13,15や操作パネル9を介して入力される要求に従って、その要求に応じたアプリケーションプログラムを起動する通常のIDLE制御を起動して(S490)、本処理を終了する。
[効果]
以上説明したように、画像形成装置1では、ASIC30を起動する際に、CPU33のリセットを保持して、CPU33以外のハードウェア(DMAコントローラ34,F/Wコピーコントローラ35,バスコントローラ36,シリアルROMコントローラ31,RAMコントローラ32)により、シリアルROM21からRAM23へのF/W等の転送を開始させ、その転送中の予め指定された起動タイミング(ブートローダの転送終了タイミング)でCPU33のリセットを解除し、CPU33のリセット解除後は、CPU33による初期化処理と、F/W等の転送とを並列に実行するようにされている。なお、ブートローダには、外部からの要求やデータの受付が可能となる状態まで装置を立ち上げるのに必要なプログラム群からなる。
If it is determined in S440 that all data has been transferred (S440: YES), the request is input according to each I / F 7, 11, 13, 15 or a request input via the operation panel 9. The normal IDLE control for starting the application program in response to the request is started (S490), and this process ends.
[effect]
As described above, the image forming apparatus 1 holds the reset of the CPU 33 when the ASIC 30 is activated, and the hardware other than the CPU 33 (DMA controller 34, F / W copy controller 35, bus controller 36, serial ROM). The controller 31 and the RAM controller 32) start the transfer of F / W or the like from the serial ROM 21 to the RAM 23, and cancel the reset of the CPU 33 at a pre-specified start timing (boot loader transfer end timing) during the transfer, After the reset of the CPU 33, the initialization process by the CPU 33 and the transfer such as F / W are executed in parallel. Note that the boot loader includes a group of programs necessary to start up the apparatus until it can accept external requests and data.

従って、画像形成装置1によれば、F/W等の転送が全て終了するまで待つことなく、CPU33のリセットが解除されるため、装置の立ち上がり時間を大幅に短縮することができ、また、CPUの初期化処理と並行してプログラムの転送が継続されるため、プログラムの転送も必要最小限の時間で行うことができる。   Therefore, according to the image forming apparatus 1, since the reset of the CPU 33 is released without waiting until the transfer of F / W or the like is completed, the rise time of the apparatus can be greatly shortened. Since the program transfer is continued in parallel with the initialization process, the program can be transferred in the minimum necessary time.

しかも、CPU33が起動した時に、RAM23には、装置の立ち上げに最低限必要なプログラムが全て転送されているため、立ち上げ処理の途中で、CPU33の処理が中断することがなく、スムーズに装置を立ち上げることができる。   In addition, when the CPU 33 is activated, all the programs necessary for starting up the device are all transferred to the RAM 23. Therefore, the processing of the CPU 33 is not interrupted during the start-up process, and the device can be smoothly operated. Can be launched.

また、画像形成装置1によれば、シリアルROM21に格納された起動タイミングに従って、CPU33のリセットを解除するようにされているため、この起動タイミングを書き換えるだけで、CPU33の起動タイミングを簡単に変更することができる。   Further, according to the image forming apparatus 1, since the reset of the CPU 33 is released in accordance with the start timing stored in the serial ROM 21, the start timing of the CPU 33 can be easily changed simply by rewriting the start timing. be able to.

また、画像形成装置1では、CPU33が各I/F7,11,13,15や操作パネル9からの要求やデータの受付が可能となった後、これらが受け付けた要求に対応するアプリケーションプログラムが、RAM23に既に転送されている場合には、そのアプリケーションプログラムを直ちに起動し、未だ転送されていない場合には、そのアプリケーションプログラムの転送が終了するまで待機するようにされている。   In the image forming apparatus 1, after the CPU 33 can accept requests and data from the respective I / Fs 7, 11, 13, 15 and the operation panel 9, application programs corresponding to the requests accepted by these are displayed. If the application program has already been transferred to the RAM 23, the application program is immediately started. If the application program has not been transferred yet, the application program waits until the transfer of the application program is completed.

従って、画像形成装置1によれば、受け付けた要求に対応する処理(アプリケーションプログラム)が開始されるまでの待ち時間を必要最小限に抑えることができる。
[他の実施形態]
以上、本発明の一実施形態について説明したが、本発明は上記実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において、様々な態様にて実施することが可能である。
Therefore, according to the image forming apparatus 1, the waiting time until the process (application program) corresponding to the received request is started can be minimized.
[Other Embodiments]
As mentioned above, although one Embodiment of this invention was described, this invention is not limited to the said embodiment, In the range which does not deviate from the summary of this invention, it is possible to implement in various aspects.

例えば、上記実施形態では、各種機能の初期化、各種I/Fの制御、プログラム管理を行うプログラム群を、ブートローダとしているが、更に、装置各部のエラー検出を行うプログラム群を含むようにしてもよい。この場合、装置の立ち上げ時に、エラーの有無を速やかに検出することができる。   For example, in the above-described embodiment, a group of programs for performing initialization of various functions, control of various I / Fs, and program management is used as a boot loader. However, a program group for detecting an error in each part of the apparatus may be included. In this case, the presence or absence of an error can be promptly detected when the apparatus is started up.

また、上記実施形態では、起動タイミングを、転送元アドレスにより特定しているが、転送先アドレスやデータ転送量により特定するように構成してもよい。
そして、起動タイミングを転送先アドレスによって特定する場合、DMAコントローラ34は、図9(a)に示すように、S330にて、DMAコントローラ34が現在転送を行っている転送先アドレスを、F/Wコピーコントローラ35により設定された起動タイミングと比較するように構成すればよい。
In the above embodiment, the activation timing is specified by the transfer source address, but may be specified by the transfer destination address or the data transfer amount.
When the activation timing is specified by the transfer destination address, as shown in FIG. 9A, the DMA controller 34 sets the transfer destination address to which the DMA controller 34 is currently transferring, in S330, as shown in FIG. What is necessary is just to comprise so that the starting timing set by the copy controller 35 may be compared.

また、起動タイミングをデータ転送量(ブートローダのデータサイズ)によって特定する場合、DMAコントローラ34は、図9(b)に示すように、S330にて、DMAコントローラ34によるデータ転送量を、F/Wコピーコントローラ35により設定された起動タイミングと比較するように構成すればよい。   When the activation timing is specified by the data transfer amount (the data size of the boot loader), the DMA controller 34 sets the data transfer amount by the DMA controller 34 to F / W in S330 as shown in FIG. 9B. What is necessary is just to comprise so that the starting timing set by the copy controller 35 may be compared.

また、起動タイミングを転送元アドレス又は転送先アドレスにより特定する場合、起動タイミングはこれ、アプリケーションプログラム群の先頭アドレスに限らず、ブートローダの末尾アドレスを用いてもよい。   When the activation timing is specified by the transfer source address or the transfer destination address, the activation timing is not limited to the start address of the application program group, and the end address of the boot loader may be used.

画像形成装置の全体構成を示すブロック図。1 is a block diagram illustrating an overall configuration of an image forming apparatus. シリアルROMに格納されるデータの構成、及びF/W等を転送した後のRAMの状態を示す説明図。Explanatory drawing which shows the structure of the data stored in serial ROM, and the state of RAM after transferring F / W etc. FIG. ASIC(発明の主要部)の構成を示すブロック図。The block diagram which shows the structure of ASIC (main part of invention). リセットコントローラが実行する一連の処理の内容を示すフローチャート。The flowchart which shows the content of a series of processes which a reset controller performs. F/Wコピーコントローラが実行する一連の処理の内容を示すフローチャート。6 is a flowchart showing the contents of a series of processes executed by the F / W copy controller. DMAコントローラが実行する一連の処理の内容を示すフローチャート。The flowchart which shows the content of a series of processes which a DMA controller performs. ASIC各部の起動時における動作を示すタイミング図。The timing diagram which shows the operation | movement at the time of starting of each ASIC part. CPUが起動時に実行する処理の内容を示すフローチャート。The flowchart which shows the content of the process which CPU performs at the time of starting. DMAコントローラが実行する一連の処理の変形例を示すフローチャート。The flowchart which shows the modification of a series of processes which a DMA controller performs.

符号の説明Explanation of symbols

1…画像形成装置、3…画像形成部、5…画像読取部、7…通信I/F、9…操作パネル、11…外部メモリカードI/F、13…パラレルI/F、15…USBI/F、20…制御部、21…シリアルROM、23…RAM、30…ASIC、31…シリアルROMコントローラ、32…RAMコントローラ、33…CPU、34…DMAコントローラ、35…F/Wコピーコントローラ、36…バスコントローラ、37…リセットコントローラ、40…電源供給部、B…バス。   DESCRIPTION OF SYMBOLS 1 ... Image forming apparatus, 3 ... Image forming part, 5 ... Image reading part, 7 ... Communication I / F, 9 ... Operation panel, 11 ... External memory card I / F, 13 ... Parallel I / F, 15 ... USB I / F, 20 ... control unit, 21 ... serial ROM, 23 ... RAM, 30 ... ASIC, 31 ... serial ROM controller, 32 ... RAM controller, 33 ... CPU, 34 ... DMA controller, 35 ... F / W copy controller, 36 ... Bus controller 37 ... Reset controller 40 ... Power supply unit B ... Bus

Claims (8)

不揮発性メモリからなる第1記憶手段から揮発性メモリからなる第2記憶手段に転送されたプログラムに従ってCPUが処理を実行する情報処理装置の起動方法であって、
前記情報処理装置の起動時に前記CPUのリセットを保持して、前記CPU以外のハードウェアにより、前記プログラムの転送を開始させ、
前記プログラム転送中の予め指定された解除タイミングで前記CPUのリセットを解除し、該CPUのリセット解除後は、該CPUによる所定の初期化処理と前記プログラムの転送とを並列に実行することを特徴とする情報処理装置の起動方法。
A method of starting an information processing apparatus in which a CPU executes processing according to a program transferred from a first storage unit made of a nonvolatile memory to a second storage unit made of a volatile memory,
Holding the reset of the CPU at the time of starting the information processing apparatus, by using hardware other than the CPU, to start the transfer of the program,
The reset of the CPU is released at a release timing specified in advance during the program transfer, and after the reset of the CPU is released, a predetermined initialization process by the CPU and the transfer of the program are executed in parallel. An information processing apparatus activation method.
プログラムを記憶する不揮発性メモリからなる第1記憶手段と、
揮発性メモリからなる第2記憶手段と、
前記第1記憶手段に格納されたプログラムを前記第2記憶手段に転送する転送手段と、
前記転送手段によって前記第2記憶手段に格納されたプログラムに従って処理を実行するCPUと、
当該装置の起動時に前記CPUのリセットを保持すると共に、前記転送手段によるプログラム転送中の予め指定された解除タイミングで前記CPUのリセットを解除するリセット制御手段と、
を備え、前記リセット制御手段による前記CPUのリセット解除後は、該CPUによる所定の初期化処理と前記転送手段によるプログラムの転送とを並列に実行させることを特徴とする情報処理装置。
First storage means comprising a nonvolatile memory for storing a program;
Second storage means comprising a volatile memory;
Transfer means for transferring the program stored in the first storage means to the second storage means;
A CPU that executes processing according to a program stored in the second storage unit by the transfer unit;
A reset control means for holding the reset of the CPU at the time of startup of the apparatus and canceling the reset of the CPU at a predetermined release timing during the program transfer by the transfer means;
An information processing apparatus, wherein after the reset of the CPU by the reset control means is released, a predetermined initialization process by the CPU and a program transfer by the transfer means are executed in parallel.
前記第1記憶手段には、前記解除タイミングを示す起動タイミング情報が格納され、
前記リセット解除手段は、前記転送手段が転送するデータの転送量を監視することにより、前記解除タイミングを判断することを特徴とする請求項2に記載の情報処理装置。
The first storage means stores start timing information indicating the release timing,
The information processing apparatus according to claim 2, wherein the reset release unit determines the release timing by monitoring a transfer amount of data transferred by the transfer unit.
前記プログラムは、予め指定された指定処理を実行するための指定プログラムと、該指定プログラム以外の非指定プログラムからなり、
前記指定プログラムの転送終了を示すタイミングを前記解除タイミングとすることを特徴とする請求項2又は請求項3に記載の情報処理装置。
The program includes a designated program for executing a designated process designated in advance and a non-designated program other than the designated program,
The information processing apparatus according to claim 2, wherein a timing indicating completion of transfer of the designated program is set as the release timing.
外部からの操作を受け付けるユーザI/F又は外部機器とのデータの入出力を行う外部機器I/Fのうち少なくとも一方からなるインターフェイス手段を備え、
前記指定処理には、前記インターフェイス手段を使用可能な状態に初期化する処理が少なくとも含まれていることを特徴とする請求項4に記載の情報処理装置。
An interface unit comprising at least one of a user I / F that accepts an external operation or an external device I / F that inputs and outputs data with an external device;
The information processing apparatus according to claim 4, wherein the designation process includes at least a process of initializing the interface unit to a usable state.
前記CPUは、
インターフェイス手段が受け付けた要求に対応するプログラムが、前記第2記憶手段に転送済であるか否かを検出し、起動すべきプログラムが未転送である場合に、該プログラムの転送が終了するまで待機することを特徴とする請求項5に記載の情報処理装置。
The CPU
It is detected whether the program corresponding to the request accepted by the interface means has been transferred to the second storage means, and when the program to be started has not been transferred, the program waits until the transfer of the program is completed. The information processing apparatus according to claim 5, wherein:
各種表示を行うための表示手段を備え、
前記指定処理には、前記表示手段の表示制御を行う処理が少なくとも含まれていることを特徴とする請求項4乃至請求項6のいずれかに記載の情報処理装置。
Provided with display means for performing various displays,
The information processing apparatus according to claim 4, wherein the designation process includes at least a process of performing display control of the display unit.
前記指定処理には、当該装置各部のエラー検出を行う処理が少なくとも含まれていることを特徴とする請求項4乃至請求項7のいずれかに記載の情報処理装置。   The information processing apparatus according to claim 4, wherein the designation process includes at least a process of detecting an error in each part of the apparatus.
JP2006088592A 2006-03-28 2006-03-28 Information processing apparatus and activation method thereof Expired - Fee Related JP5011780B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006088592A JP5011780B2 (en) 2006-03-28 2006-03-28 Information processing apparatus and activation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006088592A JP5011780B2 (en) 2006-03-28 2006-03-28 Information processing apparatus and activation method thereof

Publications (2)

Publication Number Publication Date
JP2007264978A true JP2007264978A (en) 2007-10-11
JP5011780B2 JP5011780B2 (en) 2012-08-29

Family

ID=38637912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006088592A Expired - Fee Related JP5011780B2 (en) 2006-03-28 2006-03-28 Information processing apparatus and activation method thereof

Country Status (1)

Country Link
JP (1) JP5011780B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009169485A (en) * 2008-01-11 2009-07-30 Fujitsu Microelectronics Ltd Information processor, semiconductor integrated circuit device, and boot method
US8423757B2 (en) 2008-11-19 2013-04-16 Fujitsu Limited Memory initialization by performing parallel execution of firmware and kernel by different CPUs
JP2018063646A (en) * 2016-10-14 2018-04-19 Necプラットフォームズ株式会社 Flash memory device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03256127A (en) * 1990-03-07 1991-11-14 Mitsubishi Heavy Ind Ltd Microprocessor system
JPH10111806A (en) * 1996-10-04 1998-04-28 Nec Corp Program staritng system
JP2002215504A (en) * 2001-01-18 2002-08-02 Yaskawa Electric Corp Communication control system
JP2003067190A (en) * 2001-08-22 2003-03-07 Sharp Corp Program transfer control device
JP2004030024A (en) * 2002-06-24 2004-01-29 Konica Minolta Holdings Inc Information processor
JP2005010942A (en) * 2003-06-17 2005-01-13 Matsushita Electric Ind Co Ltd Apparatus with sequential access memory device in which boot code is stored, and method for starting the same
JP2005258642A (en) * 2004-03-10 2005-09-22 Yamaha Corp Embedded information processor
US20050273554A1 (en) * 2002-06-27 2005-12-08 Microsoft Corporation Apparatus and method to decrease boot time and hibernate awaken time of a computer systsem
JP2006072989A (en) * 2004-08-02 2006-03-16 Ricoh Co Ltd Electronic device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03256127A (en) * 1990-03-07 1991-11-14 Mitsubishi Heavy Ind Ltd Microprocessor system
JPH10111806A (en) * 1996-10-04 1998-04-28 Nec Corp Program staritng system
JP2002215504A (en) * 2001-01-18 2002-08-02 Yaskawa Electric Corp Communication control system
JP2003067190A (en) * 2001-08-22 2003-03-07 Sharp Corp Program transfer control device
JP2004030024A (en) * 2002-06-24 2004-01-29 Konica Minolta Holdings Inc Information processor
US20050273554A1 (en) * 2002-06-27 2005-12-08 Microsoft Corporation Apparatus and method to decrease boot time and hibernate awaken time of a computer systsem
JP2005010942A (en) * 2003-06-17 2005-01-13 Matsushita Electric Ind Co Ltd Apparatus with sequential access memory device in which boot code is stored, and method for starting the same
JP2005258642A (en) * 2004-03-10 2005-09-22 Yamaha Corp Embedded information processor
JP2006072989A (en) * 2004-08-02 2006-03-16 Ricoh Co Ltd Electronic device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009169485A (en) * 2008-01-11 2009-07-30 Fujitsu Microelectronics Ltd Information processor, semiconductor integrated circuit device, and boot method
US8423757B2 (en) 2008-11-19 2013-04-16 Fujitsu Limited Memory initialization by performing parallel execution of firmware and kernel by different CPUs
JP2018063646A (en) * 2016-10-14 2018-04-19 Necプラットフォームズ株式会社 Flash memory device

Also Published As

Publication number Publication date
JP5011780B2 (en) 2012-08-29

Similar Documents

Publication Publication Date Title
JP4564554B2 (en) Image forming apparatus
JP2007296723A (en) Control device having function of switching power, image forming apparatus, and image reader
JP5780769B2 (en) Data processing apparatus, control method and program thereof, and storage medium
JP5885390B2 (en) Image forming apparatus, image forming apparatus control method and program
JP6570227B2 (en) Information processing apparatus including main system and subsystem
JP2003316719A (en) Upstream peripheral equipment performing role of usb host
JP6103909B2 (en) Image processing apparatus, image processing apparatus control method, and program
US9563444B2 (en) Image forming apparatus having hibernation function according to device connection states, control method therefor, and storage medium
JP2010211351A (en) Semiconductor integrated circuit, power saving control method, power saving control program, and recording medium
JP5011780B2 (en) Information processing apparatus and activation method thereof
JP2009169871A (en) Information processor
JP5581906B2 (en) Image processing apparatus, control method for image processing apparatus, control program for image processing apparatus, and recording medium
JP6849484B2 (en) Information processing device, control method of information processing device, and program
JP2013041458A (en) Data processing apparatus and control method therefor
JP2010074303A (en) Image forming apparatus and activation control method
JP2008097169A (en) Data saving device and data saving method
JP6590722B2 (en) Electronic device, control method thereof, and program
US20130191623A1 (en) Information processing apparatus, control method therefor, and storage medium
JP2004086860A (en) Image forming apparatus and control method therefor
JP2009211537A (en) Image processor and access control method
JP2015123650A (en) Image formation apparatus, control method for image formation apparatus, and program
US10747483B2 (en) Image forming apparatus that updates firmware
JP2013152509A (en) Image processing apparatus
JP2013200602A (en) Image processing apparatus
JP2005094301A (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090310

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120131

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120508

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120521

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150615

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5011780

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees