JPH11184760A - Picture forming device - Google Patents

Picture forming device

Info

Publication number
JPH11184760A
JPH11184760A JP35513597A JP35513597A JPH11184760A JP H11184760 A JPH11184760 A JP H11184760A JP 35513597 A JP35513597 A JP 35513597A JP 35513597 A JP35513597 A JP 35513597A JP H11184760 A JPH11184760 A JP H11184760A
Authority
JP
Japan
Prior art keywords
data
flash memory
forming apparatus
image forming
rewriting
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
JP35513597A
Other languages
Japanese (ja)
Inventor
Kenji Okuyama
健二 奥山
Kazuto Yoshida
和人 吉田
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP35513597A priority Critical patent/JPH11184760A/en
Publication of JPH11184760A publication Critical patent/JPH11184760A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To efficiently and surely update the program of a necessary circuit board without necessitating any work such as ROM exchange. SOLUTION: This picture forming device is provided with plural circuit boards for each function, and a flash memory for each circuit board. This flash memory calculates a check sum from a check code included in data (S2), collates the calculated check sum with a check sum for collation for judging whether the data are normal or abnormal (S3), receives data for rewriting from the outside part (S5), and executes the rewriting of the data (S7 and S8) when it is judged that the data are abnormal.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は画像形成装置に関
し、さらに詳しくは、回路基板のアプリケーションプロ
グラムの更新,機能の追加に伴う回路基板の追加などに
よるフラッシュメモリの書き換え、あるいは、フラッシ
ュメモリ内のプログラムデータの異常による再書き換え
に配慮された画像形成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image forming apparatus, and more particularly, to rewriting of a flash memory by updating a circuit board application program, adding a circuit board with the addition of a function, or a program in a flash memory. The present invention relates to an image forming apparatus in which rewriting due to abnormal data is considered.

【0002】[0002]

【従来の技術】複写機やプリンタなどの画像形成装置に
おいては、メイン基板,メカ制御基板,プリンタオプシ
ョン基板,FAXオプション基板といった機能やブロッ
クごとの複数の回路基板が設けられている。
2. Description of the Related Art In an image forming apparatus such as a copying machine or a printer, a plurality of circuit boards are provided for each block and functions such as a main board, a mechanical control board, a printer option board, and a FAX option board.

【0003】そして、これら複数の回路基板ごとに、各
回路基板の動作を司るプログラムが格納されたメモリが
搭載されている。このメモリとして、従来はPROMな
どのメモリチップを用いており、プログラムの変更が必
要になった場合には、チップを各回路基板から取り外
し、外部の装置で書き換えてから各回路基板に挿入する
ようにしていた。
[0005] Each of the plurality of circuit boards has a memory in which a program for controlling the operation of each circuit board is stored. Conventionally, a memory chip such as a PROM is used as this memory. When a program needs to be changed, the chip is removed from each circuit board, rewritten by an external device, and then inserted into each circuit board. I was

【0004】[0004]

【発明が解決しようとする課題】プログラムの更新とし
ては、 ・回路基板のアプリケーションプログラムの更新, ・機能の追加に伴う回路基板の追加などによるメモリの
書き換え, ・メモリ内のプログラムデータの異常による再書き換
え, などの場合に行う必要が生じる。
Problems to be solved by the present invention are as follows: update of an application program of a circuit board; rewriting of memory by adding a circuit board due to addition of a function; and rewriting of an abnormal program data in the memory. This must be done in cases such as rewriting.

【0005】しかし、上述したチップの交換による方式
では、作業が煩雑である。また、ユーザが行うことは困
難である。このような不具合に対処可能なメモリとして
フラッシュメモリがあり、外部から書き換えることが技
術的に可能である。しかし、フラッシュメモリを有する
機能の異なる複数の回路基板を1つの装置内に備えた場
合に、どのようにフラッシュメモリを用いるかについて
配慮されたものは存在していなかった。
[0005] However, in the above-mentioned method of exchanging chips, the operation is complicated. It is also difficult for a user to do. There is a flash memory as a memory that can cope with such a problem, and it is technically possible to rewrite from the outside. However, when a plurality of circuit boards having different functions each having a flash memory are provided in one apparatus, there has been no method that considers how to use the flash memory.

【0006】本発明はこのような課題に鑑みてなされた
ものであって、ROM交換といった作業を必要とせず
に、必要な回路基板のプログラムを効率良く確実に更新
することが可能な画像形成装置を提供することを目的と
する。
SUMMARY OF THE INVENTION The present invention has been made in view of such a problem, and an image forming apparatus capable of efficiently and surely updating a program of a necessary circuit board without requiring work such as ROM replacement. The purpose is to provide.

【0007】[0007]

【課題を解決するための手段】すなわち、前記した課題
を解決する本発明は、以下の通りである。 (1)請求項1記載の発明は、機能ごとに回路基板を複
数備え、各回路基板ごとにフラッシュメモリを備えた画
像形成装置であって、該フラッシュメモリは、データに
含まれるチェックコードからチェックサムを計算する計
算手段と、照合用チェックサムを予め保持するチェック
サム保持手段と、計算したチェックサムと照合用チェッ
クサムとを照合し、データが正常か異常かを判断する判
断手段と、を備えたことを特徴とする画像形成装置であ
る。
That is, the present invention for solving the above-mentioned problems is as follows. (1) The invention according to claim 1 is an image forming apparatus including a plurality of circuit boards for each function and a flash memory for each circuit board, wherein the flash memory is checked from a check code included in data. Calculation means for calculating a sum, checksum holding means for holding a checksum for verification in advance, and determination means for comparing the calculated checksum with the checksum for verification to determine whether the data is normal or abnormal. An image forming apparatus comprising:

【0008】この発明では、フラッシュメモリが、デー
タに含まれるチェックコードからチェックサムを計算
し、照合用チェックサムと照合することで、データが正
常か異常かを判断している。なお、このようなデータの
チェックは電源投入時などに行うことが望ましい。
According to the present invention, the flash memory calculates a checksum from the check code included in the data and compares the calculated checksum with the checksum for comparison to determine whether the data is normal or abnormal. It is desirable to check such data at the time of turning on the power.

【0009】この結果、回路基板毎にデータの正常/異
常を判断できる。また、フラッシュメモリであるので、
ROM交換といった作業を必要とせずに、必要な回路基
板のプログラムを更新することが可能である。また、更
新したプログラムについても、更新が正常か否かをチェ
ックすることが可能である。
As a result, normal / abnormal data can be determined for each circuit board. Also, because it is a flash memory,
It is possible to update the necessary circuit board program without the need for a work such as ROM exchange. Also, it is possible to check whether the updated program is normal or not.

【0010】(2)請求項4記載の発明は、(1)の画
像形成装置において、前記判断手段でデータが異常と判
断されたときに、アプリケーションプログラムを実行し
ないことを特徴とする。
(2) In the image forming apparatus of (1), the application program is not executed when the data is judged to be abnormal by the judgment means.

【0011】この結果、回路基板毎にデータの正常/異
常を判断でき、異常が検出された場合に異常なアプリケ
ーションプログラムを実行することを防止できる。 (3)請求項4記載の発明は、(1)の画像形成装置に
おいて、前記判断手段でデータが異常と判断されたとき
に、該フラッシュメモリのデータ書き換え待ち状態で待
機することを特徴とする。
As a result, the normality / abnormality of data can be determined for each circuit board, and when an abnormality is detected, execution of an abnormal application program can be prevented. (3) In the image forming apparatus of (1), when the data is judged to be abnormal by the judging means, the image forming apparatus waits in a data rewriting waiting state of the flash memory. .

【0012】この結果、回路基板毎にデータの正常/異
常を判断でき、異常が検出された場合に異常なアプリケ
ーションプログラムを実行することを防止できる。 (4)請求項4記載の発明は、(1)の画像形成装置に
おいて、前記フラッシュメモリはデータ書き換え手段を
備え、前記判断手段でデータが異常と判断されたとき
に、外部から書き換え用データを受信してデータの書き
換えを実行することを特徴とする。
As a result, the normality / abnormality of data can be determined for each circuit board, and when an abnormality is detected, execution of an abnormal application program can be prevented. According to a fourth aspect of the present invention, in the image forming apparatus of the first aspect, the flash memory comprises a data rewriting means, and when the judging means judges that the data is abnormal, the rewriting data is externally supplied. It is characterized by receiving and rewriting data.

【0013】この発明では、フラッシュメモリが、デー
タに含まれるチェックコードからチェックサムを計算し
て照合用チェックサムと照合することで、データが正常
か否かを判断し、異常があった場合には、外部から書き
換え用データを受信してデータの書き換えを実行する。
According to the present invention, the flash memory calculates the checksum from the check code included in the data and compares it with the checksum for comparison, thereby determining whether the data is normal or not. Receives rewriting data from the outside and executes data rewriting.

【0014】この結果、ROM交換といった作業を必要
とせずに、必要な回路基板のプログラムを効率良く確実
に更新することが可能な画像形成装置を実現できる。 (5)請求項5記載の発明は、機能ごとに回路基板を複
数備え、各回路基板ごとにフラッシュメモリを備えた画
像形成装置であって、該フラッシュメモリのブート手段
は、複数の異なる型のフラッシュメモリのそれぞれに対
応した複数のブートプログラムと、前記複数のブートプ
ログラムの中から、該フラッシュメモリに対応したもの
を識別して実行する機能と、を備えたことを特徴とする
画像形成装置である。
As a result, it is possible to realize an image forming apparatus that can efficiently and surely update a necessary program on a circuit board without requiring an operation such as ROM replacement. (5) The invention according to claim 5 is an image forming apparatus comprising a plurality of circuit boards for each function and a flash memory for each circuit board, wherein the boot means of the flash memory comprises a plurality of different types of boots. An image forming apparatus comprising: a plurality of boot programs corresponding to respective flash memories; and a function of identifying and executing a program corresponding to the flash memory from the plurality of boot programs. is there.

【0015】この発明では、フラッシュメモリのブート
手段は、複数の異なる型のフラッシュメモリのそれぞれ
に対応した複数のブートプログラムを備えており、複数
のブートプログラムの中から、該フラッシュメモリに対
応したものを識別して実行するようにしている。
According to the present invention, the flash memory boot means includes a plurality of boot programs corresponding to a plurality of different types of flash memories, respectively, and a boot program corresponding to the flash memory is selected from the plurality of boot programs. Identify and execute.

【0016】したがって、ブートプログラムを共通のも
のとすることができ、異なる型のフラッシュメモリを用
いることが容易になる。 (6)請求項6記載の発明は、上記(3)の画像形成装
置において、前記ブートプログラムは、フラッシュメモ
リのデータ領域を書き換えるためのプログラムであるこ
とを特徴とする。
Therefore, a common boot program can be used, and it is easy to use different types of flash memories. (6) In the image forming apparatus of (3), the boot program is a program for rewriting a data area of a flash memory.

【0017】この発明では、フラッシュメモリのブート
手段は、複数の異なる型のフラッシュメモリのそれぞれ
に対応した複数のブートプログラムを備えており、複数
のブートプログラムの中から、該フラッシュメモリに対
応したものを識別し、該フラッシュメモリのデータ領域
の書き換えを実行するようにしている。
According to the present invention, the flash memory boot means includes a plurality of boot programs respectively corresponding to a plurality of different types of flash memories, and a boot program corresponding to the flash memory is selected from the plurality of boot programs. Is identified, and the data area of the flash memory is rewritten.

【0018】したがって、ブートプログラムを共通のも
のとすることができ、異なる型のフラッシュメモリを用
いることが容易になる。そして、ROM交換といった作
業を必要とせずに、必要な回路基板のプログラムを効率
良く確実に更新することが可能な画像形成装置を実現で
きる。
Therefore, a common boot program can be used, and it is easy to use different types of flash memories. Further, it is possible to realize an image forming apparatus capable of efficiently and surely updating a program of a necessary circuit board without requiring an operation such as ROM replacement.

【0019】[0019]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態例を詳細に説明する。本発明の画像形成装置
は、原稿を読み取って画像形成して出力する複写機や、
コンピュータ機器からの画像データを受けて画像形成し
て出力するプリンタなどに使用することができるが、本
実施の形態例では複写機に応用した場合を例にして説明
する。
Embodiments of the present invention will be described below in detail with reference to the drawings. An image forming apparatus according to the present invention includes a copying machine that reads a document, forms an image, and outputs the image.
The present invention can be used for a printer or the like which receives image data from a computer device and forms and outputs an image. In this embodiment, a case where the present invention is applied to a copying machine will be described as an example.

【0020】図1は本発明の実施の形態の画像形成装置
を複写機に適用した電気的構成例を示すブロック図、図
2は図1の全体の様子を示すブロック図である。これら
図1と図2とにおいて、100は画像形成装置であり、
画像形成装置全体を制御するメイン基板110,画像形
成装置の機械的構成要素を制御するメカ制御基板12
0,プリントに関する部分の制御を行うプリンタオプシ
ョン基板130,FAX送受信に関する制御を行うFA
Xオプション基板140,といった複数の回路基板(以
下、単に基板と言う)を備えたものを例に示している。
FIG. 1 is a block diagram showing an example of an electrical configuration in which an image forming apparatus according to an embodiment of the present invention is applied to a copying machine, and FIG. 2 is a block diagram showing an overall state of FIG. 1 and 2, reference numeral 100 denotes an image forming apparatus;
A main board 110 for controlling the entire image forming apparatus, and a mechanical control board 12 for controlling mechanical components of the image forming apparatus
0, a printer option board 130 for controlling a portion related to printing, an FA for controlling a facsimile transmission and reception
An example provided with a plurality of circuit boards (hereinafter simply referred to as boards) such as an X option board 140 is shown as an example.

【0021】ここで、各基板は、各基板ごとの動作の制
御を行うCPU111,121,131,141と、デ
ータ作業領域としてのメモリ(RAM)112,12
2,132,142と、各基板ごとのアプリケーション
プログラムを保持するフラッシュROM(以下、これを
フラッシュメモリと言う)113,123,133,1
43と、などを備えている。
Here, each substrate includes CPUs 111, 121, 131, and 141 for controlling the operation of each substrate, and memories (RAMs) 112 and 12 as data working areas.
2, 132, 142, and a flash ROM (hereinafter referred to as a flash memory) 113, 123, 133, 1 for holding an application program for each board.
43, and the like.

【0022】また、メイン基板110には通信部114
が備えられており、接続I/F(パラレルI/F,シリ
アルI/F,その他各種のバス)を介して外部機器から
のデータを受信できるよう構成されている。
A communication section 114 is provided on the main board 110.
And is configured to be able to receive data from an external device via a connection I / F (parallel I / F, serial I / F, and other various buses).

【0023】そして、メイン基板110にはデュアルポ
ートメモリ115,116,117が備えられており、
このデュアルポートメモリを介して、メカ制御基板12
0,プリンタオプション基板130,FAXオプション
基板140と接続されて、データの授受を行っている。
なお、ここに示した以外の基板が存在する場合もあり、
それらも本発明に含まれる。
The main board 110 has dual port memories 115, 116 and 117,
Through this dual port memory, the mechanical control board 12
0, the printer option board 130, and the FAX option board 140 to exchange data.
Note that there may be substrates other than those shown here,
They are also included in the present invention.

【0024】また、200はコンピュータ等の外部装置
であって、本実施の形態例では書き換えデータなどを画
像形成装置100に供給するものである。なお、この画
像形成装置は、原稿をスキャナ部で読み取り、読み取っ
た画像データをレーザ光で感光体ドラムに潜像として書
き込み、この潜像を現像部によりトナー像にし、このト
ナー像を記録紙に転写,定着して機外に排出する構成に
なっている。このような画像形成装置の電気的な処理に
ついてはメイン基板110が対処し、機械的な動作につ
いてはメカ制御基板が120が対処する。そして、各種
オプションに基づく動作については、プリンタオプショ
ン基板130やFAXオプション基板140が対処する
ように構成されている。
Reference numeral 200 denotes an external device such as a computer, which supplies rewrite data and the like to the image forming apparatus 100 in this embodiment. In this image forming apparatus, a document is read by a scanner unit, the read image data is written as a latent image on a photosensitive drum by laser light, the latent image is converted into a toner image by a developing unit, and the toner image is recorded on recording paper. The image is transferred, fixed, and discharged outside the machine. The main board 110 handles such electrical processing of the image forming apparatus, and the mechanical control board 120 handles mechanical operations. The printer option board 130 and the FAX option board 140 are configured to handle operations based on various options.

【0025】なお、以上のフラッシュメモリ113,1
23,133,143には、基板ごとに異なる製造メー
カー,異なる型のフラッシュメモリを用いる可能性があ
る。たとえば、内部のデータ構造は、A社製の製品aで
は図3(a)のように、16キロバイトのブートブロッ
ク,8キロバイトのパラメータブロック,8キロバイト
のパラメータブロック,96キロバイトのメインブロッ
ク,3個の128キロバイトのメインブロック,から構
成されている。
The above flash memories 113, 1
23, 133, and 143 may use different manufacturers and different types of flash memories for each substrate. For example, as shown in FIG. 3A, the internal data structure of the product a manufactured by Company A is as follows: a boot block of 16 kilobytes, a parameter block of 8 kilobytes, a parameter block of 8 kilobytes, a main block of 96 kilobytes, and three blocks. , A main block of 128 kilobytes.

【0026】また、B社製の製品bでは図3(b)のよ
うに、16キロバイトのブートブロック,32キロバイ
トのパラメータセクタ,8キロバイトのパラメータセク
タ,7個の64キロバイトのメインセクタ,から構成さ
れている。
As shown in FIG. 3 (b), the product b manufactured by Company B comprises a boot block of 16 kilobytes, a parameter sector of 32 kilobytes, a parameter sector of 8 kilobytes, and seven main sectors of 64 kilobytes. Have been.

【0027】このように、製品によって内部のデータ構
造が異なっている。また、製造メーカーによって、書き
込みアルゴリズムや消去アルゴリズムが異なっている。
従って、書き換えに際しては、製品に合致したプログラ
ムが必要になる。
As described above, the internal data structure differs depending on the product. Further, the writing algorithm and the erasing algorithm are different depending on the manufacturer.
Therefore, at the time of rewriting, a program that matches the product is required.

【0028】本実施の形態例では、いずれのフラッシュ
メモリでも、16キロバイトのブートブロックに、フラ
ッシュメモリ書き換え判定用プログラムを格納する。ま
た、後述するように、異なる製造メーカー,異なる型の
フラッシュメモリであってもプログラムを共通化して対
応するため、各フラッシュメモリに対応した複数のプロ
グラムを包含するようにしておいて、製品識別IDに従
って、適したプログラムが立ち上がるように構成してお
く。
In this embodiment, a flash memory rewrite determination program is stored in a 16-kilobyte boot block in any flash memory. Further, as will be described later, even if flash memories of different manufacturers and different types are used, a common program is used to cope with the flash memory. Therefore, a plurality of programs corresponding to each flash memory are included, and a product identification ID is included. According to the above, a suitable program is started up.

【0029】また、8キロバイトのパラメータブロッ
ク,パラメータセクタには、後述するチェックサムを保
存する領域として使用する。そして、残余のメインブロ
ック,メインセクタにはアプリケーションプログラムが
格納されるが、この領域を後述するように、チェックサ
ム計算対象エリアとする。
An 8-kilobyte parameter block and parameter sector are used as an area for storing a checksum described later. An application program is stored in the remaining main blocks and main sectors. This area is used as a checksum calculation target area as described later.

【0030】ここで、図4以降を参照して本実施の形態
例の処理手順を説明する。ここに示す図4は電源オン時
の立ち上げ処理手順のフローチャートであり、フラッシ
ュメモリ書き換え判定用プログラムである。
Here, the processing procedure of this embodiment will be described with reference to FIGS. FIG. 4 shown here is a flowchart of a startup processing procedure when the power is turned on, and is a flash memory rewrite determination program.

【0031】電源オンにより、各基板のフラッシュメモ
リ113,123,133,143は、それぞれのブー
トブロックに格納されたブートプログラムを立ち上げ
る。なお、このブートプログラムの処理が完了するま
で、アプリケーションプログラムは開始しない。
When the power is turned on, the flash memories 113, 123, 133, and 143 of the respective boards start up the boot programs stored in the respective boot blocks. The application program does not start until the processing of the boot program is completed.

【0032】まず、ブートプログラムは、フラッシュメ
モリの製品識別を行う(図4S1)。すなわち、フラッ
シュメモリの所定のエリアに格納された製造会社,製品
名(型番)を示す製品識別ID(メーカID,デバイス
IDなど)を認識する(図5S1)。これにより、複数
の異なる型のフラッシュメモリのそれぞれに対応した複
数のブートプログラムの中から、該フラッシュメモリに
対応した書き換え判定用プログラムを識別して実行する
(図5S2)。
First, the boot program identifies a flash memory product (S1 in FIG. 4). That is, it recognizes a manufacturing company and a product identification ID (a manufacturer ID, a device ID, etc.) indicating a product name (model number) stored in a predetermined area of the flash memory (S1 in FIG. 5). As a result, a rewrite determination program corresponding to the flash memory is identified and executed from among a plurality of boot programs corresponding to a plurality of different types of flash memories (S2 in FIG. 5).

【0033】なお、ブートブロックの中に複数のブート
プログラムを格納しておいて選択して実行する場合と、
1つのブートプログラムの中で製品に合致したサブルー
チンに分岐して処理を実行する場合とが考えられるが、
いずれの手法をとってもよい。
A case where a plurality of boot programs are stored in a boot block and selected and executed,
It is conceivable that a single boot program branches to a subroutine that matches the product and executes processing.
Either method may be used.

【0034】このようにすることで、製品ごとに異なる
データ構造や消去アルゴリズムが存在していても、ブー
トプログラム全体では共通化することができる。したが
って、このようにブートプログラムを共通のものとする
ことができるため、異なる型のフラッシュメモリを用い
ることが容易になる。
In this way, even if different products have different data structures and erasing algorithms, the entire boot program can be shared. Therefore, since the boot program can be made common, it is easy to use different types of flash memories.

【0035】これ以下、製品毎に具体的には異なったア
ルゴリズムなどで処理を進めるが、基本的に同じ処理手
順について説明を続ける。つぎに、ブートプログラム
は、メインブロックやメインセクタ(図3参照)に格納
されているアプリケーションプログラムについて、チェ
ックサムを計算する(図4S2)。
In the following, the processing will be specifically performed for each product using a different algorithm or the like, but basically the same processing procedure will be described. Next, the boot program calculates a checksum for the application program stored in the main block or main sector (see FIG. 3) (S2 in FIG. 4).

【0036】なお、この時点で計算されたチェックサム
と、アプリケーションプログラムを書き込む際にパラメ
ータセクタに保存された照合用チェックサムとを比較
し、一致するか否かを調べる(図4S3)。
The checksum calculated at this time is compared with the checksum for verification stored in the parameter sector when writing the application program, and it is checked whether or not they match (S3 in FIG. 4).

【0037】チェックサムが一致していれば異常なしで
あるので、ここに示したフラッシュメモリ書き換え判定
用プログラムを終了してアプリケーションの起動を実行
する(図4S4)。
If the checksums match, there is no abnormality, so the flash memory rewrite determination program shown here is terminated and the application is started (S4 in FIG. 4).

【0038】また、チェックサムが一部でも一致してい
ない場合には、異常が発生していることを意味している
ので、書き換えモードに入って書き換えデータの受信待
ち状態になる(図4S5)。
If any part of the checksums does not match, it means that an abnormality has occurred, so that the apparatus enters the rewrite mode and waits for reception of rewrite data (S5 in FIG. 4). .

【0039】この段階で、フラッシュメモリ書き換え判
定用プログラムは、書き換えモードであって書き換えデ
ータの受信待ちであることを、画像形成装置の表示部で
の表示によりオペレータに通知する。この表示として
は、LEDの点灯などの簡単なものでもよい。
At this stage, the flash memory rewriting determination program notifies the operator of the rewriting mode and waiting for the rewriting data by displaying on the display unit of the image forming apparatus. The display may be a simple one such as lighting of an LED.

【0040】これによりオペレータは、接続I/F(パ
ラレルI/F,シリアルI/F,その他各種のバス)を
介してコンピュータなどの外部装置を画像形成装置に接
続し、書き換え用データを画像形成装置に伝送する。
Thus, the operator connects an external device such as a computer to the image forming apparatus via the connection I / F (parallel I / F, serial I / F, and other various buses), and converts the rewriting data into the image. Transmit to device.

【0041】この場合の書き換え用データのデータフォ
ーマットは図6のようになっている。すなわち、通信開
始を示す通信開始指示データ,画像形成装置の機種名を
示す機種名コード,基板名を示す基板名コード,アプリ
ケーションプログラムの所定長単位の書き換えデータ,
保存すべき照合用チェックサム,などである。なお、こ
れ以外に、リンク情報として年月日時分秒を示すデー
タ,ROMバージョンデータ,などを含めてもよい。
The data format of the rewriting data in this case is as shown in FIG. That is, communication start instruction data indicating the start of communication, a model name code indicating the model name of the image forming apparatus, a board name code indicating the board name, rewriting data of a predetermined length unit of the application program,
Check sum for collation to be stored. In addition, data indicating the date, month, day, hour, minute, and second, ROM version data, and the like may be included as link information.

【0042】また、チェックサムとしては各種のものが
あるが、たとえば、先頭データから最終データまでを加
算し、その加算値の1の補数としたものを用いるように
すればよい。
There are various types of checksums. For example, the sum from the first data to the last data may be added, and a value obtained by adding one's complement of the added value may be used.

【0043】なお、このように異常が検出された場合に
外部装置200から伝送する書き換え用データは、該当
する特定の基板のデータだけということではなく、複数
の基板のデータを一括して伝送してもよい。なぜなら、
チェックサムで異常が検出された基板のみが受信待ち状
態であり、また、基板側で該当するデータのみを選択す
ることが可能だからである。このように基板側で選択を
する場合、書き換えデータのヘッダに含まれる機種名コ
ード,基板名コードを参照することで行う。
When the abnormality is detected as described above, the rewriting data transmitted from the external device 200 is not limited to the data of the specific board concerned, but the data of a plurality of boards is transmitted collectively. You may. Because
This is because only the board in which an error is detected in the checksum is in a reception waiting state, and only the corresponding data can be selected on the board side. When the selection is made on the board side as described above, the selection is made by referring to the model name code and the board name code included in the header of the rewrite data.

【0044】この書き換え用データについては、受信待
ち状態のフラッシュメモリを有する基板におけるRAM
に一旦格納され、正常に受信できたかが調べられる(図
4S6)。
The rewriting data is stored in a RAM on a substrate having a flash memory in a reception waiting state.
Is temporarily stored, and it is checked whether or not the reception was successful (S6 in FIG. 4).

【0045】そして、その受信が正常に行われなければ
エラー処理に入る。この場合のエラー処理として、書き
換えモードであって書き換えデータの受信待ちであるこ
とを、画像形成装置の表示部での表示によりオペレータ
に再度通知する(図4S9)。
If the reception is not performed normally, an error process is started. As an error process in this case, the operator is notified again by the display on the display unit of the image forming apparatus that the rewriting mode is set and the reception of the rewriting data is waiting (S9 in FIG. 4).

【0046】また、書き換え用データを正常に受信した
場合には、各フラッシュメモリのアルゴリズムに従っ
て、ブートブロック以外の全ブロックの消去を実行する
(図4S7)。この消去終了後に、受信したチェックサ
ムや書き換え用データを、各フラッシュメモリのアルゴ
リズムに従って、フラッシュメモリのパラメータブロッ
クやパラメータセクタ、またはメインブロックやメイン
セクタに書き込む(図4S8)。
When the rewrite data is received normally, all blocks other than the boot block are erased according to the algorithm of each flash memory (S7 in FIG. 4). After the erasure is completed, the received checksum and rewriting data are written to the parameter block or parameter sector or the main block or main sector of the flash memory according to the algorithm of each flash memory (S8 in FIG. 4).

【0047】なお、パラメータブロックやパラメータセ
クタには前述した照合用チェックサムを書き込み、メイ
ンブロックやメインセクタには書き換え用データに基づ
いてアプリケーションプログラムを書き込む。
The above-described checksum for verification is written in the parameter block or the parameter sector, and the application program is written in the main block or the main sector based on the rewriting data.

【0048】このようにして書き換えが完了した時点
で、フラッシュメモリ書き換え判定用プログラムを終了
し、フラッシュメモリに書き込まれたアプリケーション
プログラムの起動を実行する(図4S4)。
When the rewriting is completed as described above, the flash memory rewriting determination program is terminated, and the application program written in the flash memory is started (S4 in FIG. 4).

【0049】また、受信した書き換え用データをRAM
に一旦格納してからフラッシュメモリに書き込むのでは
なく、受信した一定長の書き換え用データごとにフラッ
シュメモリに書き込むようにしてもよい。
The received rewriting data is stored in a RAM.
Instead of writing the data once to the flash memory and writing it to the flash memory, the data may be written to the flash memory for each received fixed-length rewrite data.

【0050】すなわち、図7に記載のように、計算され
たチェックサムと照合用チェックサムとの比較(図7S
3)が検出されたら、書き換えモードに入って書き換え
データの受信待ち状態になる(図7S5)。
That is, as shown in FIG. 7, a comparison between the calculated checksum and the checksum for comparison (FIG. 7S
When 3) is detected, the rewrite mode is entered, and a state of waiting for reception of rewrite data is entered (S5 in FIG. 7).

【0051】ここで、受信を開始した時点で、各フラッ
シュメモリのアルゴリズムに従って、ブートブロック以
外の全ブロックの消去を実行する(図7S6)。そし
て、受信したチェックサムや書き換え用データを、各フ
ラッシュメモリのアルゴリズムに従って、フラッシュメ
モリのパラメータブロックやパラメータセクタ、または
メインブロックやメインセクタに逐次書き込むようにす
る(図7S7)。
At this point, when the reception is started, all blocks other than the boot block are erased according to the algorithm of each flash memory (S6 in FIG. 7). Then, the received checksum and rewriting data are sequentially written to the parameter block or parameter sector or the main block or main sector of the flash memory according to the algorithm of each flash memory (S7 in FIG. 7).

【0052】受信と書き込みとが完了した時点で、メイ
ンブロックやメインセクタに格納されているアプリケー
ションプログラムについて、チェックサムを計算し(図
7S8)、計算されたチェックサムと照合用チェックサ
ムとを比較して一致するか否かを調べる(図7S9)。
When reception and writing are completed, a checksum is calculated for the application program stored in the main block or main sector (S8 in FIG. 7), and the calculated checksum is compared with the checksum for comparison. To determine whether they match (S9 in FIG. 7).

【0053】この時点でチェックサムが一致していれば
新たに書き込んだデータは異常なしであるので、ここに
示したフラッシュメモリ書き換え判定用プログラムを終
了してアプリケーションの起動を実行する(図4S
4)。また、不一致が検出されればエラー処理に入り、
書き換えモードであって書き換えデータの受信待ちであ
ることをオペレータに再度通知する(図7S10)。
At this point, if the checksums match, the newly written data has no abnormality, and thus the flash memory rewrite determination program shown here is terminated and the application is started (FIG. 4S).
4). If a mismatch is detected, error processing starts,
The operator is again notified that the mode is the rewriting mode and the reception of the rewriting data is waiting (S10 in FIG. 7).

【0054】このように、本実施の形態例の書き換え用
データにはチェックサムが付加されており、書き換え時
にチェックサムによる比較判定を用いることで、受信し
た書き換え用データを受信しつつ逐次書き込むことも可
能になる。
As described above, the checksum is added to the rewriting data of the present embodiment, and by using the comparison judgment based on the checksum at the time of rewriting, the received rewriting data can be sequentially written while being received. Also becomes possible.

【0055】なお、以上の図4や図7のフローチャート
に示した処理は、各基板ごとに並行して実行する。ま
た、以上の実施の形態例ではチェックサムを用いたが、
代わりに他の誤り検出符号を用いるようにしてもよい。
The processes shown in the flowcharts of FIGS. 4 and 7 are executed in parallel for each substrate. In the above embodiment, the checksum is used.
Instead, another error detection code may be used.

【0056】以上詳細に説明したように、本発明の各実
施の形態例によれば、ROM交換といった作業を必要と
せずに、必要な回路基板のプログラムを効率良く確実に
更新することが可能になる。
As described above in detail, according to each embodiment of the present invention, it is possible to efficiently and surely update a necessary program on a circuit board without requiring a work such as ROM replacement. Become.

【0057】[0057]

【発明の効果】以上、詳細に説明したように、本発明に
よれば、以下のような効果が得られる。
As described above, according to the present invention, the following effects can be obtained.

【0058】(1)請求項1記載の発明では、フラッシ
ュメモリが、データに含まれるチェックコードからチェ
ックサムを計算し、照合用チェックサムと照合すること
で、データが正常か異常かを判断する結果、回路基板毎
にデータの正常/異常を判断でき、フラッシュメモリで
あるので、ROM交換といった作業を必要とせずに、必
要な回路基板のプログラムを更新することが可能にな
る。また、更新したプログラムについても、更新が正常
か否かをチェックすることが可能である。
(1) According to the first aspect of the present invention, the flash memory calculates a checksum from the check code included in the data, and compares the checksum with the checksum for comparison to determine whether the data is normal or abnormal. As a result, whether the data is normal or abnormal can be determined for each circuit board, and since the flash memory is used, it is possible to update the necessary circuit board program without the need for an operation such as ROM replacement. Also, it is possible to check whether the updated program is normal or not.

【0059】(2)請求項4記載の発明では、データが
異常と判断されたときにはアプリケーションプログラム
を実行しないので、回路基板毎にデータの正常/異常を
判断でき、異常が検出された場合に異常なアプリケーシ
ョンプログラムを実行することを防止できる。
(2) According to the fourth aspect of the present invention, the application program is not executed when the data is determined to be abnormal, so that the normality / abnormality of the data can be determined for each circuit board. Execution of a simple application program can be prevented.

【0060】(3)請求項4記載の発明ではデータが異
常と判断されたときに、該フラッシュメモリのデータ書
き換え待ち状態で待機するので、回路基板毎にデータの
正常/異常を判断でき、異常が検出された場合に異常な
アプリケーションプログラムを実行することを防止でき
る。
(3) In the invention according to claim 4, when it is determined that the data is abnormal, the flash memory waits in a data rewriting waiting state, so that the normality / abnormality of the data can be determined for each circuit board. When an error is detected, execution of an abnormal application program can be prevented.

【0061】(4)請求項4記載の発明では、フラッシ
ュメモリが、データに含まれるチェックコードからチェ
ックサムを計算して照合用チェックサムと照合すること
で、データが正常か否かを判断し、異常があった場合に
は、外部から書き換え用データを受信してデータの書き
換えを実行する。
(4) According to the invention described in claim 4, the flash memory calculates the checksum from the check code included in the data and compares it with the checksum for comparison to determine whether the data is normal. When there is an abnormality, the rewriting data is received from the outside and the data is rewritten.

【0062】この結果、ROM交換といった作業を必要
とせずに、必要な回路基板のプログラムを効率良く確実
に更新することが可能な画像形成装置を実現できる。 (5)請求項5記載の発明では、フラッシュメモリのブ
ート手段は、複数の異なる型のフラッシュメモリのそれ
ぞれに対応した複数のブートプログラムを備えており、
複数のブートプログラムの中から、該フラッシュメモリ
に対応したものを識別して実行するようにしているの
で、ブートプログラムを共通のものとすることができ、
異なる型のフラッシュメモリを用いることが容易にな
る。
As a result, it is possible to realize an image forming apparatus that can efficiently and surely update a necessary program on a circuit board without requiring an operation such as ROM replacement. (5) In the invention described in claim 5, the boot means of the flash memory includes a plurality of boot programs corresponding to a plurality of different types of flash memories, respectively.
From among a plurality of boot programs, a program corresponding to the flash memory is identified and executed, so that a common boot program can be used,
It is easier to use different types of flash memories.

【0063】(6)請求項6記載の発明では、フラッシ
ュメモリのブート手段は、複数の異なる型のフラッシュ
メモリのそれぞれに対応した複数のブートプログラムを
備えており、複数のブートプログラムの中から、該フラ
ッシュメモリに対応したものを識別し、該フラッシュメ
モリのデータ領域の書き換えを実行するようにしている
ので、ブートプログラムを共通のものとすることがで
き、異なる型のフラッシュメモリを用いることが容易に
なる。したがって、ROM交換といった作業を必要とせ
ずに、必要な回路基板のプログラムを効率良く確実に更
新することが可能な画像形成装置を実現できる。
(6) In the invention described in claim 6, the flash memory boot means includes a plurality of boot programs corresponding to a plurality of different types of flash memories, respectively. Since the flash memory corresponding to the flash memory is identified and the data area of the flash memory is rewritten, a common boot program can be used, and different types of flash memories can be easily used. become. Therefore, it is possible to realize an image forming apparatus that can efficiently and surely update a program of a necessary circuit board without requiring an operation such as ROM replacement.

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

【図1】本発明の実施の形態の画像形成装置を複写機に
適用した電気的構成例を示すブロック図である。
FIG. 1 is a block diagram illustrating an example of an electrical configuration in which an image forming apparatus according to an embodiment of the present invention is applied to a copying machine.

【図2】本発明の実施の形態例の画像形成装置の全体構
成を示すブロック図である。
FIG. 2 is a block diagram illustrating an overall configuration of an image forming apparatus according to an embodiment of the present invention.

【図3】本発明の実施の形態例の画像形成装置で使用す
るフラッシュメモリの内部のデータ構造の一例を示す説
明図である。
FIG. 3 is an explanatory diagram illustrating an example of an internal data structure of a flash memory used in the image forming apparatus according to the embodiment of the present invention;

【図4】本発明の実施の形態例の処理手順を説明するフ
ローチャートである。
FIG. 4 is a flowchart illustrating a processing procedure according to the embodiment of the present invention.

【図5】本発明の実施の形態例の処理手順の要部の詳細
を説明するフローチャートである。
FIG. 5 is a flowchart illustrating details of a main part of a processing procedure according to the embodiment of the present invention.

【図6】本発明の実施の形態例の書き換え用データのデ
ータフォーマットの一例を示す説明図である。
FIG. 6 is an explanatory diagram showing an example of a data format of rewriting data according to the embodiment of the present invention.

【図7】本発明の実施の形態例の処理手順の他の例を説
明するフローチャートである。
FIG. 7 is a flowchart illustrating another example of the processing procedure according to the embodiment of the present invention.

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

100 画像形成装置 110 メイン基板 111,121,131,141 CPU 112,122,132,142 RAM 113,123,133,143 フラッシュメモリ 114 通信部 115,116,117 デュアルポートメモリ 120 メカ制御基板 130 プリンタオプション基板 140 FAXオプション基板 200 外部装置 Reference Signs List 100 Image forming apparatus 110 Main board 111, 121, 131, 141 CPU 112, 122, 132, 142 RAM 113, 123, 133, 143 Flash memory 114 Communication unit 115, 116, 117 Dual port memory 120 Mechanical control board 130 Printer option Substrate 140 Fax option substrate 200 External device

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 機能ごとに回路基板を複数備え、各回路
基板ごとにフラッシュメモリを備えた画像形成装置であ
って、 該フラッシュメモリは、 データに含まれるチェックコードからチェックサムを計
算する計算手段と、 照合用チェックサムを予め保持するチェックサム保持手
段と、 計算したチェックサムと照合用チェックサムとを照合
し、データが正常か異常かを判断する判断手段と、 を備えたことを特徴とする画像形成装置。
1. An image forming apparatus comprising a plurality of circuit boards for each function and a flash memory for each circuit board, wherein the flash memory calculates a checksum from a check code included in data. And checksum holding means for holding a checksum for comparison in advance, and determining means for comparing the calculated checksum with the checksum for verification to determine whether the data is normal or abnormal. Image forming apparatus.
【請求項2】 前記判断手段でデータが異常と判断され
たときに、アプリケーションプログラムを実行しないこ
とを特徴とする請求項1記載の画像形成装置。
2. The image forming apparatus according to claim 1, wherein the application program is not executed when the data is determined to be abnormal by the determination unit.
【請求項3】 前記判断手段でデータが異常と判断され
たときに、該フラッシュメモリのデータ書き換え待ち状
態で待機することを特徴とする請求項1記載の画像形成
装置。
3. The image forming apparatus according to claim 1, wherein when the determination unit determines that the data is abnormal, the flash memory waits in a data rewriting wait state.
【請求項4】 前記フラッシュメモリはデータ書き換え
手段を備え、前記判断手段でデータが異常と判断された
ときに、外部から書き換え用データを受信してデータの
書き換えを実行することを特徴とする請求項1記載の画
像形成装置。
4. The flash memory according to claim 1, further comprising a data rewriting means, wherein when the judging means judges that the data is abnormal, the flash memory receives rewriting data from outside and rewrites the data. Item 2. The image forming apparatus according to Item 1.
【請求項5】 機能ごとに回路基板を複数備え、各回路
基板ごとにフラッシュメモリを備えた画像形成装置であ
って、 該フラッシュメモリのブート手段は、 複数の異なる型のフラッシュメモリのそれぞれに対応し
た複数のブートプログラムと、 前記複数のブートプログラムの中から、該フラッシュメ
モリに対応したものを識別して実行する機能と、 を備えたことを特徴とする画像形成装置。
5. An image forming apparatus comprising a plurality of circuit boards for each function and a flash memory for each circuit board, wherein the boot means of the flash memory corresponds to each of a plurality of different types of flash memories. An image forming apparatus comprising: a plurality of boot programs; and a function of identifying and executing a program corresponding to the flash memory from the plurality of boot programs.
【請求項6】 前記ブートプログラムは、フラッシュメ
モリのデータ領域を書き換えるためのプログラムである
ことを特徴とする請求項5記載の画像形成装置。
6. The image forming apparatus according to claim 5, wherein said boot program is a program for rewriting a data area of a flash memory.
JP35513597A 1997-12-24 1997-12-24 Picture forming device Pending JPH11184760A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35513597A JPH11184760A (en) 1997-12-24 1997-12-24 Picture forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35513597A JPH11184760A (en) 1997-12-24 1997-12-24 Picture forming device

Publications (1)

Publication Number Publication Date
JPH11184760A true JPH11184760A (en) 1999-07-09

Family

ID=18442149

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35513597A Pending JPH11184760A (en) 1997-12-24 1997-12-24 Picture forming device

Country Status (1)

Country Link
JP (1) JPH11184760A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001082305A1 (en) * 2000-04-27 2001-11-01 Ubinetics Limited Non-volatile storage method
JP2003035594A (en) * 2001-07-23 2003-02-07 Ishida Co Ltd Merchandise information processing system and information processing device
JP2008276794A (en) * 2008-06-13 2008-11-13 Toshiba Corp Portable communication terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001082305A1 (en) * 2000-04-27 2001-11-01 Ubinetics Limited Non-volatile storage method
JP2003035594A (en) * 2001-07-23 2003-02-07 Ishida Co Ltd Merchandise information processing system and information processing device
JP2008276794A (en) * 2008-06-13 2008-11-13 Toshiba Corp Portable communication terminal

Similar Documents

Publication Publication Date Title
EP1265135A2 (en) Rewriting boot areas
JPH11102029A (en) Processing equipment and updating system of its operation control information
JP2002297389A (en) Image forming device, installed program, computer readable recording medium recording installed program and installing method
JP4935107B2 (en) Information processing device
US7337312B2 (en) Processor and firmware download method for same
US7403957B2 (en) Image forming apparatus having control codes and rewrite control method for the same
JPH11184760A (en) Picture forming device
US6388763B1 (en) Method for processing a ROM image when electrical power supplied to a laser printer has been interrupted
JPH11184689A (en) Control method for image forming device and image forming device
JPH06314202A (en) Image-forming device
JP2001034822A (en) Controller for automatic vending machine
JP2001117745A (en) Multifunctional device
JP2002032238A (en) Program rewritable computer interface device for stencil printer and program rewriting method to be used for the same
JP2001256057A (en) Update method of control program for service device and service device
JP2001344156A (en) Device with flash memory and data rewriting method
JP2007213404A (en) Embedded equipment, download method, storage medium and program
JP3308920B2 (en) Information processing device
EP1403768A2 (en) Processor system, processor and arithmetic processing method
JP2007213425A (en) Electrophotographic apparatus
JPH01112424A (en) Electronic equipment
JPH05307471A (en) Electronic equipment
JP2000062294A (en) Printer
JP2011054017A (en) Controller of vending machine
JPH09160767A (en) Image forming device and its control method
JPH06219021A (en) Image forming device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050818

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050830

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051031

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060207