JPS62275373A - Electronic equipment - Google Patents

Electronic equipment

Info

Publication number
JPS62275373A
JPS62275373A JP61117630A JP11763086A JPS62275373A JP S62275373 A JPS62275373 A JP S62275373A JP 61117630 A JP61117630 A JP 61117630A JP 11763086 A JP11763086 A JP 11763086A JP S62275373 A JPS62275373 A JP S62275373A
Authority
JP
Japan
Prior art keywords
cartridge
ram
chip
gate
control
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
JP61117630A
Other languages
Japanese (ja)
Inventor
Yoshikazu Shibamiya
芳和 柴宮
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 JP61117630A priority Critical patent/JPS62275373A/en
Publication of JPS62275373A publication Critical patent/JPS62275373A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To prevent destruction of the contents of a volatile memory in spite of the loading/unloading actions of a memory cartridge, by using the chip enable signals of plural systems to secure connection between the main body of an electronic equipment and a RAM cartridge. CONSTITUTION:A RAM cartridge 11 is provided with a RAM chip 111, a RAM back-up battery 112 which holds the contents of the chip 111 when the cartridge 11 is removed, a power supply separating diode 113 which works when the cartridge 11 is removed, a pull-up resistance 114 which keeps a RAM chip enable signal S5 at '1' to inhibit the writing of data to the chip 111 when the cartridge 11 loaded and unloaded or while the cartridge 11 is removed, and a NOR gate 115 which keeps a chip enable terminal CE1 of the chip 111 at a low level in due period. The gate 115 can give an access to the chip 111 only when all inputs are kept at low levels and therefore functions as an AND circuit to the noise signal.

Description

【発明の詳細な説明】 3、発明の詳細な説明 [a業上の利用分野] 本発明は記憶カートリッジを着脱自在に構成した電子機
器に関し、特に揮発性メモリを使用した記憶カートリッ
ジの着動作又は脱動作時における前記メモリの内容が損
なわれる可能性を著しく低減した電子機器に関する。
Detailed Description of the Invention 3. Detailed Description of the Invention [Field of Application in Industry A] The present invention relates to an electronic device in which a storage cartridge is configured to be detachably attached, and in particular to an electronic device in which a storage cartridge using volatile memory is attached or removed. The present invention relates to an electronic device that significantly reduces the possibility that the contents of the memory will be damaged when the device is deactivated.

[従来の技術] 近年、揮発性半導体メモリを機器本体と脱着式にてカー
トリッジ状に構成し、不使用時はカートリッジを取りは
ずして保存できるものが増えている。しかし、従来のこ
の種の電子機器は着脱機構部にメカニカル接点方式を採
用しているので、カートリッジの着動作又は脱動作の際
の接点摺動ノイズ発生により揮発性メモリの周辺ドライ
バ回路が不安定動作するに至り、しばしばメモリの内容
が破壊された。
[Prior Art] In recent years, there has been an increase in the number of devices in which volatile semiconductor memories are configured in the form of cartridges that are removable from the main bodies of devices, and the cartridges can be removed and stored when not in use. However, since conventional electronic devices of this type use a mechanical contact system for the attachment/detachment mechanism, the peripheral driver circuit of the volatile memory becomes unstable due to the contact sliding noise generated when the cartridge is attached or removed. When it did, the contents of memory were often destroyed.

[発明が解決しようとする問題点] 本発明は上述の欠点に鑑みて成されたものであって、そ
の目的とする所は、記憶カートリッジの着脱動作にもか
かわらず、簡単な構成で揮発性メモリの内容破壊を防止
できる電子機器を提供することにある。
[Problems to be Solved by the Invention] The present invention has been made in view of the above-mentioned drawbacks, and its purpose is to provide a simple structure and a volatile solution, regardless of the operation of attaching and detaching the storage cartridge. An object of the present invention is to provide an electronic device that can prevent memory contents from being destroyed.

[問題点を解決するための手段] 本発明の電子機器は上記問題点を解決するため、着動作
又は脱動作されるべき記憶カートリッジに対してデータ
アクセス可否の制御信号を出力する制御手段と、前記制
御手段からの制御信号を複数の接続端子にて接続する接
続手段を備える。
[Means for Solving the Problems] In order to solve the above-mentioned problems, the electronic device of the present invention includes a control means for outputting a control signal indicating whether or not data can be accessed to a storage cartridge to be attached or detached; A connection means is provided for connecting control signals from the control means through a plurality of connection terminals.

[作用] かかる構成において、制御手段は着動作又は脱動作され
るべぎ記憶カートリッジに対するデータアクセス可否の
制00信号を前もって否のレベルにする。そして前記制
御手段の発する制御信号は着脱自在に構成された接続手
段の複数の接続端子を介して記憶カートリッジに供給さ
れる。
[Operation] In this configuration, the control means sets the control signal 00 to the negative level in advance, which indicates whether or not data can be accessed to the storage cartridge to be attached or detached. Control signals generated by the control means are supplied to the storage cartridge through a plurality of connection terminals of a detachably configured connection means.

こうすることでa数の接続端子に同時に摺動ノイズが発
生することが稀であることを利用し、記憶カートリッジ
内のメモリ安定動作を保証する。
In this way, stable operation of the memory in the storage cartridge is guaranteed by utilizing the fact that sliding noise rarely occurs at the same time on a number of connection terminals.

[実施例] 以下、添付図面に従って本発明の実施例を詳細に説明す
る。第1図は実施例の電子タイプライタ(以下、ETW
という)であって、RAMカートリッジを適用したもの
のブロック構成図、第2図はETWのプリンタ部の詳細
ブロック構成図である。図において、1はセントラルプ
ロセツシングユニット(CPU)であって、後述のRO
M2よりプログラム命令を読み出し、それに従ってタイ
プライタ機能に必要な演算、判断等を行い、表示器5、
キーボード4、プリンタコントローラ7等の制御を行う
。2は読出専用メモリ(ROM)であって、前記CPU
Iが動作するためのシステムプログラム、印字の際に必
要な文字コード、該文字コードに対応するドツトパター
ン(キャラクタジェネレーターCG)、印字やモータの
動作に必要なタイムテーブル等が記憶されている。3は
RAMであって、CPUIが命令実行中のデータ、演算
結果、あるいは後述するキーボード4から人力された文
字コード、電圧検出器12から入力されたデータ等を保
存して置くリードライトメモリである。4はキーボード
であって、文字印字、文9m’Jに必要な各種キーデー
タを入力する入力装置である。5は表示器であって、キ
ーボード4から人力したキーデータ、あるいはETWが
動作中であること、その他のオペレータに必要な情報(
メツセージ、記号等)を表示する。
[Examples] Examples of the present invention will be described in detail below with reference to the accompanying drawings. Figure 1 shows an example of an electronic typewriter (hereinafter referred to as ETW).
FIG. 2 is a detailed block diagram of the ETW printer section. In the figure, 1 is a central processing unit (CPU), which will be described later.
Read program instructions from M2, perform calculations, judgments, etc. necessary for the typewriter function according to them, and display the display 5,
Controls the keyboard 4, printer controller 7, etc. 2 is a read-only memory (ROM), and the CPU
A system program for I to operate, a character code necessary for printing, a dot pattern (character generator CG) corresponding to the character code, a time table necessary for printing and motor operation, etc. are stored. Reference numeral 3 denotes a RAM, which is a read/write memory in which data during command execution by the CPUI, calculation results, character codes entered manually from the keyboard 4, data input from the voltage detector 12, etc., which will be described later, are stored. . 4 is a keyboard, which is an input device for inputting various key data necessary for character printing and sentence 9m'J. Reference numeral 5 denotes a display unit that displays key data entered manually from the keyboard 4, information that the ETW is in operation, and other information necessary for the operator (
messages, symbols, etc.).

7はプリンタコントローラであって、第2図に示す如く
パルスモータ用出力ラッチ70、キャリッジモータ用ド
ライバ°71、ベーパーフィードモータ用ドライバ72
、サーマルヘッド用出力ラッチ73、サーマルヘッド用
ヒータドライバ74、サーマルヘッドアップダウン用出
力ラッチ75、サーマルヘッドアップダウン用DCモー
タドライバ76、レフトマージンリミッタ検出用人カポ
−ドア7等から成り、CPUIからの制御信号に応じて
プリンタ6を制御する。
7 is a printer controller which, as shown in FIG. 2, includes a pulse motor output latch 70, a carriage motor driver 71, and a vapor feed motor driver 72.
, thermal head output latch 73, thermal head heater driver 74, thermal head up/down output latch 75, thermal head up/down DC motor driver 76, left margin limiter detection human capo door 7, etc. The printer 6 is controlled according to the control signal.

6はプリンタであって、キャリッジ制御モータ60、ベ
ーパーフィード制御モータ61、印字機111部62、
サーマルヘッドアップダウン用DCモータ63、サーマ
ルヘッドアップダウン機構64、サーマルヘッド65、
キャリッジレフトマージン位置検出センサ66等から成
り、プリンタコントローラ7からの指示に従って印字、
サーマルヘッドアップダウン、ベーパーフィード等を行
う。
6 is a printer, which includes a carriage control motor 60, a vapor feed control motor 61, a printing machine 111 section 62,
Thermal head up/down DC motor 63, thermal head up/down mechanism 64, thermal head 65,
It consists of a carriage left margin position detection sensor 66, etc., and prints and prints according to instructions from the printer controller 7.
Perform thermal head up/down, vapor feed, etc.

8は外部カートリッジ着脱コントローラであって、外部
のRAMカートリッジ11をETW本体に対して着動作
又は脱動作する際に、これに先立ってRAMカートリッ
ジに対するデータアクセス可否の制御信号を否のレベル
にする。91はドアスイッチであって、RAMカートリ
ッジ11を着又は脱するためにドアフタが開かれている
間はON状態であり、閉じられている間はOFF状態で
ある。10はコネクタであって、ETW本体に固定され
、外部のRAMカートリッジ11を着脱自在に接続、支
持する。
Reference numeral 8 denotes an external cartridge attachment/detachment controller which sets a control signal indicating whether or not data access to the RAM cartridge is possible to a negative level prior to attaching or detaching the external RAM cartridge 11 to or from the ETW main body. Reference numeral 91 denotes a door switch, which is in an ON state while the door cover is opened to install or remove the RAM cartridge 11, and is in an OFF state while it is closed. A connector 10 is fixed to the ETW main body, and connects and supports an external RAM cartridge 11 in a detachable manner.

11は外部RAMカートリッジであって、RAM3と同
様に入力された文字コード等を保存し、ETW本体に対
し自在に着脱できる。又、取りはずした後でもRAMカ
ートリッジ11内の記憶内容が消えないように、RAM
バックアップ用電池112が内蔵されている。
Reference numeral 11 denotes an external RAM cartridge, which stores input character codes and the like in the same way as RAM 3, and can be freely attached to and removed from the ETW main body. In addition, to prevent the memory contents in the RAM cartridge 11 from being erased even after removal,
A backup battery 112 is built-in.

12は電圧検出回路であって、後に述べる2系統の電圧
レベルを検出できる。13は電源回路であッテ、電池1
6の電圧からCPUI、ROM2、RAM3等のロジッ
ク回路に必要な電圧及びサーマルへラドヒート用型圧の
2系統の定電圧を作り出している。サーマルへラドヒー
ト用型圧は印字濃度設定ボリューム14によって変化す
ることが可能であり、これにより印字濃度を調整できる
。尚、各種モータ類の電圧は電池から直接供給している
。15はパワースイッチである。16は電池であって本
ETW用の動作エネルギー源である。17は所定値をロ
ード可能なタイマカウンタであって、ある一定時間毎に
カウントアツプ又はカウントダウンする。CPUIは必
要に応じてカウンタ17の内容のリードライトを行う。
Reference numeral 12 denotes a voltage detection circuit, which can detect voltage levels of two systems to be described later. 13 is the power supply circuit, battery 1
From the voltage of 6, two systems of constant voltage are generated: the voltage necessary for logic circuits such as CPUI, ROM2, RAM3, etc., and the mold pressure for thermal heating. The mold pressure for thermal heating can be changed by the print density setting volume 14, and thereby the print density can be adjusted. The voltage for the various motors is supplied directly from the battery. 15 is a power switch. 16 is a battery, which is an operating energy source for this ETW. A timer counter 17 can be loaded with a predetermined value, and counts up or down at certain fixed time intervals. The CPUI reads and writes the contents of the counter 17 as necessary.

SlはCPU 1の共通バスであって、CPUIとRO
M2、RAM3、あるいはプリンタコントローラ7等と
の間で情報伝達を行うための信号線群である。S2はc
pu tへの外部割込信号であって、該18号レベルが
°0″ (LOレベル)から”t” (Hlレベル)に
変化する時点でCPU 1に割込がかかる。S3はCP
U 1の一時停止制御fニー3(IIALT信号)線で
あって、この制j卸線が“0”のときにCPU Iは動
作しており、“ビ。
Sl is a common bus for CPU 1, and is connected to CPU I and RO.
This is a group of signal lines for transmitting information with M2, RAM 3, printer controller 7, etc. S2 is c
It is an external interrupt signal to put t, and an interrupt is applied to CPU 1 when the level of No. 18 changes from °0'' (LO level) to "t" (Hl level).
This is the temporary stop control f knee 3 (IIALT signal) line of U1, and when this control j output line is "0", the CPU I is operating and the signal is "BI".

になると停止する。S4はドアスイッチ9の0N10F
F信号をカートリッジ着脱コントローラ8に知らせる信
号線である。S5はRAMカートリッジ11の着動作又
は脱動作に先立ってRAMカートリッジll内のRAM
チップイネーブル信号を制御する信号線である。この信
号線S5は複数系統設けられている。あ・るいは、コネ
クタの端子のみが複数でもよい。S6は、バスS1の信
号線の内、RAMカートリッジ11を本体に接続して動
作させるのに必要な一部の信号を含む信号線である。S
7は電池電圧線、S8はサーマルヘッドヒート電圧線で
あり、これらの電圧は電圧検出回路12によって電圧レ
ベルがモニタされる。S9はロジック用電源電圧線であ
る。
It will stop when . S4 is 0N10F of door switch 9
This is a signal line that notifies the cartridge attachment/detachment controller 8 of the F signal. S5 stores the RAM in the RAM cartridge 11 before attaching or removing the RAM cartridge 11.
This is a signal line that controls the chip enable signal. A plurality of signal lines S5 are provided. Alternatively, the connector may have multiple terminals. S6 is a signal line that includes some signals necessary for connecting and operating the RAM cartridge 11 to the main body, among the signal lines of the bus S1. S
7 is a battery voltage line, S8 is a thermal head heat voltage line, and the voltage levels of these voltages are monitored by the voltage detection circuit 12. S9 is a logic power supply voltage line.

第3図は第1図のCPU 1、RAMカートリッジ脱着
コントローラ8及び外部のRAMカートリッジ11の内
部とその周辺回路を示す詳細回路図である。図において
、81はプルアップ抵抗であって、ドアスイッチ91の
接点がOFF (フタ92がクローズ状態)している時
の論理レベルをHIGHレベルに保つ。82はドアスイ
ッチ91のチャタリング軽減用シュミット回路である。
FIG. 3 is a detailed circuit diagram showing the inside and peripheral circuits of the CPU 1, RAM cartridge attachment/detachment controller 8, and external RAM cartridge 11 shown in FIG. 1. In the figure, 81 is a pull-up resistor that maintains the logic level at HIGH level when the contact of the door switch 91 is OFF (lid 92 is closed). 82 is a Schmitt circuit for reducing chattering of the door switch 91.

抵抗83及びコンデンサ84はNANDゲート85の入
力スレッシュホルドと相まって信号遅延用CR回路を形
成する。86はRAMカートリッジ11 。
Resistor 83 and capacitor 84 together with the input threshold of NAND gate 85 form a CR circuit for signal delay. 86 is a RAM cartridge 11.

に対するRAMチップイネーブル端子用ドライブトラン
ジスタである。本実施例ではドライブトランジスタとそ
の出力ラインを複数系統として制御の確実性を保証して
いる。87は出力ボートであって、CPUIの制御下で
“0”と′1”の論理レベルを出力する。88はAND
ゲートである。
This is a drive transistor for the RAM chip enable terminal. In this embodiment, a plurality of drive transistors and their output lines are used to ensure reliability of control. 87 is an output port, which outputs logic levels of "0" and '1" under the control of the CPUI. 88 is an AND
It is a gate.

RAMカートリッジ11は、第3図の如く、まずカート
リッジ収納部のドアフタ92を開けないと着動作も脱動
作できない構造になっている。ドアスイッチ91はドア
フタ92を開けるとONし、閉じるとOFFする。従っ
て、S4のレベルは開くと“O“となり、閉めると1”
になる。
As shown in FIG. 3, the RAM cartridge 11 has a structure in which it cannot be installed or removed without first opening the door cover 92 of the cartridge storage section. The door switch 91 is turned on when the door cover 92 is opened, and turned off when the door cover 92 is closed. Therefore, the level of S4 becomes "O" when opened and "1" when closed.
become.

故にRAMカートリッジ11の着動作又は脱動作時はS
4のレベルは必ず“O″になっている。
Therefore, when mounting or removing the RAM cartridge 11, S
Level 4 is always “O”.

RAMカートリッジ11はRAMチップ111と、カー
トリッジを取りはずした際のRAMチップ111の内容
を保持するためのRAMバックアップ用リチウム電池1
12と、カートリッジを取りはずした際に働く電源分離
用ダイオード113と、カートリッジを着脱する際、ま
た取りはずしている間にRAMチップ111にデータが
書込まれるのを禁止するため、RAMチップイネーブル
信号S5を“1”に保つプルアップ抵抗114と、この
期間にRAMチップ111のチップイネーブル端子CE
IをLOWレベル(アクセス不可状態)に保つNORゲ
ート115から成っている。ここで、NORゲート11
5は全ての入力がLOWレベルの時のみにRAMチップ
111をアクセス可能にするから、該NORゲート11
5はノイズ信号に対しては論理積回路として機能する。
The RAM cartridge 11 includes a RAM chip 111 and a RAM backup lithium battery 1 for retaining the contents of the RAM chip 111 when the cartridge is removed.
12, a power isolation diode 113 that operates when the cartridge is removed, and a RAM chip enable signal S5 to prevent data from being written to the RAM chip 111 when the cartridge is installed or removed. During this period, the pull-up resistor 114 is kept at “1” and the chip enable terminal CE of the RAM chip 111 is
It consists of a NOR gate 115 that keeps I at a LOW level (inaccessible state). Here, NOR gate 11
5 makes the RAM chip 111 accessible only when all inputs are at LOW level, so the NOR gate 11
5 functions as an AND circuit for noise signals.

NORゲート115の3人力中の2つはドライブトラン
ジスタ86からコネクタ10を介して直接与えられ、残
りの1つはC1PUIがRAMカートリッジ11をアク
セスするために制御するチップイネーブル信号Sl’と
前記ドライブトランジスタ86からの信号とのAND出
力によって与えられている。、RAMカートリッジ11
を着状態で正常に使用中であっても、データアクセスし
たくない場合の制御線である。
Two of the three inputs of the NOR gate 115 are provided directly from the drive transistor 86 via the connector 10, and the remaining one is the chip enable signal Sl' that the C1PUI controls to access the RAM cartridge 11 and the drive transistor. It is given by the AND output with the signal from 86. , RAM cartridge 11
This is a control line when you do not want to access data even if the terminal is connected and in normal use.

さて、木ETWはパワースイッチ15のONにより、電
源線57〜S9の各種電圧が立ち上がり、CPU 1は
まず各種のイニシャライズ処理を行なう。イニシャライ
ズ処理では、例えばRAM3内のワークエリアのクリア
、表示器5のイニシャル表示、プリンタ6のキャリッジ
を左マージン位置へ8wJ1サーマルヘッドのアップ動
作等が行われる。イニシャライズ処理が終了すると、キ
ーボード4からの人力が可能になり、CPUIはここか
ら入力されたキーデータにより表示器5への表示を行な
い、またはプリンタコントローラ7を通してプリンタ6
の制御を行い、印字動作を行う。
Now, in the tree ETW, when the power switch 15 is turned on, various voltages on the power lines 57 to S9 rise, and the CPU 1 first performs various initialization processes. In the initialization process, for example, the work area in the RAM 3 is cleared, the initial display is displayed on the display 5, the carriage of the printer 6 is moved to the left margin position, and the 8wJ1 thermal head is moved up. When the initialization process is completed, manual input from the keyboard 4 becomes possible, and the CPU displays information on the display 5 based on the key data entered from here, or displays information on the printer 6 through the printer controller 7.
control and print operation.

第4図はRAMカートリッジの着脱動作のタイミングチ
ャート、第5図はRAMカートリッジ着脱動作のための
制御及びその動作遷りを示すフローチャートである。E
TWに対するRAMカートリッジ11の着脱はドアフタ
92を開けることで開始される(ステップ5100)。
FIG. 4 is a timing chart of the RAM cartridge attachment/detachment operation, and FIG. 5 is a flowchart showing the control for the RAM cartridge attachment/detachment operation and its operation transition. E
Attachment and detachment of the RAM cartridge 11 to and from the TW is started by opening the door cover 92 (step 5100).

ドアフタ92を開けるとドアスイッチ91がONになり
、S4のレベルが“1”から“0″になる(ステップ5
IOI)、またこれによって52のレベルがMO″から
”1”になり、CPUIに割込がかかる(ステップ51
02)。ドアスイッチ91がONする時にはチャタリン
グが発生するが、シュミット回路82で除去される。十
分に除去されない場合でもCPU 1は割込ルーチンに
入力した最初の処理で多重割込禁止の処理をするので問
題はない。木ETWではCPU 1のバスS1がコネク
タ10を通じて直接RAMチップ111のバスと接続さ
れているため、RAMカートリッジ11の着脱時にたと
えRAMチップ111がアクセスされていなくても、例
えば1着勅作又は脱動作によるコネクタ端子の摺動ノイ
ズによりCPUIが暴走する可能性がある。このため着
動作又は脱動作時にはCPU1をホールト(一時停止)
する必要がある。cputは割込ルーチンの中で、まず
そのための処理(ホールト前処理)を行う。例えばプリ
ンタが動作中であればプリンタの停止、RAMチップ1
11がアクセス中であればその停止などを行う(ステッ
プ5103)。次に出力ボート87の出力を0′から1
″にする。するとAND回路88によりS3のレベルが
“ONから“1″になってCPUIはホールトモードに
なる(ステップ5104)。ホールトモードではバスS
1はハイインピーダンス状態になる。ドアスイッチ91
がONになってからCPU 1がホールトモードになる
までの一連の割込ルーチン処理時間toは数msのオー
ダであり、人間の感覚、動作に比べれば無視し得る時間
である。
When the door cover 92 is opened, the door switch 91 is turned on, and the level of S4 changes from "1" to "0" (step 5).
IOI), and this changes the level of 52 from MO'' to ``1'', causing an interrupt to the CPUI (step 51).
02). Chattering occurs when the door switch 91 is turned on, but it is eliminated by the Schmitt circuit 82. Even if the interrupts are not removed sufficiently, there is no problem because the CPU 1 performs processing to disable multiple interrupts in the first processing input to the interrupt routine. In the wood ETW, the bus S1 of the CPU 1 is directly connected to the bus of the RAM chip 111 through the connector 10, so even if the RAM chip 111 is not accessed when the RAM cartridge 11 is installed or removed, for example, one cartridge is inserted or removed. There is a possibility that the CPU will run out of control due to sliding noise of the connector terminal due to operation. Therefore, CPU1 is halted (temporarily stopped) during attaching or detaching operation.
There is a need to. In the interrupt routine, cput first performs processing for this purpose (halt preprocessing). For example, if the printer is in operation, stop the printer, and RAM chip 1
11 is currently being accessed, the access is stopped (step 5103). Next, change the output of the output boat 87 from 0' to 1.
Then, the AND circuit 88 changes the level of S3 from "ON" to "1", and the CPU enters the halt mode (step 5104). Bus S in halt mode
1 is in a high impedance state. door switch 91
The series of interrupt routine processing time to from when the CPU 1 is turned on until the CPU 1 enters the halt mode is on the order of several ms, which is a time that can be ignored compared to human sensations and operations.

一方、S5のレベルは、CRディレィ回路83〜85の
働きにより、第4図に示すようにドアスイッチ92がO
Nになってからtz  (この時間も人間の感覚動作に
比べれば無視できる)だけ遅れて“O”から“1”に変
化し、RAMチップ111のCEI入力が非アクティブ
の状IQ (LOレベル)にされる。即ち、RAMチッ
プ111のアクセスが阻止される(ステップ5105)
。この場合に、t 1> t oとなるように設定され
ているから、CPUIがホールトモードに入る前にRA
Mチップ111のアクセスが禁止されることはない。次
に、人手によりRAMカートリッジ11の若動作又は脱
動作が行われる(ステップS106)。
On the other hand, the level of S5 is determined by the action of the CR delay circuits 83 to 85, as shown in FIG.
After reaching N, it changes from "O" to "1" with a delay of tz (this time can also be ignored compared to human sensory movements), and the CEI input of the RAM chip 111 is inactive (IQ (LO level)). be made into That is, access to the RAM chip 111 is blocked (step 5105).
. In this case, since it is set so that t 1 > t o, the RA
Access to the M chip 111 is not prohibited. Next, the RAM cartridge 11 is manually moved or removed (step S106).

この時、コネクタ10の接点には摺動ノイズが発生する
。この時点のコネクタ10の接点状態を見ると、CPU
Iはホールト状態、トランジスタ86は全てOFFにな
っていてNORゲート115の3人力は抵抗114でプ
ルアップされている。従って、この3人力以外の入力は
前記コネクタ接点の摺動ノイズにより論理レベルが不定
となる。またこのNORゲート115の3人力において
もその摺動ノイズが大きい場合にはその出力がアクティ
ブ状態になることもあり得る。しかしこの摺動ノイズの
特性がいかに不規則なものでも、3人力が同時に、しか
もRAMチップ111がアクセスされるのに充分な時間
の間アクティブになることは通常あり得ない、従って、
摺動ノイズに対して3人力の論理積をとることにより、
RAMカートリッジ11とコネクタ10との着脱時にコ
ネクタ接点の摺動ノイズによってRAMチップ111の
内容が破壊されることはない。
At this time, sliding noise is generated at the contacts of the connector 10. Looking at the contact status of the connector 10 at this point, we see that the CPU
I is in a halt state, all transistors 86 are turned off, and the three inputs of the NOR gate 115 are pulled up by the resistor 114. Therefore, the logic level of inputs other than these three manual inputs becomes unstable due to the sliding noise of the connector contacts. Furthermore, even when the NOR gate 115 is operated by three people, if the sliding noise is large, its output may become active. However, no matter how irregular the characteristics of this sliding noise, it is usually impossible for three people to be active at the same time and for a sufficient period of time for the RAM chip 111 to be accessed.
By calculating the logical product of the three human forces for the sliding noise,
When the RAM cartridge 11 and the connector 10 are attached and detached, the contents of the RAM chip 111 are not destroyed by the sliding noise of the connector contacts.

さて、この着動作又は脱動作が終了してカートリッジ収
納部のドアフタ92を閉めると(ステップ5107)、
ドアスイッチ91がOFFになり、S4のレベルが“0
″から“1”になる、またこれによってS2.S3.S
5のレベルは“1”から0″になり、CPUIのホール
トモードが解除されると同時にRAMチップ111への
アクセスが可能になる。CPUIはこの後、出力ポート
87の出力を“1”から“0”に戻し、割込ルーチンを
終了する(ステップ5IO8)。
Now, when this attaching or detaching operation is completed and the door cover 92 of the cartridge storage section is closed (step 5107),
The door switch 91 is turned OFF and the level of S4 is “0”.
” becomes “1”, and this causes S2.S3.S
The level of 5 changes from "1" to 0", and at the same time the halt mode of the CPUI is released, access to the RAM chip 111 becomes possible. After this, the CPUI changes the output of the output port 87 from "1" to "0". It is returned to "0" and the interrupt routine ends (step 5IO8).

尚、本実施例ではドアフタ92の開閉状態を検出するこ
とによりRAMカートリッジ11の着動作又は脱肋作の
開始を予知した。しかし、他にも、例えばCPUIが処
理に応じてオペレータにRAMカートリッジ11の交換
を要求する場合もある。かかる場合にはドアフタ92の
開閉状態を検出するスイッチ手段が無くても、前もって
RAMカートリッジ11の着脱動作開始を予知できる。
In this embodiment, the start of the mounting operation or rib removal of the RAM cartridge 11 was predicted by detecting the open/closed state of the door cover 92. However, there are other cases in which, for example, the CPUI requests the operator to replace the RAM cartridge 11 depending on the process. In such a case, even if there is no switch means for detecting the opening/closing state of the door cover 92, it is possible to predict in advance the start of the attachment/detachment operation of the RAM cartridge 11.

従って、かか場合にも本発明を容易に適用できる。Therefore, the present invention can be easily applied to such cases as well.

[発明の効果] 以上述べた如く本発明によれば、複数系統のチップイネ
ーブル信号で機器本体とRAMカートリッジを接続する
ので、RAMカートリッジをラフに着脱してもカートリ
ッジ内のRAMの内容が破壊きれない。
[Effects of the Invention] As described above, according to the present invention, the main body of the device and the RAM cartridge are connected using multiple chip enable signals, so even if the RAM cartridge is roughly installed and removed, the contents of the RAM in the cartridge will not be destroyed. do not have.

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

第1図は実施例の電子タイプライタであって、RAMカ
ートリッジを適用したもののブロック構成図、 第2図はETWのプリンタ部の詳細ブロック構成図、 第3図は第1図のCPUI、RAMカートリッジ脱着コ
ントローラ8及び外部のRAMカートリッジ11の内部
とその周辺回路を示す詳細回路図、 第4図はRAMカートリッジの着脱動作のタイミングチ
ャート、 第5図はFLAMカートリッジ着脱動作のための制御及
びその動作遷移を示すフローチャートである。 図中、1…CPU、2・・・ROM、3・・・RAM。 4・・・キーボード、5・・・表示器、6・・・プリン
タ、7・・・プリンタコントローラ、8・・・着脱コン
トローラ、91・・・ドアスイッチ、10・・・コネク
タ、11・・・RAMカートリッジ、12・・・電圧検
出回路、13・・・電源回路、15・・・パワースイッ
チ、16・・・バッテリである。
Fig. 1 is a block diagram of an electronic typewriter according to an embodiment, to which a RAM cartridge is applied. Fig. 2 is a detailed block diagram of an ETW printer section. Fig. 3 is a block diagram of the electronic typewriter shown in Fig. 1 and a RAM cartridge. A detailed circuit diagram showing the internal and peripheral circuits of the attachment/detachment controller 8 and the external RAM cartridge 11, FIG. 4 is a timing chart of the RAM cartridge attachment/detachment operation, and FIG. 5 is the control for the FLAM cartridge attachment/detachment operation and its operation transition. It is a flowchart which shows. In the figure, 1...CPU, 2...ROM, 3...RAM. 4... Keyboard, 5... Display, 6... Printer, 7... Printer controller, 8... Detachable controller, 91... Door switch, 10... Connector, 11... RAM cartridge, 12... voltage detection circuit, 13... power supply circuit, 15... power switch, 16... battery.

Claims (2)

【特許請求の範囲】[Claims] (1)記憶カートリッジを着脱自在に構成した電子機器
において、着動作又は脱動作されるべき記憶カートリッ
ジに対してデータアクセス可否の制御信号を出力する制
御手段と、前記制御手段からの制御信号を複数の接続端
子にて接続する接続手段を備えることを特徴とする電子
機器。
(1) In an electronic device in which a storage cartridge is configured to be detachably attached, a control means outputs a control signal indicating whether or not data can be accessed to the storage cartridge to be attached or detached, and a plurality of control signals from the control means are output. An electronic device characterized by comprising a connecting means for connecting through a connecting terminal.
(2)記憶カートリッジを着動作又は脱動作する前に開
けるドアケースと、前記ドアケースの開状態を検出する
検出手段を備え、制御手段は前記検出手段がドアケース
の開状態を検出したことによりデータアクセス可否の制
御信号を否のレベルにすることを特徴とする特許請求の
範囲第1項記載の電子機器。
(2) A door case that is opened before attaching or removing a storage cartridge, and a detection means that detects the open state of the door case, and the control means is activated when the detection means detects the open state of the door case. 2. The electronic device according to claim 1, wherein the control signal for indicating whether or not data access is allowed is set to a no level.
JP61117630A 1986-05-23 1986-05-23 Electronic equipment Pending JPS62275373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61117630A JPS62275373A (en) 1986-05-23 1986-05-23 Electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61117630A JPS62275373A (en) 1986-05-23 1986-05-23 Electronic equipment

Publications (1)

Publication Number Publication Date
JPS62275373A true JPS62275373A (en) 1987-11-30

Family

ID=14716473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61117630A Pending JPS62275373A (en) 1986-05-23 1986-05-23 Electronic equipment

Country Status (1)

Country Link
JP (1) JPS62275373A (en)

Similar Documents

Publication Publication Date Title
EP0473113B1 (en) Stored data protection apparatus for electronic device
JP3007638B2 (en) Memory cartridge and data processing system
JP4070824B2 (en) Computer system and interrupt control device
KR970006390B1 (en) Apparatus for reducing computer system power consumption
US5978921A (en) Computer system and control method thereof
KR950033777A (en) Method and apparatus for reducing power consumption in a computer system
JPS62275373A (en) Electronic equipment
US4631418A (en) Power supply control device
JP2510993B2 (en) Memory Cartridge
JPS62275375A (en) Memory cartridge
KR100219680B1 (en) Slip mode execution/cancellation method and apparatus
US5499381A (en) Electronic apparatus with interchangeable peripheral device and a processor interrupt feature
US5020022A (en) Printing apparatus for use with a detachable memory
JPH0594238A (en) Data protection device for electronic equipment
JPH0334115B2 (en)
JP3551502B2 (en) Camera information setting device
JP3440383B2 (en) Card interface device
JPH04354011A (en) Power source make and break controller
JPS62184875A (en) Method and circuit for protecting business machine such as typewriter from series of discharge of static electricity
JPS63209870A (en) Printer device
JP2740323B2 (en) Electronics
JPH05233474A (en) Storage contents protection system
JPH0738148B2 (en) Memory card monitoring device
JPS6376147A (en) Malfunction preventing circuit for magnetic disk storage device for personal computer
JPH07129472A (en) Memory managing device for image forming device