JPH0334115B2 - - Google Patents

Info

Publication number
JPH0334115B2
JPH0334115B2 JP59048171A JP4817184A JPH0334115B2 JP H0334115 B2 JPH0334115 B2 JP H0334115B2 JP 59048171 A JP59048171 A JP 59048171A JP 4817184 A JP4817184 A JP 4817184A JP H0334115 B2 JPH0334115 B2 JP H0334115B2
Authority
JP
Japan
Prior art keywords
printing
rom
signal line
cpu
lid
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.)
Expired - Lifetime
Application number
JP59048171A
Other languages
Japanese (ja)
Other versions
JPS60193189A (en
Inventor
Yoshikazu Shibamya
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP59048171A priority Critical patent/JPS60193189A/en
Publication of JPS60193189A publication Critical patent/JPS60193189A/en
Priority to US07/285,301 priority patent/US5020022A/en
Publication of JPH0334115B2 publication Critical patent/JPH0334115B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C5/00Details of stores covered by group G11C11/00
    • G11C5/14Power supply arrangements, e.g. power down, chip selection or deselection, layout of wirings or power grids, or multiple supply levels
    • G11C5/143Detection of memory cassette insertion or removal; Continuity checks of supply or ground lines; Detection of supply variations, interruptions or levels ; Switching between alternative supplies
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0002Handling the output data
    • G06K2215/002Generic data access
    • G06K2215/0022Generic data access characterised by the storage means used
    • G06K2215/0025Removable memories, e.g. cartridges

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、記録装置を備えた電子機器に関す
る。更に詳述すれば、本発明は、記録装置付きの
電子機器において、文字発生用のROM(リー
ド・オンリ・メモリ)などの外部メモリと接続が
可能なよう構成したものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to an electronic device equipped with a recording device. More specifically, the present invention is an electronic device equipped with a recording device configured to be connectable to an external memory such as a ROM (read only memory) for character generation.

〔従来技術〕[Prior art]

従来から、文字発生用のROM(以下、CG
ROMという)に限らず、取りはずし可能な外部
メモリをもつ電子機器においては、その外部メモ
リをアクセス中はロツク機構により取りはずしが
できないよう構成されているものがある。また、
外部メモリと電子機器との間にバツフアを設け
て、外部メモリの取りはずしの際には電子機器本
体と外部メモリとを電気的に遮断し、その後に取
りはずしを行うよう構成されているものが知られ
ている。これらの構成は、信頼性の高いことを要
求される機器、あるいは、コスト高を問題としな
い機器においては、有効かつ必要なものである。
Conventionally, ROM for character generation (hereinafter referred to as CG
Some electronic devices with removable external memory (not limited to ROM) have a lock mechanism that prevents the external memory from being removed while the external memory is being accessed. Also,
There is a known configuration in which a buffer is provided between the external memory and the electronic device to electrically disconnect the electronic device and the external memory when the external memory is removed, and then the removal is performed. ing. These configurations are effective and necessary for devices that require high reliability or for which high cost is not an issue.

しかし、かかる保護手段を設けることによつ
て、電子機器全体に占めるコストが大幅に大きく
上昇するような場合、または外部メモリの着脱に
よつても電子機器本体の破壊といつた重要な問題
が生じない場合、更には、電子機器の作動最中に
外部メモリの着脱を行うことは、明らかに、ユー
ザーのミスと考えてよいような場合においては、
あえて上述のような保護手段を設ける必要はな
い。
However, in cases where providing such protection means significantly increases the overall cost of the electronic device, or when installing or removing external memory, serious problems such as destruction of the electronic device may occur. If there is no such device, or if it is clearly considered a user error to attach or remove external memory while the electronic device is in operation,
There is no need to intentionally provide the above-mentioned protection measures.

例えば、電子機器の一種である電子式タイプラ
イタを想定する場合において、外部メモリすなわ
ちCG ROMパツケージは印字中に使用され、こ
のCG ROMパツケージを着脱しようとすると、
印字パターンが途中で欠けてしまつたり、あるい
は、着脱時に一時印字停止が可能だとしても抜い
たものと異なるCG ROMパツケージを挿入され
た場合(例えば、文字ピツチの違うCG ROMが
挿入されたときなど)には、再印字の際に無理が
起こる。また、かかるCG ROMパツケージの着
脱動作によつてバスライン上に雑音が重畳し、も
つてCPUが誤動作するなど、多くの問題が生じ
る。
For example, when considering an electronic typewriter, which is a type of electronic device, the external memory, or CG ROM package, is used during printing, and when you try to attach or remove this CG ROM package,
If the printing pattern is cut off in the middle, or if a CG ROM package different from the one you removed is inserted even if it is possible to temporarily stop printing when it is inserted or removed (for example, if a CG ROM package with a different character pitch is inserted) etc.), problems occur when reprinting. Further, the attachment and detachment of the CG ROM package causes noise to be superimposed on the bus line, causing many problems such as CPU malfunction.

〔目的〕〔the purpose〕

本発明の目的は、上述の点に鑑み、記録動作中
に外部メモリを着脱した場合にも適切な内部処理
ないし対応をするようにした電子機器を提供する
ことにある。
In view of the above-mentioned points, an object of the present invention is to provide an electronic device that performs appropriate internal processing or response even when an external memory is attached or detached during a recording operation.

かかる目的を達成するために、本発明では、印
字手段と、機器本体に対して着脱可能な外部記憶
手段と、前記外部記憶手段を機器本体に対して接
続するための接続手段と、前記外部記憶手段が前
記接続手段より外されたことを検出する検出手段
と、前記印字手段の印字動作中に、前記検出手段
により前記外部記憶手段が前記機器本体から外さ
れたことが検出されたとき、前記機器本体をリセ
ツトする制御手段とを具備する。
In order to achieve such an object, the present invention includes a printing means, an external storage means that is detachable from the device main body, a connecting means for connecting the external storage device to the device main body, and the external storage device. a detecting means for detecting that the means is removed from the connecting means; and a detecting means for detecting that the external storage means is removed from the device main body during a printing operation of the printing means; and control means for resetting the device body.

〔実施例〕〔Example〕

以下、図面を参照して本発明を詳細に説明す
る。
Hereinafter, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明を適用した電子式タイプライ
タの一実施例を示すブロツク図である。本図にお
いて、1はCPU(中央処理装置)として機能する
マイクロプロセツサであり、後述するROM2か
らプログラムを読み出し、それに従つて、演算、
判断を行い、後述するRAM3、キーボード4、
プリンタ5、ラツチ回路6およびCG ROMパツ
ケージ9を制御し、もつて文書の印字・編集を行
う。
FIG. 1 is a block diagram showing an embodiment of an electronic typewriter to which the present invention is applied. In this figure, 1 is a microprocessor that functions as a CPU (Central Processing Unit), which reads a program from ROM 2 (described later) and performs calculations and operations according to the program.
After making a judgment, RAM 3, keyboard 4, which will be described later,
It controls the printer 5, latch circuit 6, and CG ROM package 9, and prints and edits documents.

ROM2は、CPU1を作動させるためのプログ
ラムが書き込まれた読み出し専用メモリである。
RAM3は、CPU1が動作途中に演算結果データ
を一時保存しておくためのリードライトメモリで
ある。キーボード4は本装置の入力手段であり、
文書の印字・編集のための各種データを入力す
る。
The ROM2 is a read-only memory in which a program for operating the CPU1 is written.
The RAM 3 is a read/write memory for temporarily storing calculation result data during the operation of the CPU 1. The keyboard 4 is an input means of this device,
Input various data for printing/editing documents.

CPU1はキーボード4から入力されたデータ
に基づき、CG ROMからドツトパターンを読み
出し、プリンタ5により印字がなされる。また、
6はラツチ回路であり、プリンタ5の状態を示す
フラグの内容をラツチする。7はコネクタであ
り、CG ROMパツケージ9を装置本体と接続す
るための接続器である。8はCG ROM9のパツ
ケージ接続判別用スイツチである。本装置のCG
ROMパツケージ挿入部は、第2図に示すよう
に、ふた付きの構造になつており、CG ROM9
を着脱するためにふた20を開けると、このスイ
ツチ8がオンとなる。
The CPU 1 reads a dot pattern from the CG ROM based on data input from the keyboard 4, and the printer 5 prints out the dot pattern. Also,
A latch circuit 6 latches the contents of a flag indicating the status of the printer 5. A connector 7 is a connector for connecting the CG ROM package 9 to the main body of the apparatus. 8 is a switch for determining the package connection of the CG ROM 9. CG of this device
As shown in Figure 2, the ROM package insertion part has a structure with a lid, and the CG ROM9
When the lid 20 is opened to attach or detach the switch 8, the switch 8 is turned on.

CG ROMパツケージ9は、印字のためのドツ
トパターンを記憶したROMをパツケージ化した
ものである。10はワンシヨツトマルチバイブレ
ータであり、信号線S5の立ち上がりエツジに応
答して信号線S6に一定幅のパルスを一回だけ出
力する。11はパワーオンリセツトコントロール
回路であり、電源投入時の電源スイツチに連動し
て起動する。
The CG ROM package 9 is a packaged ROM that stores dot patterns for printing. Reference numeral 10 denotes a one-shot multivibrator, which outputs a pulse of a constant width only once to the signal line S6 in response to a rising edge of the signal line S5. Reference numeral 11 denotes a power-on reset control circuit, which is activated in conjunction with the power switch when the power is turned on.

S1はバスラインであり、CPU1が上述の各
構成要素2〜7を制御するための信号線群であ
る。S2はプリンタ動作中にセツトされるフラグ
の状態を示す信号線である。すなわち、CPU1
はプリンタを動作させている期間中のみラツチ回
路6に論理レベル「1」をラツチさそ、それ以外
のときには論理レベル「0」をラツチさせ、これ
により信号線S2に信号を送出させる。
S1 is a bus line, which is a group of signal lines for the CPU 1 to control each of the above-mentioned components 2 to 7. S2 is a signal line indicating the state of a flag set during printer operation. In other words, CPU1
causes the latch circuit 6 to latch a logic level "1" only while the printer is operating, and to latch a logic level "0" at other times, thereby causing a signal to be sent to the signal line S2.

S3は、第2図示におけるふた20の開閉状態
を示す信号を送出する信号線である。本実施例で
は、CG ROMパツケージ9の着脱時には必ず第
2図示のふたを開く必要がある。
S3 is a signal line that sends a signal indicating the open/closed state of the lid 20 in the second illustration. In this embodiment, when installing or removing the CG ROM package 9, it is necessary to open the lid shown in the second figure.

12は表示器であり、キーボードからのデータ
あるいはCPU1の演算結果等を表示するための
ものである。
12 is a display device for displaying data from the keyboard, calculation results of the CPU 1, etc.

本実施例において、コネクタ7にはCG ROM
パツケージ9が接続されており、CPU1はキー
ボードから入力したキー入力データに基づき、
CG ROMからドツトパターンを読み出し、プリ
ンタ5を制御して印字を実行させる。このとき、
ラツチ回路6には論理レベル「1」が書き込ま
れ、信号線S2の論理レベルは「1」になつてい
る。また、上述したように、印字中でない時は、
信合線S2は「0」となつている。
In this embodiment, the connector 7 has a CG ROM.
The package 9 is connected, and the CPU 1 uses the key input data entered from the keyboard.
The dot pattern is read from the CG ROM and the printer 5 is controlled to execute printing. At this time,
A logic level "1" is written in the latch circuit 6, and the logic level of the signal line S2 is "1". Also, as mentioned above, when printing is not in progress,
The credit line S2 is set to "0".

いま、印字がなされていない状態(すなわち、
CG ROMが使用されていない状態)であつて、
表示器12のみを用いて文書をキーインしている
ものと仮定する。このとき、CG ROMを着脱し
ようとしてふた20を開けると、スイツチ8が
「ON」となり、信号線S3に論理レベル「1」
の信号が現われる。しかし、この時信号線S2は
「0」レベルを呈しているので、ANDゲートG1
の出力信号線S4は「0」レベルを保持したまま
である。よつて、ワンシヨツトマルチバイブレー
タ10は起動せず、リセツトはかからない。
Currently, no printing is being done (i.e.
CG ROM is not in use), and
Assume that you are keying in a document using only display 12. At this time, when the lid 20 is opened to install or remove the CG ROM, the switch 8 turns "ON" and the logic level "1" is applied to the signal line S3.
signal appears. However, since the signal line S2 is at the "0" level at this time, the AND gate G1
The output signal line S4 remains at the "0" level. Therefore, the one-shot multivibrator 10 is not activated and is not reset.

信号線S3はCPU1のコントロール端子CTL
に接続されており、スイツチ8が「ON」となつ
たことを検出し、CG ROMパツケージ9の着脱
に際してCPU1が誤動作しないように、CPU1
をホールド状態(一時動作停止)にする。そし
て、CG ROMパツケージ9の着脱完了後、ふた
20を閉めてスイツチ8が「OFF」になると、
CPU1は再び動作状態に戻る。
Signal line S3 is the control terminal CTL of CPU1
The switch 8 detects that the switch 8 is turned ON, and the CPU 1 is connected to the
to the hold state (temporarily stops operation). After the CG ROM package 9 has been installed and removed, the lid 20 is closed and the switch 8 is turned OFF.
CPU1 returns to the operating state again.

一方、印字中であつて信号線S2が「1」レベ
ルを呈している最中、CG ROMパツケージ9を
着脱せんとしてふた20を開け、これによりスイ
ツチ8が「ON」になると、信号線S3を介して
CPU1が動作一時停止になると同時に、信号線
S4およびS5のレベルが変化してワンシヨツト
マルチバイブレータ10を起動(セツト)させ
る。よつて、信号線S6にはワンシヨツトパルス
が送出され、CPU1はリセツト状態になる。こ
の後、ふた20を閉め、スイツチ8が「OFF」
になると、CPU1は動作状態に戻り、イニシヤ
ライズルーチンを作動させる。換言すれば、ふた
20が閉められることにより、本実施例は電源ス
イツチを入れた時と同じ状態にセツトされること
になる。
On the other hand, while printing is in progress and the signal line S2 is at the "1" level, the lid 20 is opened to install or remove the CG ROM package 9, and the switch 8 is turned "ON", which causes the signal line S3 to be turned on. Through
At the same time as the CPU 1 temporarily stops its operation, the levels of the signal lines S4 and S5 change to start (set) the one-shot multivibrator 10. Therefore, a one-shot pulse is sent to the signal line S6, and the CPU 1 enters the reset state. After this, close the lid 20 and turn the switch 8 "OFF"
When this happens, the CPU 1 returns to the operating state and runs the initialization routine. In other words, by closing the lid 20, the present embodiment is set to the same state as when the power switch is turned on.

第4図は、上述した本実施例の制御手順を示す
概略フローチヤートである。
FIG. 4 is a schematic flowchart showing the control procedure of this embodiment described above.

ステツプS1では、ふた20の開閉状態を検知
し(信号線S3のレベルをチエツクする)、ふた
20が開けられたと判断した場合には、ステツプ
S2にて、フラグをセツト(信号線S2を「1」
にする)する。
In step S1, the open/closed state of the lid 20 is detected (the level of the signal line S3 is checked), and if it is determined that the lid 20 has been opened, a flag is set in step S2 (the signal line S2 is set to "1"). ”
to do).

そして、ステツプS3において、本実施例の動
作を一時停止させる。
Then, in step S3, the operation of this embodiment is temporarily stopped.

ステツプS4において、ふた20が再び閉じら
れたものと判断した場合には、ステツプS5にて
本装置全体をイニシヤライズする。
If it is determined in step S4 that the lid 20 is closed again, the entire device is initialized in step S5.

このように、印字中においてCG ROMパツケ
ージ9を着脱する場合には、CPU1に対して一
時停止を要求すると共に、その後にリセツトをか
け、もつて電源スイツチ投入時と同じ状態にする
ことができる。また、印字中でない場合にも、
CG ROMパツケージ着脱時はCPUを一時停止状
態にし、バスラインS1上に雑音が重畳して本装
置が誤動作することを防いでいる。
In this manner, when the CG ROM package 9 is attached or detached during printing, the CPU 1 is requested to temporarily stop, and then a reset is applied, thereby achieving the same state as when the power switch is turned on. Also, even when printing is not in progress,
When installing or removing the CG ROM package, the CPU is temporarily stopped to prevent noise from being superimposed on the bus line S1 and causing the device to malfunction.

なお、本実施例においては、ふた20の開閉に
よつて外部メモリの着脱状態を検知するよう構成
しているが、その他の手法、例えば光を遮へいす
ることによつて外部メモリの装着を検知する手
法、などを適用し得ることは勿論である。
In this embodiment, the installation/removal status of the external memory is detected by opening/closing the lid 20, but the installation/removal of the external memory may be detected by other methods, for example, by blocking light. Of course, it is possible to apply methods such as the following.

〔効果〕〔effect〕

以上説明したとおり、本発明によれば、CG
ROMパツケージなどの外部メモリを印字中に着
脱した場合には、装置全体を電源投入時状態(す
なわち、イニシヤル状態)に戻すことができるの
で、印字途中で印字動作を停止した場合に生じる
種々な不都合を回避することができる。これと同
時に、印字中はCG ROMパツケージ等を着脱し
てはいけないということをユーザに暗示すること
ができる。
As explained above, according to the present invention, CG
If an external memory such as a ROM package is inserted or removed during printing, the entire device can be returned to the state it was in when the power was turned on (i.e., the initial state), which eliminates various inconveniences that may occur if the printing operation is stopped in the middle of printing. can be avoided. At the same time, it is possible to hint to the user that the CG ROM package or the like must not be attached or detached during printing.

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

第1図は本発明の一実施例を示すブロツク図、
第2図は文字発生用ROMパツケージの装着状態
を説明する図、第3図は第1図示における信号線
S3のレベル変化を説明する線図、第4図は本実
施例の制御手順を示すフローチヤートである。 1……CPU、2……ROM、3……RAM、4
……キーボード、5……プリンタ、6……ラツチ
回路、7……コネクタ、8……スイツチ、9……
文字発生用ROMパツケージ、10……ワンシヨ
ツトマルチバイブレータ、11……パワーオンリ
セツトコントロール回路、S1〜S6……信号
線、G1……ANDゲート、20……ふた。
FIG. 1 is a block diagram showing one embodiment of the present invention;
FIG. 2 is a diagram explaining the installed state of the character generation ROM package, FIG. 3 is a diagram explaining the level change of the signal line S3 shown in FIG. 1, and FIG. 4 is a flowchart showing the control procedure of this embodiment. It's a chat. 1...CPU, 2...ROM, 3...RAM, 4
...Keyboard, 5...Printer, 6...Latch circuit, 7...Connector, 8...Switch, 9...
ROM package for character generation, 10... one-shot multivibrator, 11... power-on reset control circuit, S1 to S6... signal line, G1... AND gate, 20... lid.

Claims (1)

【特許請求の範囲】 1 印字手段と、 機器本体に対して着脱可能な外部記憶手段と、 前記外部記憶手段を機器本体に対して接続する
ための接続手段と、 前記外部記憶手段が前記接続手段より外された
ことを検出する検出手段と、 前記印字手段の印字動作中に、前記検出手段に
より前記外部記憶手段が前記機器本体から外され
たことが検出されたとき、前記機器本体をリセツ
トする制御手段とを具備する電子機器。 2 前記制御手段は、前記印字手段を印字動作を
停止した後に前記機器本体をリセツトすることを
特徴とする特許請求の範囲第1項記載の電子機
器。
[Scope of Claims] 1. Printing means; External storage means detachable from the device body; Connection means for connecting the external storage means to the device body; The external storage means is connected to the connection means. detecting means for detecting that the external storage means has been removed from the device body; and resetting the device body when the detection means detects that the external storage means has been removed from the device body during a printing operation of the printing device; An electronic device comprising a control means. 2. The electronic device according to claim 1, wherein the control means resets the main body of the device after stopping the printing operation of the printing means.
JP59048171A 1984-03-15 1984-03-15 Electrical and electronic equipment Granted JPS60193189A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP59048171A JPS60193189A (en) 1984-03-15 1984-03-15 Electrical and electronic equipment
US07/285,301 US5020022A (en) 1984-03-15 1988-12-15 Printing apparatus for use with a detachable memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59048171A JPS60193189A (en) 1984-03-15 1984-03-15 Electrical and electronic equipment

Publications (2)

Publication Number Publication Date
JPS60193189A JPS60193189A (en) 1985-10-01
JPH0334115B2 true JPH0334115B2 (en) 1991-05-21

Family

ID=12795946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59048171A Granted JPS60193189A (en) 1984-03-15 1984-03-15 Electrical and electronic equipment

Country Status (1)

Country Link
JP (1) JPS60193189A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH074953B2 (en) * 1984-09-13 1995-01-25 株式会社リコー Printer controller
JPS6353167U (en) * 1986-09-18 1988-04-09
JPS6384191U (en) * 1986-11-21 1988-06-02

Also Published As

Publication number Publication date
JPS60193189A (en) 1985-10-01

Similar Documents

Publication Publication Date Title
JP2509438B2 (en) Computer system with security mechanism
US5287519A (en) LAN station personal computer system with controlled data access for normal and unauthorized users and method
JPH03119416A (en) Computer system
US20060150255A1 (en) Manipulation-protected microcontroller system
US6226165B1 (en) System and method for securing a computer system
JPH0334115B2 (en)
US4805136A (en) Program protection in a programmable electronic calculator
JPH0370815B2 (en)
US5020022A (en) Printing apparatus for use with a detachable memory
KR100242518B1 (en) Method of controlling data writing into on-board microcomputer
JPH10333856A (en) Communication terminal and its control method, and computer readable recording medium recorded with control program
US5499381A (en) Electronic apparatus with interchangeable peripheral device and a processor interrupt feature
JPS6217299B2 (en)
JP3635763B2 (en) Setting value rewriting method for computer peripheral device, computer peripheral device and printer
JPH06282361A (en) Data protecting device for electronic apparatus
JPH0820918B2 (en) Equipment reset controller
JP2510993B2 (en) Memory Cartridge
JP3058306B2 (en) Printed board for data input / output
JPH074953B2 (en) Printer controller
JPH0731305Y2 (en) Protection management device
JPH03142516A (en) Memory card protector
KR19990045550A (en) Method and apparatus for reading, modifying and overwriting data stored in a memory device
KR200298474Y1 (en) Program protection device during flash memory update
JPS62275373A (en) Electronic equipment
JP2953103B2 (en) In-vehicle control device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term