JP2012008630A - Serial memory control system, method and program - Google Patents

Serial memory control system, method and program Download PDF

Info

Publication number
JP2012008630A
JP2012008630A JP2010141499A JP2010141499A JP2012008630A JP 2012008630 A JP2012008630 A JP 2012008630A JP 2010141499 A JP2010141499 A JP 2010141499A JP 2010141499 A JP2010141499 A JP 2010141499A JP 2012008630 A JP2012008630 A JP 2012008630A
Authority
JP
Japan
Prior art keywords
serial memory
reset
serial
clock
memory controller
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
JP2010141499A
Other languages
Japanese (ja)
Inventor
Tomohisa Suzuki
智久 鈴木
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.)
NEC Platforms Ltd
Original Assignee
NEC AccessTechnica Ltd
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 NEC AccessTechnica Ltd filed Critical NEC AccessTechnica Ltd
Priority to JP2010141499A priority Critical patent/JP2012008630A/en
Publication of JP2012008630A publication Critical patent/JP2012008630A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a serial memory control system, method and program for, when a serial memory controller is reset in any mode other than an initially set address mode, achieving the matching of modes with a serial memory having no reset terminal.SOLUTION: When it is detected that a serial memory controller 12 has been reset by reset detection means 13, a serial memory 11 is restarted by using restart means 14. When a clock for achieving synchronization is disconnected, the serial memory 11 may be restarted.

Description

本発明は、シリアルメモリの読み書きを制御するシリアルメモリ・コントロールシステム、シリアルメモリ・コントロール方法およびシリアルメモリ・コントロールプログラムに関する。本発明は特にデータ格納場所としてのアドレスの構成バイト数を切り替えて使用できるシリアルメモリを使用するのに好適なシリアルメモリ・コントロールシステム、シリアルメモリ・コントロール方法およびシリアルメモリ・コントロールプログラムに関する。   The present invention relates to a serial memory control system, a serial memory control method, and a serial memory control program for controlling reading and writing of a serial memory. The present invention particularly relates to a serial memory control system, a serial memory control method, and a serial memory control program suitable for using a serial memory that can be used by switching the number of constituent bytes of an address as a data storage location.

シリアルメモリと、これに対してデータの読み書きを制御するシリアルメモリ・コントローラとを併せ持ったシステムを本明細書ではシリアルメモリ・コントロールシステムと称することにする。   A system having both a serial memory and a serial memory controller that controls reading and writing of data is referred to as a serial memory control system in this specification.

図10は、従来提案された第1の関連技術におけるシリアルメモリ・コントロールシステムの構成を表わしたものである。このシリアルメモリ・コントロールシステム100は、シリアルメモリ・コントローラ101と、シリアルメモリ102によって構成されている。   FIG. 10 shows the configuration of a serial memory control system in the first related art proposed in the past. The serial memory control system 100 includes a serial memory controller 101 and a serial memory 102.

シリアルメモリ・コントローラ101はシリアルメモリ102に対するデータの読み書きを制御するデバイスである。シリアルメモリ・コントローラ101は、CPU(Central Processing Unit)と共にその周辺回路として1つの半導体チップ上にSOC(System-on-a-chip)として内蔵される形態を採ることが多い。   The serial memory controller 101 is a device that controls reading and writing of data with respect to the serial memory 102. The serial memory controller 101 often takes a form of being built as an SOC (System-on-a-chip) on one semiconductor chip as a peripheral circuit together with a CPU (Central Processing Unit).

シリアルメモリ・コントローラ101は、シリアルメモリ102との間でCS(Chip Select)信号111、CLK(clock)信号112、SI(Serial Input)信号113およびSO(Serial Output)信号114による通信を行う。ここでCS信号111は、シリアルメモリ・コントローラ101が特定のメモリを選択するための信号である。このCS信号111がシリアルメモリ・コントローラ101によってアクティブにされると、シリアルメモリ102は通信待ち受け状態になる。   The serial memory controller 101 communicates with the serial memory 102 using a CS (Chip Select) signal 111, a CLK (clock) signal 112, an SI (Serial Input) signal 113, and an SO (Serial Output) signal 114. Here, the CS signal 111 is a signal for the serial memory controller 101 to select a specific memory. When the CS signal 111 is activated by the serial memory controller 101, the serial memory 102 enters a communication standby state.

CLK信号112はクロック信号であり、シリアルメモリ・コントローラ101からシリアルメモリ102へ送出される。シリアルメモリ102は、CLK信号112に同期してデータの読み書き(ReadおよびWrite)を行う。   The CLK signal 112 is a clock signal and is sent from the serial memory controller 101 to the serial memory 102. The serial memory 102 reads / writes data (Read and Write) in synchronization with the CLK signal 112.

SI信号113は、シリアルインプット信号であり、コマンド、アドレスおよびデータの受信に使用される。SO信号114は、シリアルメモリ102からのデータの送信に使用される。   The SI signal 113 is a serial input signal and is used for receiving a command, an address, and data. The SO signal 114 is used for data transmission from the serial memory 102.

図11は、この第1の関連技術における3バイトアドレスモード時のシリアル通信のフォーマットの一例を示したものである。ここで3バイトアドレスモードとは、アドレスを3バイトで指定するアドレッシングモードである。   FIG. 11 shows an example of a serial communication format in the 3-byte address mode in the first related technology. Here, the 3-byte address mode is an addressing mode in which an address is designated by 3 bytes.

同図(A)に示すライト(Write)動作時では、同図(a)に示すCS信号111がH(ハイ)レベルからL(ロー)レベルに変化した時点で、同図(b)に示すCLK信号112がシリアルメモリ・コントローラ101からシリアルメモリ102へ送出を開始される。同図(b)に示す「0」から始まる番号は、CLK信号112の出力開始からの通し番号である。   In the write operation shown in FIG. 6A, when the CS signal 111 shown in FIG. 4A changes from the H (high) level to the L (low) level, the write operation shown in FIG. Transmission of the CLK signal 112 from the serial memory controller 101 to the serial memory 102 is started. The numbers starting from “0” shown in FIG. 5B are serial numbers from the start of output of the CLK signal 112.

同図(b)のCLK信号112が「0」から「7」までのクロックを出力するフィールドで、同図(c)に示すようにライト動作を指定するコマンドがSI信号113として、シリアルメモリ・コントローラ101からシリアルメモリ102に送出される。この後、アドレスを3バイト(byte)で指定するSI信号113がシリアルメモリ102に送出される。アドレッシングモードの終了後、シリアルメモリ・コントローラ101からシリアルメモリ102へSI信号113としてライト(Write)データが送出される。   In the field in which the CLK signal 112 in FIG. 7B outputs a clock from “0” to “7”, the command for designating the write operation is the SI signal 113 as shown in FIG. The data is sent from the controller 101 to the serial memory 102. Thereafter, an SI signal 113 for designating an address by 3 bytes is sent to the serial memory 102. After the end of the addressing mode, write data is sent from the serial memory controller 101 to the serial memory 102 as the SI signal 113.

図11(B)は、リード(Read)動作時の各種の信号を表わしている。同図(d)に示すCS信号111がH(ハイ)レベルからL(ロー)レベルに変化した時点で、同図(e)に示すCLK信号112がシリアルメモリ・コントローラ101からシリアルメモリ102へ送出を開始される。  FIG. 11B shows various signals during a read operation. When the CS signal 111 shown in FIG. 6D changes from the H (high) level to the L (low) level, the CLK signal 112 shown in FIG. 5E is sent from the serial memory controller 101 to the serial memory 102. Be started.

これにより、CLK信号112が「0」から「7」までのクロックを出力するフィールドで、同図(f)に示すようにリード動作を指定するコマンドがSI信号113として、シリアルメモリ・コントローラ101からシリアルメモリ102に送出される。この後、アドレスを3バイト(byte)で指定するSI信号113がシリアルメモリ102に送出される。アドレッシングモードの終了後、同図(g)に示すようにシリアルメモリ102からシリアルメモリ・コントローラ101へ、SO信号114として指定されたリード(Read)データが送出される。   As a result, in the field in which the CLK signal 112 outputs a clock from “0” to “7”, the command specifying the read operation is the SI signal 113 as shown in FIG. It is sent to the serial memory 102. Thereafter, an SI signal 113 for designating an address by 3 bytes is sent to the serial memory 102. After completion of the addressing mode, read data designated as the SO signal 114 is sent from the serial memory 102 to the serial memory controller 101 as shown in FIG.

ところで、第1の関連技術に使用されるシリアルメモリ102は、その容量が128メガビットすなわち16メガバイト以下であった。シリアルメモリ102の容量が仮に16メガバイトであるとすると、アドレス指定のためには、24ビットのアドレス情報が必要である。このため、SI信号113には3バイトのアドレスフィールドを定義することが行われていた。これを3バイトアドレスモードと呼んでいる。   Incidentally, the capacity of the serial memory 102 used in the first related technology is 128 megabits, that is, 16 megabytes or less. If the capacity of the serial memory 102 is 16 megabytes, 24-bit address information is required for address designation. For this reason, a 3-byte address field has been defined in the SI signal 113. This is called the 3-byte address mode.

ところが、その後、シリアルメモリ102に対する容量拡張の市場要求があり、たとえば256メガビット以上のメモリが開発されている。シリアルメモリ102が256メガビット以上の容量になると、後半の128メガビットをアクセスするために、25ビット以上のアドレス指定が必要となる。このため第1の関連技術で使用された3バイトアドレスモードではシリアルメモリ102に格納されたデータに対するアドレス指定ができないこととなる。   However, since then, there has been a market demand for capacity expansion for the serial memory 102, and for example, a memory of 256 megabits or more has been developed. When the serial memory 102 has a capacity of 256 megabits or more, addressing of 25 bits or more is required to access the latter 128 megabits. For this reason, in the 3-byte address mode used in the first related technique, it is impossible to specify the address for the data stored in the serial memory 102.

このような問題を解決するために、第2の関連技術が提案されている。この第2の関連技術では、アドレスフィールドを更に1バイト拡張して、4バイトとしている。このようなアクセス方法を4バイトアドレスモードと呼ぶこととする。   In order to solve such a problem, a second related technique has been proposed. In the second related technique, the address field is further expanded by 1 byte to 4 bytes. Such an access method is referred to as a 4-byte address mode.

図12は、第2の関連技術を採用したシリアルメモリコントロール装置における通常起動シーケンスを示したものである。このシリアルメモリ・コントロールシステム100Aは、3バイト(byte)アドレスモードと4バイト(byte)アドレスモードの双方を備えたシリアルメモリ・コントローラ101Aと、128メガビット以上のメモリ容量を有するシリアルメモリ102Aで構成されている。   FIG. 12 shows a normal startup sequence in the serial memory control device adopting the second related technique. The serial memory control system 100A includes a serial memory controller 101A having both a 3-byte address mode and a 4-byte address mode, and a serial memory 102A having a memory capacity of 128 megabits or more. ing.

シリアルメモリ・コントローラ101Aは、128メガビットのメモリ容量のシリアルメモリ102(図10参照)との互換性を図っている。このため、シリアルメモリ102Aはシリアルメモリ・コントローラ101Aと共に3バイトアドレスモードで起動する(ステップS201)。   The serial memory controller 101A is compatible with the serial memory 102 (see FIG. 10) having a memory capacity of 128 megabits. For this reason, the serial memory 102A is activated in the 3-byte address mode together with the serial memory controller 101A (step S201).

3バイトアドレスモードではシリアルメモリ102Aに対して128メガビットの容量までしかアドレスを指定することができない。そこで、256メガビットのアドレス領域のアドレスを指定する場合、シリアルメモリ・コントローラ101はシリアルメモリ102Aに対して4バイトアドレスモードへの移行コマンドを送信する(ステップS202)。   In the 3-byte address mode, an address can be specified only up to a capacity of 128 megabits for the serial memory 102A. Therefore, when designating an address in a 256 megabit address area, the serial memory controller 101 transmits a command to shift to the 4-byte address mode to the serial memory 102A (step S202).

シリアルメモリ102Aは、この4バイトアドレスモードへの移行コマンドを受信すると4バイトアドレスモードに移行し(ステップS203)、アドレスフィールドが4バイトへ拡張されて通信を開始する。シリアルメモリ・コントローラ101はステップS202で4バイトアドレスモードへの移行コマンドを送信した後、4バイトアドレスモードへ移行する(ステップS204)。したがって、この後はシリアルメモリ・コントローラ101Aとシリアルメモリ102Aの間で4バイトアドレスモードによる通信が可能になる(ステップS205)。   When the serial memory 102A receives this shift command to the 4-byte address mode, the serial memory 102A shifts to the 4-byte address mode (step S203), the address field is expanded to 4 bytes, and communication starts. The serial memory controller 101 transmits a transition command to the 4-byte address mode in step S202, and then transitions to the 4-byte address mode (step S204). Therefore, thereafter, communication in the 4-byte address mode becomes possible between the serial memory controller 101A and the serial memory 102A (step S205).

この第2の関連技術では、4バイトアドレスモードに移行した後のシリアルメモリ・コントローラ101Aが何らかの理由でリセットすると、シリアルメモリ102Aとの間の正常な通信ができなくなる可能性があるという問題があった。   This second related technique has a problem that normal communication with the serial memory 102A may not be possible if the serial memory controller 101A after shifting to the 4-byte address mode is reset for some reason. It was.

図13は、第2の関連技術を採用したシリアルメモリ・コントローラのリセットにより生じる問題を説明するためのものである。図13で図12と同一部分には同一の符号を付しており、これらの説明を適宜省略する。   FIG. 13 is a diagram for explaining a problem caused by resetting a serial memory controller employing the second related technology. In FIG. 13, the same parts as those in FIG. 12 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

図12で説明したステップS203でシリアルメモリ102Aは4バイトアドレスモードに移行し、ステップS204でシリアルメモリ・コントローラ101Aも4バイトアドレスモードに移行する。したがって、これ以後は、ステップS205で示すようにシリアルメモリ・コントローラ101Aとシリアルメモリ102Aの間で4バイトアドレスモードによる通信が可能になる。   In step S203 described with reference to FIG. 12, the serial memory 102A shifts to the 4-byte address mode, and in step S204, the serial memory controller 101A also shifts to the 4-byte address mode. Therefore, thereafter, as shown in step S205, communication in the 4-byte address mode becomes possible between the serial memory controller 101A and the serial memory 102A.

この4バイトアドレスモードによる通信が可能な状態で、何らかの原因でシリアルメモリ・コントローラ101Aがリセットしたとする(ステップS206)。すると、シリアルメモリ・コントローラ101Aは、リセット解除後に、再び初期状態に戻って3バイトアドレスモードで動作を開始する(ステップS207)。   Assume that the serial memory controller 101A is reset for some reason in a state where communication in the 4-byte address mode is possible (step S206). Then, after the reset is released, the serial memory controller 101A returns to the initial state again and starts operation in the 3-byte address mode (step S207).

この一方で、シリアルメモリ102AはステップS203で移行した4バイトアドレスモードのままになっている。この結果、シリアルメモリ・コントローラ101Aとシリアルメモリ102Aは動作モードに不一致が生じてしまい(ステップS208)、正常に通信ができない可能性が生じてしまう。   On the other hand, the serial memory 102A remains in the 4-byte address mode shifted in step S203. As a result, the operation modes of the serial memory controller 101A and the serial memory 102A are inconsistent (step S208), and there is a possibility that normal communication cannot be performed.

図14は、動作モードに不一致が生じた場合に正常な通信ができない理由を説明するためのものである。図13と共に説明する。   FIG. 14 is a diagram for explaining the reason why normal communication cannot be performed when a mismatch occurs in the operation mode. This will be described with reference to FIG.

図14(A)は、シリアルメモリ102Aに対するライト(Write)動作時を表わしている。シリアルメモリ・コントローラ101Aは、同図(a)に示すようにリセット後に3バイトアドレスモードとなっている。この一方で、シリアルメモリ102Aは同図(b)に示すように4バイトアドレスモードとなっている。   FIG. 14A shows a write operation for the serial memory 102A. The serial memory controller 101A is in a 3-byte address mode after reset as shown in FIG. On the other hand, the serial memory 102A is in a 4-byte address mode as shown in FIG.

このため、通信の開始された1バイト(byte)目にはシリアルメモリ・コントローラ101Aからコマンドが出力され(図11(c)参照)、シリアルメモリ102Aもこれによりライト(Write)動作が行われることを認識する。次の2バイト目から4バイト目までの3バイトで、シリアルメモリ・コントローラ101Aは3バイトアドレスモードによるアドレス情報の送信を行う。   For this reason, a command is output from the serial memory controller 101A at the first byte where communication is started (see FIG. 11C), and the serial memory 102A is also subjected to a write operation. Recognize The serial memory controller 101A transmits address information in the 3-byte address mode with the next 3 bytes from the second byte to the fourth byte.

ところがシリアルメモリ102Aは4バイトアドレスモードであると認識している。このため、5バイト目の第1のライト(Write)データまでをシリアルメモリ102Aはアドレスとして認識してしまう。この結果、シリアルメモリ・コントローラ101Aが3バイトで指定したアドレスとは全く異なったアドレスをシリアルメモリ102Aが認識してしまう。また、第1のライト(Write)データがアドレスとして間違って認識され(NG:No Good)、第2のライトデータからライトデータとして認識されるので、シリアルメモリ102Aに書き込まれるデータも相違してしまうことになる。   However, the serial memory 102A recognizes that it is in the 4-byte address mode. Therefore, the serial memory 102A recognizes up to the first write data of the fifth byte as an address. As a result, the serial memory 102A recognizes an address that is completely different from the address designated by the serial memory controller 101A with 3 bytes. In addition, since the first write data is erroneously recognized as an address (NG: No Good) and the second write data is recognized as write data, the data written to the serial memory 102A is also different. It will be.

一方、図14(B)は、シリアルメモリ102Aからのリード(Read)動作を表わしている。この場合にも同図(c)に示すようにリセット後にシリアルメモリ・コントローラ101Aは3バイトアドレスモードとなっている。この一方で、シリアルメモリ102Aは同図(d)に示すように4バイトアドレスモードとなっている。   On the other hand, FIG. 14B shows a read operation from the serial memory 102A. Also in this case, the serial memory controller 101A is in the 3-byte address mode after reset as shown in FIG. On the other hand, the serial memory 102A is in a 4-byte address mode as shown in FIG.

したがって、シリアルメモリ・コントローラ101Aはシリアルメモリ102Aからデータの読み出しを行うために2バイト目から4バイト目までの3バイトを使用してアドレスを指定する。ところがシリアルメモリ102Aは4バイトアドレスモードであると認識しているため、2バイト目から5バイト目までの4バイトを使用してアドレスを認識する。この結果、読み出しの対象となるアドレスがシリアルメモリ・コントローラ101Aの予期しないものとなる。また、シリアルメモリ・コントローラ101Aは、5バイト目からリード(Read)データであるとしてデータの入力を行うが、シリアルメモリ102Aは6バイト目からリード(Read)データを出力するので、読み出されるデータモード相違してしまうことになる。   Therefore, the serial memory controller 101A designates an address using 3 bytes from the second byte to the fourth byte in order to read data from the serial memory 102A. However, since the serial memory 102A recognizes that it is in the 4-byte address mode, the address is recognized using 4 bytes from the second byte to the fifth byte. As a result, the address to be read becomes an unexpected address of the serial memory controller 101A. The serial memory controller 101A inputs data as read data from the 5th byte, but the serial memory 102A outputs read data from the 6th byte. It will be different.

そこで、このような不具合を解消する第3の関連技術として、メインマイコンがサブマイコンに対して、所定の場合に強制的にリセットを解除するリセット解除信号を送出するようにした技術が提案されている(たとえば特許文献1参照)。この第3の関連技術でメインマイコンをシリアルメモリ・コントロールシステム100Aとし、サブマイコンをシリアルメモリ102Aとすれば、シリアルメモリ102Aを元の3バイトアドレスモードで動作させることができる。   Therefore, as a third related technique for solving such a problem, a technique has been proposed in which a main microcomputer sends a reset release signal for forcibly releasing a reset to a sub microcomputer in a predetermined case. (For example, refer to Patent Document 1). If the main microcomputer is the serial memory control system 100A and the sub microcomputer is the serial memory 102A in the third related technique, the serial memory 102A can be operated in the original 3-byte address mode.

しかしながら、シリアルメモリ102Aはリセット端子を備えていない。このため、シリアルメモリ102Aはシリアルメモリ・コントローラ101Aからリセットされたり、リセットを解除されることができず、第3の関連技術を用いてモードの不一致による不具合の発生を防止することができない。   However, the serial memory 102A does not include a reset terminal. For this reason, the serial memory 102A cannot be reset or released from the serial memory controller 101A, and it is impossible to prevent the occurrence of problems due to mode mismatch using the third related technique.

特開2000−235487号公報(第0048段落、図1)JP 2000-235487 A (paragraph 0048, FIG. 1)

そこで本発明の目的は、初期的に設定されるアドレスモード以外のアドレスモードでシリアルメモリ・コントローラがリセットされたとき、リセット端子を持たないシリアルメモリとの間でモードの一致を採ることのできるシリアルメモリ・コントロールシステム、方法およびプログラムを提供することにある。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a serial mode capable of matching the mode with a serial memory having no reset terminal when the serial memory controller is reset in an address mode other than the initially set address mode. To provide a memory control system, method and program.

本発明では、(イ)クロックに同期してシリアルデータの読み書きを行うシリアルメモリと、(ロ)このシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラと、(ハ)このシリアルメモリ・コントローラがリセットされたときこれを検出するリセット検出手段と、(ニ)このリセット検出手段がリセットを検出したとき前記したシリアルメモリを再起動する再起動手段とをシリアルメモリ・コントロールシステムが具備する。   In the present invention, (b) a serial memory that reads / writes serial data in synchronization with the clock; (b) a serial memory controller as a circuit that reads / writes data from / to the serial memory; A serial memory control system comprises reset detection means for detecting when the memory controller is reset, and (d) restart means for restarting the serial memory when the reset detection means detects reset. To do.

また、本発明では、(イ)それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラがリセットされたときこれを検出するリセット検出ステップと、(ロ)このリセット検出ステップで前記したシリアルメモリ・コントローラのリセットが検出されたとき前記したシリアルメモリを再起動する再起動ステップとをシリアルメモリ・コントロール方法が具備する。   In the present invention, (a) the serial memory controller as a circuit for reading / writing data to / from the serial memory for reading / writing serial data in synchronization with the clock without resetting the physical reset terminal itself is reset. (B) a serial memory control method comprising: (b) a restart step for restarting the serial memory when a reset of the serial memory controller is detected in the reset detection step. Comprise.

更に本発明では、(イ)それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラが前記したシリアルメモリに送出する同期用のクロックの送出の断を検出するクロック断検出ステップと、(ロ)このクロック断検出ステップで前記した同期用のクロックの送出の断が検出された時点で前記したシリアルメモリを再起動する再起動ステップとをシリアルメモリ・コントロール方法が具備する。   Further, in the present invention, (a) a serial memory controller as a circuit for reading and writing data to and from a serial memory that does not have a physical reset terminal itself and that reads and writes serial data in synchronization with a clock A clock disconnection detecting step for detecting the disconnection of the synchronization clock transmitted to the memory; and (b) the serial memory described above when the disconnection of the synchronization clock is detected in the clock disconnection detecting step. The serial memory control method includes a restarting step for restarting.

更にまた本発明では、コンピュータに、シリアルメモリ・コントロールプログラムとして、(イ)それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラがリセットされたときこれを検出するリセット検出処理と、(ロ)このリセット検出処理で前記したシリアルメモリ・コントローラのリセットが検出されたとき前記したシリアルメモリを再起動する再起動処理とを実行させることを特徴としている。   Furthermore, according to the present invention, as a serial memory control program in a computer, (a) reading / writing data to / from a serial memory that does not have a physical reset terminal and reads / writes serial data in synchronization with a clock. A reset detection process for detecting when the serial memory controller as a circuit is reset; and (b) restarting the serial memory when a reset of the serial memory controller is detected in the reset detection process. It is characterized by executing a restart process.

また本発明では、コンピュータに、シリアルメモリ・コントロールプログラムとして、(イ)それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラが前記したシリアルメモリに送出する同期用のクロックの送出の断を検出するクロック断検出処理と、(ロ)このクロック断検出処理で前記した同期用のクロックの送出の断が検出された時点で前記したシリアルメモリを再起動する再起動処理とを実行させることを特徴としている。   In the present invention, as a serial memory control program in a computer, (a) a circuit for reading / writing data from / to a serial memory that does not have a physical reset terminal itself and reads / writes serial data in synchronization with a clock A clock loss detection process in which the serial memory controller detects the disconnection of the synchronization clock transmitted to the serial memory, and (b) the synchronization clock transmission interruption described in the clock loss detection process. And a restart process for restarting the serial memory at the time when the error is detected.

以上説明したように本発明によれば、シリアルメモリ・コントローラがリセットしたとき、シリアルメモリへの電源供給を制御して、シリアルメモリを再起動させる。これにより、シリアルメモリ・コントローラとシリアルメモリがそれぞれ初期状態のアドレスモードとなり、アドレスモードの不一致による通信の異常を簡単に解消することができる。   As described above, according to the present invention, when the serial memory controller is reset, the power supply to the serial memory is controlled to restart the serial memory. As a result, the serial memory controller and the serial memory are each in the initial address mode, and the communication abnormality due to the mismatch of the address modes can be easily eliminated.

本発明のシリアルメモリ・コントロールシステムのクレーム対応図である。It is a claim corresponding | compatible figure of the serial memory control system of this invention. 本発明のシリアルメモリ・コントロール方法のクレーム対応図である。It is a claim corresponding | compatible figure of the serial memory control method of this invention. 本発明の他のシリアルメモリ・コントロール方法のクレーム対応図である。It is a claim corresponding | compatible figure of the other serial memory control method of this invention. 本発明のシリアルメモリ・コントロールプログラムのクレーム対応図である。It is a claim correspondence diagram of the serial memory control program of the present invention. 本発明の他のシリアルメモリ・コントロールプログラムのクレーム対応図である。It is a claim corresponding | compatible figure of the other serial memory control program of this invention. 本発明の実施の形態におけるシリアルメモリ・コントロールシステムの構成を表わしたシステム構成図である。1 is a system configuration diagram showing a configuration of a serial memory control system in an embodiment of the present invention. 本実施の形態のSOCの電源がオンになった後におけるシリアルメモリ・コントロールシステムの処理を表わした流れ図である。It is a flowchart showing the process of the serial memory control system after the power supply of SOC of this Embodiment is turned on. 本発明の変形例におけるシリアルメモリ・コントロールシステムの構成を表わしたシステム構成図である。It is a system block diagram showing the structure of the serial memory control system in the modification of this invention. この変形例のSOCの電源がオンになった後におけるシリアルメモリ・コントロールシステムの処理を表わした流れ図である。It is a flowchart showing the process of the serial memory control system after the power supply of SOC of this modification is turned on. 従来提案された第1の関連技術におけるシリアルメモリ・コントロールシステムの構成を表わしたシステム構成図である。It is a system block diagram showing the structure of the serial memory control system in the 1st related technique proposed conventionally. 第1の関連技術における3バイトアドレスモード時のシリアル通信のフォーマットの一例を示したタイミング図である。It is the timing figure which showed an example of the format of the serial communication at the time of 3 byte address mode in 1st related technology. 第2の関連技術を採用したシリアルメモリコントロール装置における通常起動シーケンスを示した説明図である。It is explanatory drawing which showed the normal starting sequence in the serial memory control apparatus which employ | adopted the 2nd related technique. 第2の関連技術を採用したシリアルメモリ・コントローラのリセットにより生じる問題を示した説明図である。It is explanatory drawing which showed the problem which arises by reset of the serial memory controller which employ | adopted the 2nd related technique. 第2の関連技術を採用し動作モードに不一致が生じた場合に正常な通信ができない理由を示す説明図である。It is explanatory drawing which shows the reason why normal communication cannot be performed when the second related technology is employed and a mismatch occurs in the operation mode.

図1は、本発明のシリアルメモリ・コントロールシステムのクレーム対応図を示したものである。本発明のシリアルメモリ・コントロールシステム10は、シリアルメモリ11と、シリアルメモリ・コントローラ12と、リセット検出手段13と、再起動手段14を備えている。ここで、シリアルメモリ11は、クロックに同期してシリアルデータの読み書きを行う。シリアルメモリ・コントローラ12は、シリアルメモリ11に対してデータの読み書きを行う回路である。リセット検出手段13は、シリアルメモリ・コントローラ12がリセットされたときこれを検出する。再起動手段14は、リセット検出手段13がリセットを検出したとき前記したシリアルメモリ11を再起動する。   FIG. 1 shows a claim correspondence diagram of the serial memory control system of the present invention. The serial memory control system 10 according to the present invention includes a serial memory 11, a serial memory controller 12, a reset detection unit 13, and a restart unit 14. Here, the serial memory 11 reads and writes serial data in synchronization with the clock. The serial memory controller 12 is a circuit that reads and writes data from and to the serial memory 11. The reset detecting means 13 detects when the serial memory controller 12 is reset. The restarting means 14 restarts the serial memory 11 described above when the reset detecting means 13 detects a reset.

図2は、本発明のシリアルメモリ・コントロール方法のクレーム対応図を示したものである。本発明のシリアルメモリ・コントロール方法20は、リセット検出ステップ21と、再起動ステップ22を備えている。ここで、リセット検出ステップ21では、それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラがリセットされたときこれを検出する。再起動ステップ22では、リセット検出ステップ21で前記したシリアルメモリ・コントローラのリセットが検出されたとき前記したシリアルメモリを再起動する。   FIG. 2 is a diagram corresponding to the claims of the serial memory control method of the present invention. The serial memory control method 20 of the present invention includes a reset detection step 21 and a restart step 22. Here, in the reset detection step 21, the serial memory controller as a circuit for reading / writing data from / to the serial memory that does not have a physical reset terminal itself and that reads / writes serial data in synchronization with the clock is reset. This is detected when In the restart step 22, when the reset of the serial memory controller is detected in the reset detection step 21, the serial memory is restarted.

図3は、本発明の他のシリアルメモリ・コントロール方法のクレーム対応図を示したものである。本発明の他のシリアルメモリ・コントロール方法30は、クロック断検出ステップ31と、再起動ステップ32を備えている。ここで、クロック断検出ステップ31では、それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラが前記したシリアルメモリに送出する同期用のクロックの送出の断を検出する。再起動ステップ32では、クロック断検出ステップ31で前記した同期用のクロックの送出の断が検出された時点で前記したシリアルメモリを再起動する。   FIG. 3 shows a claim correspondence diagram of another serial memory control method of the present invention. Another serial memory control method 30 of the present invention includes a clock loss detection step 31 and a restart step 32. Here, in the clock interruption detection step 31, the serial memory controller as a circuit for reading / writing data to / from the serial memory that does not have a physical reset terminal itself and that reads / writes serial data in synchronization with the clock is described above. The disconnection of the synchronization clock transmitted to the serial memory is detected. In the restart step 32, the serial memory is restarted at the time when the clock disconnection detection step 31 detects the disconnection of the synchronization clock.

図4は、本発明のシリアルメモリ・コントロールプログラムのクレーム対応図を示したものである。本発明のシリアルメモリ・コントロールプログラム40は、コンピュータに、リセット検出処理41と、再起動処理42を実行させるようにしている。ここで、リセット検出処理41では、それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラがリセットされたときこれを検出する。再起動処理42では、リセット検出処理41で前記したシリアルメモリ・コントローラのリセットが検出されたとき前記したシリアルメモリを再起動する。   FIG. 4 shows a claim correspondence diagram of the serial memory control program of the present invention. The serial memory control program 40 of the present invention causes a computer to execute a reset detection process 41 and a restart process 42. Here, in the reset detection processing 41, the serial memory controller as a circuit for reading / writing data to / from the serial memory that does not have a physical reset terminal and that reads / writes serial data in synchronization with the clock is reset. This is detected when In the restart process 42, when the reset of the serial memory controller is detected in the reset detection process 41, the serial memory is restarted.

図5は、本発明の他のシリアルメモリ・コントロールプログラムのクレーム対応図を示したものである。本発明の他のシリアルメモリ・コントロールプログラム50は、コンピュータにクロック断検出処理51と、再起動処理52を実行させるようにしている。ここで、クロック断検出処理51では、それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラが前記したシリアルメモリに送出する同期用のクロックの送出の断を検出する。再起動処理52では、クロック断検出処理51で前記した同期用のクロックの送出の断が検出された時点で前記したシリアルメモリを再起動する。   FIG. 5 shows a claim correspondence diagram of another serial memory control program of the present invention. Another serial memory control program 50 of the present invention causes the computer to execute a clock loss detection process 51 and a restart process 52. Here, in the clock loss detection processing 51, the serial memory controller as a circuit for reading / writing data from / to the serial memory that does not have a physical reset terminal itself and that reads / writes serial data in synchronization with the clock is described above. The disconnection of the synchronization clock transmitted to the serial memory is detected. In the restart process 52, the serial memory is restarted when the clock disconnection detection process 51 detects the disconnection of the synchronization clock.

<発明の実施の形態>   <Embodiment of the Invention>

次に本発明の実施の形態を説明する。   Next, an embodiment of the present invention will be described.

図6は、本発明の実施の形態におけるシリアルメモリ・コントロールシステムの構成を表わしたものである。本実施の形態のシリアルメモリ・コントロールシステム300は、SOC(System-on-a-chip)301と、シリアルメモリ302の他に、リセット信号検出部303と、電源供給部304によって構成されている。   FIG. 6 shows the configuration of the serial memory control system according to the embodiment of the present invention. The serial memory control system 300 according to the present embodiment includes an SOC (System-on-a-chip) 301 and a serial memory 302, a reset signal detection unit 303, and a power supply unit 304.

このうちSOC301は、1つの半導体チップ上に、必要とされる一連の機能を集積した集積回路であり、本実施の形態ではシリアルメモリ・コントローラ311と、リセット信号送出部312を内蔵している。また、シリアルメモリ302は、これに供給される電源用の電源端子321を備えている。   Among these, the SOC 301 is an integrated circuit in which a series of required functions are integrated on one semiconductor chip, and in this embodiment, a serial memory controller 311 and a reset signal transmission unit 312 are incorporated. The serial memory 302 includes a power supply terminal 321 for supplying power to the serial memory 302.

シリアルメモリ・コントローラ311は、シリアルメモリ302との間でCS(Chip Select)信号331、CLK(clock)信号332、SI(Serial Input)信号333およびSO(Serial Output)信号334による通信を行う。CS信号331は、シリアルメモリ・コントローラ101が特定のメモリを選択するための信号である。このCS信号331がシリアルメモリ・コントローラ311によってアクティブにされると、シリアルメモリ302は通信待ち受け状態になる。   The serial memory controller 311 performs communication with the serial memory 302 using a CS (Chip Select) signal 331, a CLK (clock) signal 332, an SI (Serial Input) signal 333, and an SO (Serial Output) signal 334. The CS signal 331 is a signal for the serial memory controller 101 to select a specific memory. When the CS signal 331 is activated by the serial memory controller 311, the serial memory 302 enters a communication standby state.

CLK信号332はクロック信号であり、シリアルメモリ・コントローラ311からシリアルメモリ302へ送出される。シリアルメモリ302は、CLK信号332に同期してデータの読み書き(ReadおよびWrite)を行う。   The CLK signal 332 is a clock signal and is sent from the serial memory controller 311 to the serial memory 302. The serial memory 302 reads and writes data (Read and Write) in synchronization with the CLK signal 332.

SI信号333は、シリアルインプット信号であり、コマンド、アドレスおよびデータの受信に使用される。SO信号334は、シリアルメモリ302からのデータの送信に使用される。   The SI signal 333 is a serial input signal and is used for receiving a command, an address, and data. The SO signal 334 is used for data transmission from the serial memory 302.

リセット信号送出部312は、装置状態に応じてリセット信号341を出力する。リセット信号検出部303は、リセット信号送出部312からリセット信号341が出力されたとき、これを検出し電源制御信号342を出力する。電源供給部304は、電源制御信号342の電圧レベルを検出し、これに応じてシリアルメモリ302への電源343の供給を制御する。シリアルメモリ302は、その電源端子321に所定の電圧の電源343が供給されることにより、起動しメモリとして動作する。   The reset signal sending unit 312 outputs a reset signal 341 according to the apparatus state. When the reset signal 341 is output from the reset signal sending unit 312, the reset signal detection unit 303 detects this and outputs a power control signal 342. The power supply unit 304 detects the voltage level of the power supply control signal 342 and controls the supply of the power supply 343 to the serial memory 302 according to this. The serial memory 302 is activated and operates as a memory when a power supply 343 having a predetermined voltage is supplied to the power supply terminal 321.

ここでリセット信号送出部312は、SOC301の電源がオフとなっている状態と、シリアルメモリ・コントローラ311がリセットされている状態で、Lレベルのリセット信号341Lを出力する。また、リセット信号送出部312はシリアルメモリ・コントローラ311のリセットが解除されている状態でHレベルのリセット信号341Hを出力する。   Here, the reset signal sending unit 312 outputs an L level reset signal 341L in a state where the power of the SOC 301 is turned off and a state where the serial memory controller 311 is reset. The reset signal transmission unit 312 outputs an H level reset signal 341H in a state where the reset of the serial memory controller 311 is cancelled.

リセット信号検出部303は、リセット信号送出部312からのリセット信号341の電圧レベルを検出する。この結果、Hレベルのリセット信号341Hである場合には、Hレベルの電源制御信号342Hを出力する。Lレベルのリセット信号341Lである場合には、Lレベルの電源制御信号342Lを出力する。   The reset signal detection unit 303 detects the voltage level of the reset signal 341 from the reset signal transmission unit 312. As a result, when the reset signal 341H is at the H level, the power control signal 342H at the H level is output. When the reset signal 341L is at L level, the power control signal 342L at L level is output.

電源供給部304は、Hレベルの電源制御信号342Hを受け取った場合、電源343をシリアルメモリ302の電源端子321に供給する。電源供給部304がLレベルの電源制御信号342Lを受け取った場合には、電源端子321への電源の供給を停止する。   When the power supply unit 304 receives the H level power control signal 342 </ b> H, the power supply unit 304 supplies the power 343 to the power terminal 321 of the serial memory 302. When the power supply unit 304 receives the L-level power control signal 342L, the supply of power to the power terminal 321 is stopped.

以上説明したリセット信号送出部312の出力するリセット信号341の論理状態に基づいたリセット信号検出部303および電源供給部304の制御は、所定の手順に沿って行われる。SOC301にリセット信号検出部303および電源供給部304が内蔵されているような場合には、SOC301内に組み込まれたCPUが所定の制御プログラムに基づいてこのような制御を行うことも可能である。また、リセット信号検出部303および電源供給部304は、FET(Field Effect Transistor)等のトランジスタあるいはスイッチング素子を使用することで、SOC301の外付け部品として容易に構成することができる。   The control of the reset signal detection unit 303 and the power supply unit 304 based on the logic state of the reset signal 341 output from the reset signal transmission unit 312 described above is performed according to a predetermined procedure. When the reset signal detection unit 303 and the power supply unit 304 are incorporated in the SOC 301, the CPU incorporated in the SOC 301 can perform such control based on a predetermined control program. The reset signal detection unit 303 and the power supply unit 304 can be easily configured as external components of the SOC 301 by using transistors or switching elements such as FETs (Field Effect Transistors).

図7は、SOCの電源がオンになった後におけるシリアルメモリ・コントロールシステムの処理の流れを表わしたものである。図6と共に説明する。   FIG. 7 shows a process flow of the serial memory control system after the SOC power is turned on. This will be described with reference to FIG.

図示しない電源によってSOC301が正常に起動したとする(スタート)。これにより、SOC301に内蔵されたリセット信号送出部312はHレベルのリセット信号341Hを出力する。リセット信号検出部303はリセット信号341の検出処理を行い(ステップS401)、これがHレベルのリセット信号341Hであるかを判別する(ステップS402)。リセット信号341Hであれば(Y)、その出力する電源制御信号342をHレベルとする(ステップS403)。この電源制御信号342Hは電源供給部304に供給され、Hレベルの電源343Hが電源端子321に供給を開始される(ステップS404)。   Assume that the SOC 301 is normally activated by a power source (not shown) (start). As a result, the reset signal sending unit 312 built in the SOC 301 outputs an H level reset signal 341H. The reset signal detection unit 303 performs detection processing of the reset signal 341 (step S401), and determines whether this is the H level reset signal 341H (step S402). If the reset signal is 341H (Y), the output power control signal 342 is set to H level (step S403). The power control signal 342H is supplied to the power supply unit 304, and the H level power supply 343H starts to be supplied to the power supply terminal 321 (step S404).

このようにSOC301が正常に起動した場合、シリアルメモリ・コントローラ311が最初の時点で3バイトアドレスモードとなり、シリアルメモリ302も電源の投入により3バイトアドレスモードとなる。したがって、シリアルメモリ・コントローラ311とシリアルメモリ302は、これらの動作モードが一致する。   Thus, when the SOC 301 starts normally, the serial memory controller 311 enters the 3-byte address mode at the first time, and the serial memory 302 also enters the 3-byte address mode when the power is turned on. Therefore, the serial memory controller 311 and the serial memory 302 have the same operation mode.

これ以後、ステップS401の処理に戻るが、シリアルメモリ・コントローラ311がリセットしない状態でリセット信号送出部312はHレベルのリセット信号341Hを出力している。したがって、シリアルメモリ・コントローラ311がリセットしない状態が続く限りHレベルの電源343Hが電源端子321に供給される。この状態でシリアルメモリ・コントローラ311とシリアルメモリ302は、CS信号331、CLK信号332、SI信号333およびSO信号334を用いて3バイトアドレスモードによる通信を行い、4バイトアドレスモードへの移行も可能である。   Thereafter, the processing returns to step S401, but the reset signal sending unit 312 outputs the reset signal 341H of H level in a state where the serial memory controller 311 is not reset. Therefore, as long as the serial memory controller 311 does not reset, the H level power supply 343H is supplied to the power supply terminal 321. In this state, the serial memory controller 311 and the serial memory 302 communicate in the 3-byte address mode using the CS signal 331, the CLK signal 332, the SI signal 333, and the SO signal 334, and can shift to the 4-byte address mode. It is.

これ以後、何らかの原因によって電源投入後のSOC301でシリアルメモリ・コントローラ311がリセットしたとする。シリアルメモリ・コントローラ311がリセットすると、リセット信号送出部312はLレベルのリセット信号341Lを出力する。リセット信号検出部303はこの変化を検出して(ステップS401)、リセット信号341がHレベルであるかを判別する(ステップS402)。この場合にはLレベルとなっているので(N)、リセット信号検出部303はLレベルの電源制御信号342Lを出力する(ステップS405)。   Thereafter, it is assumed that the serial memory controller 311 is reset by the SOC 301 after the power is turned on for some reason. When the serial memory controller 311 is reset, the reset signal sending unit 312 outputs an L level reset signal 341L. The reset signal detection unit 303 detects this change (step S401), and determines whether the reset signal 341 is at the H level (step S402). In this case, since it is at the L level (N), the reset signal detection unit 303 outputs the L level power supply control signal 342L (step S405).

電源供給部304は、Lレベルの電源制御信号342Lを入力すると、今までHレベルの電源制御信号342Hを入力していたときに電源端子321に供給していた電源の供給を停止する(ステップS406)。そして、再びステップS401の処理に戻る。したがって、リセット信号送出部312からLレベルのリセット信号341Lが出力されている状態ではシリアルメモリ302への電源供給が停止された状態が保持されることになる。   When the power supply unit 304 receives the L-level power control signal 342L, the power supply unit 304 stops supplying the power that has been supplied to the power terminal 321 when the H-level power control signal 342H has been input (step S406). ). And it returns to the process of step S401 again. Therefore, in a state where the L level reset signal 341L is output from the reset signal sending unit 312, the state where the power supply to the serial memory 302 is stopped is held.

この後、所定の時点でシリアルメモリ・コントローラ311のリセットが解除されたとする。すると、リセット信号送出部312はLレベルのリセット信号341Lの出力からHレベルのリセット信号341Hの出力に切り替わる。リセット信号検出部303はこの変化を検出して(ステップS401)、リセット信号341がHレベルであるかを判別する(ステップS402)。この場合にはHレベルとなっているので(Y)、リセット信号検出部303はHレベルの電源制御信号342Hを出力する(ステップS403)。この電源制御信号342Hは電源供給部304に供給され、Hレベルの電源343Hが電源端子321に供給を開始される(ステップS404)。   Thereafter, it is assumed that the reset of the serial memory controller 311 is released at a predetermined time. Then, the reset signal sending unit 312 switches from the output of the L level reset signal 341L to the output of the H level reset signal 341H. The reset signal detection unit 303 detects this change (step S401), and determines whether the reset signal 341 is at the H level (step S402). In this case, since it is at the H level (Y), the reset signal detection unit 303 outputs the H level power supply control signal 342H (step S403). The power control signal 342H is supplied to the power supply unit 304, and the H level power supply 343H starts to be supplied to the power supply terminal 321 (step S404).

この結果、シリアルメモリ302が起動する。シリアルメモリ302はこの起動時に初期状態の3バイトアドレスモードで動作する。このとき、シリアルメモリ・コントローラ311もリセットにより初期状態の3バイトアドレスモードで動作を開始している。したがって、シリアルメモリ・コントローラ311とシリアルメモリ302は、これらの動作モードが一致することになる。   As a result, the serial memory 302 is activated. The serial memory 302 operates in the initial 3-byte address mode at the time of activation. At this time, the serial memory controller 311 also starts operation in the initial 3-byte address mode by reset. Therefore, the serial memory controller 311 and the serial memory 302 have the same operation mode.

以上説明したようにシリアルメモリ・コントローラ311とシリアルメモリ302が3バイトアドレスモードで動作していても、あるいはそれ以後に両者が4バイトアドレスモードで動作していても、シリアルメモリ・コントローラ311がリセットされるとシリアルメモリ302の電源が一度遮断される。このため、その後にシリアルメモリ・コントローラ311のリセットが解除されたときシリアルメモリ・コントローラ311とシリアルメモリ302は再び初期状態としての3バイトアドレスモードで動作を開始する。このため、シリアルメモリ・コントローラ311とシリアルメモリ302の間で動作モードが不一致となることによる通信異常の発生を防止することができる。   As described above, even if the serial memory controller 311 and the serial memory 302 operate in the 3-byte address mode, or after that both operate in the 4-byte address mode, the serial memory controller 311 is reset. Then, the power supply of the serial memory 302 is cut off once. For this reason, when the reset of the serial memory controller 311 is subsequently released, the serial memory controller 311 and the serial memory 302 start operation again in the 3-byte address mode as an initial state. For this reason, it is possible to prevent the occurrence of communication abnormality due to the operation mode mismatch between the serial memory controller 311 and the serial memory 302.

このように本実施の形態によれば、シリアルメモリ・コントローラ311のリセット時にシリアルメモリ302の電源が一度オフになって再起動される。この結果、シリアルメモリ・コントローラ311とシリアルメモリ302の間での動作モードの不一致が生ぜず、アドレス情報の誤認識を防止することができる。   As described above, according to this embodiment, when the serial memory controller 311 is reset, the power of the serial memory 302 is once turned off and restarted. As a result, the operation mode mismatch between the serial memory controller 311 and the serial memory 302 does not occur, and erroneous recognition of address information can be prevented.

また、本実施の形態ではSOC301に外付けでリセット信号検出部303および電源供給部304を設けて、シリアルメモリ302の電源制御を行うことにした。これにより、メモリアドレスが4バイト以上になったとしても、ソフトウェアを変更する必要がないという利点もある。   In the present embodiment, the reset signal detection unit 303 and the power supply unit 304 are provided externally to the SOC 301 to control the power supply of the serial memory 302. As a result, there is an advantage that even if the memory address becomes 4 bytes or more, it is not necessary to change the software.

<発明の変形例>   <Modification of the invention>

図8は本発明の変形例におけるシリアルメモリ・コントロールシステムの構成を表わしたものである。この図8で先の実施の形態の図6と同一部分には同一の符号を付しており、これらの説明を適宜省略する。   FIG. 8 shows the configuration of a serial memory control system according to a modification of the present invention. In FIG. 8, the same parts as those in FIG. 6 of the previous embodiment are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

この変形例のシリアルメモリ・コントロールシステム300Aは、SOC301Aと、シリアルメモリ302と、クロック(CLK)断検出部501と、電源供給部304によって構成されている。ここでSOC301Aは図6に示したリセット信号送出部312を備えていない。このため、シリアルメモリ・コントロールシステム300Aは図6に示したリセット信号検出部303を備えておらず、代わりにクロック断検出部501を有している。クロック断検出部501はCLK信号332を入力して、その断を検出するようになっている。   The serial memory control system 300 </ b> A according to this modification includes an SOC 301 </ b> A, a serial memory 302, a clock (CLK) disconnection detection unit 501, and a power supply unit 304. Here, the SOC 301A does not include the reset signal sending unit 312 shown in FIG. For this reason, the serial memory control system 300A does not include the reset signal detection unit 303 illustrated in FIG. 6, but includes a clock loss detection unit 501 instead. The clock disconnection detection unit 501 receives the CLK signal 332 and detects the disconnection.

すなわち、変形例のシリアルメモリ・コントロールシステム300Aでは、シリアルメモリ・コントローラ311のリセットを検出する手法として、このシリアルメモリ・コントローラ311から出力されるCLK信号332を利用する。CLK信号332はシリアルメモリ・コントローラ311とシリアルメモリ302の間で、通信の同期をとるための同期信号である。したがって、シリアルメモリ・コントローラ311にリセットがかかったときにCLK信号332が止まるように回路が構成されていれば、このリセットを検出することができる。   That is, in the serial memory control system 300A of the modified example, the CLK signal 332 output from the serial memory controller 311 is used as a technique for detecting the reset of the serial memory controller 311. The CLK signal 332 is a synchronization signal for synchronizing communication between the serial memory controller 311 and the serial memory 302. Therefore, if the circuit is configured such that the CLK signal 332 stops when the serial memory controller 311 is reset, this reset can be detected.

そこで、クロック断検出部501はCLK信号332を常時入力するようにしており、CLK信号332の入力が断になると電源制御信号342の論理をHレベルからLレベルに変化させる。クロック断検出部501は、たとえば汎用ロジックIC(Integrated Circuit)を使用して、周知の回路構成で実現することができる。クロック断検出部501から電源制御信号342を入力する電源供給部304は、先の実施の形態と全く同一の回路として構成することができる。   Therefore, the clock disconnection detecting unit 501 always inputs the CLK signal 332, and when the input of the CLK signal 332 is interrupted, the logic of the power control signal 342 is changed from H level to L level. The clock loss detection unit 501 can be realized with a known circuit configuration using, for example, a general-purpose logic IC (Integrated Circuit). The power supply unit 304 that receives the power control signal 342 from the clock loss detection unit 501 can be configured as the same circuit as in the previous embodiment.

図9は、この変形例でSOCの電源がオンになった後におけるシリアルメモリ・コントロールシステムの処理の流れを表わしたものである。図8と共に説明する。   FIG. 9 shows the flow of processing of the serial memory control system after the SOC power is turned on in this modification. This will be described with reference to FIG.

図示しない電源によってSOC301Aが正常に起動したとする(スタート)。すると、図11で説明したようにCLK信号332がシリアルメモリ・コントローラ311からシリアルメモリ302へ送出を開始される。このCLK信号332はクロック断検出部501にも入力される。   Assume that the SOC 301A is normally activated by a power source (not shown) (start). Then, transmission of the CLK signal 332 from the serial memory controller 311 to the serial memory 302 is started as described with reference to FIG. This CLK signal 332 is also input to the clock loss detection unit 501.

クロック断検出部501は、CLK信号332を周期的に検出している場合、電源制御信号342の論理をHレベルに保持する。この一方で、CLK信号332がその周期から予期できる所定の時間を超えても到来しない状態が出現したら、クロック断検出部501はシリアルメモリ・コントローラ311がリセットされたものとして、電源制御信号342の論理をHレベルからLレベルに切り替える。   When the clock loss detection unit 501 periodically detects the CLK signal 332, the clock loss detection unit 501 holds the logic of the power control signal 342 at the H level. On the other hand, if a state in which the CLK signal 332 does not arrive even after a predetermined time that can be expected from the period appears, the clock loss detection unit 501 assumes that the serial memory controller 311 has been reset and the power supply control signal 342 The logic is switched from H level to L level.

したがって、クロック断検出部501はCLK信号332が周期的に入力されているかどうかを判別して(ステップS601)、周期的に検出している場合には(Y)、Hレベルの電源制御信号342Hを出力する(ステップS602)。この電源制御信号342Hは電源供給部304に供給される。この結果、Hレベルの電源343Hが電源端子321に供給を開始される(ステップS603)。   Therefore, the clock loss detection unit 501 determines whether or not the CLK signal 332 is periodically input (step S601), and if it is detected periodically (Y), the H level power control signal 342H. Is output (step S602). The power control signal 342H is supplied to the power supply unit 304. As a result, the H level power supply 343H starts to be supplied to the power supply terminal 321 (step S603).

このようにSOC301が正常に起動した場合、シリアルメモリ・コントローラ311が最初の時点で3バイトアドレスモードとなり、シリアルメモリ302も電源の投入により3バイトアドレスモードとなる。したがって、シリアルメモリ・コントローラ311とシリアルメモリ302は、これらの動作モードが一致する。   Thus, when the SOC 301 starts normally, the serial memory controller 311 enters the 3-byte address mode at the first time, and the serial memory 302 also enters the 3-byte address mode when the power is turned on. Therefore, the serial memory controller 311 and the serial memory 302 have the same operation mode.

これ以後、ステップS601の処理に戻るが、シリアルメモリ・コントローラ311がリセットしない状態でCLK信号332が継続的に出力される。したがって、シリアルメモリ・コントローラ311がリセットしない状態が続く限りHレベルの電源343Hが電源端子321に供給される。この状態でシリアルメモリ・コントローラ311とシリアルメモリ302は、CS信号331、CLK信号332、SI信号333およびSO信号334を用いて3バイトアドレスモードによる通信を行い、4バイトアドレスモードへの移行も可能である。   Thereafter, the process returns to step S601, but the CLK signal 332 is continuously output in a state where the serial memory controller 311 is not reset. Therefore, as long as the serial memory controller 311 does not reset, the H level power supply 343H is supplied to the power supply terminal 321. In this state, the serial memory controller 311 and the serial memory 302 communicate in the 3-byte address mode using the CS signal 331, the CLK signal 332, the SI signal 333, and the SO signal 334, and can shift to the 4-byte address mode. It is.

これ以後、何らかの原因によって電源投入後のSOC301でシリアルメモリ・コントローラ311がリセットしたとする。シリアルメモリ・コントローラ311がリセットすると、この時点でCLK信号332の出力が停止する(ステップS601:N)。したがって、クロック断検出部501はこれからわずかな時間が経過した時点で電源制御信号342をHレベルからLレベルに変化させる(ステップS604)。   Thereafter, it is assumed that the serial memory controller 311 is reset by the SOC 301 after the power is turned on for some reason. When the serial memory controller 311 is reset, the output of the CLK signal 332 is stopped at this time (step S601: N). Accordingly, the clock loss detection unit 501 changes the power supply control signal 342 from the H level to the L level when a slight time has elapsed since this time (step S604).

電源供給部304は、Lレベルの電源制御信号342Lを入力すると、今までHレベルの電源制御信号342Hを入力していたときに電源端子321に供給していた電源の供給を停止する(ステップS605)。そして、再びステップS601の処理に戻る。したがって、クロック断検出部501からLレベルの電源制御信号342Lが出力されている状態ではシリアルメモリ302への電源供給が停止された状態が保持されることになる。   When the power supply unit 304 receives the L-level power supply control signal 342L, the power supply unit 304 stops supplying the power that has been supplied to the power supply terminal 321 when the H-level power supply control signal 342H has been input (step S605). ). And it returns to the process of step S601 again. Therefore, in a state where the L-level power control signal 342L is output from the clock disconnection detection unit 501, the state where the power supply to the serial memory 302 is stopped is held.

この後、所定の時点でシリアルメモリ・コントローラ311のリセットが解除されたとする。すると、シリアルメモリ・コントローラ311からCLK信号332の出力が開始され(ステップS601:Y)、これを入力するクロック断検出部501が再びHレベルの電源制御信号342Hを出力する(ステップS602)。この電源制御信号342Hは電源供給部304に供給され、Hレベルの電源343Hが電源端子321に供給を開始される(ステップS603)。   Thereafter, it is assumed that the reset of the serial memory controller 311 is released at a predetermined time. Then, the output of the CLK signal 332 is started from the serial memory controller 311 (step S601: Y), and the clock loss detection unit 501 that inputs this outputs the power control signal 342H of H level again (step S602). The power supply control signal 342H is supplied to the power supply unit 304, and the H level power supply 343H starts to be supplied to the power supply terminal 321 (step S603).

この結果、シリアルメモリ302が起動する。シリアルメモリ302はこの起動時に初期状態の3バイトアドレスモードで動作する。このとき、シリアルメモリ・コントローラ311もリセットにより初期状態の3バイトアドレスモードで動作を開始している。したがって、シリアルメモリ・コントローラ311とシリアルメモリ302は、これらの動作モードが一致することになる。   As a result, the serial memory 302 is activated. The serial memory 302 operates in the initial 3-byte address mode at the time of activation. At this time, the serial memory controller 311 also starts operation in the initial 3-byte address mode by reset. Therefore, the serial memory controller 311 and the serial memory 302 have the same operation mode.

以上説明したようにこの変形例のシリアルメモリ・コントロールシステム300Aによれば、SOC301Aがシリアルメモリ・コントローラ311についての専用のリセット信号送出部312(図6参照)を備えなくても、CLK信号332の断によりリセットを検出してシリアルメモリ302を再起動することができる。したがって、SOC301Aを特別な構成とすることなく、シリアルメモリ・コントローラ311とシリアルメモリ302の間でのアドレスモードの不一致の発生を防止することができる。   As described above, according to the serial memory control system 300A of this modified example, even if the SOC 301A does not include the dedicated reset signal transmission unit 312 (see FIG. 6) for the serial memory controller 311, the CLK signal 332 The serial memory 302 can be restarted by detecting a reset by disconnection. Therefore, it is possible to prevent the occurrence of an address mode mismatch between the serial memory controller 311 and the serial memory 302 without using a special configuration of the SOC 301A.

以上説明した実施の形態および変形例では、SOC301、301A側にのみCPUが存在するものとしたが、これに限るものではない。たとえば、シリアルメモリ・コントロールシステム300、300A全体を制御するCPUが存在し、このCPUが所定のシリアルメモリ・コントロールプログラムによってシリアルメモリの再起動を制御するものであってもよい。   In the embodiment and the modification described above, the CPU exists only on the SOCs 301 and 301A side, but the present invention is not limited to this. For example, there may be a CPU that controls the entire serial memory control system 300, 300A, and this CPU controls the restart of the serial memory by a predetermined serial memory control program.

以上説明した実施の形態の一部または全部は、以下の付記のようにも記載されるが、以下の記載に限定されるものではない。   Some or all of the embodiments described above are described as in the following supplementary notes, but are not limited to the following descriptions.

(付記1)
クロックに同期してシリアルデータの読み書きを行うシリアルメモリと、
このシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラと、
このシリアルメモリ・コントローラがリセットされたときこれを検出するリセット検出手段と、
このリセット検出手段がリセットを検出したとき前記シリアルメモリを再起動する再起動手段
とを具備することを特徴とするシリアルメモリ・コントロールシステム。
(Appendix 1)
A serial memory that reads and writes serial data in synchronization with the clock;
A serial memory controller as a circuit for reading and writing data to and from this serial memory;
Reset detecting means for detecting when the serial memory controller is reset;
A serial memory control system comprising: restarting means for restarting the serial memory when the reset detecting means detects a reset.

(付記2)
前記シリアルメモリは初期的に設定される特定のバイト数でアドレスを表わす第1のアドレスモードと、この第1のアドレスモードと異なるバイト数でアドレスを表わす第2のアドレスモードとの間でアドレスモードを移行する移行コマンドを受信するための移行コマンド受信手段を備えることを特徴とする付記1記載のシリアルメモリ・コントロールシステム。
(Appendix 2)
The serial memory has an address mode between a first address mode in which an address is represented by a specific number of bytes initially set and a second address mode in which an address is represented by a number of bytes different from the first address mode. The serial memory control system according to appendix 1, further comprising a migration command receiving means for receiving a migration command for migrating the data.

(付記3)
前記再起動手段は、前記シリアルメモリ・コントローラがリセットされたとき前記シリアルメモリの電源をオフにし前記リセットが解除されたとき前記シリアルメモリの電源をオンにする手段であることを特徴とする付記1記載のシリアルメモリ・コントロールシステム。
(Appendix 3)
The restarting means is means for turning off the power of the serial memory when the serial memory controller is reset and turning on the power of the serial memory when the reset is released. The serial memory control system described.

(付記4)
前記再起動手段は、前記シリアルメモリ・コントローラから前記シリアルメモリに供給されるクロック信号が断となったとき前記シリアルメモリの電源をオフにし前記クロック信号の供給が開始されたとき前記シリアルメモリの電源をオンにする手段であることを特徴とする付記1記載のシリアルメモリ・コントロールシステム。
(Appendix 4)
The restarting means turns off the power of the serial memory when the clock signal supplied to the serial memory from the serial memory controller is cut off, and turns on the power of the serial memory when the supply of the clock signal is started. The serial memory control system according to appendix 1, wherein the serial memory control system is a means for turning on the device.

(付記5)
前記シリアルメモリ・コントローラとこのシリアルメモリ・コントローラのリセットを検出して出力する信号の論理を反転させるリセット信号送出手段とが、1つの半導体チップ上に形成されていることを特徴とする付記1記載のシリアルメモリ・コントロールシステム。
(Appendix 5)
Additional note 1 wherein the serial memory controller and reset signal sending means for detecting the reset of the serial memory controller and inverting the logic of a signal to be output are formed on one semiconductor chip. Serial memory control system.

(付記6)
前記第1のアドレスモードはアドレスを3バイト構成で通信する3バイトアドレスモードであり、前記第2のアドレスモードはアドレスを4バイト構成で通信する4バイトアドレスモードであることを特徴とする付記2記載のシリアルメモリ・コントロールシステム。
(Appendix 6)
The first address mode is a 3-byte address mode in which addresses are communicated in a 3-byte configuration, and the second address mode is a 4-byte address mode in which addresses are communicated in a 4-byte configuration. The serial memory control system described.

(付記7)
前記シリアルメモリは、物理的なリセット端子を備えていないことを特徴とする付記1記載のシリアルメモリ・コントロールシステム。
(Appendix 7)
The serial memory control system according to claim 1, wherein the serial memory does not include a physical reset terminal.

(付記8)
それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラがリセットされたときこれを検出するリセット検出ステップと、
このリセット検出ステップで前記シリアルメモリ・コントローラのリセットが検出されたとき前記シリアルメモリを再起動する再起動ステップ
とを具備することを特徴とするシリアルメモリ・コントロール方法。
(Appendix 8)
Reset detection step that detects when the serial memory controller as a circuit that reads and writes data to and from the serial memory that does not have a physical reset terminal itself and that reads and writes serial data in synchronization with the clock is reset When,
A serial memory control method comprising: a restarting step of restarting the serial memory when the reset of the serial memory controller is detected in the reset detecting step.

(付記9)
それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラが前記シリアルメモリに送出する同期用のクロックの送出の断を検出するクロック断検出ステップと、
このクロック断検出ステップで前記同期用のクロックの送出の断が検出された時点で前記シリアルメモリを再起動する再起動ステップ
とを具備することを特徴とするシリアルメモリ・コントロール方法。
(Appendix 9)
The serial memory controller as a circuit for reading / writing data to / from the serial memory that reads / writes serial data in synchronization with the clock without itself having a physical reset terminal itself A clock loss detection step for detecting a transmission interruption;
A serial memory control method comprising: a restarting step of restarting the serial memory at the time when the clock disconnection detecting step detects the disconnection of the synchronization clock.

(付記10)
前記再起動ステップは、前記シリアルメモリの電源端子への電源供給を一時的に中断して再開させる電源供給制御ステップであることを特徴とする付記8または9記載のシリアルメモリ・コントロール方法。
(Appendix 10)
The serial memory control method according to appendix 8 or 9, wherein the restarting step is a power supply control step of temporarily interrupting and restarting power supply to the power supply terminal of the serial memory.

(付記11)
コンピュータに、
それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラがリセットされたときこれを検出するリセット検出処理と、
このリセット検出処理で前記シリアルメモリ・コントローラのリセットが検出されたとき前記シリアルメモリを再起動する再起動処理
とを実行させることを特徴とするシリアルメモリ・コントロールプログラム。
(Appendix 11)
On the computer,
Reset detection processing that detects when a serial memory controller is reset as a circuit that reads and writes data to and from serial memory that reads and writes serial data in synchronization with the clock without itself having a physical reset terminal When,
A serial memory control program for executing a restart process for restarting the serial memory when a reset of the serial memory controller is detected in the reset detection process.

(付記12)
コンピュータに、
それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラが前記シリアルメモリに送出する同期用のクロックの送出の断を検出するクロック断検出処理と、
このクロック断検出処理で前記同期用のクロックの送出の断が検出された時点で前記シリアルメモリを再起動する再起動処理
とを実行させることを特徴とするシリアルメモリ・コントロールプログラム。
(Appendix 12)
On the computer,
The serial memory controller as a circuit for reading / writing data to / from the serial memory that reads / writes serial data in synchronization with the clock without itself having a physical reset terminal itself A clock loss detection process for detecting a transmission interruption,
A serial memory control program for executing a restart process for restarting the serial memory when a disconnection of the synchronization clock is detected in the clock disconnection detection process.

10、300、300A シリアルメモリ・コントロールシステム
11、302、312 シリアルメモリ
12、311 シリアルメモリ・コントローラ
13 リセット検出手段
14 再起動手段
20、30 シリアルメモリ・コントロール方法
21 リセット検出ステップ
22、32 再起動ステップ
31 クロック断検出ステップ
40、50 シリアルメモリ・コントロールプログラム
41 リセット検出処理
42、52 再起動処理
51 クロック断検出処理
301、301A SOC
303 リセット信号検出部
304 電源供給部
321 電源端子
332 CLK信号
341 リセット信号
342 電源制御信号
343 電源
501 クロック断検出部
10, 300, 300A Serial memory control system 11, 302, 312 Serial memory 12, 311 Serial memory controller 13 Reset detection means 14 Restart means 20, 30 Serial memory control method 21 Reset detection steps 22, 32 Restart steps 31 Clock loss detection step 40, 50 Serial memory control program 41 Reset detection processing 42, 52 Restart processing 51 Clock loss detection processing 301, 301A SOC
303 Reset Signal Detection Unit 304 Power Supply Unit 321 Power Supply Terminal 332 CLK Signal 341 Reset Signal 342 Power Control Signal 343 Power Supply 501 Clock Disconnection Detection Unit

Claims (10)

クロックに同期してシリアルデータの読み書きを行うシリアルメモリと、
このシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラと、
このシリアルメモリ・コントローラがリセットされたときこれを検出するリセット検出手段と、
このリセット検出手段がリセットを検出したとき前記シリアルメモリを再起動する再起動手段
とを具備することを特徴とするシリアルメモリ・コントロールシステム。
A serial memory that reads and writes serial data in synchronization with the clock;
A serial memory controller as a circuit for reading and writing data to and from this serial memory;
Reset detecting means for detecting when the serial memory controller is reset;
A serial memory control system comprising: restarting means for restarting the serial memory when the reset detecting means detects a reset.
前記シリアルメモリは初期的に設定される特定のバイト数でアドレスを表わす第1のアドレスモードと、この第1のアドレスモードと異なるバイト数でアドレスを表わす第2のアドレスモードとの間でアドレスモードを移行する移行コマンドを受信するための移行コマンド受信手段を備えることを特徴とする請求項1記載のシリアルメモリ・コントロールシステム。   The serial memory has an address mode between a first address mode in which an address is represented by a specific number of bytes initially set and a second address mode in which an address is represented by a number of bytes different from the first address mode. 2. The serial memory control system according to claim 1, further comprising a migration command receiving means for receiving a migration command for migrating the memory. 前記再起動手段は、前記シリアルメモリ・コントローラがリセットされたとき前記シリアルメモリの電源をオフにし前記リセットが解除されたとき前記シリアルメモリの電源をオンにする手段であることを特徴とする請求項1記載のシリアルメモリ・コントロールシステム。   The restarting means is means for turning off the power of the serial memory when the serial memory controller is reset and turning on the power of the serial memory when the reset is released. The serial memory control system according to 1. 前記再起動手段は、前記シリアルメモリ・コントローラから前記シリアルメモリに供給されるクロック信号が断となったとき前記シリアルメモリの電源をオフにし前記クロック信号の供給が開始されたとき前記シリアルメモリの電源をオンにする手段であることを特徴とする請求項1記載のシリアルメモリ・コントロールシステム。   The restarting means turns off the power of the serial memory when the clock signal supplied to the serial memory from the serial memory controller is cut off, and turns on the power of the serial memory when the supply of the clock signal is started. 2. The serial memory control system according to claim 1, wherein the serial memory control system is a means for turning on the memory. 前記シリアルメモリ・コントローラとこのシリアルメモリ・コントローラのリセットを検出して出力する信号の論理を反転させるリセット信号送出手段とが、1つの半導体チップ上に形成されていることを特徴とする請求項1記載のシリアルメモリ・コントロールシステム。   2. The serial memory controller and reset signal sending means for detecting the reset of the serial memory controller and inverting the logic of a signal to be output are formed on one semiconductor chip. The serial memory control system described. 前記シリアルメモリは、物理的なリセット端子を備えていないことを特徴とする請求項1記載のシリアルメモリ・コントロールシステム。   2. The serial memory control system according to claim 1, wherein the serial memory does not include a physical reset terminal. それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラがリセットされたときこれを検出するリセット検出ステップと、
このリセット検出ステップで前記シリアルメモリ・コントローラのリセットが検出されたとき前記シリアルメモリを再起動する再起動ステップ
とを具備することを特徴とするシリアルメモリ・コントロール方法。
Reset detection step that detects when the serial memory controller as a circuit that reads and writes data to and from the serial memory that does not have a physical reset terminal itself and that reads and writes serial data in synchronization with the clock is reset When,
A serial memory control method comprising: a restarting step of restarting the serial memory when the reset of the serial memory controller is detected in the reset detecting step.
それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラが前記シリアルメモリに送出する同期用のクロックの送出の断を検出するクロック断検出ステップと、
このクロック断検出ステップで前記同期用のクロックの送出の断が検出された時点で前記シリアルメモリを再起動する再起動ステップ
とを具備することを特徴とするシリアルメモリ・コントロール方法。
The serial memory controller as a circuit for reading / writing data to / from the serial memory that reads / writes serial data in synchronization with the clock without itself having a physical reset terminal itself A clock loss detection step for detecting a transmission interruption;
A serial memory control method comprising: a restarting step of restarting the serial memory at the time when the clock disconnection detecting step detects the disconnection of the synchronization clock.
コンピュータに、
それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラがリセットされたときこれを検出するリセット検出処理と、
このリセット検出処理で前記シリアルメモリ・コントローラのリセットが検出されたとき前記シリアルメモリを再起動する再起動処理
とを実行させることを特徴とするシリアルメモリ・コントロールプログラム。
On the computer,
Reset detection processing that detects when a serial memory controller is reset as a circuit that reads and writes data to and from serial memory that reads and writes serial data in synchronization with the clock without itself having a physical reset terminal When,
A serial memory control program for executing a restart process for restarting the serial memory when a reset of the serial memory controller is detected in the reset detection process.
コンピュータに、
それ自体物理的なリセット端子を備えずクロックに同期してシリアルデータの読み書きを行うシリアルメモリに対してデータの読み書きを行う回路としてのシリアルメモリ・コントローラが前記シリアルメモリに送出する同期用のクロックの送出の断を検出するクロック断検出処理と、
このクロック断検出処理で前記同期用のクロックの送出の断が検出された時点で前記シリアルメモリを再起動する再起動処理
とを実行させることを特徴とするシリアルメモリ・コントロールプログラム。
On the computer,
The serial memory controller as a circuit for reading / writing data to / from the serial memory that reads / writes serial data in synchronization with the clock without itself having a physical reset terminal itself A clock loss detection process for detecting a transmission interruption,
A serial memory control program for executing a restart process for restarting the serial memory when a disconnection of the synchronization clock is detected in the clock disconnection detection process.
JP2010141499A 2010-06-22 2010-06-22 Serial memory control system, method and program Pending JP2012008630A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010141499A JP2012008630A (en) 2010-06-22 2010-06-22 Serial memory control system, method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010141499A JP2012008630A (en) 2010-06-22 2010-06-22 Serial memory control system, method and program

Publications (1)

Publication Number Publication Date
JP2012008630A true JP2012008630A (en) 2012-01-12

Family

ID=45539132

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010141499A Pending JP2012008630A (en) 2010-06-22 2010-06-22 Serial memory control system, method and program

Country Status (1)

Country Link
JP (1) JP2012008630A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014068760A1 (en) * 2012-11-02 2014-05-08 Necディスプレイソリューションズ株式会社 Electronic apparatus and device control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06149419A (en) * 1992-11-04 1994-05-27 Sony Corp Reset circuit
JPH07287698A (en) * 1994-04-19 1995-10-31 Sony Corp Reset circuit for microcomputer
JP2003223372A (en) * 2002-01-30 2003-08-08 Denso Corp Memory controller and serial memory

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06149419A (en) * 1992-11-04 1994-05-27 Sony Corp Reset circuit
JPH07287698A (en) * 1994-04-19 1995-10-31 Sony Corp Reset circuit for microcomputer
JP2003223372A (en) * 2002-01-30 2003-08-08 Denso Corp Memory controller and serial memory

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014068760A1 (en) * 2012-11-02 2014-05-08 Necディスプレイソリューションズ株式会社 Electronic apparatus and device control method
JPWO2014068760A1 (en) * 2012-11-02 2016-09-08 Necディスプレイソリューションズ株式会社 Electronic apparatus and device control method

Similar Documents

Publication Publication Date Title
CN100474247C (en) Method for updating firmware in computer server systems
JP5395948B2 (en) Interface device for host device, interface device for slave device, host device, slave device, communication system, and interface voltage switching method
JP2006120114A (en) Computer which has multifunctional power button and related method
JP2009530732A (en) Pseudo-synchronous small register design with very low power consumption and implementation method
US9495178B2 (en) Electronics apparatus able to revise micro-program and algorithm to revise micro-program
CN115328668A (en) Fault processing method, dual-core lockstep system, electronic device and medium
WO2001065383A1 (en) Variable-mode pc card and input/output control device of pc card
JP4711410B2 (en) Semiconductor integrated circuit
US8207751B2 (en) Receiver which receives video information
KR101087524B1 (en) Semiconductor integrated circuit
JP2012008630A (en) Serial memory control system, method and program
JP4491365B2 (en) Series interface circuit
JP2010055265A (en) System lsi, control method of system lsi, program, and storage medium
JP2008234189A (en) Signal transfer device, bus master device, and signal transfer method
US7120772B2 (en) Micro-system for burn-in system program from a plug-able subsystem into main memory and method thereof
US9720474B2 (en) Electronic control unit
JP2006277361A (en) Method for controlling serial interface
JP6653209B2 (en) Control circuit
KR100382830B1 (en) Apparatus And Method For Fail Control In The Duplexing Board
JP2009199106A (en) Interface circuit, electronic device having interface circuit, communication system and voltage switching method
US20090108928A1 (en) Large-scale integrated circuit
JP2010067765A (en) Semiconductor integrated circuit
JP2019046531A (en) Serial flash memory reset control device
JP2010141425A (en) Semiconductor integrated circuit device
JP2007102493A (en) Serial interrupt resuming circuit

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20121016

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130515

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140121

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140520