JPS62275374A - Memory cartridge - Google Patents

Memory cartridge

Info

Publication number
JPS62275374A
JPS62275374A JP61117631A JP11763186A JPS62275374A JP S62275374 A JPS62275374 A JP S62275374A JP 61117631 A JP61117631 A JP 61117631A JP 11763186 A JP11763186 A JP 11763186A JP S62275374 A JPS62275374 A JP S62275374A
Authority
JP
Japan
Prior art keywords
cartridge
ram
connector
memory
chip
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
Application number
JP61117631A
Other languages
Japanese (ja)
Other versions
JP2510993B2 (en
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 JP61117631A priority Critical patent/JP2510993B2/en
Publication of JPS62275374A publication Critical patent/JPS62275374A/en
Application granted granted Critical
Publication of JP2510993B2 publication Critical patent/JP2510993B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To prevent destruction of the contents of a volatile memory in spite of the loading/unloading action of a memory cartridge, by permitting a memory access action within the memory cartridge only when the memory access enable/ unable signals received via plural connection terminals satisfy simultaneously the access enable levels. CONSTITUTION:When a RAM cartridge 11 is loaded or unloaded, the rubbing noises are produced at the contact of a connector 10. In this case, a CPU 1 is set under a halt state with the transistors 86 all turned off and the 3 inputs of a NOR gate 115 pulled up by a resistance 114 respectively in terms of the contact state of the connector 10. However it is usually impossible that a RAM chip 111 is set active for a period during which the chip 111 can receive satisfactorily an access. Thus the logical product of those 3 inputs is secured to the rubbing noises. As a result, the contents of the chip 111 are never destroyed by the rubbing noises of the connector content when the cartridge 11 is loaded to and unloaded from the connector 10.

Description

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

[従来の技術] 近年、揮発性半導体メモリを機器本体と脱着式にてカー
トリッジ状に構成し、不使用時はカートリッジを取りは
ずして保存できるものが増えている。しかし、従来のこ
の種の電子機器は着脱機構部にメカニカル接点方式を採
用しているので、カートリッジの着動作又は脱動作の際
の接点摺動ノイズ発生により揮発性メモリの周辺ドライ
バ回路が不安定動作するに至り、しばしば記憶カートリ
ッジのメモリの内容が破壊された。
[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. This often resulted in the destruction of the memory contents of the storage cartridge.

[発明が解決しようとする問題点] 本発明は上述の欠点に鑑みて成されたものであって、そ
の目的とする所は、記憶カートリッジの着脱動作にもか
かわらず、簡単な構成で揮発性メモリの内容破壊を防止
できる記憶カートリッジを提供することにある。
[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 a storage cartridge that can prevent the contents of the memory from being destroyed.

[問題点を解決するための手段] 本発明の記憶カートリッジは上記問題点を解決するため
、電子機器と記憶カートリッジ間の信号線を着脱自在に
接続する接続手段と、前記接続手段において前記電、子
機器からのメモリアクセス可否信号を受け取る複数の接
続端子と、前記複数の接続端子を介して受信したメモリ
アクセス可否信号が同時に可のレベルを満足するとぎの
み前記記憶カートリッジ内のメモリアクセスを可能にす
る制御手段を借える。
[Means for Solving the Problems] In order to solve the above-mentioned problems, the storage cartridge of the present invention includes a connection means for removably connecting a signal line between an electronic device and the storage cartridge, and a connection means for connecting the signal line between the electronic device and the storage cartridge; Memory access in the storage cartridge is enabled only when a plurality of connection terminals that receive memory access permission/denial signals from slave devices and memory access permission/denial signals received via the plurality of connection terminals simultaneously satisfy a permission level. You can rent control means to do so.

[作用] かかる構成において、接続手段は電子機器と記憶カート
リッジ間の信号線を着脱自在に接続し1、前記接続手段
の内の少なくとも2以上の接続端子は前記電子機器から
のメモリアクセス可否信号を受け取る。そして制御手段
は前記複数の接続端子を介して受信したメモリアクセス
可否信号が同時に可のレベルを満足するときのみ前記記
憶カートリッジ内のメモリアクセスを可能にする。
[Function] In this configuration, the connecting means detachably connects the signal line between the electronic device and the storage cartridge 1, and at least two or more connection terminals of the connecting means receive a memory access permission signal from the electronic device. receive. The control means enables memory access in the storage cartridge only when the memory access enable/disable signals received via the plurality of connection terminals simultaneously satisfy the enable level.

こうすることで、電子機器に記憶カートリッジを着脱し
ても複数の接続端子に同時に摺動ノイズが発生すること
は稀であることを利用し、記憶カートリッジ内のメモリ
安定動作を保証する。
In this way, stable operation of the memory in the storage cartridge is guaranteed by taking advantage of the fact that sliding noise is rarely generated at a plurality of connection terminals at the same time even when the storage cartridge is attached to and removed from an electronic device.

[実施例] 以下、添付図面に従って本発明の実施例を詳細に説明す
る。第1図は電子タイプライタ(以下、ETWという)
であって、実施例のRAMカートリッジを適用したもの
のブロック構成図、第2図はETWのプリンタ部の詳細
ブロック構成図である。図において、1はセントラルプ
ロセッシングユニット(CPU)であって、後述のRO
M2よりプログラム命令を読み出し、それに従ってタイ
プライタ機能に必要な演算、判断等を行い、表示器5、
キーボード4、プリンタコントローラ7等の制御を行う
。2は読出専用メモリ(ROM)であって、前記CPU
Iが動作するためのシステムプログラム、印字の際に必
要な文字コード、該文字コードに対応するドツトパター
ン(キャラクタジェネレーターCG)、印字やモータの
動作に必要なタイムテーブル等が記憶されている。3は
RAMであって、CPtJlが命令実行中のデータ、演
算結果、あるいは後述するキーボード4から入力された
文字コード、電圧検出器12から人力されたデータ等を
保存して置くリードライトメモリである。4はキーボー
ドであって、文字印字、文書i集に必要な各種キーデー
タを入力する入力装置である。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 electronic typewriter (hereinafter referred to as ETW)
FIG. 2 is a detailed block diagram of the printer section of the ETW. 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. 3 is a RAM, which is a read/write memory in which the CPtJl stores data during command execution, calculation results, character codes input from the keyboard 4, data manually input from the voltage detector 12, etc., which will be described later. . Reference numeral 4 denotes a keyboard, which is an input device for inputting various key data necessary for printing characters and for document i collection. Reference numeral 5 is a display that displays key data entered 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等から成り、CPU 1からの制御信号に応じて
プリンタ6を制御する。
7 is a printer controller, as shown in FIG. 2, it includes a pulse motor output latch 70, a carriage motor driver 71, a paper 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 capo
It consists of a door 7 and the like, and controls the printer 6 in response to control signals from the CPU 1.

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

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 can be accessed to the RAM cartridge 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カートリッジであって、RA
M3と同様に入力された文字コード等を保存し、ETW
本体に対し自在に着脱できる。
11 is an external RAM cartridge of the embodiment, and RA
Save the input character code etc. in the same way as M3 and use ETW
It can be attached to and detached from the main body freely.

又、取りはずした後でもRAMカートリッジ11内の記
憶内容が消えないように、RAMバックアップ用電池1
12が内蔵されている。
In addition, the RAM backup battery 1 is installed so that the memory contents in the RAM cartridge 11 will not be erased even after the RAM cartridge 11 is removed.
12 are built-in.

12は電圧検出回路であって、後に述べる2系統の電圧
レベルを検出できる。13は電源回路であって、電池1
6の電圧からcput、ROM2、RAM3等のロジッ
ク回路に必要な電圧及びサーマルへラドヒート用電圧の
2系統の定電圧を作り出している。サーマルヘッドヒー
ト用電圧は印字濃度設定ボリューム14によって変化す
ることが可能であり、これにより印字濃度を調整できる
。尚、各種モータ類の電圧は電池から直接供給している
。15はパワースイッチである。16は電池であって本
ETW用の動作エネルギー源である。17は所定値をロ
ード可能なタイマカウンタであって、ある一定時間毎に
カウントアツプ又はカウントダウンする。CPU 1は
必要に応じてカウンタ17の内容のリードライトを行う
Reference numeral 12 denotes a voltage detection circuit, which can detect voltage levels of two systems to be described later. 13 is a power supply circuit, and a battery 1
From the voltage of 6, two systems of constant voltage are generated: the voltage necessary for logic circuits such as CPU, ROM2, RAM3, etc., and the voltage for thermal heating. The voltage for thermal head 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 CPU 1 reads and writes the contents of the counter 17 as necessary.

SlはCPU 1の共通バスであって、CPUIとRO
M2、RAM3、あるいはプリンタコントローラ7等と
の間で情報伝達を行うための信号線群である。S2はC
PUIへの外部割込信号であって、該信号レベルが0”
 (LOレベル)から1″ (HIレベル)に変化する
時点でCPUIに割込がかかる。S3はCPU 1の一
時停止制御信号(HALT信号)線であって、この制御
線が“0”のときにCPUIは動作しており、“1”に
なると停止する。S4はドアスイッチ9の0N10 F
 F信号をカートリッジ着脱コントローラ8に知らせる
信号線である。S5はRAMカートリッジ11の着動作
又は脱動作に先立ってRAMカートリッジ11内のRA
Mチップイネーブル信号を制御する信号線である。この
信号線S5は複数系統設けられている。あるいは、コネ
クタの端子のみが複数でもよい。S6は、バスS1の信
号線の内、RAMカートリッジ11を本体に接続して動
作させるのに必要な一部の信号を含む信号線である。S
7は電池電圧線、S8はサーマルへラドヒート電圧線で
あり、これらの電圧は電圧検出回路12によって電圧レ
ベルがモニタされる。S9はロジック用電源電圧線であ
る。
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
External interrupt signal to PUI, the signal level is 0''
An interrupt is generated to the CPU when the signal changes from (LO level) to 1'' (HI level). S3 is the temporary stop control signal (HALT signal) line for CPU 1, and when this control line is "0" The CPU is operating and stops when it becomes "1".S4 is the 0N10F of the door switch 9.
This is a signal line that notifies the cartridge attachment/detachment controller 8 of the F signal. S5 is the RAM in the RAM cartridge 11 prior to the attachment or removal operation of the RAM cartridge 11.
This is a signal line that controls the M chip enable signal. A plurality of signal lines S5 are provided. Alternatively, the connector may have a plurality of 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, and S8 is a thermal heating 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図のCPUI、RAMカートリッジ脱着コ
ントローラ8及び外部のRAMカートリッジ11の内部
とその周辺回路を示す詳細回路図である。図において、
81はプルアップ抵抗であって、ドアスイッチ91の接
点がOFF (フタ92がクローズ状態)している時の
論理レベルをHIG)(レベルに保つ。82はドアスイ
ッチ91のチャタリング軽減用シュミット回路である。
FIG. 3 is a detailed circuit diagram showing the inside and peripheral circuits of the CPUI, 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 HIG 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. be.

抵抗83及びコンデンサ84はNANDゲート85の人
力スレッシュホルドと相まって信号遅延用CR回路を形
成する。86はRAMカートリッジ11に対するI’t
AMチップイネーブル端子用ドライブトランジスタであ
る。本実施例ではドライブトランジスタとその出力ライ
ンを複数系統として制御の確実性を保証している。87
は出力ボートであって、CPUIの制御下でO″と1″
の論理レベルを出力する。88はANDゲートである。
Resistor 83 and capacitor 84 together with the manual threshold of NAND gate 85 form a CR circuit for signal delay. 86 indicates I't for the RAM cartridge 11.
This is a drive transistor for the AM chip enable terminal. In this embodiment, a plurality of drive transistors and their output lines are used to ensure reliability of control. 87
is the output port, which under the control of the CPUI is set to O″ and 1″
Outputs the logic level of 88 is an AND 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つはCPUIがRAMカートリッジ11をアクセ
スするために制御するチップイネーブル信号81′と前
記ドライブトランジスタ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 81' that the CPU controls to access the RAM cartridge 11 and the drive transistor. It is given by the AND output with the signal from 86. This control line is used when you do not want to access data even if the RAM cartridge 11 is installed and in normal use.

さて、木ETWはパワースイッチ15のONにより、電
源線S7〜S9の各fffl電圧が立ち上がり、CPU
 1はまず各種のイニシャライズ処理を行なう。イニシ
ャライズ処理では、例えばRAM3内のワークエリアの
クリア、表示器5のイニシャル表示、プリンタ6のキャ
リッジを左マージン位置へg勅、サーマルヘッドのアッ
プ動作等が行われる。イニシャライズ処理が終了すると
、キーボード4からの入力が可能になり、cpu iは
ここから入力されたキーデータにより表示器5への表示
を行ない、またはプリンタコントローラ7を通してプリ
ンタ6の制御を行い、印字動作を行う。
Now, in the tree ETW, when the power switch 15 is turned on, each fffl voltage of the power lines S7 to S9 rises, 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 thermal head is moved up. When the initialization process is completed, input from the keyboard 4 becomes possible, and the CPU i displays the key data input from this on the display 5, or controls the printer 6 through the printer controller 7, and performs printing operations. I do.

第4図はRAMカートリッジの着脱動作のタイミングチ
ャート、第5図はRAMカートリッジ着脱動作のための
制御及びその動作遷りを示すフローチャートである。E
TWに対するRAMカートリッジ11の着脱はドアフタ
92を開けることで開始される(ステップ5too)。
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 5too).

ドアフタ92を開けるとドアスイッチ91がQNになり
、S4のレベルが“1”から“0”になる(ステップ5
tot)。またこれによって52のレベルが0“から′
1″になり、CPUIに割込がかかる(ステップ510
2)。ドアスイッチ91がONする時にはチャタリング
が発生するが、シュミット回路82で除去される。十分
に除去されない場合でもCPUIは割込ルーチンに入力
した最初の処理で多重割込禁止の処理をするので問題は
ない。本ETWではCPUIのバスS1がコネクタ10
を通じて直接RAMチップ111のバスと接続されてい
るため、RAMカートリッジ11の着脱時にたとえRA
Mチップ111がアクセスされていなくても、例えば着
動作又は脱動作によるコネクタ端子の摺動ノイズにより
CPUIが暴走する可能性がある。このため着動作又は
脱動作時にはCPUIをホールト(一時停止)する必要
がある。CPU 1は割込ルーチンの中で、まずそのた
めの処理(ホールト前処理)を行う。例えばプリンタが
動作中であればプリンタの停止、RAMチップ111が
アクセス中であればその停止?、(どを行う(ステップ
5103)。次に出力ボート87の出力を“0”から“
1”にする。するとAND回路88によりS3のレベル
がo7から“1”になってCPU1はホールトモードに
なる(ステップ5104)。ホールトモードではバスs
1はハイインピーダンス状態になる。ドアスイッチ91
がONになってからCPU 1がホールトモードになる
までの一連の割込ルーチン処理時間toは数msのオー
ダであり、人間の感覚、動作に比べれば無視し得る時間
である。
When the door cover 92 is opened, the door switch 91 changes to QN, and the level of S4 changes from "1" to "0" (step 5).
tot). Also, this will change the level of 52 from 0" to '
1'' and an interrupt is placed on the CPUI (step 510).
2). 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 CPUI performs processing to disable multiple interrupts in the first processing input to the interrupt routine. In this ETW, CPU bus S1 is connector 10
Since it is directly connected to the bus of the RAM chip 111 through the
Even if the M chip 111 is not being accessed, there is a possibility that the CPU will run out of control due to sliding noise of the connector terminal due to, for example, an attachment or detachment operation. For this reason, it is necessary to halt (temporarily stop) the CPUI during the attachment or detachment operation. In the interrupt routine, the CPU 1 first performs processing for this purpose (halt preprocessing). For example, if the printer is in operation, will it be stopped? If the RAM chip 111 is being accessed, will it be stopped? , (step 5103).Next, the output of the output port 87 is changed from "0" to "
1". Then, the AND circuit 88 changes the level of S3 from o7 to "1", and the CPU 1 enters the halt mode (step 5104). In the halt mode, the bus s
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になってからtx  (この時間も人間の感覚動作に
比べれば無視できる)だけ遅れて“0”から“1″に変
化し、RAMチップ111のCEI入力が非アクティブ
の状態(LOレベル)にされる。即ち、RAMチップ1
11のアクセスが阻止される(ステップ5105)。こ
の場合に、tx>toとなるように設定されているから
、CFIUIがホールトモードに入る前にRAMチップ
111のアクセスが禁止されることはない。次に、人手
によりRAMカートリッジ11の着動作又は脱動作が行
われる(ステップ5IO6)。
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 "0" to "1" with a delay of tx (this time is also negligible compared to human sensory movements), and the CEI input of the RAM chip 111 becomes inactive (LO level). be done. That is, RAM chip 1
11 is blocked (step 5105). In this case, since it is set so that tx>to, access to the RAM chip 111 is not prohibited before the CFIUI enters the halt mode. Next, the RAM cartridge 11 is manually attached or detached (step 5IO6).

この時、コネクタ10の接点には摺動ノイズが発生する
。この時点のコネクタ1oの接点状態を見ると、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 connector 1o at this point, the CPU
I is in a true state, all transistors 86 are turned off, and the three voltages 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 may be, 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. Therefore, by taking the logical product of the three human forces against the sliding noise, it is possible to determine that the sliding noise of the connector contacts causes the RAM chip 111 to
The contents of the file will not be destroyed.

さて、この着動作又は脱動作が終了してカートリッジ収
納部のドアフタ92を閉めると(ステップ5107)、
 ドアスイッチ91がOFFになり、S4のレベルが“
0”から“1″になる。またこれによって32.S3.
S5のレベルは“1″から0”になり、CPUIのホー
ルトモードが解除されると同時にRAMチップ111へ
のアクセスが可能になる。CPUIはこの後、出力ボー
ト87の出力を“1″からo″に戻し、割込ルーチンを
終了する(ステップ5108)。
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” to “1”. Also, due to this, 32.S3.
The level of S5 changes from "1" to 0, and at the same time the CPUI's halt mode is released, access to the RAM chip 111 becomes possible.The CPU then changes the output of the output port 87 from "1" to "0". o'' and terminates the interrupt routine (step 5108).

[発明の効果] 以上述べた如く本発明によれば、複数の接続端子を介し
て受信したメモリアクセス可否信号が同時に可のレベル
を満足するときのみ前記記憶カートリッジ内のメモリア
クセスを可能にするので、RAMカートリッジをラフに
着脱してもカートリッジ内のRAMの内容が破壊されな
い。
[Effects of the Invention] As described above, according to the present invention, memory access in the storage cartridge is enabled only when the memory access enable/disable signals received through a plurality of connection terminals simultaneously satisfy the enable level. , even if the RAM cartridge is roughly installed and removed, the contents of the RAM in the cartridge will not be destroyed.

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

第1図は電子タイプライタであって、実施例のRAMカ
ートリッジを適用したもののブロック構成図、 第2図はETWのプリンタ部の詳細ブロック構成図、 第3図は第1図のCPUI、RAMカートリッジ脱着コ
ントローラ8及び外部のRAMカートリッジ11の内部
とその周辺回路を示す詳細回路図、 第4図はRAMカートリッジの着脱動作のタイミングチ
ャート、 第5図はRAMカートリッジ着脱動作のための制御及び
その動作遷移を示すフローチャートであや・ 図中、1・・・CPU、2・・・ROM、3・・・RA
M。 4・・・キーボード、5・・・表示器、6・・・プリン
タ、7・・・プリンタコントローラ、8・・・着脱コン
トローラ、91・・・ドアスイッチ、10・・・コネク
タ、11・・・RAMカートリッジ、12・・・電圧検
出回路、13・・・電源回路、15・・・パワースイッ
チ、16・・・バッテリである。
Figure 1 is a block diagram of an electronic typewriter to which the RAM cartridge of the embodiment is applied. Figure 2 is a detailed block diagram of the ETW printer section. Figure 3 shows the CPU and RAM cartridge of Figure 1. 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 a control for the RAM cartridge attachment/detachment operation and its operation transition. In the diagram, 1...CPU, 2...ROM, 3...RA
M. 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 (1)

【特許請求の範囲】[Claims] 電子機器に対して着脱自在に構成された記憶カートリッ
ジにおいて、前記電子機器と前記記憶カートリッジ間の
信号線を着脱自在に接続する接続手段と、前記接続手段
において前記電子機器からのメモリアクセス可否信号を
受け取る複数の接続端子と、前記複数の接続端子を介し
て受信したメモリアクセス可否信号が同時に可のレベル
を満足するときのみ前記記憶カートリッジ内のメモリア
クセスを可能にする制御手段を備えることを特徴とする
記憶カートリッジ。
A storage cartridge configured to be detachably attached to an electronic device includes a connection means for detachably connecting a signal line between the electronic device and the storage cartridge, and a connection means for receiving a memory access permission signal from the electronic device. It is characterized by comprising a control means that enables memory access in the storage cartridge only when a plurality of connection terminals to receive and a memory access permission/denial signal received via the plurality of connection terminals simultaneously satisfy a permission level. memory cartridge.
JP61117631A 1986-05-23 1986-05-23 Memory Cartridge Expired - Fee Related JP2510993B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61117631A JP2510993B2 (en) 1986-05-23 1986-05-23 Memory Cartridge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61117631A JP2510993B2 (en) 1986-05-23 1986-05-23 Memory Cartridge

Publications (2)

Publication Number Publication Date
JPS62275374A true JPS62275374A (en) 1987-11-30
JP2510993B2 JP2510993B2 (en) 1996-06-26

Family

ID=14716496

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61117631A Expired - Fee Related JP2510993B2 (en) 1986-05-23 1986-05-23 Memory Cartridge

Country Status (1)

Country Link
JP (1) JP2510993B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59101098A (en) * 1982-11-30 1984-06-11 Toshiba Corp Device for preventing missing of storage information in storage device
JPS60167076A (en) * 1984-02-09 1985-08-30 Tokyo Tatsuno Co Ltd Reader/writer of ic card
JPS6137557U (en) * 1984-08-09 1986-03-08 オムロン株式会社 IC card contact connection structure

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5484647A (en) * 1977-12-19 1979-07-05 Hisaka Works Ltd Plateetype heat exchanger

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59101098A (en) * 1982-11-30 1984-06-11 Toshiba Corp Device for preventing missing of storage information in storage device
JPS60167076A (en) * 1984-02-09 1985-08-30 Tokyo Tatsuno Co Ltd Reader/writer of ic card
JPS6137557U (en) * 1984-08-09 1986-03-08 オムロン株式会社 IC card contact connection structure

Also Published As

Publication number Publication date
JP2510993B2 (en) 1996-06-26

Similar Documents

Publication Publication Date Title
KR970006390B1 (en) Apparatus for reducing computer system power consumption
US4593349A (en) Power sequencer
JP4070824B2 (en) Computer system and interrupt control device
EP0548928A2 (en) Portable computer
US5978921A (en) Computer system and control method thereof
KR950033777A (en) Method and apparatus for reducing power consumption in a computer system
JPH11506235A (en) Activation system for PCMCIA card
US4631418A (en) Power supply control device
JPS62275374A (en) Memory cartridge
US5343436A (en) Electronic apparatus having backup power source
JPS62275373A (en) Electronic equipment
JPS62275375A (en) Memory cartridge
KR100219680B1 (en) Slip mode execution/cancellation method and apparatus
JP3440383B2 (en) Card interface device
US5499381A (en) Electronic apparatus with interchangeable peripheral device and a processor interrupt feature
JP3551502B2 (en) Camera information setting device
JP2872235B2 (en) Printer device
JPH04354011A (en) Power source make and break controller
EP0296767A2 (en) Data back-up system
JP2001047692A (en) Printer device
KR0134250Y1 (en) Data protecting circuit
JPS6376147A (en) Malfunction preventing circuit for magnetic disk storage device for personal computer
JPS6278616A (en) Stand-by control system in cut-off mode of power supply
JPH0638219B2 (en) Memory back-up powered processor
JPH0738148B2 (en) Memory card monitoring device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees