JP2002108477A - Method for initializing device composed of plural units provided with the same type cpu - Google Patents
Method for initializing device composed of plural units provided with the same type cpuInfo
- Publication number
- JP2002108477A JP2002108477A JP2000299349A JP2000299349A JP2002108477A JP 2002108477 A JP2002108477 A JP 2002108477A JP 2000299349 A JP2000299349 A JP 2000299349A JP 2000299349 A JP2000299349 A JP 2000299349A JP 2002108477 A JP2002108477 A JP 2002108477A
- Authority
- JP
- Japan
- Prior art keywords
- program
- cpu
- unit
- number storage
- storage unit
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000015654 memory Effects 0.000 claims abstract description 77
- 238000012545 processing Methods 0.000 claims abstract description 24
- 102000001708 Protein Isoforms Human genes 0.000 claims 1
- 108010029485 Protein Isoforms Proteins 0.000 claims 1
- 238000011423 initialization method Methods 0.000 claims 1
- 230000006378 damage Effects 0.000 abstract description 6
- 238000004891 communication Methods 0.000 description 20
- 238000010586 diagram Methods 0.000 description 16
- 230000002093 peripheral effect Effects 0.000 description 6
- 238000012795 verification Methods 0.000 description 6
- 239000000758 substrate Substances 0.000 description 5
- 238000012790 confirmation Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 3
- 238000009434 installation Methods 0.000 description 2
- 101100421857 Caenorhabditis elegans sod-2 gene Proteins 0.000 description 1
- RRLHMJHRFMHVNM-BQVXCWBNSA-N [(2s,3r,6r)-6-[5-[5-hydroxy-3-(4-hydroxyphenyl)-4-oxochromen-7-yl]oxypentoxy]-2-methyl-3,6-dihydro-2h-pyran-3-yl] acetate Chemical compound C1=C[C@@H](OC(C)=O)[C@H](C)O[C@H]1OCCCCCOC1=CC(O)=C2C(=O)C(C=3C=CC(O)=CC=3)=COC2=C1 RRLHMJHRFMHVNM-BQVXCWBNSA-N 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、実行する機械語が
同一の同型CPUを備えた複数ユニットから成る装置の
初期化方法に関し、特に、プログラムの初期書込み時や
その後の書込み時に同型CPUの内蔵メモリに誤ったプ
ログラムが書込まれて実行されるのを回避するようにし
た、同型CPUを備えた複数ユニットから成る装置の初
期化方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for initializing an apparatus composed of a plurality of units having the same type of CPU and having the same machine language to be executed. The present invention relates to a method for initializing an apparatus including a plurality of units having the same type of CPU, which prevents an erroneous program from being written to a memory and executed.
【0002】[0002]
【従来の技術】プログラムを通信によりダウンロードす
る場合には、ダウンロード時にダウンロード先のIDを
チェックして不都合があればダウンロードをしないとい
うものが一般的である。また、1つの通信ポートを用い
て、複数のCPUのプログラムをダウンロードする場合
には、どのCPUのプログラムをダウンロードするのか
という情報によりダウンロードする場所を決定している
のが通常である。2. Description of the Related Art In general, when a program is downloaded by communication, the ID of the download destination is checked at the time of downloading, and if there is any inconvenience, the program is not downloaded. Also, when downloading a program of a plurality of CPUs using one communication port, the location where the program is to be downloaded is usually determined based on information on which CPU program is to be downloaded.
【0003】ところで、従来よりプログラムを格納する
フラッシュメモリ及びデータを格納するRAMを内蔵す
るワンチップCPUが用いられているが、ワンチップC
PUの場合、外部からのデータを無条件にフラッシュメ
モリに書込むことができるものが一般的である。このよ
うなワンチップCPUの場合、例えば外部とワンチップ
CPUの基板とを通信アダプタ等を介して接続し、外部
からプログラムをダウンロードしてフラッシュメモリに
書込むようにしているが、誤ったプログラムを書込んで
しまった時の考慮がされていないのが現状である。Conventionally, a one-chip CPU having a built-in flash memory for storing a program and a RAM for storing data has been used.
In the case of a PU, generally, external data can be unconditionally written to a flash memory. In the case of such a one-chip CPU, for example, the outside and the board of the one-chip CPU are connected via a communication adapter or the like, and the program is downloaded from the outside and written into the flash memory. At present, it is not taken into account when it has been lost.
【0004】[0004]
【発明が解決しようとする課題】上述したように、ワン
チップCPUの場合、内蔵メモリへのプログラムの初期
書込みやその後の書込み時(更新時)に、外部から誤っ
たプログラムをダウンロードしてしまう危険がある。特
に、同型CPU(実行する機械語が同一のCPU)を備
えた複数ユニットから成る装置の場合、他のユニット用
のプログラムをダウンロードする危険性がある。その場
合、他のユニット用のプログラムを実行すると、動作が
正規のものと異なるタイミングで行われるので、I/O
ポートに接続されている周辺機器の部品の破壊を招くこ
とがある。このような誤ったプログラムの実行に伴うト
ラブルは、例えばあるユニットに搭載されているワンチ
ップCPU内のプログラムを書込む際に、上記のように
異なる基板用のプログラムを外部からダウンロードする
など誤ったプログラムをダウンロードした場合、或い
は、誤ったプログラムが記録されているROMを差した
場合に発生する。個々のユニットに同型CPUを備えた
複数ユニットから成る装置の場合、該当プログラムはそ
のメモリの配置が同じため暴走せずに実行されるが、I
/Oの構成が異なるために駆動部品を異なったタイミン
グで駆動してしまい、装置を破壊してしまうという不具
合が生じる。従来は、このように間違えて他のユニット
のプログラムを実行するなど、誤ったプログラムの実行
に伴う機器の破損を防止するような対策が施されていな
かった。As described above, in the case of a one-chip CPU, there is a danger that an erroneous program may be downloaded from the outside at the time of initial writing of a program into a built-in memory or subsequent writing (at the time of updating). There is. In particular, in the case of a device composed of a plurality of units having the same type of CPU (CPUs executing the same machine language), there is a risk of downloading a program for another unit. In this case, when a program for another unit is executed, the operation is performed at a timing different from that of the normal unit, so that the I / O
Peripheral components connected to the port may be destroyed. Troubles associated with the execution of such an erroneous program may be caused, for example, when writing a program in a one-chip CPU mounted on a certain unit, such as downloading a program for a different board from the outside as described above. This occurs when a program is downloaded or when a ROM in which an incorrect program is recorded is inserted. In the case of an apparatus composed of a plurality of units each having the same type CPU in each unit, the corresponding program is executed without runaway because the memory arrangement is the same.
Since the configuration of / O is different, the driving parts are driven at different timings, and there is a problem that the device is destroyed. Conventionally, no countermeasures have been taken to prevent damage to devices due to execution of an erroneous program, such as executing a program of another unit by mistake.
【0005】本発明は上述のような事情から成されたも
のであり、本発明の目的は、同型CPUを備えた複数ユ
ニットから成る装置において個々のユニットに誤ったプ
ログラムを書込んで実行した場合、特に間違えて他のユ
ニットのプログラムを書込んで実行した場合に生じる部
品の破壊を未然に防ぐことができる方法を提供すること
にある。SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an apparatus composed of a plurality of units having the same type of CPU when an erroneous program is written to each unit and executed. In particular, it is an object of the present invention to provide a method capable of preventing components from being destroyed when a program of another unit is written and executed by mistake.
【0006】[0006]
【課題を解決するための手段】本発明は、同型CPUを
備えた複数ユニットから成る装置の初期化方法に関する
ものであり、本発明の上記目的は、少なくともメモリ領
域及び一部のI/O領域のアドレスが同一に構成された
CPUを含んでおり、外部からそのプログラムを書込む
ことができる制御用電気回路基板を備えたユニットを複
数ユニット含む装置に使用されるものであって、前記制
御用電気回路基板には、CPUからは書換えることがで
きない読出ポートに他の基板とは異なって割り当てられ
ているID番号を記憶するID番号記憶部を持ち、前記
プログラムを実行するにあたり前記ID番号記憶部に記
憶しているID番号を読出し、該ID番号と前記プログ
ラムが有しているプログラム内のID番号とを比較し、
一致する場合にセンサ,アクチュエータ類を対象とした
ポートの初期化処理を実行することによって達成され
る。SUMMARY OF THE INVENTION The present invention relates to a method of initializing a device comprising a plurality of units having the same type of CPU, and an object of the present invention is to provide at least a memory area and a part of an I / O area. Is used for an apparatus including a plurality of units each including a CPU having the same address and having a control electric circuit board capable of writing the program from the outside. The electric circuit board has an ID number storage unit for storing an ID number assigned to a read port that cannot be rewritten from the CPU differently from other boards, and stores the ID number when executing the program. Reading the ID number stored in the section, comparing the ID number with the ID number in the program of the program,
This is achieved by executing port initialization processing for sensors and actuators when they match.
【0007】また、前記ID番号記憶部が前記CPUの
メモリ空間にあって、前記プログラムの書換え処理を制
御するダウンロード制御プログラムの領域にあること;
前記ID番号記憶部が前記CPUのI/O空間にあるこ
と;前記ID番号記憶部が前記CPUから直接アクセス
できない領域のメモリ空間にあること;前記ID番号記
憶部の読出しアドレスが前記CPUのメモリ空間にある
場合に前記プログラムの書換え処理を制御するダウンロ
ード制御プログラムの領域内にあるID番号とダウンロ
ードしたプログラム領域内にあるID番号とを比較する
こと;前記ID番号記憶部の読出しアドレスが前記CP
Uのメモリ空間内若しくは外部の書換え可能なメモリ空
間内にあること;によってそれぞれ一層効果的に達成さ
れる。The ID number storage section is located in a memory space of the CPU and in a region of a download control program for controlling a rewriting process of the program;
The ID number storage unit is in an I / O space of the CPU; the ID number storage unit is in a memory space of an area that cannot be directly accessed by the CPU; a read address of the ID number storage unit is a memory space of the CPU; And comparing the ID number in the area of the download control program for controlling the rewriting process of the program with the ID number in the area of the downloaded program;
In the memory space of U or in an external rewritable memory space, respectively.
【0008】さらに、前記ID番号記憶部が前記CPU
のメモリ空間及び前記CPUのI/O空間にある場合、
前記メモリ空間に記憶しているID番号と、前記I/O
空間にあるID番号と、新たに書込んだプログラム内の
ID番号とを比較し、互換性の無いプログラムがロード
されたと判断した時には前記プログラムを実行しないよ
うにすること;前記読出ポートを用いて前記ID番号記
憶部を読出すものであって、前記ID番号記憶部が前記
CPUを搭載した回路基板ではなく、ユニット本体側に
設けられていること;によってそれぞれ一層効果的に達
成される。[0008] Further, the ID number storage unit may be a CPU.
Memory space and I / O space of the CPU,
The ID number stored in the memory space and the I / O
Comparing the ID number in the space with the ID number in the newly written program and not executing the program when it is determined that an incompatible program has been loaded; using the read port The ID number storage section is read out, and the ID number storage section is provided not on the circuit board on which the CPU is mounted but on the unit main body side;
【0009】[0009]
【発明の実施の形態】本発明は、実行する機械語が同一
の同型CPUを備えた複数ユニットから成る装置に適用
され、詳しくは、各々にプログラムが必要なCPU、い
わゆる“セントラルプロセッサーユニット”又は“マイ
クロコンピュータ”と呼ばれ、特に、メモリや周辺回路
を含んだ“ワンチップマイクロコンピュータ”若しくは
“ワンチップCPU”と呼ばれるもの(以下「ワンチッ
プCPU」とし、ワンチップCPU又は単にCPUと呼
ぶ)を搭載した基板(制御用電気回路基板)を設けた複
数のユニットから構成される装置で、且つ各ユニットの
CPUが同一のもので構成される装置に適用される。そ
して、CPUのメモリ領域が同等で且つI/O(入出
力)構成が異なっている回路基板を備えたユニットを複
数具備し、CPU内のプログラムの書込みが通信データ
によるプログラム用メモリの書換え又はROMの差替え
によって成されるものに好適に適用される。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention is applied to an apparatus composed of a plurality of units having the same type of CPU and having the same machine language to be executed. More specifically, CPUs each requiring a program, a so-called "central processor unit" or What is called a "microcomputer", especially what is called a "one-chip microcomputer" or a "one-chip CPU" including a memory and a peripheral circuit (hereinafter, referred to as a "one-chip CPU" and a single-chip CPU or simply a CPU) The present invention is applied to an apparatus composed of a plurality of units provided with a board (control electric circuit board) on which the CPU is mounted, and an apparatus in which the CPU of each unit is the same. A plurality of units each including a circuit board having the same memory area of the CPU and a different I / O (input / output) configuration are provided, and the writing of the program in the CPU is performed by rewriting the program memory by the communication data or by the ROM. It is suitably applied to those made by replacing
【0010】上記のような装置において、本発明では、
例えば基板認識用のコード(以下、「ID番号」とす
る)を記憶したID番号記憶部を各ユニットの基板に設
けておき、当該ユニットのCPU内のプログラムを実行
するにあたり、上記のID番号記憶部からID情報を読
出してプログラム中のID情報と比較し、該当プログラ
ムがそのユニット用のプログラムであると判断したとき
のみ、センサ/アクチュエータ類を対象とした当該ポー
トの初期化処理を実行し、それ以外は、上記ポートの初
期化処理を実行しないようにすることで、誤ったプログ
ラムの実行に伴う部品の破壊等のトラブルが生じるのを
未然に防ぐようにしている。In the above-described apparatus, the present invention provides:
For example, an ID number storage unit storing a code for board recognition (hereinafter referred to as “ID number”) is provided on the board of each unit, and when executing a program in the CPU of the unit, the ID number storage unit is used. The ID information is read from the unit and compared with the ID information in the program. Only when it is determined that the program is a program for the unit, the port is initialized for sensors / actuators, and the port is initialized. Otherwise, by not performing the port initialization processing, it is possible to prevent troubles such as destruction of components due to execution of an incorrect program from occurring.
【0011】上記のようなポートの初期化制御は、ダウ
ンロード(上位からの通信によるダウンロード、ICメ
モリーカードから読出した当該プログラムの書込みによ
るフラッシュメモリ書換え後)若しくは、交換したRO
Mのプログラムにより起動されるプログラムにより行
い、ID情報に基づくプログラムの検証は、上記プログ
ラム若しくはコンパレータ等のハードウエアにより行
う。The port initialization control as described above is performed by downloading (after downloading by communication from a host, after rewriting the flash memory by writing the program read from the IC memory card) or by replacing the replaced RO.
M is performed by a program started by the program M, and verification of the program based on the ID information is performed by the above-described program or hardware such as a comparator.
【0012】以下、図面に基づいて本発明の好適な実施
例について詳細に説明する。なお、上記のような同型C
PUを備えた複数ユニットから成る装置として、紙幣入
金機を例として説明する。Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. The same type C as described above
A banknote deposit machine will be described as an example of an apparatus including a plurality of units each including a PU.
【0013】図1は本発明を適用した紙幣入金機の外観
構成を示し、図2はその内部構成をブロック図で示して
いる。本例での紙幣入金機10は、筐体正面に設けられ
ている取込口10aに挿入された紙幣を受け付け、繰出
部11aで筐体内に繰出して全体制御部(搬送部)16
a内の搬送手段により識別部12aへと搬送し、識別部
12aでその入金紙幣を識別して入金額を確定させ、一
時保留部14aに収納させる。この一時保留部14aに
収納させた紙幣は入金の確認の指示(上位コンピュータ
からの指示)を得ることにより、回収部15aヘ収納さ
れる。また、返却の指示がされたされた場合には一時保
留部14aから払出部13aに紙幣を搬送し、重積した
状態で返却口10bから一括返却を行うように構成され
ている。FIG. 1 shows an external configuration of a banknote deposit machine to which the present invention is applied, and FIG. 2 is a block diagram showing an internal configuration thereof. The banknote deposit machine 10 in this example receives a banknote inserted into an inlet 10a provided on the front surface of the housing, and feeds the banknote into the housing by a feeding unit 11a to control the entire control unit (transport unit) 16.
The paper is conveyed to the discriminating unit 12a by the conveying means in a, the deposited banknote is identified by the discriminating unit 12a, and the amount of money is fixed, and stored in the temporary holding unit 14a. The banknotes stored in the temporary storage unit 14a are stored in the collection unit 15a by receiving a payment confirmation instruction (an instruction from a host computer). Further, when a return instruction is given, the banknotes are transported from the temporary holding unit 14a to the payout unit 13a, and the banknotes are collectively returned from the return port 10b in a stacked state.
【0014】この紙幣入金機10は、上記のような処理
機構をブロック化して複数ユニットで装置を構成し、各
々のユニットに制御用CPUを設けている。図3は各ユ
ニットの構成例を示しており、本例での紙幣入金機は、
ワンチップCPUが搭載された基板等から成る制御部を
有する複数のユニット11〜17で構成されており、ユ
ニット名で言うと、繰出ユニット(入金繰出ユニット)
11,認識ユニット(識別部)12,払出ユニット1
3,一時保留ユニット14、金庫ユニット15,全体制
御ユニット(全体制御部,搬送部)16,及びスイッチ
ング電源等から成る電源ユニット17で構成されてい
る。The banknote deposit machine 10 comprises a plurality of units by blocking the above-described processing mechanism, and each unit is provided with a control CPU. FIG. 3 shows an example of the configuration of each unit.
It is composed of a plurality of units 11 to 17 having a control unit composed of a board or the like on which a one-chip CPU is mounted, and in terms of unit names, a payout unit (payment payout unit)
11, recognition unit (identification unit) 12, payout unit 1
3, a temporary holding unit 14, a safe unit 15, an overall control unit (overall control unit, transport unit) 16, and a power supply unit 17 including a switching power supply and the like.
【0015】ここでは、CPUが同一のものを採用(例
えば、日立製作所製のH8/300HCPUをコアに用
いた16ビットワンチップマイクロコンピュータのHD
64F3048を使用)した場合を例に説明する。該当
CPUはメモリを内蔵しており、フラッシュメモリ,R
AM,割り込みコントローラ,タイマカウンタ、SCI
(シリアル通信インターフェース),PIO(パラレル入
出力インターフェース)及びADコンバータを備えてい
る。Here, the same CPU is used (for example, an HD of a 16-bit one-chip microcomputer using an H8 / 300H CPU manufactured by Hitachi, Ltd. as a core).
64F3048) will be described as an example. The corresponding CPU has built-in memory, flash memory, R
AM, interrupt controller, timer counter, SCI
(Serial communication interface), PIO (parallel input / output interface) and AD converter.
【0016】紙幣入金機10は、同一CPUを採用する
ということから、必然的にプログラム領域、I/Oの空
間、メモリ領域は各ユニットで共通となる。そこで、プ
ログラムのダウンロードを間違えた場合には、プログラ
ムのコードはどの基板にあるCPUにも理解でき実行可
能なのでプログラムは実行できるが、I/Oポート(P
IO)の先に接続されるセンサ、アクチュエータが異な
るので、入力と出力とが入れ替わることには深刻な問題
は生じないが、アクチュエータ同志が入れ替わることに
なると駆動タイミングがでたらめとなるために不具合が
生じる。図4は、紙幣入金機の内部構造とセンサ/アク
チュエータ類の配置構成の一例で、符号“P…”はセン
サを示し、符号“M…”及び“S…”はアクチュエータ
を示しており、アクチュエータ同志が入れ替わることに
なると、例えば、紙幣の収納モータ“MG1”が回りっ
ぱなしとか、搬送モータ“MM1”が回りっぱなしにな
ってしまうとか、ソレノイド“SDM1”と“SDM
2”の切り替え位置がでたらめであるとかといった問題
が発生する。Since the banknote deposit machine 10 employs the same CPU, the program area, the I / O space, and the memory area are inevitably common to each unit. Therefore, if the program is downloaded incorrectly, the program can be executed because the program code can be understood and executed by the CPU on any board, but the I / O port (P
Since the sensor and the actuator connected before the IO) are different, there is no serious problem in switching the input and the output, but when the actuators are switched, the drive timing becomes random and a problem occurs. . FIG. 4 is an example of the internal structure of the banknote deposit machine and the arrangement of the sensors / actuators, and reference numerals "P ..." indicate sensors, and reference numerals "M ..." and "S ..." indicate actuators. When the comrades are switched, for example, the bill storage motor “MG1” keeps rotating, the transport motor “MM1” keeps rotating, or the solenoids “SDM1” and “SDM”
There is a problem that the 2 "switching position is random.
【0017】例として一時保留ユニット14と、繰出ユ
ニット11とを例に取って説明する。図5,図6はそれ
ぞれ一時保留ユニット14の構成例と繰出ユニット11
の構成例をブロック図で示しており、各ユニットに搭載
される制御用電気回路基板のI/Oポートには、図中に
示すような周辺機器が接続されると共に、通信ケーブル
(本例ではRS−232Cインターフェース)45を介
して全体制御ユニット16と接続されている。The temporary holding unit 14 and the feeding unit 11 will be described as examples. 5 and 6 show a configuration example of the temporary holding unit 14 and the feeding unit 11 respectively.
Is shown in a block diagram. A peripheral device as shown in the figure is connected to an I / O port of a control electric circuit board mounted on each unit, and a communication cable (in this example, It is connected to the overall control unit 16 via an RS-232C interface) 45.
【0018】図7,図8は、各ポートの接続状況や設定
値等を記憶するポートテーブルの構成例を示しており、
図7は一時保留ユニット14のポートテーブルPT4、
図8は繰出ユニット11のポートテーブルPT1をそれ
ぞれ示している。これらの図5〜図8に示すような構成
において、ワンチップCPUの「メモリマップ」は各ユ
ニット共通であるが、I/Oポートの利用形態はユニッ
トによって異なっている。例えば、図8中に示す繰出ユ
ニットのポート1のFFFC2H番地のビットD2は
「出力モード」に設定されているのに対し、一時保留ユ
ニットの同一番地のビットD2は「入カモード」に設定
されており、仮に一時保留ユニット14に繰出ユニット
11のプログラムがロードされた場合には周辺が入力と
なっているポートに対して出力にセットされるので、出
力同志がぶつかり合うことになり回路によっては壊れる
可能性がある。FIGS. 7 and 8 show examples of the configuration of a port table for storing the connection status of each port, setting values, and the like.
FIG. 7 shows the port table PT4 of the temporary holding unit 14,
FIG. 8 shows the port table PT1 of the feeding unit 11, respectively. In these configurations as shown in FIGS. 5 to 8, the “memory map” of the one-chip CPU is common to each unit, but the use form of the I / O port differs depending on the unit. For example, while bit D2 at address FFFC2H of port 1 of the payout unit shown in FIG. 8 is set to "output mode", bit D2 at the same address of temporary hold unit is set to "input mode". If the program of the payout unit 11 is loaded into the temporary holding unit 14, the output is set to the port whose periphery is an input, so that the outputs collide with each other and may be broken depending on the circuit. there is a possibility.
【0019】このような回路の破壊等のトラブルを回避
するため、本例では、ポートアドレスが各基板共通のI
/Oポートで、CPUからは書換えることができない読
出ポートを基板認識用の専用ポート(以下、「基板認識
ポート」と言う)とし、この基板認識ポートに、少なく
とも基板認識コード(例えば基板(本例では、ユニット
とCPUと基板とは1対1の対応)を特定するID番
号)を含むID情報を記憶したID番号記憶部を設ける
構成とし、以下に説明する処理によって上記基板認識コ
ードとプログラム内のコードに基づいてプログラムの正
当性を検証するようにしている。なお、図7及び図8の
例では、I/Oポート1とI/Oポート5を基板認識ポ
ートとし、I/Oポート5内のビットD0〜D3、I/
Oポート1内のビットD6〜D7をID情報の読出しア
ドレスとしている。In order to avoid such troubles as destruction of the circuit, in this embodiment, the port address is set to the common I / O
A read port that cannot be rewritten by the CPU in the / O port is a dedicated port for board recognition (hereinafter, referred to as a “board recognition port”), and at least a board recognition code (for example, a board (book) In the example, the unit, the CPU, and the board have a configuration in which an ID number storage unit storing ID information including an ID number that specifies a one-to-one correspondence) is provided. It verifies the correctness of the program based on the code inside. In the examples of FIGS. 7 and 8, I / O port 1 and I / O port 5 are used as board recognition ports, and bits D0 to D3, I / O
Bits D6 to D7 in O port 1 are used as a read address of ID information.
【0020】以下、本発明に係るプログラムの正当性検
証方法とI/Oポートの初期化方法について説明する。Hereinafter, a method of verifying the validity of a program and a method of initializing an I / O port according to the present invention will be described.
【0021】図9(A)及び(B)は、CPUに内蔵さ
れるフラッシュメモリの構成を示しており、フラッシュ
メモリ1のユーザプログラム領域は、フラッシュメモリ
書換え用のプログラム(以下、書込みプログラム若しく
は書換えプログラムと言う)等の基本プログラムを格納
する領域(以下「IPL部」と言う)1Aと、ユーザプ
ログラム(ミドル/アプリケーションプログラム)を格
納する書込み領域(以下「プログラム部」と言う)1B
とから構成される。CPUの基板には、この他にブート
プログラムエリア,ユーザプログラム転送エリア,リザ
ーブ領域から成るRAM5と、ブート時にRAM内にハ
ードウェア転送されるプログラムが格納されたマスクR
OM6が設けられている。初期書込み時は、IPL部1
A及びプログラム部1Bの全体の書込み、プログラム更
新時は、変更対象のプログラムを含む領域(プログラム
部1B,IPL部1A,又は両者)に書込んで更新す
る。本発明では、図9(B)に示すように、プログラム
部1Bのプログラム内、及びIPL部1Aの書換えプロ
グラム内にそれぞれID情報を設定しておき、後述する
ID番号記憶部のID情報と照合することで、プログラ
ムの正当性を検査するようにしている。FIGS. 9A and 9B show the structure of a flash memory built in the CPU. The user program area of the flash memory 1 has a flash memory rewriting program (hereinafter referred to as a write program or rewrite). Area (hereinafter, referred to as "IPL unit") 1A for storing a basic program such as a program, and a write area (hereinafter, referred to as "program unit") 1B for storing a user program (middle / application program).
It is composed of On the board of the CPU, a RAM 5 including a boot program area, a user program transfer area, and a reserve area, and a mask R storing a program to be transferred by hardware in the RAM at the time of booting.
OM6 is provided. At the time of initial writing, IPL unit 1
When writing the entire program A and the program section 1B and updating the program, the program is written and updated in the area (program section 1B, IPL section 1A, or both) containing the program to be changed. In the present invention, as shown in FIG. 9B, ID information is set in the program of the program section 1B and in the rewrite program of the IPL section 1A, respectively, and is compared with ID information in an ID number storage section described later. By doing so, the legitimacy of the program is checked.
【0022】上記フラッシュメモリ1の書換え,消去
は、CPUの動作モードを所定のモード(本例ではブー
トモード又はユーザプログラムモード)に設定すること
で可能となる。ここでは、ユーザプログラムモードに設
定してプログラムの書換えを行う場合を例として図10
のフローチャートに沿って説明する。なお、紙幣入金機
の各ユニットに搭載される各種基板に対する書換え形態
や具体的な操作手順については後述するものとし、ここ
では、フラッシュメモリの書換え時のユーザプログラム
の実行手順を説明する。Rewriting and erasing of the flash memory 1 can be performed by setting the operation mode of the CPU to a predetermined mode (a boot mode or a user program mode in this example). FIG. 10 shows an example in which the user program mode is set to rewrite a program.
Will be described along the flowchart of FIG. A rewriting mode and various operation procedures for various substrates mounted on each unit of the banknote deposit machine will be described later. Here, an execution procedure of a user program when rewriting the flash memory will be described.
【0023】フラッシュメモリの書換えを行う場合は、
先ず、CPUの動作モードをユーザプログラムモードに
設定する。この動作モードの設定はCPUのモード端子
によって設定する(ステップS1)。この状態でリセッ
トによりCPUを起動すると(ステップS2)、フラッ
シュメモリ上の書込みプログラムがCPUのRAM内部
に転送されて(ステップS3)、書込みプログラムが実
行される。なお、フラッシュメモリ内のIPL部をRA
Mに移して実行させるのはフラッシュメモリの書込みモ
ードに設定するとプログラムの読出しができなくなるた
めである(ステップS4)。そして、この書込みプログ
ラムによりフラッシュメモリの書換えを実行する。書換
え対象となるプログラムの転送元は、通信媒体又はメモ
リカード等の外部記録媒体であり、書込みプログラムで
は、当該プログラムを外部からダウンロード若しくは外
部記録媒体から転送してフラッシュメモリの書換えを行
う。When rewriting the flash memory,
First, the operation mode of the CPU is set to the user program mode. The operation mode is set by the mode terminal of the CPU (step S1). When the CPU is started by reset in this state (step S2), the write program on the flash memory is transferred to the inside of the RAM of the CPU (step S3), and the write program is executed. Note that the IPL section in the flash memory is
The reason why the program is shifted to M and executed is that if the write mode of the flash memory is set, the program cannot be read (step S4). Then, the rewriting of the flash memory is executed by the writing program. The transfer source of the program to be rewritten is an external recording medium such as a communication medium or a memory card, and the writing program downloads the program from the outside or transfers the program from the external recording medium to rewrite the flash memory.
【0024】なお、プログラムの書込み時は、書込みコ
マンドによりCPUのモードを書込みモードとし、消去
コマンドにより書込み領域(プログラム部)を消去した
後、プログラムデータを所定の分割ブロック単位でCP
Uに送信して当該CPUの書込み領域内に転送する。そ
の際、書込みプログラム等の基本プログラムが格納され
る領域(IPL部1A)も変更する場合は、例えば基本
プログラムをプログラム部1Bに転送し、IPL部1A
を消去した後にプログラム部1Bの基本プログラムをI
PL部1Aに書込み、その後にプログラム部1Bを書込
む(ステップS5)。この方法では、IPL部1Aも、
プログラム部1Bの書換えも元のIPLプログラムに依
存するが書換え可能である。この場合、IPL部のプロ
グラムはユーザの設計によるものなので、プログラムI
D、バージョンのチェックは可能である。When a program is written, the mode of the CPU is set to a write mode by a write command, and a write area (program section) is erased by an erase command.
U and transfer it to the write area of the CPU. At this time, when the area (IPL section 1A) in which the basic program such as the writing program is stored is also changed, for example, the basic program is transferred to the program section 1B and the IPL section 1A is transferred.
After erasing the basic program of the program section 1B,
The data is written into the PL unit 1A, and then the program unit 1B is written (step S5). In this method, the IPL unit 1A also
Rewriting of the program section 1B also depends on the original IPL program, but can be rewritten. In this case, since the program of the IPL unit is designed by the user, the program I
D. Version check is possible.
【0025】フラッシュメモリの書換え終了後、プログ
ラム部のユーザプログラムが起動されるが、本発明で
は、この時点でプログラムの正当性の検証処理等を実施
する(ステップS6)。なお、ブートモードに設定され
た場合は、リセット解除後に予め組込まれているブート
プログラムが起動され、所定の初期化処理が行われた
後、外部からのプログラムデータの受信が可能となり、
上記ステップS4以降の処理(全領域の書換え処理)が
実行される。このブートモードでは受信データのチェッ
クを行うことなくフラッシュメモリに順次書込みがされ
る。After the rewriting of the flash memory is completed, the user program of the program section is started. In the present invention, the program is verified at this point (step S6). If the boot mode is set, after the reset is released, a pre-installed boot program is started, and after a predetermined initialization process is performed, external program data can be received.
The processing after step S4 (rewriting processing of all areas) is executed. In this boot mode, data is sequentially written to the flash memory without checking the received data.
【0026】以下に、上記ステップS6におけるプログ
ラムの正当性の検証処理とI/Oポートの初期化処理に
ついて、図11のフローチャートの流れに沿って詳細に
説明する。なお、以下の処理は、プログラム部1Bのプ
ログラム内に組み込まれる。Hereinafter, the process of verifying the validity of the program and the process of initializing the I / O port in step S6 will be described in detail with reference to the flow chart of FIG. The following processing is incorporated in the program of the program section 1B.
【0027】フラッシュメモリの書換え後に起動された
プログラムでは、先ず、基板認識ポート(ID読出ポー
ト)のモードの初期設定(入力モード、出力モード、出
力の箇所は初期値を設定)をして(ステップS11)、
基板認識ポートを介して上記ID番号記憶部に記憶され
ている内容を読込む。この基板認識ポートのアドレスは
全ての基板とも同一アドレスが設定されており、図7,
図8の例では、CPUの内蔵ポートでアドレスFFFC
2H番地(Hは16進表記を示す符号:以下同様)のビ
ットD6,D7と、FFFCAH番地の下4ビットD0
〜D3を読出して、合計6ビットから成る基板認識コー
ドを読込む。本例では、ID番号記憶部に記憶されてい
る基板認識コードは、各基板(各ワンチップCPU)を
特定するID番号であり、例えば、紙幣繰出ユニットで
あれば“06H”が、一時保留ユニットであれば“03
H”となっている(ステップS12)。In the program started after the rewriting of the flash memory, first, the mode of the board recognition port (ID reading port) is initialized (input mode, output mode, and output location are set to the initial values) (step). S11),
The contents stored in the ID number storage section are read via the board recognition port. The address of the board recognition port is set to the same address for all the boards.
In the example of FIG. 8, the address FFFC is
Bits D6 and D7 at address 2H (H is a code indicating hexadecimal notation: the same applies hereinafter) and lower 4 bits D0 at address FFFCAH
To D3, and a board identification code consisting of a total of 6 bits is read. In this example, the board recognition code stored in the ID number storage unit is an ID number that specifies each board (each one-chip CPU). For example, in the case of a bill feeding unit, “06H” is a temporary holding unit. Then "03
H ”(step S12).
【0028】ここで、上記ID番号記憶部の設置場所と
プログラムの検証形態について説明する。図12(A)
は、ID番号記憶部の存在する場所の例を概念図で示し
ており、フラッシュメモリ1のメモリ空間のIPL部
(ユーザ作成のダウンロード制御プログラム等の書換え
プログラム領域内)1AにID番号記憶部2を設けた例
である。この場合、ID番号記憶部2のメモリアドレス
の内容2aを読出してプログラム部1Bに書込まれたプ
ログラム中の特定アドレスに設定されているID情報
(後述するプログラム種類コード)1bと比較すること
により当該プログラムの正当性を検証する。図12
(B)は、I/O空間(外部メモリ等)にID番号記憶
部2を設けた例である。この場合、基板認識ポート4を
介して読出したID番号記憶部2のID情報2aと、I
PL部1A及びプログラム部1Bの各プログラム中のI
D情報1a,1bとを比較して検証する。また、図12
(C)は、ワンチップCPUが直接アクセスすることが
できない領域のメモリ空間、例えば読出し及び書込みの
方法が通常とは異なっている領域のメモリ空間に設けた
例であり、本例ではシリアル通信のポート4aを経由し
た外部記録媒体2AにID番号記憶部2を設けた例を示
している。この場合、外部記録媒体2Aとしては、例え
ば書込みが1回のみ可能で以降は読出しオンリーとなる
“ワンタイムROM”又は“EEPROM”を使用する
のが好ましい。なお、I/Oポートに接続される外部記
憶部を基板の外に設けずに、基板上に設けるようにして
も良い。Here, the installation location of the ID number storage unit and the verification mode of the program will be described. FIG. 12 (A)
FIG. 3 is a conceptual diagram showing an example of a location where an ID number storage unit exists. An IPL unit (in a rewrite program area for a download control program created by a user) 1A in a memory space of the flash memory 1 has an ID number storage unit 2 This is an example in which is provided. In this case, the content 2a of the memory address in the ID number storage unit 2 is read and compared with ID information (program type code) 1b set at a specific address in the program written in the program unit 1B. Verify the legitimacy of the program. FIG.
(B) is an example in which an ID number storage unit 2 is provided in an I / O space (external memory or the like). In this case, the ID information 2a read out from the ID number storage unit 2 through the board
I in each program of the PL unit 1A and the program unit 1B
Verification is performed by comparing with the D information 1a and 1b. FIG.
(C) shows an example in which a memory space in an area that cannot be directly accessed by the one-chip CPU, for example, a memory space in an area where reading and writing methods are different from normal, is provided. 4 shows an example in which the ID number storage unit 2 is provided on the external recording medium 2A via the external recording medium 4a. In this case, as the external recording medium 2A, it is preferable to use, for example, a "one-time ROM" or "EEPROM", which can be written only once and thereafter becomes read-only. Note that the external storage unit connected to the I / O port may not be provided outside the board, but may be provided on the board.
【0029】図12(D)は、メモリ空間とI/O空間
の両者にID番号記憶部2を設けた例を示している。こ
の場合は、次のステップS13において、メモリ空間の
ID番号記憶部2に記憶されている内容2a’と、I/
O空間のID番号記憶部に記憶されている内容2a”
と、プログラム中のプログラム種類コード1bとをそれ
ぞれ比較して検証する。なお、比較処理は本例ではソフ
トウェアで行う形態としているが、ハードウェア(コン
パレータ)で行うようにしても良い。さらに、図12
(E)に示すように、各ユニットの基板の外部にID番
号記憶部2を設けて、コネクタケーブル5等を介して読
出すようにしてもよい。FIG. 12D shows an example in which the ID number storage unit 2 is provided in both the memory space and the I / O space. In this case, in the next step S13, the contents 2a 'stored in the ID number storage unit 2 in the memory space and the I / O
Content 2a ″ stored in ID number storage unit of O space
And the program type code 1b in the program are compared and verified. Although the comparison process is performed by software in this example, the comparison process may be performed by hardware (comparator). Further, FIG.
As shown in (E), the ID number storage unit 2 may be provided outside the board of each unit, and the ID number may be read out via the connector cable 5 or the like.
【0030】上記のID番号記憶部2をメモリ空間或い
は、外部の書換え可能なメモリ空間に設けた場合は、プ
ログラムの版数(バージョン)情報をID番号と共に記
憶しておくのが望ましい。以下に説明するステップS1
3,S14の処理においては、プログラム中の特定アド
レスに格納されている版数情報とID番号記憶部内の版
数情報とを比較し、異なる場合は、互換性の無いプログ
ラムと判断して当該プログラムを実行しないようにする
ことで、互換性の無いプログラムがロードされた時には
プログラムを実行しないようにしている。When the ID number storage unit 2 is provided in a memory space or an external rewritable memory space, it is desirable to store version information of the program together with the ID number. Step S1 described below
In the processes of S3 and S14, the version number information stored at the specific address in the program is compared with the version number information in the ID number storage unit. Is executed so that the program is not executed when an incompatible program is loaded.
【0031】続いて、ステップS13以降の処理を説明
する。上記ステップS12でのID番号記憶部の内容の
読込みに続いて、フラッシュメモリに書込まれたプログ
ラム内のプログラム種類コード(ID番号,バージョン
情報)を読込む。このプログラム種類コードは、プログ
ラム中の一定アドレスに格納されており、複数のプログ
ラムが存在する場合は、各プログラム中のプログラム種
類コードを全て読込む(ステップS13)。そして、I
D番号記憶部に記憶されている内容と、全てのプログラ
ム種類コードとを比較し、全プログラムが現在の基板で
動作可能か否かを検証する。本例では、ID番号及びバ
ージョン情報が全て一致する場合に動作可能と判定する
ようにしている(ステップS14,S15)。全プログ
ラムが現在の基板で動作可能と判定した場合は、センサ
/アクチュエータ類を対象としたI/Oポートの初期化
処理を実行し(ステップ16)、通常の処理を続行す
る。Next, the processing after step S13 will be described. Subsequent to reading the contents of the ID number storage unit in step S12, the program type code (ID number, version information) in the program written in the flash memory is read. This program type code is stored at a fixed address in the program, and when there are a plurality of programs, all the program type codes in each program are read (step S13). And I
The contents stored in the D number storage unit are compared with all the program type codes, and it is verified whether or not all the programs can operate on the current board. In this example, when all ID numbers and version information match, it is determined that operation is possible (steps S14 and S15). If it is determined that all the programs can operate on the current board, initialization processing of I / O ports for sensors / actuators is executed (step 16), and normal processing is continued.
【0032】これ以降の処理は従来と同様であり、例え
ば、当該ポートに接続されている機器のリセット動作,
各センサのチェック等による動作確認を行い、異常が無
ければ待機状態とする(ステップ17)。上記ステップ
S16において、いずれかのプログラム種類コードが基
板認識コードとは異なる場合、すなわち、現在の基板で
動作不能と判定した場合は、センサ/アクチュエータ類
のI/Oポートの初期化処理をせずに、例えば全体制御
ユニットのエラー処理部を介して外部コンピュータ側で
エラー表示するなど、所定のエラー処理を行い(ステッ
プ18)、プログラムを停止する(ステップ19)。な
お、上記ステップS11〜S19の処理は、プログラム
書換え時以外の動作確認時にも実施される。例えば、紙
幣入金機の場合は、紙幣入金機のパワーオン時に、選択
されたCPUの動作モードに従って上記処理が実行され
る。The subsequent processing is the same as the conventional processing. For example, the reset operation of the device connected to the port,
The operation is confirmed by checking each sensor and the like, and if there is no abnormality, a standby state is set (step 17). In step S16, if any one of the program type codes is different from the board recognition code, that is, if it is determined that the current board cannot operate, the initialization processing of the I / O ports of the sensors / actuators is not performed. Next, predetermined error processing such as displaying an error on the external computer side via the error processing unit of the overall control unit is performed (step 18), and the program is stopped (step 19). Note that the processing of steps S11 to S19 is also performed at the time of operation confirmation other than at the time of program rewriting. For example, in the case of a banknote deposit machine, when the banknote deposit machine is powered on, the above processing is executed in accordance with the operation mode of the selected CPU.
【0033】次に、紙幣入金機の各ユニットに搭載され
る各種基板に対する書換え形態と、具体的な操作手順に
ついて説明する。Next, a description will be given of a form of rewriting various substrates mounted on each unit of the banknote deposit machine and a specific operation procedure.
【0034】各種基板に対する書換え形態としては、大
別すると次の(a),(b)に示す形態がある。 (a)外部コンピュータから通信によりダウンロードし
て書換える形態 この形態は、外部コンピュータ(本例ではPC:パーソ
ナルコンピュータ)から通信により該当プログラムをダ
ウンロードして書換える形態であり、主に、工場で基板
の実装組立が完了した時点で行うものである。すなわ
ち、この形態(a)によってフラッシュメモリへのプロ
グラム初期書込みを行い、後に行うプログラムの書込み
は通常は次に示す(b)の形態で行うことになる。形態
(a)では、PCと基板とを通信媒体(例えばRS−2
32Cケーブル)を介して通信により1対1で接続し、
書換え対象のCPUの選択メニューをPC側で表示し、
選択されたCPUのIPL部とプログラム部のプログラ
ムをフロッピ−(登録商標)ディスク等の記録媒体から
読込み、PCから紙幣入金機側にダウンロードして基板
単体に書込む。この場合、本体制御基板と接続し、本体
制御基板経由で他の基板に当該プログラムを転送して各
基板のフラッシュメモリに書込むようにしても良い。Rewriting modes for various substrates are roughly classified into the following modes (a) and (b). (A) Mode of downloading and rewriting by communication from an external computer This mode is a mode of downloading and rewriting the relevant program by communication from an external computer (in this example, PC: personal computer). At the time when the mounting and assembly of the above are completed. That is, in this mode (a), the initial program writing to the flash memory is performed, and the program writing to be performed later is normally performed in the following mode (b). In the mode (a), the PC and the board are connected to a communication medium (for example, RS-2).
32C cable) and connect one-to-one by communication,
The selection menu of the CPU to be rewritten is displayed on the PC side,
The program of the IPL unit and the program unit of the selected CPU is read from a recording medium such as a floppy (registered trademark) disk, downloaded from the PC to the banknote deposit machine side, and written on the substrate alone. In this case, the program may be connected to the main body control board, transferred to another board via the main body control board, and written into the flash memory of each board.
【0035】(b)メモリカードを基板に装填して書換
える形態 この形態は、メモリカードから該当プログラムをCPU
のメモリに転送して書換える形態であり、IPL部を書
換えることも可能であるが、主に装置搬入後の現地での
プログラム部のバージョンアップ時に使用する。 (b−1)本体制御基板の書換え 本体の全体制御ユニット16に搭載されている本体制御
基板の場合、メモリカード1を本体制御基板に装填し
て、本体制御基板のCPUのフラッシュメモリを書換え
る。 (b−2)本体制御基板以外の各種基板の書換え 本体基板以外の基板は、メモリカードを本体制御基板に
装填して本体制御基板から各種基板にダウンロードす
る。例えば紙幣入金機のパネル操作で基板を選択し、本
体制御基板のCPUでメモリカードの当該データ(IP
L部又はプログラム部)を該当のCPUのメモリに転送
して書換える。(B) A form in which a memory card is loaded on a substrate and rewritten In this form, a corresponding program is read from a memory card by a CPU.
It is possible to rewrite the IPL part by transferring it to the memory of the PC, and it is possible to rewrite the IPL part. (B-1) Rewriting of Main Body Control Board In the case of the main body control board mounted on the overall control unit 16 of the main body, the memory card 1 is loaded on the main body control board, and the flash memory of the CPU of the main body control board is rewritten. . (B-2) Rewriting of various boards other than the main control board For the boards other than the main board, a memory card is loaded on the main control board and downloaded from the main control board to various boards. For example, a board is selected by a panel operation of the banknote deposit machine, and the data of the memory card (IP
(L part or program part) is transferred to the memory of the corresponding CPU and rewritten.
【0036】次に、前記(a)の形態、すなわち外部コ
ンピュータから通信によりダウンロードして該当のCP
Uのプログラムを書換える形態(以下、第1の書換え形
態と言う)と、前記(b)の形態、すなわち基板に装填
可能な外部記録媒体(本例ではメモリカード)を全体制
御ユニットの制御基板に装填して各CPUのプログラム
を書換える形態(以下、第2の書換え形態と言う)につ
いて、それぞれ書換え時の操作手順の具体例を示して全
体の流れを説明する。以下、貨幣処理システムに適用し
た場合を例として説明する。Next, in the form of the above (a), that is, by downloading from the external computer by communication and
The program for U is rewritten (hereinafter referred to as a first rewriting mode) and the mode (b), that is, an external recording medium (a memory card in this example) which can be loaded on the board is used as a control board of the overall control unit. In the form of rewriting the program of each CPU by loading the CPU (hereinafter, referred to as a second rewriting form), the entire flow will be described by showing a specific example of an operation procedure at the time of rewriting. Hereinafter, a case where the present invention is applied to a money handling system will be described as an example.
【0037】図13は、貨幣処理システムの構成の一例
を示しており、例えば銀行の窓口などで使用されるテラ
ーズマシンに適用される。この貨幣処理システムは、紙
幣入金機10と紙幣出金機20とが紙幣処理機の筐体内
に設けられ、筐体の正面には、扉開閉インターロックス
イッチにより開閉される扉が設けられている。上記紙幣
入金機10と紙幣出金機20、及び硬貨処理機30は、
それぞれ通信ケーブル45を介して上位PC(外部コン
ピュータ)40と接続され、上位PC40には、CRT
41,キーボード42,プリンタ43,通信I/F装置
44等の周辺機器が接続されている。FIG. 13 shows an example of the structure of a money handling system, which is applied to, for example, a teller's machine used at a teller of a bank. In this money handling system, the banknote deposit machine 10 and the banknote dispensing machine 20 are provided in a housing of the banknote handling machine, and a door that is opened and closed by a door opening / closing interlock switch is provided on the front of the housing. . The bill receiving machine 10, the bill dispensing machine 20, and the coin processing machine 30,
Each is connected to a host PC (external computer) 40 via a communication cable 45, and a CRT is connected to the host PC 40.
Peripheral devices such as 41, a keyboard 42, a printer 43, and a communication I / F device 44 are connected.
【0038】このような構成において、第1の書換え形
態におけるプログラム書換え手順を、図14のフローチ
ャートの流れに沿って説明する。ここでは、各装置のう
ち、紙幣入金機10を例として、基板の工場内での実装
組立が完了した直後の作業手順について説明する。In such a configuration, a program rewriting procedure in the first rewriting mode will be described with reference to the flow chart of FIG. Here, the work procedure immediately after the mounting and assembling of the board in the factory will be described, taking the banknote deposit machine 10 as an example among the apparatuses.
【0039】先ず、図15に示すように、上位PC40
と各制御基板(10A〜16Aのうちの1枚)とを通信
アダプタ45aを介して接続し、ブートモードに設定し
た後(ステップS21)、接続した制御基板をパワーオ
ンする(ステップS22)。次に、上位PC40側のC
RT41に表示される図16に示すようなプログラム選
択メニューの中から、書換え対象のCPUを選択する。
書換え対象のCPU,すなわちプログラムが選択される
と(ステップS23)、上位PC40ではFD等の記憶
媒体から当該プログラムを読込んでそのプログラム名と
版数(バージョン)をCRT41に表示した後、前述の
プログラム書換え手順により上位PC40から当該プロ
グラムをCPUのメモリに転送し、当該メモリ(IPL
部,プログラム部)への書込みを行う(ステップS2
4)。First, as shown in FIG.
And each of the control boards (one of 10A to 16A) is connected via the communication adapter 45a to set the boot mode (step S21), and then power on the connected control board (step S22). Next, C on the upper PC 40 side
The CPU to be rewritten is selected from the program selection menu displayed on the RT 41 as shown in FIG.
When a CPU to be rewritten, that is, a program is selected (step S23), the host PC 40 reads the program from a storage medium such as an FD, displays the program name and version number (version) on the CRT 41, and then executes the program The program is transferred from the host PC 40 to the memory of the CPU by the rewriting procedure, and the memory (IPL
(Program section) and program section (step S2).
4).
【0040】そして、フラッシュメモリへの書込みが完
了した基板を紙幣入金機10の当該ユニットに実装し
(ステップS25,S26)、動作確認を行う。この動
作確認では当該ユニットに接続される周辺機器の動作確
認が行われるが、その前の時点で前述の正当性の検証処
理とI/Oポートの初期化処理が実行される。すなわ
ち、フラッシュメモリ1のIPL部及びプログラム部の
各プログラム内のID番号(及びバージョン情報)と、
ID番号記憶部2のID番号(及びバージョン情報)と
が照合され、正当と判断されたのであれば、前述のI/
Oポートの初期化処理に続いて動作確認が実行されるよ
うにしている。そして、動作確認がOKであれば、処理
を終了して待機状態とする(ステップS27)。Then, the board whose writing to the flash memory is completed is mounted on the relevant unit of the banknote deposit machine 10 (steps S25 and S26), and the operation is confirmed. In this operation check, the operation of the peripheral device connected to the unit is checked. Before that, the above-described validity verification processing and I / O port initialization processing are executed. That is, an ID number (and version information) in each program of the IPL unit and the program unit of the flash memory 1,
The ID number (and version information) in the ID number storage unit 2 is collated, and if the ID number is determined to be valid, the above-described I / O
An operation check is performed following the initialization processing of the O port. Then, if the operation check is OK, the process is terminated and a standby state is set (step S27).
【0041】次に、第2の書換え形態におけるプログラ
ム書換え手順を、図17のフローチャートの流れに沿っ
て説明する。Next, a program rewriting procedure in the second rewriting mode will be described with reference to the flow chart of FIG.
【0042】第2の書換え形態は、メモリカード等のプ
ログラムを記録した外部記録媒体を本体制御基板16A
に装着し、外部記録媒体から各CPUのプログラムを本
体制御基板16Aから転送して各CPUのプログラムを
書換える形態であり、以下、基板に装填可能なメモリカ
ードを用いた場合を例として説明する。In the second rewriting mode, an external recording medium on which a program such as a memory card is recorded is stored in the main control board 16A.
In this embodiment, the program of each CPU is transferred from an external recording medium from the main control board 16A and the program of each CPU is rewritten. Hereinafter, a case where a memory card that can be mounted on the board is used will be described as an example. .
【0043】図18は、各CPUのプログラムを記録し
たメモリカードのメモリマップを示しており、紙幣入金
機の各ユニットに対応して当該プログラムが配置された
構成となっている。この例では、メモリカード3には、
紙幣入金機10を構成する本体(全体制御ユニット)1
6,繰出ユニット11,リサイクル(一時保留)ユニッ
ト14,回収(金庫)ユニット15,及び払出ユニット
13の順に各CPUのプログラムが格納されており、各
プログラム中には前述のプログラム種類コード(ID番
号,バージョン情報)が記録されている。FIG. 18 shows a memory map of a memory card in which a program of each CPU is recorded, and the program is arranged corresponding to each unit of the banknote deposit machine. In this example, the memory card 3 includes
Main body (overall control unit) 1 of banknote deposit machine 10
6, a payout unit 11, a recycle (temporary hold) unit 14, a collection (safe) unit 15, and a payout unit 13 are stored in the order of CPU programs. , Version information) are recorded.
【0044】先ず、上記のような各CPUのプログラム
が書込まれたメモリカード3を、紙幣入金機本体の制御
基板のソケットに差し込んで装着した後(ステップS3
1,S32)、紙幣入金機本体の電源を投入する(ステ
ップS33)。次に、紙幣入金機10の操作パネルを操
作して書換えた対象のユニット(CPU)を選択する
(ステップS34)。全体制御ユニット16のCPUで
は、選択された書換え対象のプログラム名とその版数
(バージョン)を表示して確認を促す(ステップS3
5)。確認OKであれば、前述のプログラム書換え手順
によりメモリカードから当該プログラムをCPUのメモ
リに転送し、旧プログラムを消去して新プログラムの当
該メモリ(IPL部又はプログラム部)への書込みを行
う。First, the memory card 3 into which the programs of the respective CPUs are written as described above is inserted into the socket of the control board of the banknote deposit machine main body and mounted (step S3).
1, S32), the power of the banknote deposit machine main body is turned on (step S33). Next, the operation panel of the banknote deposit machine 10 is operated to select the rewritten target unit (CPU) (step S34). The CPU of the overall control unit 16 displays the name of the selected program to be rewritten and its version number (version) to prompt confirmation (step S3).
5). If the confirmation is OK, the program is transferred from the memory card to the memory of the CPU by the above-described program rewriting procedure, the old program is erased, and the new program is written in the memory (the IPL unit or the program unit).
【0045】その際、本体基板以外の基板は、本体制御
基板のCPUの制御により各種基板のCPU内のフラッ
シュメモリにダウンロードする(ステップS36)。そ
して、フラッシュメモリの書換え完了後、前述の正当性
の検証処理を実行し(ステップS37)、正常であれば
センサ/アクチュエータ類を対象としたI/Oポートの
初期化処理を実行し(ステップS38)、周辺機器の動
作確認を行う(ステップS39)。そして、正常であれ
ば紙幣入金機本体の電源をオフしてメモリカードを抜取
り(S40,S41)、プログラムの書込み作業を終了
する。上記ステップS37で書換え後のプログラムが誤
っている場合は、エラー表示が表示されるので、その表
示内容等により原因(メモリカードの内容の誤り、基板
への装填ミス等)を追求し、判明して対処したのであれ
ば、ステップS31から再度実施する。なお、フラッシ
ュメモリのIPL部1Aに格納されている書換えプログ
ラム(IPL部)の書込みを行う場合でも上記と同様の
流れとなる。At this time, the boards other than the main board are downloaded to the flash memories in the CPUs of the various boards under the control of the CPU of the main control board (step S36). Then, after the rewriting of the flash memory is completed, the above-described validity verification processing is executed (step S37), and if normal, the I / O port initialization processing for the sensors / actuators is executed (step S38). The operation of the peripheral device is confirmed (step S39). If it is normal, the power of the banknote deposit machine body is turned off, the memory card is removed (S40, S41), and the program writing operation ends. If the rewritten program is erroneous in step S37, an error message is displayed. The cause (error of memory card content, improper loading of the board, etc.) is pursued based on the displayed content, and the result is determined. If the countermeasure has been taken, the process is executed again from step S31. Note that the same flow as described above is performed when writing a rewrite program (IPL unit) stored in the IPL unit 1A of the flash memory.
【0046】上述した実施の形態では、紙幣入金機を例
として説明したが、同型CPUを備えた複数ユニットか
ら成る装置であれば本発明を適用することができる。な
お、フラッシュメモリを例として説明したが、書換え可
能なフラッシュメモリを使わず従来のROMを用いる場
合には、ユーザプログラム内のIDと外部ボートのID
との一致を見ることにより、誤まって他のCPU用のR
OMを差した場合でも部品の破損を招くことなく対処で
きる。In the above-described embodiment, a bill receiving machine has been described as an example. However, the present invention can be applied to a device including a plurality of units having the same type CPU. Although the flash memory has been described as an example, when a conventional ROM is used without using a rewritable flash memory, the ID in the user program and the ID of the external boat are used.
By looking at the match with
Even when the OM is inserted, it can be dealt with without causing damage to the parts.
【0047】[0047]
【発明の効果】以上に説明したように本発明によれば、
実行する機械語が同一の同型CPUが搭載されるユニッ
トを複数備えた装置において、個々のユニットのプログ
ラムを書換えた場合で、特に、間違えて他のユニットの
プログラムで書換えてしまった場合に、書換えたプログ
ラムの実行前に間違えを検出してI/Oポートのモード
セット等の初期化を行わないようにしたので、機器の損
傷を防止することができる。さらに、I/Oポートに接
続される外部記憶部を基板の外に設け、ID番号記憶部
が基板の取替えに関係無くIDの設定が保持されるもの
であれば、基板の交換が有ってプログラムの変更を忘れ
ていても当該ユニットの破損を防止することができる。As described above, according to the present invention,
In a device equipped with a plurality of units equipped with the same type of CPU with the same machine language to be executed, when the program of each unit is rewritten, especially when the program is mistakenly rewritten by the program of another unit Since the error is detected before the execution of the program and initialization of the mode setting of the I / O port is not performed, damage to the device can be prevented. Further, if an external storage unit connected to the I / O port is provided outside the board and the ID number storage unit retains the ID setting regardless of the replacement of the board, the board may be replaced. Even if the user forgets to change the program, it is possible to prevent the unit from being damaged.
【図1】本発明を適用した紙幣入金機の外観構成の一例
を示す斜視図である。FIG. 1 is a perspective view showing an example of an external configuration of a banknote deposit machine to which the present invention is applied.
【図2】紙幣入金機の内部構成の一例を示すブロック図
である。FIG. 2 is a block diagram showing an example of an internal configuration of the banknote deposit machine.
【図3】紙幣入金機のユニット構成の一例を示すブロッ
ク図である。FIG. 3 is a block diagram illustrating an example of a unit configuration of the banknote deposit machine.
【図4】紙幣入金機の内部構造とセンサ/アクチュエー
タ類の配置構成の一例を示す構造図である。FIG. 4 is a structural diagram showing an example of the internal structure of the banknote deposit machine and the arrangement of sensors / actuators.
【図5】一時保留ユニットの構成例を示すブロック図で
ある。FIG. 5 is a block diagram illustrating a configuration example of a temporary holding unit.
【図6】繰出ユニットの構成例を示すブロック図であ
る。FIG. 6 is a block diagram illustrating a configuration example of a feeding unit.
【図7】一時保留ユニットのポートテーブルの構成例を
示す図である。FIG. 7 is a diagram illustrating a configuration example of a port table of a temporary holding unit;
【図8】繰出ユニットのポートテーブルの構成例を示す
図である。FIG. 8 is a diagram illustrating a configuration example of a port table of a feeding unit.
【図9】CPUに内蔵されるフラッシュメモリの構成を
示す図である。FIG. 9 is a diagram showing a configuration of a flash memory built in a CPU.
【図10】フラッシュメモリの書換え時の実行手順を説
明するためのフローチャートである。FIG. 10 is a flowchart illustrating an execution procedure at the time of rewriting the flash memory.
【図11】本発明に係るプログラムの正当性の検証処理
とI/Oポートの初期化処理を説明するためのフローチ
ャートである。FIG. 11 is a flowchart for explaining a program validity verification process and an I / O port initialization process according to the present invention.
【図12】本発明に係るID番号記憶部の設置場所を示
す模式図である。FIG. 12 is a schematic diagram showing an installation location of an ID number storage unit according to the present invention.
【図13】本発明を適用した貨幣処理システムの構成の
一例を示すブロック図である。FIG. 13 is a block diagram illustrating an example of a configuration of a money handling system to which the present invention has been applied.
【図14】本発明に係る第1の書換え形態におけるプロ
グラム書換え手順を説明するためのフローチャートであ
る。FIG. 14 is a flowchart for explaining a program rewriting procedure in the first rewriting mode according to the present invention.
【図15】上位PCと紙幣出金機側の本体制御基板との
接続形態を示す模式図である。FIG. 15 is a schematic diagram showing a connection form between a host PC and a main body control board on the bill dispensing machine side.
【図16】書換え対象の選択画面の一例を示す図であ
る。FIG. 16 is a diagram illustrating an example of a rewriting target selection screen.
【図17】本発明に係る第2の書換え形態におけるプロ
グラム書換え手順を説明するためのフローチャートであ
る。FIG. 17 is a flowchart for explaining a program rewriting procedure in a second rewriting mode according to the present invention.
【図18】本発明に係るメモリカードのメモリマップを
示す図である。FIG. 18 is a diagram showing a memory map of the memory card according to the present invention.
1 フラッシュメモリ 1A IPL部 1a ID情報 1B プログラム部 1b ID情報 2 ID番号記憶部 2A 外部記録媒体 2a ID情報 2a’ ID情報 2a” ID情報 3 メモリカード 4 基板認識ポート 4a シリアル通信ポート 5 RAM 6 マスクROM 10 紙幣入金機 10a 取込口 10b 返却口 11 繰出ユニット 11a 繰出部 12 認識ユニット 12a 識別部 13 払出ユニット 13a 払出部 14 一時保留ユニット 14a 一時保留部 15 金庫ユニット 15a 回収部 16 全体制御ユニット(全体制御部,搬送部) 16A 本体制御基板 17 電源ユニット 20 紙幣出金機 30 紙幣処理機 40 上位PC 41 CRT 42 キーボード 43 プリンタ 44 通信I/F装置 45 通信ケーブル 45a 通信アダプタ PT1 繰出ユニットのポートテーブル PT4 一時保留ユニットのポートテーブル DESCRIPTION OF SYMBOLS 1 Flash memory 1A IPL part 1a ID information 1B Program part 1b ID information 2 ID number storage part 2A External recording medium 2a ID information 2a 'ID information 2a "ID information 3 Memory card 4 Board recognition port 4a Serial communication port 5 RAM 6 Mask ROM 10 Banknote deposit machine 10a Inlet 10b Return port 11 Feeding unit 11a Feeding unit 12 Recognition unit 12a Identification unit 13 Payout unit 13a Payout unit 14 Temporary holding unit 14a Temporary holding unit 15 Safe unit 15a Collection unit 16 Overall control unit (overall) 16A main body control board 17 power supply unit 20 banknote dispenser 30 banknote processor 40 host PC 41 CRT 42 keyboard 43 printer 44 communication I / F device 45 communication cable 45a communication adapter PT1 Port table of the port table PT4 temporary holding unit of the outgoing unit
Claims (8)
領域のアドレスが同一に構成されたCPUを含んでお
り、外部からそのプログラムを書込むことができる制御
用電気回路基板を備えたユニットを複数ユニット含む装
置に使用されるものであって、 前記制御用電気回路基板には、CPUからは書換えるこ
とができない読出ポートに他の基板とは異なって割り当
てられているID番号を記憶するID番号記憶部を持
ち、 前記プログラムを実行するにあたり前記ID番号記憶部
に記憶しているID番号を読出し、該ID番号と前記プ
ログラムが有しているプログラム内のID番号とを比較
し、一致する場合にセンサ,アクチュエータ類を対象と
したポートの初期化処理を実行することを特徴とする同
型CPUを備えた複数ユニットから成る装置の初期化方
法。1. At least a memory area and a part of I / O
The apparatus is used in an apparatus including a plurality of units each including a CPU having a region having the same address and having a control electric circuit board capable of writing the program from outside, and The electric circuit board for use has an ID number storage unit for storing an ID number assigned differently from other boards to a read port that cannot be rewritten from the CPU. The ID number stored in the storage unit is read out, the ID number is compared with the ID number in the program of the program, and when the ID numbers match, port initialization processing for sensors and actuators is performed. A method for initializing a device comprising a plurality of units having the same type CPU.
リ空間にあって、前記プログラムの書換え処理を制御す
るダウンロード制御プログラムの領域にあることを特徴
とする請求項1に記載の同型CPUを備えた複数ユニッ
トから成る装置の初期化方法。2. The CPU according to claim 1, wherein the ID number storage unit is located in a memory space of the CPU and in a region of a download control program for controlling a rewriting process of the program. Initialization method for a device composed of a plurality of units.
O空間にあることを特徴とする請求項1に記載の同型C
PUを備えた複数ユニットから成る装置の初期化方法。3. The method according to claim 1, wherein the ID number storage unit stores an I / O number of the CPU.
2. The isomorph C according to claim 1, wherein the isoform C is located in an O space.
A method for initializing an apparatus composed of a plurality of units having a PU.
接アクセスできない領域のメモリ空間にあることを特徴
とする請求項1に記載の同型CPUを備えた複数ユニッ
トから成る装置の初期化方法。4. The method according to claim 1, wherein the ID number storage unit is located in a memory space of an area that cannot be directly accessed from the CPU.
前記CPUのメモリ空間にある場合に前記プログラムの
書換え処理を制御するダウンロード制御プログラムの領
域内にあるID番号とダウンロードしたプログラム領域
内にあるID番号とを比較するようになっている請求項
1に記載の同型CPUを備えた複数ユニットから成る装
置の初期化方法。5. An ID number in a download control program area for controlling a rewriting process of the program when a read address of the ID number storage section is in a memory space of the CPU, and an ID in a downloaded program area. 2. The method for initializing an apparatus comprising a plurality of units having the same type of CPU according to claim 1, wherein the apparatus is adapted to compare numbers.
前記CPUのメモリ空間内若しくは外部の書換え可能な
メモリ空間内にある請求項1に記載の同型CPUを備え
た複数ユニットから成る装置の初期化方法。6. The apparatus according to claim 1, wherein the read address of the ID number storage unit is in a memory space of the CPU or in an external rewritable memory space. Method.
リ空間及び前記CPUのI/O空間にある場合、前記メ
モリ空間に記憶しているID番号と、前記I/O空間に
あるID番号と、新たに書込んだプログラム内のID番
号とを比較し、互換性の無いプログラムがロードされた
と判断した時には前記プログラムを実行しないようにな
っている請求項1に記載の同型CPUを備えた複数ユニ
ットから成る装置の初期化方法。7. When the ID number storage unit is located in a memory space of the CPU and an I / O space of the CPU, an ID number stored in the memory space and an ID number located in the I / O space are stored. A plurality of identical type CPUs according to claim 1, wherein the program is not executed when it is determined that an incompatible program has been loaded by comparing the ID number in the newly written program with the ID number. A method for initializing a device consisting of units.
憶部を読出すものであって、前記ID番号記憶部が前記
CPUを搭載した回路基板ではなく、ユニット本体側に
設けられていることを特徴とする請求項1に記載の同型
CPUを備えた複数ユニットから成る装置の初期化方
法。8. An apparatus for reading the ID number storage section using the read port, wherein the ID number storage section is provided not on a circuit board on which the CPU is mounted but on a unit body side. A method for initializing an apparatus comprising a plurality of units, comprising the same type CPU according to claim 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000299349A JP3945616B2 (en) | 2000-09-29 | 2000-09-29 | Method for initializing banknote handling machine comprising a plurality of units having same type CPU |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000299349A JP3945616B2 (en) | 2000-09-29 | 2000-09-29 | Method for initializing banknote handling machine comprising a plurality of units having same type CPU |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2002108477A true JP2002108477A (en) | 2002-04-10 |
| JP3945616B2 JP3945616B2 (en) | 2007-07-18 |
Family
ID=18781166
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000299349A Expired - Fee Related JP3945616B2 (en) | 2000-09-29 | 2000-09-29 | Method for initializing banknote handling machine comprising a plurality of units having same type CPU |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3945616B2 (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007249748A (en) * | 2006-03-17 | 2007-09-27 | Fujitsu Access Ltd | Network equipment with version management function |
| JP2009301571A (en) * | 2009-08-21 | 2009-12-24 | Panasonic Corp | Semiconductor device and boot method therefor |
| JP2010124134A (en) * | 2008-11-18 | 2010-06-03 | Fuji Xerox Co Ltd | Image forming device and program |
| US7831841B2 (en) | 2002-09-04 | 2010-11-09 | Panasonic Corporation | Semiconductor device including encryption section, semiconductor device including external interface, and content reproduction method |
| JP2015044291A (en) * | 2013-08-27 | 2015-03-12 | セイコーエプソン株式会社 | Printing apparatus, printing apparatus control method, and program |
| US11004295B2 (en) | 2017-02-16 | 2021-05-11 | Fujitsu Frontech Limited | Paper sheet handling apparatus and communication method of paper sheet handling apparatus |
| WO2023228673A1 (en) * | 2022-05-25 | 2023-11-30 | グローリー株式会社 | Currency processing device, currency processing system, and method for manufacturing currency processing device |
-
2000
- 2000-09-29 JP JP2000299349A patent/JP3945616B2/en not_active Expired - Fee Related
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7831841B2 (en) | 2002-09-04 | 2010-11-09 | Panasonic Corporation | Semiconductor device including encryption section, semiconductor device including external interface, and content reproduction method |
| US8122262B2 (en) | 2002-09-04 | 2012-02-21 | Panasonic Corporation | Semiconductor device including encryption section, semiconductor device including external interface, and content reproduction method |
| US8407488B2 (en) | 2002-09-04 | 2013-03-26 | Panasonic Corporation | Semiconductor device including encryption section, semiconductor device including external interface, and content reproduction method |
| US8719595B2 (en) | 2002-09-04 | 2014-05-06 | Panasonic Corporation | Semiconductor device including encryption section, semiconductor device including external interface, and content reproduction method |
| US9208356B2 (en) | 2002-09-04 | 2015-12-08 | Panasonic Corporation | Semiconductor device including encryption section, semiconductor device including external interface, and content reproduction method |
| JP2007249748A (en) * | 2006-03-17 | 2007-09-27 | Fujitsu Access Ltd | Network equipment with version management function |
| JP2010124134A (en) * | 2008-11-18 | 2010-06-03 | Fuji Xerox Co Ltd | Image forming device and program |
| JP2009301571A (en) * | 2009-08-21 | 2009-12-24 | Panasonic Corp | Semiconductor device and boot method therefor |
| JP2015044291A (en) * | 2013-08-27 | 2015-03-12 | セイコーエプソン株式会社 | Printing apparatus, printing apparatus control method, and program |
| US11004295B2 (en) | 2017-02-16 | 2021-05-11 | Fujitsu Frontech Limited | Paper sheet handling apparatus and communication method of paper sheet handling apparatus |
| WO2023228673A1 (en) * | 2022-05-25 | 2023-11-30 | グローリー株式会社 | Currency processing device, currency processing system, and method for manufacturing currency processing device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3945616B2 (en) | 2007-07-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6503147B1 (en) | Standard peripheral communication | |
| US6834384B2 (en) | Methods and apparatus for upgrading firmware in an embedded system | |
| US7313682B2 (en) | Method and system for updating boot memory that stores a fail-safe reset code and is configured to store boot code and boot updater code | |
| US20100058314A1 (en) | Computer System and Related Method of Logging BIOS Update Operation | |
| US7558949B2 (en) | Data processing apparatus and control method for verifying that version codes in selected boot sector and main sector match | |
| US5933595A (en) | Computer apparatus having electrically rewritable nonvolatile memory, and nonvolatile semiconductor memory | |
| JPH08235028A (en) | Data management method for flash memory card and data processing apparatus using the data management method | |
| EP0788115B1 (en) | Electronic apparatus including a memory device and method of reprogramming the memory device | |
| JPH04315253A (en) | Electronics | |
| JP3945616B2 (en) | Method for initializing banknote handling machine comprising a plurality of units having same type CPU | |
| JP3093541B2 (en) | Terminal device and online system for managing version numbers of programs and data | |
| EP1749265A1 (en) | Method and device for determining flash software compatibility with hardware | |
| US6736325B1 (en) | Codelets | |
| CN116578324A (en) | Multi-board FPGA upgrading method, system and storage medium based on ATE equipment | |
| JP2000231648A (en) | Program update method for paper money recognition machine | |
| US7299315B2 (en) | Control device including connecting device for rewriting memory region | |
| JP2003022425A (en) | IC card self-diagnosis device and diagnosis method | |
| JP3936176B2 (en) | Game machine | |
| JP3750494B2 (en) | Semiconductor device | |
| JP4440908B2 (en) | Game machine | |
| JP2001117779A (en) | Electronic device and program rewriting method | |
| JPWO2019150516A1 (en) | PLD configuration method for paper leaf handling device and paper leaf handling device | |
| JPH1021070A (en) | Data streamer device provided with automatic system program updating function, and automatic system program updating method | |
| WO1998052152A2 (en) | Communication between interface device and ic card | |
| JPH1124914A (en) | Data rewriting method of flash rom |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060815 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061016 |
|
| 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: 20070403 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070404 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100420 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110420 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120420 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120420 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130420 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130420 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140420 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140420 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |