JPH0229883A - Handy terminal - Google Patents

Handy terminal

Info

Publication number
JPH0229883A
JPH0229883A JP18112288A JP18112288A JPH0229883A JP H0229883 A JPH0229883 A JP H0229883A JP 18112288 A JP18112288 A JP 18112288A JP 18112288 A JP18112288 A JP 18112288A JP H0229883 A JPH0229883 A JP H0229883A
Authority
JP
Japan
Prior art keywords
backup memory
ram
program
firmware
stored
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
JP18112288A
Other languages
Japanese (ja)
Inventor
Masao Shimura
志村 正雄
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP18112288A priority Critical patent/JPH0229883A/en
Publication of JPH0229883A publication Critical patent/JPH0229883A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make it possible to restored a firmware program in a handy terminal by loading a firmware program saved in a backup memory space even if a firmware program stored in a RAM is destroyed. CONSTITUTION:A loader program stores a routine for judging whether firmwares exist in the RAM 6 and the backup memory 8 or not and the routine to instruct the loading of the firmware is stored. When the firmwares exist in both the RAM 6 and the backup memory 8, both the contents are checked, and if the contents are noncoincident each other, the normality of a program is judged by check sum or the like and the corrent contents are copied to the other. Then control is transferred to the firmware stored in the RAM 6. Consequently, the firmware can be restored in the handy terminal.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は、マイクロプロセッサ内蔵のハンディターミナ
ルに関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a handy terminal with a built-in microprocessor.

(従来の技術) 従来、ハンディターミナルは第2図に示す様に構成され
ていた。図において、電源オンスイッチの操作により、
電源制御回路202の電源スイツチ回路がオンされ、全
てのコンポーネントに電源が供給される。マイクロプロ
セッサ部205は、ROM207に記憶されているロー
ダプログラムにより、パソコン本体よりインターフェー
ス回路209を介してRAM206にファームウェアプ
ログラムをロードし、このファームウェアプログラムに
より、ハンディターミナル全体の制御が行われる。RA
M206に記憶されているファームウニエアプログラム
はハンディターミナルの電源がオフされても、副電池2
04により、その内容が保持されている。
(Prior Art) Conventionally, a handy terminal has been configured as shown in FIG. In the figure, by operating the power on switch,
The power switch circuit of the power control circuit 202 is turned on, and power is supplied to all components. The microprocessor unit 205 uses a loader program stored in the ROM 207 to load a firmware program from the personal computer into the RAM 206 via the interface circuit 209, and the firmware program controls the entire handy terminal. R.A.
The firmware program stored in the M206 will continue to use the secondary battery 2 even if the handheld terminal is turned off.
04, its contents are retained.

(発明が解決しようとする課gn) 上述したハンディターミナルにおいて、何うかの原因で
マイクロプロセッサ部205が暴走すると、RAM20
6に記憶されているプログラムが破壊されてしまい、再
び、パソコン(パーソナルコンピュータ)本体からファ
ームウェアプログラムをロードしなければならないとい
う煩わしさがあった。
(Problem to be Solved by the Invention) In the above-mentioned handy terminal, if the microprocessor section 205 goes out of control for some reason, the RAM 20
The program stored in the computer 6 would be destroyed and the firmware program would have to be loaded again from the personal computer.

本発明は上記事情に鑑みてなされたものであり、マイク
ロプロセッサ部の暴走等により、RAMに記憶されてい
るファームウェアプログラムが破壊されてもバックアッ
プメモリ空間にあらかじめセーブされているファームウ
ェアプログラムをロードすることにより、ハンディター
ミナル内でファームウェアプログラムの復元を可能とす
るハンディターミナルを提供することを目的とする。
The present invention has been made in view of the above circumstances, and even if the firmware program stored in the RAM is destroyed due to a runaway of the microprocessor unit, the firmware program saved in advance in the backup memory space can be loaded. The purpose of this invention is to provide a handy terminal that enables firmware program restoration within the handy terminal.

〔発明の構成〕[Structure of the invention]

(課題を解決するための手段) 本発明は、ハンディターミナルを、マイクロプロセッサ
を核としROMあるいはRAMに記憶されたプログラム
により装置全体の制御を行う手段と、上記RAMとは異
なるメモリ空間に存在するバックアップメモリと、該バ
ックアップメモリへの書込み許可命令が与えられた時の
み上記バックアップメモリへの書込みを許可し、書込み
禁止命令が与えられることによりバックアップメモリへ
の書込みを禁止するバックアップメモリ制御回路と、電
#JON(オン)時に実行され、上記RAMとバックア
ップメモリに記憶されているプログラムを比較し、不一
致のとき正しい方のプログラムを他方にコピーするロー
ダプログラムが格納されるROMで構成したものである
(Means for Solving the Problems) The present invention provides a means for controlling the entire device using a microprocessor as a core and a program stored in a ROM or RAM, and a memory space that is different from the RAM. a backup memory; a backup memory control circuit that permits writing to the backup memory only when a write permission command is given to the backup memory; and prohibits writing to the backup memory when a write prohibition command is given; It consists of a ROM that stores a loader program that is executed when the power is turned on, compares the programs stored in the RAM and the backup memory, and copies the correct program to the other if they do not match. .

(作用) 上記構成において、ローダプログラムには、RAMとバ
ックアップメモリにファームウェアが存在するか否かを
判断し、ファームウェアのロードを指示するルーチンが
格納されている。更に、RAMとノゞツクアップメモリ
にファームウェアが存在する時、両者をチエツクし、不
一致であればチエツクサム等によりプログラムの正常を
判断し、正しい方を他方ヘコピーする。そして制御をR
AMに記憶されたファームウェアに移す。
(Operation) In the above configuration, the loader program stores a routine that determines whether firmware exists in the RAM and backup memory and instructs to load the firmware. Further, when firmware exists in the RAM and the startup memory, both are checked, and if they do not match, it is determined whether the program is normal based on a checksum or the like, and the correct one is copied to the other. and control R
Transfer to the firmware stored in AM.

このことにより、ハンディターミナル内でファームウェ
アの復元を実現できる。
This makes it possible to restore firmware within the handy terminal.

(実施例) 以下、図面を使用して本発明実施例について詳細に説明
する。
(Example) Hereinafter, an example of the present invention will be described in detail using the drawings.

第1図は本発明の実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

図において、1はデータを人力するためのキーボード、
2は電源オンスイッチの操作により、各コンポーネント
に電源を供給し、電源オフスイッチの操作により、RA
M6とバックアップメモリ8以外のコンポーネントの電
源をオフする電源制御回路である。3は各コンポーネン
トの電源である主電池、4は電源オフ時、RAM6とバ
ックアップメモリ8の記憶内容を保持するための電源で
ある副電池である。5はROM9あるいはRAM6に記
憶されているファームウェアプログラムにより、ハンデ
ィターミナル全体の制御を行うマイクロプロセッサ部、
6はファームウェアプログラムとエントリーされた入力
データが記憶されるRAM、7はバックアップメモリ8
への書き込み許可命令により、バックアップメモリ8へ
の書き込みを許可し、書き込み禁止命令により、バック
アップメモリ8への書き込みを禁止するバックアップメ
モリ制御回路(BM−CNT)である。8はRAM6に
記憶されているファームウェアプログラムをセーブする
ためのバックアップメモリ、9はファームウェアプログ
ラムをハンディターミナルにロードするためのローダプ
ログラムが記憶されているROM、10はキーボード1
より入力されたデータを表示し、確認するための液晶デ
イスプレィ(LCD)、11はRAM6とバックアップ
メモリ8にファームウェアプログラムをロードしたり、
RAM6に記憶されているエントリーデータをパソコン
本体へ出力するためのインタフェース回路(IF)であ
る。
In the figure, 1 is a keyboard for inputting data manually;
2 supplies power to each component by operating the power on switch, and supplies power to each component by operating the power off switch.
This is a power control circuit that turns off the power to components other than M6 and backup memory 8. 3 is a main battery that is a power source for each component, and 4 is a sub battery that is a power source for retaining the stored contents of the RAM 6 and backup memory 8 when the power is turned off. 5 is a microprocessor unit that controls the entire handy terminal using a firmware program stored in ROM 9 or RAM 6;
6 is a RAM in which the firmware program and entered input data are stored; 7 is a backup memory 8
This is a backup memory control circuit (BM-CNT) that permits writing to the backup memory 8 in response to a write permission command, and prohibits writing to the backup memory 8 in response to a write prohibition command. 8 is a backup memory for saving the firmware program stored in the RAM 6; 9 is a ROM that stores a loader program for loading the firmware program into the handy terminal; 10 is a keyboard 1
11 is a liquid crystal display (LCD) for displaying and confirming input data; 11 is for loading firmware programs into RAM 6 and backup memory 8;
This is an interface circuit (IF) for outputting entry data stored in the RAM 6 to the main body of the personal computer.

以下、本発明実施例の動作について詳細に説明する。ま
ず、電源オンにより、マイクロプロセッサ部5はROM
9に記憶されているローダプログラムを実行する。ロー
ダプログラムは以下に示すような動作を実行するように
プログラムされており、その内容に従って、マイクロプ
ロセッサ部はハンディターミナル全体の制御を行う。即
ち、まずRAM6とバックアップメモリ8にプログラム
が存在するか否かを判断し、存在しない場合は、インタ
フェース回路11を介して、パソコン本体からのファー
ムウェアプログラムのロード待ちとなる。パソコン本体
からファームウェアプログラムが転送されてくると、そ
れをRAM6とバックアップメモリ8にロードする。尚
、バックアップメモリ8にファームウェアプログラムを
ロードする前に、バックアップメモリ制御回路7に対し
て、バックアップメモリ8への書き込み許可命令を出力
する。ファームウェアプログラムのロードが終了すると
、チエツクサムデータとファームウェアプログラムが存
在するという情報を特定のアドレスに書き込み、バック
アップメモリ制御回路7に対して、バックアップメモリ
8への書き込み禁止命令を出力する。これらの動作を終
了すると、RAM6にロードされているファームウェア
プログラムに制御を移し、このファームウェアプログラ
ムによりハンディターミナル全体の制御が行われる。
Hereinafter, the operation of the embodiment of the present invention will be explained in detail. First, when the power is turned on, the microprocessor section 5 is loaded into the ROM.
Execute the loader program stored in 9. The loader program is programmed to perform the following operations, and the microprocessor section controls the entire handy terminal according to its contents. That is, first, it is determined whether or not the program exists in the RAM 6 and the backup memory 8. If the program does not exist, the computer waits for the firmware program to be loaded from the personal computer via the interface circuit 11. When the firmware program is transferred from the personal computer, it is loaded into the RAM 6 and backup memory 8. Note that before loading the firmware program into the backup memory 8, a write permission command to the backup memory 8 is output to the backup memory control circuit 7. When the loading of the firmware program is completed, checksum data and information indicating that the firmware program exists are written to a specific address, and a write prohibition command to the backup memory 8 is output to the backup memory control circuit 7. When these operations are completed, control is transferred to the firmware program loaded in the RAM 6, and the entire handy terminal is controlled by this firmware program.

次に、RAM6とバックアップメモリ8にファームウェ
アプログラムが存在する場合について述べる。RAMb
とバックアップメモリ81こd記憶されているプログラ
ムを比較し、同一であれば、RAM6にセーブされてい
るファームウェアプログラムに制御を移す。もし、同一
でなければ、チエツクサム等によりどちらに記憶されて
いるプログラムが正常であるか判断し、正しい方のプロ
グラムを他方にコピーする。尚、RAM6の内容をバッ
クアップメモリ8ヘコピーする場合には、あらかじめ、
バックアップメモリ制御回路7に対してバックアップメ
モリ8への書き込み許可命令を出力する。プログラムの
コピーが終了したら、チエツクサムデータとファームウ
ェアプログラムが存在するという情報を特定のアドレス
に書き込み、バックアップメモリ制御回路7に対してバ
ックアップメモリ8への書き込み許可命令が出力場合に
ついては、バックアップメモリ制御回路7に対して、バ
ックアップメモリ8への書き込み禁止命令を出力する。
Next, a case where the firmware program exists in the RAM 6 and the backup memory 8 will be described. RAMb
and the program stored in the backup memory 81, and if they are the same, control is transferred to the firmware program saved in the RAM 6. If they are not the same, it is determined by checksum etc. which program is normal, and the correct program is copied to the other. In addition, when copying the contents of RAM 6 to backup memory 8, in advance,
A write permission command to the backup memory 8 is output to the backup memory control circuit 7. When the copying of the program is completed, checksum data and information that the firmware program exists are written to a specific address, and if a write permission command to the backup memory 8 is output to the backup memory control circuit 7, the backup memory control circuit 7 A command to inhibit writing to the backup memory 8 is output to the circuit 7.

これらの動作を終了したら、制御をRAM6にセーブさ
れているファームウェアプログラムに移す。
When these operations are completed, control is transferred to the firmware program saved in the RAM 6.

以上、述べたような方法でファームウェアプログラムの
保持を行っておけば、マイクロプロセッサ部5の暴走等
によりRAM6に記憶されているファームウェアプログ
ラムが破壊されてもパソコン本体からファームウェアプ
ログラムをロードすることなしに復元できる。
If the firmware program is retained using the method described above, even if the firmware program stored in the RAM 6 is destroyed due to a runaway of the microprocessor unit 5, the firmware program will not be loaded from the computer itself. Can be restored.

〔発明の効果〕〔Effect of the invention〕

以上説明のように本発明によれば以下に列挙する効果を
奏する。
As explained above, according to the present invention, the following effects are achieved.

(1)  ファームウェアプログラムが破壊されたまま
、実行されることにより、エントリーデータを破壊する
のが妨げる。
(1) Destruction of entry data is prevented by executing the firmware program while it is destroyed.

(2)  マイクロプロセッサ部の暴走等により、ファ
ームウェアプログラムが破壊されても、パソコン本体か
らファームウェアプログラムをロードすることなしに復
元できる。
(2) Even if the firmware program is destroyed due to a runaway of the microprocessor, etc., it can be restored without loading the firmware program from the computer itself.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例を示すブロック図、第2図は従
来例の構成例を示すブロック図である。 5・・・マイクロプロセッサ、6・・・RAM、9・・
・ROM、7・・・バックアップメモリ制御回路、8・
・・バックアップメモリ。 出願人代理人 弁理士 鈴江武彦
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram showing an example of the configuration of a conventional example. 5...Microprocessor, 6...RAM, 9...
・ROM, 7... Backup memory control circuit, 8.
・Backup memory. Applicant's agent Patent attorney Takehiko Suzue

Claims (1)

【特許請求の範囲】[Claims] マイクロプロセッサを核とし、ROMあるいはRAMに
記憶されたプログラムにより装置全体の制御を行う手段
と、上記RAMとは異なるメモリ空間に存在するバック
アップメモリと、該バックアップメモリへの書込み許可
命令が与えられた時のみ上記バックアップメモリへの書
込みを許可し、書込み禁止命令が与えられることにより
バックアップメモリへの書込みを禁止するバックアップ
メモリ制御回路と、電源オン時に実行され、上記RAM
とバックアップメモリに記憶されているプログラムを比
較し、不一致のとき正しい方のプログラムを他方にコピ
ーするローダプログラムが格納されるROMとを具備す
ることを特徴とするハンディターミナル。
A microprocessor is used as the core, and a means for controlling the entire device by a program stored in ROM or RAM, a backup memory existing in a memory space different from the RAM, and a write permission instruction to the backup memory are provided. A backup memory control circuit that allows writing to the backup memory only when the power is turned on and prohibits writing to the backup memory when a write inhibit command is given;
and a ROM storing a loader program that compares the program stored in the backup memory with the program stored in the backup memory and copies the correct program to the other when there is a discrepancy.
JP18112288A 1988-07-20 1988-07-20 Handy terminal Pending JPH0229883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18112288A JPH0229883A (en) 1988-07-20 1988-07-20 Handy terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18112288A JPH0229883A (en) 1988-07-20 1988-07-20 Handy terminal

Publications (1)

Publication Number Publication Date
JPH0229883A true JPH0229883A (en) 1990-01-31

Family

ID=16095242

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18112288A Pending JPH0229883A (en) 1988-07-20 1988-07-20 Handy terminal

Country Status (1)

Country Link
JP (1) JPH0229883A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6854055B1 (en) * 1999-10-18 2005-02-08 Endress + Hauser Flowtec Ag Method and system for switching active configuration memory during on-line operation of programmable field mounted device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6854055B1 (en) * 1999-10-18 2005-02-08 Endress + Hauser Flowtec Ag Method and system for switching active configuration memory during on-line operation of programmable field mounted device
US7299348B2 (en) 1999-10-18 2007-11-20 Endress + Hauser Flowtec Ag Programmable field mounted device

Similar Documents

Publication Publication Date Title
US5586334A (en) Apparatus and method for suspending and resuming software on a computer
JPH03202912A (en) Portable electronic device
KR100381416B1 (en) Computer system and method for saving of product key of the same
JPH0229883A (en) Handy terminal
JPS62249231A (en) Microprogram control processing system
JPH06314202A (en) Image-forming device
JP2003131880A (en) Information processing apparatus, program activation method and activation control program
JPH07281986A (en) Extended board, information processor using the same and control method for peripheral device
JP2003122590A (en) Program rewriting method, and electronic equipment device
JP3186758B2 (en) Mobile terminal device
JPS62226357A (en) Initial program loading system
JP2923111B2 (en) Data processing method and apparatus
JPH11143592A (en) On/off control method in portable terminal equipment
JPH09258962A (en) Method for starting maintenance mode in electronic computer system
JPH04330532A (en) Programmable controller
JPH0196712A (en) Start system for information processor
JPS5941030A (en) Microcomputer system
JPH02287731A (en) Character output device
JPS61270182A (en) Printer
JP2851039B2 (en) Workstation backup system
JPH01116857A (en) Down-load request control system
JPS6186841A (en) Electronic list device
JPS62187942A (en) Debugging control processing system
JPH0454548A (en) Memory check system for computer system
JPH06301506A (en) Display screen control method for computer system