JP2003345674A - Input/output device - Google Patents

Input/output device

Info

Publication number
JP2003345674A
JP2003345674A JP2002155129A JP2002155129A JP2003345674A JP 2003345674 A JP2003345674 A JP 2003345674A JP 2002155129 A JP2002155129 A JP 2002155129A JP 2002155129 A JP2002155129 A JP 2002155129A JP 2003345674 A JP2003345674 A JP 2003345674A
Authority
JP
Japan
Prior art keywords
data
command
data communication
transmission error
host
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
JP2002155129A
Other languages
Japanese (ja)
Other versions
JP2003345674A5 (en
Inventor
Masaaki Yamaki
正晃 八巻
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002155129A priority Critical patent/JP2003345674A/en
Publication of JP2003345674A publication Critical patent/JP2003345674A/en
Publication of JP2003345674A5 publication Critical patent/JP2003345674A5/ja
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a small-sized input/output device which improves reliability in resending of a stream, and then keeps the substantial data transmission rate high and maintains high reliability in data communication. <P>SOLUTION: On an input/output device SD card 11 as an embodiment of the present invention, a transmission error detection part 4A detects a transmission error as to packets exchanged between a host H and a data communication part 2A. When the transmission error is detected, the transmission error detection part 4A connects a 1st communication part 21 to a memory part 5A or radio communication part 5B by a 1st switch SW1 to switch the communication mode of the data communication part 2A to a 1st communication mode. Further, the 1st communication part 21 is connected to a command line CMD by a 2nd switch SW2 to switch a data transmission line from a 1st data line DAT to the command CMD. Consequently, unsent packets and packets to be resent are transmitted through the command line CMD. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、外部の情報処理機
器との間でデータ通信を行うための入出力装置に関し、
特に、複数のデータ線を含むバスで外部の情報処理機器
と接続し、データを交換するものに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input / output device for performing data communication with an external information processing device,
In particular, the present invention relates to a device that is connected to an external information processing device via a bus including a plurality of data lines and exchanges data.

【0002】[0002]

【従来の技術】情報技術の飛躍的進歩及び爆発的普及に
より、多種多様な情報処理装置が相互に接続され、様々
なデータを交換できる。それらのデータ通信では、画像
データ等、膨大な量のデータが交換され得る。従って、
データ通信を担う入出力装置(インタフェース)に対
し、下位互換性を含め、多種多様な情報処理装置につい
ての汎用性、及び高速なデータ転送能力が要求される。
その上、情報処理装置全体に対する小型軽量化の要請に
伴い、入出力装置自体に対しても小型軽量化が求められ
る。
2. Description of the Related Art With the rapid progress and explosive spread of information technology, various types of information processing devices are interconnected and can exchange various data. In such data communication, an enormous amount of data such as image data can be exchanged. Therefore,
For input / output devices (interfaces) responsible for data communication, versatility of various information processing devices including backward compatibility, and high-speed data transfer capability are required.
In addition, with the demand for reduction in size and weight of the entire information processing apparatus, reduction in size and weight of the input / output device itself is also required.

【0003】従来の入出力装置の一例として、SD規格
に準拠したインタフェース(以下、SDインタフェース
という)が知られる。SD規格では、SDインタフェー
スを含む数cm角の小カード(以下、SDカードという)
が定義される。SDカードは情報処理装置(ホスト)に
設けられた専用スロットに差し込まれ、そのスロット内
のSDインタフェースを通し、ホストとデータを交換す
る。
As an example of a conventional input / output device, an interface conforming to the SD standard (hereinafter, referred to as an SD interface) is known. In the SD standard, a small card of several cm square including an SD interface (hereinafter, referred to as an SD card)
Is defined. The SD card is inserted into a dedicated slot provided in the information processing device (host), and exchanges data with the host through an SD interface in the slot.

【0004】SDカードの種類にはSDメモリカードと
SDI/Oカードとがある。SDメモリカードはフラッ
シュメモリ内蔵のカード型記録媒体である。複数のホス
トが同じSDメモリカードの共用を通し、相互のデータ
交換を実現する。SDI/Oカードは、ホストと、その
ホストとは別の情報処理装置又はネットワークとの間を
接続するためのインタフェースカードである。例えば、
SDI/Oカードはホストを、携帯電話又は内部の無線
通信部へ接続する。それにより、ホストは携帯電話回線
網又は無線LANを通し、他の情報処理装置との間でデ
ータ交換を実現する。SD規格では、上記のフラッシュ
メモリ及び無線通信部等のように、SDインタフェース
を通しホストと接続される様々な機能部をファンクショ
ンという。ファンクションの拡張により、SDカードは
多種多様な情報処理装置に対し汎用性を獲得する。
[0004] SD card types include SD memory cards and SDI / O cards. An SD memory card is a card-type recording medium with a built-in flash memory. A plurality of hosts realize mutual data exchange through sharing of the same SD memory card. The SDI / O card is an interface card for connecting a host to an information processing device or a network different from the host. For example,
The SDI / O card connects the host to a mobile phone or internal wireless communicator. Thereby, the host realizes data exchange with another information processing device through the mobile phone network or the wireless LAN. In the SD standard, various functional units connected to the host through the SD interface, such as the flash memory and the wireless communication unit, are referred to as functions. By expanding the functions, the SD card acquires versatility for various types of information processing devices.

【0005】SDカードはマルチメディアカード(MM
C、登録商標)に対し下位互換性を維持する。例えばM
MCとスロットを共用できるようにSDカードのサイズ
が設定される。更に、ホストとSDカードとの間でのデ
ィジタルデータ通信には、次の二つのモードが設定され
る。第一の通信モードはシリアル転送モードであり、デ
ィジタルデータが1bitずつシリアルに転送される。第一
の通信モードによるデータ通信はMMCによるデータ通
信と共通である。第二の通信モードはパラレル転送モー
ドであり、ディジタルデータが例えば4bitずつパラレル
に転送される。第二の通信モードによるデータ通信はM
MCによるデータ通信より高速である。こうして、SD
カードによるデータ通信では、上記二つのモードの使い
分けを通し、MMCに対する下位互換性と高速データ転
送との両方が実現される。
The SD card is a multimedia card (MM)
C, registered trademark). For example, M
The size of the SD card is set so that the slot can be shared with the MC. Further, the following two modes are set for digital data communication between the host and the SD card. The first communication mode is a serial transfer mode in which digital data is serially transferred bit by bit. The data communication in the first communication mode is common to the data communication by the MMC. The second communication mode is a parallel transfer mode in which digital data is transferred in parallel, for example, every 4 bits. Data communication in the second communication mode is M
It is faster than data communication by MC. Thus, SD
In the data communication using the card, both the backward compatibility with the MMC and the high-speed data transfer are realized through the use of the two modes.

【0006】図9は、従来のSDカード100とホストHと
の間でのデータ交換を示すブロック図である。SDカー
ド100はホストHと、例えば、四本のデータ線DAT0〜3、
クロック線CLK、電源線VDD、グラウンド線VSS、及びコ
マンド線CMDを含むバスで接続される。
FIG. 9 is a block diagram showing data exchange between a conventional SD card 100 and a host H. The SD card 100 has a host H and, for example, four data lines DAT0 to DAT3,
They are connected by a bus including a clock line CLK, a power supply line VDD, a ground line VSS, and a command line CMD.

【0007】ホストインタフェース101はSDカード100
内のSDインタフェースに相当し、コマンド線CMDを通
しホストHからコマンドを受信し、解読する。例えば、
コマンドが機能部(ファンクション)102に対する読み
出し命令であるとき、ホストインタフェース101は機能
部102からデータを読み出す。ここで、機能部102は例え
ばフラッシュメモリである。その他に、外部のネットワ
ーク等へ接続された無線モジュールであっても良い。読
み出されたデータはデータ線DAT0〜3を通し、ホストHへ
転送される。そのとき、ホストインタフェース101はデ
ータ転送を同期通信で行う。すなわち、クロック線CLK
を通しホストHから転送されたクロックと同期し、デー
タを転送する。ホストインタフェース101は更に、デー
タ転送を第一の通信モード又は第二の通信モードのいず
れかで実行する。ここで、通信モードの選択は、例えば
ホストHからの指示による。第一の通信モードでは、第
一のデータ線DAT0のみを通しデータが1bitずつシリアル
に転送される。第二の通信モードでは、全てのデータ線
DAT0〜3を通しデータが4bitずつパラレルに転送され
る。
The host interface 101 is an SD card 100
And receives a command from the host H through the command line CMD and decodes it. For example,
When the command is a read command for the function unit (function) 102, the host interface 101 reads data from the function unit 102. Here, the function unit 102 is, for example, a flash memory. Alternatively, a wireless module connected to an external network or the like may be used. The read data is transferred to the host H through the data lines DAT0 to DAT3. At that time, the host interface 101 performs data transfer by synchronous communication. That is, the clock line CLK
The data is transferred in synchronization with the clock transferred from the host H through. The host interface 101 further performs data transfer in either the first communication mode or the second communication mode. Here, the communication mode is selected, for example, according to an instruction from the host H. In the first communication mode, data is serially transferred bit by bit only through the first data line DAT0. In the second communication mode, all data lines
Data is transferred in parallel by 4 bits through DAT0-3.

【0008】ホストHからのコマンドが機能部102に対す
る書き込み命令であるとき、ホストインタフェース101
は、データ線DAT0〜3を通しデータを受信する。そのと
き、上記の読み出し時と同様、データ転送はクロック線
CLKからのクロックと同期し、かつ、ホストHにより選択
された第一の通信モード又は第二の通信モードのいずれ
かで実行される。ホストインタフェース101により受信
されたデータは機能部102へ転送される。それにより、
そのデータはフラッシュメモリに記憶され、又は外部の
情報処理装置等へ転送される。
When a command from the host H is a write command to the functional unit 102, the host interface 101
Receives data through the data lines DAT0 to DAT3. At that time, data transfer is performed on the clock line
It is executed in either the first communication mode or the second communication mode synchronized with the clock from CLK and selected by the host H. The data received by the host interface 101 is transferred to the function unit 102. Thereby,
The data is stored in a flash memory or transferred to an external information processing device or the like.

【0009】図10は、ホストHによる従来のSDカード1
00からのデータ読み出し時、SDカード100とホストHと
の間でのデータ交換についてのタイミング図である。ホ
ストHは読み出し命令53をSDカード100へ、コマンド線
CMDを通し、伝送する。ホストインタフェース101は読み
出し命令53を解読し、読み出し対象データの出力を機能
部102に対し指示する。それと共に、コマンド線CMDを通
し、ホストHへレスポンスRESを返す。
FIG. 10 shows a conventional SD card 1 by the host H.
FIG. 9 is a timing chart for data exchange between the SD card 100 and the host H when reading data from 00. The host H sends a read command 53 to the SD card 100,
Transmit through CMD. The host interface 101 decodes the read command 53 and instructs the function unit 102 to output read target data. At the same time, a response RES is returned to the host H through the command line CMD.

【0010】一連の読み出し対象データが一つのストリ
ームST1として、機能部102から出力される。ホストイン
タフェース101はそのストリームST1を、一般に複数のブ
ロックに分割する。更に、それぞれのブロックに所定の
ヘッダと誤り検出符号CRCとを付加し、複数のパケットP
1〜PNを構成する。それらのパケットは、第一の通信モ
ードでは第一のデータ線DAT0を通し1bitずつシリアル
に、第二の通信モードでは四本のデータ線DAT0〜3の全
てを通し4bitずつパラレルに、ホストHへ伝送される。
そのとき、パケットP1〜PNは続けて出力される。ホスト
Hは一つのストリームST1を読み出し終えた後、新たな読
み出し命令53を発行する。それにより、新たなストリー
ムST2が上記のストリームST1と同様に、SDカード100
からホストHへ伝送される。
A series of data to be read is output from the function unit 102 as one stream ST1. The host interface 101 generally divides the stream ST1 into a plurality of blocks. Further, a predetermined header and an error detection code CRC are added to each block, and a plurality of packets P
Construct 1 to PN. The packets are serially transmitted 1 bit at a time through the first data line DAT0 in the first communication mode, and are transmitted in parallel by 4 bits at a time through the four data lines DAT0 to 3 in the second communication mode to the host H. Transmitted.
At that time, the packets P1 to PN are continuously output. host
After finishing reading one stream ST1, H issues a new read command 53. Thereby, the new stream ST2 is stored in the SD card 100 in the same manner as the stream ST1.
Transmitted to the host H.

【0011】データ線DAT0〜3を通しストリームST1が伝
送される間、コマンド線CMDを通し所定のコマンド52及
びそのレスポンスRESが交換されても良い。例えば、ホ
ストHはストリームST1中のパケットP1〜PNのそれぞれに
ついて符号誤りをチェックし、そのチェック結果をコマ
ンド52によりSDカード100へ通知する。例えば、n番目
のパケットPn(1≦n≦N)について符号誤りの検出が通
知されるとき、SDカード100はストリームST1の伝送を
ストップし、n番目のパケットPnからストリームST1を再
送する。こうして、従来のSDカード100はストリーム
伝送に対する信頼性を高く維持する。
While the stream ST1 is transmitted through the data lines DAT0 to DAT3, the predetermined command 52 and its response RES may be exchanged through the command line CMD. For example, the host H checks each of the packets P1 to PN in the stream ST1 for a code error, and notifies the SD card 100 of the check result using the command 52. For example, when the detection of a code error is reported for the n-th packet Pn (1 ≦ n ≦ N), the SD card 100 stops transmitting the stream ST1, and retransmits the stream ST1 from the n-th packet Pn. Thus, the conventional SD card 100 maintains high reliability for stream transmission.

【0012】[0012]

【発明が解決しようとする課題】従来のSDカード100
によるデータ転送では、データ伝送速度を大きく維持す
る目的で、上記のストリームの再送が元のストリーム伝
送と同じモードで実行された。すなわち、再送対象のス
トリーム部分が、第一の通信モードでは第一のデータ線
DAT0を通し1bitずつシリアルに伝送され、第二の通信モ
ードでは四本のデータ線DAT0〜3の全てを通し4bitずつ
パラレルに伝送された。しかし、符号誤り発生の原因が
偶発的なノイズ等一過性のものではなく、特定のデータ
線の劣化等恒常的なものであるとき、ストリームを同じ
モードで単に再送するだけでは、再送されたパケットに
ついても符号誤りが検出される可能性が高かった。その
結果、平均的な再送回数が増大し、実質的なデータ伝送
速度が低減した。
The conventional SD card 100
In order to maintain a high data transmission rate, the above-described stream retransmission was executed in the same mode as the original stream transmission. That is, the stream portion to be retransmitted is the first data line in the first communication mode.
The data was transmitted serially one bit at a time through DAT0, and in the second communication mode, transmitted in parallel four bits at a time through all four data lines DAT0-3. However, when the cause of the code error is not a transient one such as accidental noise but a permanent one such as deterioration of a specific data line, simply retransmitting the stream in the same mode may result in retransmission. The possibility of detecting a code error in a packet was also high. As a result, the average number of retransmissions increased, and the actual data transmission rate decreased.

【0013】本発明は、ストリームの再送に対する信頼
性を向上し、それにより実質的なデータ伝送速度を高く
維持し、かつデータ通信に対し高い信頼性を維持する小
型の入出力装置、の提供を目的とする。
[0013] The present invention provides a small input / output device that improves the reliability of stream retransmission, thereby maintaining a substantial data transmission rate, and maintaining high reliability for data communication. Aim.

【0014】[0014]

【課題を解決するための手段】本発明の一つの観点によ
る入出力装置は、 (A) コマンド線とデータ線とを含み、外部情報処理装
置と接続するバス; (B) コマンド線を通し外部情報処理装置との間でコマ
ンドを交換するためのコマンド制御部; (C) データ線を通し外部情報処理装置とデータ通信を
行うためのデータ通信部;及び、 (D) データ通信部によるデータ通信中、外部情報処理
装置から伝送エラーを示すコマンドを入力したとき、又
は外部情報処理装置から受信したデータについて伝送エ
ラーを検出したとき、データ通信部によるデータ通信で
のデータ伝送路をコマンド線へ切り換えるための伝送エ
ラー検出部;を有する。
An input / output device according to one aspect of the present invention includes: (A) a bus including a command line and a data line, which is connected to an external information processing device; A command control unit for exchanging commands with the information processing device; (C) a data communication unit for performing data communication with an external information processing device through a data line; and (D) a data communication by the data communication unit. Medium, when a command indicating a transmission error is input from the external information processing device, or when a transmission error is detected for data received from the external information processing device, the data transmission path in the data communication by the data communication unit is switched to the command line. A transmission error detection unit for

【0015】上記の入出力装置では、データ通信部によ
るデータ通信中伝送エラーが検出されたとき、データ伝
送路がコマンド線へ切り換えられ、継続される。それに
より、伝送エラーの原因を含む可能性の高いデータ線の
使用を回避しつつ、データ通信を継続できる。その結
果、伝送エラーによるデータ通信の中断を回避できるの
で、データ通信の信頼性を高く維持できる。ここで、デ
ータ伝送路の切換を、入出力装置が単独で判断し、外部
情報処理装置(ホスト)へ通知しても良い。その他に、
ホストが伝送エラーの検出に応じ、入出力装置に対しデ
ータ伝送路の切換を指示しても良い。
In the above input / output device, when a transmission error is detected during data communication by the data communication unit, the data transmission path is switched to the command line and continued. As a result, data communication can be continued while avoiding use of a data line having a high possibility of causing a transmission error. As a result, interruption of data communication due to a transmission error can be avoided, so that high reliability of data communication can be maintained. Here, the switching of the data transmission path may be independently determined by the input / output device and notified to the external information processing device (host). Other,
The host may instruct the input / output device to switch the data transmission path in response to the detection of the transmission error.

【0016】上記の入出力装置では、 (A) データ通信部がデータ通信をブロック転送で行
い; (B) 伝送エラー検出部がブロックごとの誤り検出で伝
送エラーを検出し; (C) 伝送エラー検出部によるデータ伝送路の切換後、
伝送エラーを検出されたブロックをデータ通信部が再送
しても良い。
In the above input / output device, (A) the data communication unit performs data communication by block transfer; (B) the transmission error detection unit detects a transmission error by detecting an error for each block; (C) the transmission error After switching the data transmission path by the detector,
The data communication unit may retransmit the block in which the transmission error has been detected.

【0017】そのとき、再送対象ブロックが、同じスト
リームの残りのブロックの間に混入され、再送されても
良い。その他に、その再送対象ブロック以降のストリー
ム部分が連続して再送されても良い。それらの再送によ
り、データ通信の信頼性を高く維持できる。特に、再送
時でのデータ伝送路はコマンド線であり、伝送エラー発
生時でのデータ伝送路であるデータ線とは異なる。従っ
て、再送対象ブロックについて同じ伝送エラーの再発を
抑制できる。その結果、データ再送を確実に実行でき
る。更に、ブロックの再送がそのブロックの属するスト
リームの伝送中に行われるので、再送による実質的なデ
ータ伝送速度の低下を抑え得る。
At this time, the retransmission target block may be mixed between the remaining blocks of the same stream and retransmitted. In addition, the stream portion after the retransmission target block may be continuously retransmitted. By these retransmissions, the reliability of data communication can be maintained high. In particular, the data transmission path at the time of retransmission is a command line, which is different from the data line which is a data transmission path at the time of occurrence of a transmission error. Therefore, the same transmission error can be prevented from recurring for the retransmission target block. As a result, data retransmission can be executed reliably. Further, since the retransmission of the block is performed during the transmission of the stream to which the block belongs, a substantial reduction in the data transmission speed due to the retransmission can be suppressed.

【0018】本発明の別の観点による入出力装置は、 (A) コマンド線とn本のデータ線(整数nは2以上であ
る)とを含み、外部情報処理装置と接続するバス; (B) コマンド線を通し外部情報処理装置との間でコマ
ンドを交換するためのコマンド制御部; (C) m本のデータ線(整数mは1以上n未満である)を通
しディジタルデータをmビットずつ交換する第一の通信
モードと、データ線の全てを通しディジタルデータをn
ビットずつ交換する第二の通信モードと、のそれぞれで
外部情報処理装置とデータ通信を行うためのデータ通信
部;及び、 (D) データ通信部による第二の通信モードでのデータ
通信中、外部情報処理装置から伝送エラーを示すコマン
ドを入力したとき、又は外部情報処理装置から受信した
データについて伝送エラーを検出したとき、データ通信
部の通信モードを第一の通信モードへ切り換えるための
伝送エラー検出部;を有する。
An input / output device according to another aspect of the present invention includes: (A) a bus including a command line and n data lines (an integer n is 2 or more) and connecting to an external information processing device; ) A command control unit for exchanging commands with an external information processing device through a command line; (C) Digital data is transmitted in m bits through m data lines (the integer m is 1 or more and less than n). The first communication mode to be exchanged, and digital data is passed through all data lines.
A data communication unit for performing data communication with an external information processing device in each of a second communication mode in which bits are exchanged bit by bit; and (D) an external device during data communication in the second communication mode by the data communication unit. Transmission error detection for switching the communication mode of the data communication unit to the first communication mode when a command indicating a transmission error is input from the information processing device or when a transmission error is detected for data received from the external information processing device. Part;

【0019】上記の入出力装置では、第二の通信モード
でのデータ通信で伝送エラーが検出されたとき、データ
通信が第一の通信モードへ切り換えられ、継続される。
第一の通信モードでは第二の通信モードより、使用され
るデータ線の数が少ない。従って、伝送エラーの原因を
含む可能性の高いデータ線の使用を回避しつつ、データ
通信を継続できる。その結果、伝送エラーによるデータ
通信の中断を回避できるので、データ通信の信頼性を高
く維持できる。ここで、データ伝送路の切換を、入出力
装置が単独で判断し、外部情報処理装置(ホスト)へ通
知しても良い。その他に、ホストが伝送エラーの検出に
応じ、入出力装置に対しデータ伝送路の切換を指示して
も良い。
In the above input / output device, when a transmission error is detected in the data communication in the second communication mode, the data communication is switched to the first communication mode and is continued.
In the first communication mode, the number of data lines used is smaller than in the second communication mode. Therefore, the data communication can be continued while avoiding the use of the data line which is likely to include the cause of the transmission error. As a result, interruption of data communication due to a transmission error can be avoided, so that high reliability of data communication can be maintained. Here, the switching of the data transmission path may be independently determined by the input / output device and notified to the external information processing device (host). Alternatively, the host may instruct the input / output device to switch the data transmission path in response to the detection of the transmission error.

【0020】上記の入出力装置では、データ通信部によ
る第一の通信モードでのデータ通信中、伝送エラー検出
部が外部情報処理装置から伝送エラーを示すコマンドを
入力したとき、又は外部情報処理装置から受信したデー
タについて伝送エラーを検出したとき、m本のデータ線
の一部又は全部を別のデータ線へ切り換えても良い。更
に、伝送エラーが検出されなくなるまで、そのデータ線
の切換が繰り返されても良い。それにより、伝送エラー
の原因を含む可能性の高いデータ線の使用を容易に回避
できるので、データ通信の信頼性を高く維持し、かつ実
質的なデータ伝送速度の低下を抑制できる。
In the above input / output device, during transmission of data in the first communication mode by the data communication unit, when the transmission error detection unit inputs a command indicating a transmission error from the external information processing device, When a transmission error is detected for the data received from, some or all of the m data lines may be switched to another data line. Further, the switching of the data line may be repeated until no transmission error is detected. As a result, it is possible to easily avoid using a data line that is likely to cause a transmission error, so that the reliability of data communication can be maintained high and a substantial decrease in data transmission speed can be suppressed.

【0021】上記の入出力装置では、 (A) データ通信部がデータ通信をブロック転送で行
い; (B) 伝送エラー検出部がブロックごとの誤り検出で伝
送エラーを検出し; (C) 伝送エラー検出部による通信モードの切換後、伝
送エラーを検出されたブロックをデータ通信部が再送し
ても良い。
In the above input / output device, (A) the data communication unit performs data communication by block transfer; (B) the transmission error detection unit detects a transmission error by detecting an error for each block; (C) the transmission error After the communication unit is switched by the detection unit, the data communication unit may retransmit the block in which the transmission error has been detected.

【0022】そのとき、再送対象ブロックが、同じスト
リームの残りのブロックの間に混入され、再送されても
良い。その他に、その再送対象ブロック以降のストリー
ム部分が連続して再送されても良い。それらの再送によ
り、データ通信の信頼性を高く維持できる。特に再送時
でのデータ伝送路は伝送エラー発生時とは一般に別経路
であるので、再送対象ブロックについて同じ伝送エラー
の発生を抑制できる。その結果、データ再送を確実に実
行できる。更に、ブロックの再送がそのブロックの属す
るストリームの伝送中に行われるので、再送による実質
的なデータ伝送速度の低下を抑え得る。
At this time, the retransmission target block may be mixed between the remaining blocks of the same stream and retransmitted. In addition, the stream portion after the retransmission target block may be continuously retransmitted. By these retransmissions, the reliability of data communication can be maintained high. In particular, since the data transmission path at the time of retransmission is generally a different path from that at the time of occurrence of a transmission error, occurrence of the same transmission error can be suppressed for the retransmission target block. As a result, data retransmission can be executed reliably. Further, since the retransmission of the block is performed during the transmission of the stream to which the block belongs, a substantial reduction in the data transmission speed due to the retransmission can be suppressed.

【0023】上記の入出力装置では、データ通信部によ
るデータ通信と並行し、コマンド制御部が再送対象ブロ
ックを、コマンド線を通し再送しても良い。それによ
り、ブロックの再送がそのブロックの属するストリーム
の伝送と並行できるので、再送による実質的なデータ伝
送速度の低下を回避できる。
In the above input / output device, the command control unit may retransmit the block to be retransmitted through the command line in parallel with the data communication by the data communication unit. Thereby, the retransmission of a block can be performed in parallel with the transmission of the stream to which the block belongs, so that a substantial reduction in data transmission speed due to the retransmission can be avoided.

【0024】[0024]

【発明の実施の形態】以下、本発明の最適な実施の形態
について、その好ましい実施例を挙げて、図面を参照し
つつ説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The preferred embodiments of the present invention will be described below with reference to the drawings by way of preferred embodiments.

【0025】《実施例1》図1は、本発明の実施例1に
よるSDカード11について、ホストHとの間でのデータ
交換を示すブロック図である。SDカード11は、ホスト
インタフェース1、並びに、SD規格に準拠のファンク
ションとしてメモリ部5Aと無線通信部5Bとを含む。メモ
リ部5Aはフラッシュメモリを含み、ホストHからのデー
タを記憶する。無線通信部5Bは例えば外部の無線LAN
と接続される。
Embodiment 1 FIG. 1 is a block diagram showing data exchange between a host H and an SD card 11 according to Embodiment 1 of the present invention. The SD card 11 includes a host interface 1 and a memory unit 5A and a wireless communication unit 5B as functions conforming to the SD standard. The memory unit 5A includes a flash memory and stores data from the host H. The wireless communication unit 5B is, for example, an external wireless LAN
Is connected to

【0026】ホストインタフェース1は、四本のデータ
線DAT0〜3、クロック線CLK、電源線VDD、グラウンド線V
SS、及びコマンド線CMDの五種類の線を含むバスで、ホ
ストHと接続される。四本のデータ線DAT0〜3は伝送対象
データを実際に伝送するための線であり、第一のデータ
線DAT0から第四のデータ線DAT3までの順に並列に配置さ
れる。クロック線CLKは、ホストHからホストインタフェ
ース1へ通信クロックを伝送するための線である。デー
タ線での通信はその通信クロックに従い、同期通信で行
われる。ここで、通信クロックはホストHにより、例え
ば0〜約25MHzの範囲内に設定される。電源線VDDは、ホ
ストHからSDカード11へ電力を供給するための線であ
り、一定の高電位に保たれる。グラウンド線VSSは、ホ
ストH内で接地された線であり、一定の接地電位に保た
れる。コマンド線CMDは、データ通信時に交換されるコ
マンドと、SDカード11の各ファンクションに対しホス
トHにより発行される制御コマンドとを伝送するための
線である。その制御コマンドにより、ホストHはSDカ
ード11内のメモリ部5Aと無線通信部5Bとを制御する。
The host interface 1 includes four data lines DAT0 to DAT3, a clock line CLK, a power supply line VDD, and a ground line V
A bus including five types of lines, SS and a command line CMD, is connected to the host H. The four data lines DAT0 to DAT3 are lines for actually transmitting the data to be transmitted, and are arranged in parallel from the first data line DAT0 to the fourth data line DAT3. The clock line CLK is a line for transmitting a communication clock from the host H to the host interface 1. Communication on the data line is performed by synchronous communication according to the communication clock. Here, the communication clock is set by the host H, for example, within a range of 0 to about 25 MHz. The power supply line VDD is a line for supplying power from the host H to the SD card 11, and is maintained at a constant high potential. The ground line VSS is a line grounded in the host H, and is kept at a constant ground potential. The command line CMD is a line for transmitting a command exchanged during data communication and a control command issued by the host H to each function of the SD card 11. With the control command, the host H controls the memory unit 5A and the wireless communication unit 5B in the SD card 11.

【0027】ホストインタフェース1はデータ通信部2
A、コマンド制御部3、及び伝送エラー検出部4Aを含む。
データ通信部2Aは四本のデータ線DAT0〜3でホストHと接
続され、ディジタルデータDを交換する。データ通信部2
Aは、例えば第一通信部21と第二通信部22との二つのモ
ジュールを含み、第一のスイッチSW1によりそれらのモ
ジュールのいずれかをメモリ部5A及び無線通信部5Bへ接
続する。それにより、データ通信部2Aは次の二つのモー
ドでデータ通信を行う:第一の通信モードでは、第一通
信部21が第一のデータ線DAT0だけを通し、ディジタルデ
ータDを1bitずつシリアルに伝送する。そのとき、残り
三本のデータ線DAT1〜3はアイドル状態である。第一の
通信モードでのデータ通信はMMCによるデータ通信と
同等であるので、SDカード11はMMCに対する下位互
換性を保つ。第二の通信モードでは、第二通信部22が四
本のデータ線DAT0〜3の全てを通し、ディジタルデータD
を4bitずつパラレルに伝送する。それにより、第一の通
信モードより高速なデータ通信が実現される。
The host interface 1 is a data communication unit 2
A, a command control unit 3, and a transmission error detection unit 4A.
The data communication unit 2A is connected to the host H via four data lines DAT0 to DAT3 and exchanges digital data D. Data communication unit 2
A includes, for example, two modules of a first communication unit 21 and a second communication unit 22, and connects one of these modules to the memory unit 5A and the wireless communication unit 5B by the first switch SW1. Accordingly, the data communication unit 2A performs data communication in the following two modes: in the first communication mode, the first communication unit 21 transmits digital data D serially by 1 bit only through the first data line DAT0. Transmit. At that time, the remaining three data lines DAT1 to DAT3 are in an idle state. Since the data communication in the first communication mode is equivalent to the data communication by the MMC, the SD card 11 maintains backward compatibility with the MMC. In the second communication mode, the second communication unit 22 transmits the digital data DAT through all four data lines DAT0 to DAT3.
Are transmitted in 4-bit units in parallel. Thereby, data communication at higher speed than in the first communication mode is realized.

【0028】二つのモードのいずれでもデータ通信はホ
ストHからの通信クロックに従い、同期通信で行われ
る。一連の伝送対象データ(ストリーム)は、所定のデ
ータ量、例えば512Bごとにブロックに分割される。更
に、それぞれのブロックに対し所定のヘッダと誤り検出
符号(例えば、巡回符号)とが付加され、パケットが構
成される。データ通信部2Aはそのパケットごとにデータ
を伝送する。データ通信部2AはホストHからのコマンド
に従い、第一のスイッチSW1を切り換える。それによ
り、ホストHは自身のデータ処理速度に応じ、二つのモ
ードのいずれかを選択する。
In any of the two modes, data communication is performed by synchronous communication in accordance with a communication clock from the host H. A series of data to be transmitted (stream) is divided into blocks each having a predetermined data amount, for example, 512B. Further, a predetermined header and an error detection code (for example, a cyclic code) are added to each block to form a packet. The data communication unit 2A transmits data for each packet. The data communication unit 2A switches the first switch SW1 according to a command from the host H. Thereby, the host H selects one of the two modes according to its own data processing speed.

【0029】データ通信部2Aは第二のスイッチSW2を更
に含み、第一通信部21によるデータ通信でのデータ伝送
路を第一のデータ線DAT0からコマンド線CMDへ切り換え
る。それにより、データ通信部2Aは第一の通信モードで
のデータ通信を、コマンド線CMDを通し実現できる。第
一のデータ線DAT0からコマンド線CMDへの伝送路の切換
は、伝送エラー検出部4Aに従い行われる。
The data communication unit 2A further includes a second switch SW2, and switches a data transmission path for data communication by the first communication unit 21 from the first data line DAT0 to the command line CMD. Thereby, the data communication unit 2A can realize data communication in the first communication mode through the command line CMD. Switching of the transmission path from the first data line DAT0 to the command line CMD is performed according to the transmission error detection unit 4A.

【0030】コマンド制御部3はコマンド線CMDでホスト
Hと接続される。それにより、ホストHからのコマンドを
受信し解読する。更に、そのコマンドに対するレスポン
スを返信する。ホストHからのコマンドには、例えば、
メモリ部5A又は無線通信部5B等のファンクションに対す
る読み出し命令及び書き込み命令、並びに、SDカード
11のID又はステータスの要求等がある。ホストHから
のコマンドにより要求されるデータが、例えばID及び
ステータス等の比較的小さいものであるとき、コマンド
制御部3は通常そのデータを、そのコマンドに対するレ
スポンスに挿入する。一方、ファンクションから出力さ
れるストリーム等の比較的大きいデータについては、コ
マンド制御部3は通常、データ通信部2Aへ送信を指示す
る。
The command control unit 3 uses a command line CMD to
Connected to H. Thereby, the command from the host H is received and decoded. Further, a response to the command is returned. Commands from host H include, for example,
Read and write commands for functions such as the memory unit 5A or the wireless communication unit 5B, and an SD card
There are 11 ID or status requests, etc. When the data requested by the command from the host H is relatively small, such as an ID and a status, the command control unit 3 usually inserts the data into a response to the command. On the other hand, the command control unit 3 normally instructs the data communication unit 2A to transmit relatively large data such as a stream output from the function.

【0031】ホストHとデータ通信部2Aとの間でのデー
タ通信時、ホストHは、データ通信部2Aから伝送された
パケットごとに伝送エラーのチェックを行う。同様に、
伝送エラー検出部4Aは、ホストHからデータ通信部2Aへ
伝送されたパケットごとに伝送エラーのチェックを行
う。ここで、伝送エラーのチェックは例えば、パケット
に含まれる誤り検出符号を用いた誤り検出である。
At the time of data communication between the host H and the data communication unit 2A, the host H checks a transmission error for each packet transmitted from the data communication unit 2A. Similarly,
The transmission error detection unit 4A checks a transmission error for each packet transmitted from the host H to the data communication unit 2A. Here, the transmission error check is, for example, error detection using an error detection code included in the packet.

【0032】ホストHは伝送エラーの検出時、パケット
再送命令を発行する。それにより、伝送エラーを検出さ
れたパケットのIDをコマンド制御部3へ通知する。伝
送エラー検出部4Aはコマンド制御部3を通し、ホストHか
らのコマンドを監視する。それにより、ホストHから発
行されるパケット再送命令を受信する。
When detecting a transmission error, the host H issues a packet retransmission command. Thus, the command control unit 3 is notified of the ID of the packet in which the transmission error has been detected. The transmission error detection unit 4A monitors a command from the host H through the command control unit 3. Thereby, the packet retransmission command issued from the host H is received.

【0033】伝送エラー検出部4Aは、データ通信部2Aに
より受信されたパケットについて伝送エラーを検出した
とき、ホストHへ伝送エラーの検出を通知する。ホストH
は、伝送エラー検出部4Aから伝送エラー検出の通知を受
けたとき、又はデータ通信部2Aから受信したパケットに
ついて伝送エラーを検出したとき、伝送エラー検出部4A
に対し、上記のパケット再送命令を発行する。その再送
命令に応じ、伝送エラー検出部4Aは、まず第一のスイッ
チSW1により、データ通信部2Aの通信モードを第一の通
信モードへ切り換える。次に第二のスイッチSW2によ
り、データ伝送路を第一のデータ線DAT0からコマンド線
CMDへ切り換える。こうして、ホストHとデータ通信部2A
との間で交換されたパケットのいずれかについて伝送エ
ラーが検出されたとき、データ伝送路がデータ線DAT0〜
3からコマンド線CMDへ切り換えられる。それにより、伝
送エラーの原因を含む可能性の高いデータ線DAT0〜3を
回避し、伝送エラーの再発を抑制する。その結果、デー
タ通信の信頼性が高く維持される。
When detecting a transmission error in the packet received by the data communication unit 2A, the transmission error detecting unit 4A notifies the host H of the detection of the transmission error. Host H
When a transmission error detection notification is received from the transmission error detection unit 4A, or when a transmission error is detected for a packet received from the data communication unit 2A, the transmission error detection unit 4A
Issue the above packet retransmission instruction. In response to the retransmission command, the transmission error detection unit 4A first switches the communication mode of the data communication unit 2A to the first communication mode by using the first switch SW1. Next, the data transmission path is moved from the first data line DAT0 to the command line by the second switch SW2.
Switch to CMD. Thus, the host H and the data communication unit 2A
When a transmission error is detected for any of the packets exchanged between the data lines DAT0 to
Switch from 3 to the command line CMD. As a result, data lines DAT0 to DAT3 which are likely to include the cause of the transmission error are avoided, and the recurrence of the transmission error is suppressed. As a result, the reliability of data communication is kept high.

【0034】以下、ホストHとSDカード11との間での
データ通信について、特にSDカード11からホストHへ
のデータ伝送を具体的に説明する。ホストHからSDカ
ード11へのデータ伝送についても同様である。図2は、
実施例1によるSDカード11からホストHへのデータ伝
送時、SDカード11とホストHとの間で交換されるデー
タについてのタイミング図である。
The data communication between the host H and the SD card 11 will be specifically described below, particularly the data transmission from the SD card 11 to the host H. The same applies to data transmission from the host H to the SD card 11. Figure 2
FIG. 4 is a timing chart for data exchanged between the SD card 11 and the host H when data is transmitted from the SD card 11 to the host H according to the first embodiment.

【0035】ホストHはコマンド線CMDを通し、メモリ部
5A又は無線通信部5Bに対する読み出し命令53をコマンド
制御部3へ通知する。コマンド制御部3はその読み出し命
令53を解読する。読み出し命令53を正常に受信したとき
はその旨を、それ以外のときは受信エラーを、それぞれ
伝えるためのレスポンスRESを返信する。読み出し命令5
3が正常に受信された時、コマンド制御部3はその読み出
し命令53により要求されたストリームをメモリ部5A又は
無線通信部5Bから読み出し、データ通信部2Aへ転送す
る。更に、その読み出し命令53により指示された通信モ
ード、例えば第二の通信モードをデータ通信部2Aへ指示
する。
The host H communicates through the command line CMD to the memory
The command control unit 3 is notified of a read command 53 for 5A or the wireless communication unit 5B. The command control section 3 decodes the read command 53. When the read command 53 has been normally received, a response RES for notifying the reception of the read command 53 and a reception error otherwise is returned. Read instruction 5
When the command 3 is received normally, the command control unit 3 reads the stream requested by the read command 53 from the memory unit 5A or the wireless communication unit 5B, and transfers the stream to the data communication unit 2A. Further, it instructs the data communication unit 2A to the communication mode specified by the read command 53, for example, the second communication mode.

【0036】データ通信部2Aは伝送対象のストリーム
を、例えば512Bずつのブロックに分割し、複数のパケッ
トDP1、DP2、・・・を構成する。更に、それぞれのパケ
ットを第二の通信モードTM2でパラレルに伝送する。そ
のとき、四本のデータ線DAT0〜3の全てを通し、パラレ
ル信号P1、P2、・・・P(L−1)、PL(整数Lは1以上であ
る)が、対応するパケットDP1、DP2、・・・DP(L−1)、
DPLの順に出力される。
The data communication unit 2A divides the stream to be transmitted into, for example, 512B blocks to form a plurality of packets DP1, DP2,. Further, each packet is transmitted in parallel in the second communication mode TM2. At this time, the parallel signals P1, P2,... P (L−1), PL (the integer L is 1 or more) pass through all four data lines DAT0 to DAT3, and the corresponding packets DP1, DP2 , ... DP (L-1),
Output in the order of DPL.

【0037】ホストHはパラレル信号P1、P2、・・・PL
のそれぞれから、対応するパケットDP1、DP2、・・・DP
Lを再構成し、それぞれの誤り検出符号CRCにより符号誤
りをチェックする。ここで、k番目のパケットDPk(1≦k
<L)について、ホストHが符号誤りを検出したときを想
定する。ホストHはそのとき再送命令52を出力し、k番目
のパケットDPkのIDをコマンド制御部3へ通知する。こ
こで、再送命令52は、データ通信部2Aによるデータ通信
と並行して伝送され、パケットのIDをパラメータとし
て含み得るコマンドであれば良い。
The host H receives parallel signals P1, P2,... PL
, The corresponding packets DP1, DP2,... DP
L is reconstructed, and a code error is checked using each error detection code CRC. Here, the k-th packet DPk (1 ≦ k
Regarding <L), it is assumed that the host H detects a code error. At that time, the host H outputs the retransmission command 52 and notifies the command control unit 3 of the ID of the k-th packet DPk. Here, the retransmission command 52 may be any command that is transmitted in parallel with the data communication by the data communication unit 2A and can include a packet ID as a parameter.

【0038】コマンド制御部3は再送命令52を解読し、
正常に受信されたか否かをチェックする。再送命令52が
正常に受信されたとき、コマンド制御部3はその旨をレ
スポンスRESでホストHへ通知する。伝送エラー検出部4A
はその再送命令52からk番目のパケットDPkのIDを読み
出し、データ通信部2Aへ通知する。更に、第一のスイッ
チSW1によりデータ通信部2Aの通信モードを第一の通信
モードへ切り換え、第二のスイッチSW2によりデータ通
信部2AからホストHへのデータ伝送路をコマンド線CMDへ
切り換える。
The command control unit 3 decodes the retransmission command 52,
Check whether it was received normally. When the retransmission command 52 is normally received, the command control unit 3 notifies the host H of the fact with the response RES. Transmission error detector 4A
Reads the ID of the k-th packet DPk from the retransmission command 52 and notifies the data communication unit 2A of the ID. Further, the communication mode of the data communication unit 2A is switched to the first communication mode by the first switch SW1, and the data transmission path from the data communication unit 2A to the host H is switched to the command line CMD by the second switch SW2.

【0039】ホストHは続いて、再送パケット読み出し
命令54Aを発行する。その命令54Aが正常に受信された
時、データ通信部2Aは、伝送エラー検出部4Aから通知さ
れたIDに対応するk番目のパケットDPkのデータを含む
レスポンスを返信する。以後、ホストHからの再送パケ
ット読み出し命令54B、54C、・・・が正常に受信される
ごとに、それぞれのレスポンスとして(k+1)番目以降の
パケットDP(k+1)、DP(k+2)、・・・が再送される。こ
こで、再送パケットのサイズがレスポンスの含み得るデ
ータの最大サイズを超えるとき、そのパケットは分割さ
れ、複数のレスポンスに含まれる。ホストHはその分割
数に応じ、再送パケット読み出し命令を繰り返し発行す
る。こうして、一つのコマンド当たり一つのレスポン
ス、という対応関係が維持された上で、パケットが再送
される。そのとき、通信モードは第一の通信モードTM1
であり、かつデータ伝送路はコマンド線CMDである。パ
ケットDPk、DP(k+1)、DP(k+2)、・・・はシリアル信
号R1、R2、R3、・・・へ変換され、コマンド線CMDを通
し伝送される。
Subsequently, the host H issues a retransmission packet read command 54A. When the command 54A is normally received, the data communication unit 2A returns a response including the data of the k-th packet DPk corresponding to the ID notified from the transmission error detection unit 4A. Thereafter, each time the retransmission packet read command 54B, 54C,... From the host H is normally received, the (k + 1) -th and subsequent packets DP (k + 1), DP (k + 2),. Is resent. Here, when the size of the retransmission packet exceeds the maximum size of data that can be included in the response, the packet is divided and included in a plurality of responses. The host H repeatedly issues a retransmission packet read command according to the division number. In this way, the packet is retransmitted while maintaining the correspondence of one response per command. At that time, the communication mode is the first communication mode TM1
And the data transmission path is a command line CMD. The packets DPk, DP (k + 1), DP (k + 2), ... are converted into serial signals R1, R2, R3, ... and transmitted through the command line CMD.

【0040】図2では、再送命令52により指示されるk番
目のパケットDPk以降のパケットが全て再送される。そ
の他に、k番目のパケットDPkだけが未送のパケットの間
に混入され、再送されても良い。図3は、そのときのデ
ータ伝送を示すタイミング図である。第二の通信モード
TM2でのデータ通信により、L番目のパケットDPLを含む
パラレル信号PLまでが出力される。その出力と並行し、
再送命令52がホストHから伝送される。それにより、デ
ータ通信部2Aの通信モードが第一の通信モードTM1へ切
り換えられ、かつデータ伝送路がコマンド線CMDへ切り
換えられる。その後、ホストHからの最初の再送パケッ
ト読み出し命令54Aの受信時、k番目のパケットDPkを含
む第一のシリアル信号R1がまずコマンド線CMDを通し出
力される。続いて、ホストHからの再送パケット読み出
し命令54B、54C、・・・のそれぞれの受信ごとに、(L+
1)番目以降の未送パケットDP(L+1)、DP(L+2)、・・・
がそれぞれシリアル信号R2、R3、・・・へ変換され、コ
マンド線CMDを通し出力される。
In FIG. 2, all packets subsequent to the k-th packet DPk specified by the retransmission command 52 are retransmitted. Alternatively, only the k-th packet DPk may be mixed between untransmitted packets and retransmitted. FIG. 3 is a timing chart showing data transmission at that time. Second communication mode
Through data communication in TM2, up to a parallel signal PL including the L-th packet DPL is output. In parallel with its output,
The retransmission command 52 is transmitted from the host H. Thereby, the communication mode of the data communication unit 2A is switched to the first communication mode TM1, and the data transmission path is switched to the command line CMD. Thereafter, when receiving the first retransmission packet read command 54A from the host H, the first serial signal R1 including the k-th packet DPk is first output through the command line CMD. Then, each time a retransmission packet read command 54B, 54C,... From the host H is received, (L +
1) th and subsequent unsent packets DP (L + 1), DP (L + 2), ...
Are converted into serial signals R2, R3,... And output via the command line CMD.

【0041】上記の通り、実施例1によるSDカード11
では、伝送したパケットについて伝送エラーが検出され
たとき、データ通信を中断させることなく、伝送エラー
を検出されたパケットが再送される。そのとき、データ
伝送路がデータ線からコマンド線へ切り換えられる。そ
れにより、伝送エラーの検出後のデータ通信では、その
伝送エラーの原因を含む可能性が高いデータ線の使用が
回避される。従って、伝送エラーの再発が抑制されるの
で、データ通信の信頼性が向上する。
As described above, the SD card 11 according to the first embodiment
In, when a transmission error is detected in a transmitted packet, the packet in which the transmission error is detected is retransmitted without interrupting data communication. At that time, the data transmission path is switched from the data line to the command line. Thus, in the data communication after the detection of the transmission error, the use of the data line which is likely to include the cause of the transmission error is avoided. Therefore, recurrence of transmission errors is suppressed, and the reliability of data communication is improved.

【0042】本発明の実施例1はSDカードである。し
かし、本発明の実施対象はSDカードに限られない。す
なわち、コマンド線とデータ線とを別の信号線として含
むバスによりホストと接続されるICカード等の入出力
装置に対し、本発明は実施例1同様に実施可能である。
Embodiment 1 of the present invention is an SD card. However, the implementation target of the present invention is not limited to the SD card. That is, the present invention can be implemented in the same manner as in the first embodiment for an input / output device such as an IC card connected to a host via a bus including a command line and a data line as separate signal lines.

【0043】《実施例2》図4は、本発明の実施例2に
よるSDカード12について、ホストHとの間でのデータ
交換を示すブロック図である。実施例2によるSDカー
ド12は、実施例1によるSDカード11と比べ、データ通
信部2Bと伝送エラー検出部4Bとで異なる。その他の構成
については実施例1によるSDカード11と同様である。
図4ではそれらの同様な構成要素に対し図1と同じ符号を
付す。更に、それらの同様な構成要素については実施例
1での説明を援用する。
Embodiment 2 FIG. 4 is a block diagram showing data exchange with a host H for an SD card 12 according to Embodiment 2 of the present invention. The SD card 12 according to the second embodiment differs from the SD card 11 according to the first embodiment in a data communication unit 2B and a transmission error detection unit 4B. Other configurations are the same as those of the SD card 11 according to the first embodiment.
In FIG. 4, those similar components are denoted by the same reference numerals as in FIG. Further, for those similar components, the description in Embodiment 1 is cited.

【0044】データ通信部2Bは四本のデータ線DAT0〜3
でホストHと接続され、ディジタルデータDを交換する。
データ通信部2Bは、例えば第一通信部21と第二通信部22
との二つのモジュールを含み、第一のスイッチSW1によ
りそれらのモジュールのいずれかをメモリ部5A及び無線
通信部5Bへ接続する。それにより、データ通信部2Bは次
の二つのモードでデータ通信を行う:第一の通信モード
では、第一通信部21がデータ線DAT0〜3のいずれか一本
だけを通し、ディジタルデータDを1bitずつシリアルに
伝送する。そのとき、残り三本のデータ線はアイドル状
態である。更にデータ伝送路は第三のスイッチSW3で切
り換えられる。通常、データ伝送路として第一のデータ
線DAT0が選択される。そのとき、第一の通信モードでの
データ通信はMMCによるデータ通信と同等であるの
で、SDカード12はMMCに対する下位互換性を保つ。
第二の通信モードでは、第二通信部22が四本のデータ線
DAT0〜3の全てを通し、ディジタルデータDを4bitずつパ
ラレルに伝送する。それにより、第一の通信モードより
高速なデータ通信が実現される。
The data communication section 2B has four data lines DAT0 to DAT3.
Is connected to the host H to exchange digital data D.
The data communication unit 2B includes, for example, a first communication unit 21 and a second communication unit 22.
And one of those modules is connected to the memory unit 5A and the wireless communication unit 5B by the first switch SW1. Accordingly, the data communication unit 2B performs data communication in the following two modes: In the first communication mode, the first communication unit 21 transmits digital data D through only one of the data lines DAT0 to DAT3. Data is transmitted serially one bit at a time. At that time, the remaining three data lines are in an idle state. Further, the data transmission path is switched by the third switch SW3. Usually, the first data line DAT0 is selected as the data transmission path. At that time, since the data communication in the first communication mode is equivalent to the data communication by the MMC, the SD card 12 maintains backward compatibility with the MMC.
In the second communication mode, the second communication unit 22 has four data lines.
Digital data D is transmitted in 4-bits in parallel through all of DATs 0 to 3. Thereby, data communication at higher speed than in the first communication mode is realized.

【0045】二つのモードのいずれでもデータ通信はホ
ストHからの通信クロックに従い、同期通信で行われ
る。伝送対象ストリームは例えば512Bごとにブロックに
分割され、所定のヘッダと誤り検出符号(例えば、巡回
符号)と共にパケットを構成する。データ通信部2Bはそ
のパケットごとにデータを伝送する。データ通信部2Bは
ホストHからのコマンドに従い、第一のスイッチSW1を切
り換える。それにより、ホストHは自身のデータ処理速
度に応じ、二つのモードのいずれかを選択する。
In any of the two modes, data communication is performed by synchronous communication according to a communication clock from the host H. The transmission target stream is divided into blocks, for example, every 512B, and forms a packet together with a predetermined header and an error detection code (for example, a cyclic code). The data communication unit 2B transmits data for each packet. The data communication unit 2B switches the first switch SW1 according to a command from the host H. Thereby, the host H selects one of the two modes according to its own data processing speed.

【0046】伝送エラー検出部4Bは、ホストHからデー
タ通信部2Bへ伝送されたパケットごとに伝送エラーのチ
ェックを行う。ここで、伝送エラーのチェックは例え
ば、パケットに含まれる誤り検出符号を用いた誤り検出
である。伝送エラー検出部4Bは更に実施例1と同様、コ
マンド制御部3を通し、ホストHからのコマンドを監視す
る。それにより、ホストHによる伝送エラーの検出時、
ホストHから発行されるパケット再送命令を受信する。
The transmission error detection unit 4B checks a transmission error for each packet transmitted from the host H to the data communication unit 2B. Here, the transmission error check is, for example, error detection using an error detection code included in the packet. The transmission error detection unit 4B monitors commands from the host H through the command control unit 3 as in the first embodiment. Thereby, when a transmission error is detected by the host H,
Receive a packet retransmission command issued from the host H.

【0047】データ通信部2Bによる第二の通信モードで
のデータ通信中、伝送エラー検出部4Bは、データ通信部
2Bにより受信されたパケットについて伝送エラーを初め
て検出したとき、ホストHへ伝送エラーの初検出を通知
する。ホストHは、伝送エラー検出部4Bから伝送エラー
検出の通知を初めて受けたとき、又はデータ通信部2Bか
ら受信したパケットについて伝送エラーを初めて検出し
たとき、伝送エラー検出部4Bに対し、最初のパケット再
送命令を発行する。その最初の再送命令に応じ、伝送エ
ラー検出部4Bは第一のスイッチSW1により、データ通信
部2Bの通信モードを第一の通信モードへ切り換える。一
方、第三のスイッチSW3により、データ伝送路はまず、
例えば第一のデータ線DAT0に設定される。ここで、デー
タ伝送路の切換先は最初の再送命令を通し、ホストHに
より指定される。
During data communication in the second communication mode by the data communication unit 2B, the transmission error detection unit 4B
When a transmission error is detected for the packet received by 2B for the first time, the host H is notified of the first detection of the transmission error. When the host H first receives a notification of transmission error detection from the transmission error detection unit 4B or detects a transmission error for a packet received from the data communication unit 2B for the first time, the host H Issue a resend command. In response to the first retransmission command, the transmission error detection unit 4B switches the communication mode of the data communication unit 2B to the first communication mode by using the first switch SW1. On the other hand, by the third switch SW3, first, the data transmission path,
For example, it is set to the first data line DAT0. Here, the switching destination of the data transmission path is specified by the host H through the first retransmission command.

【0048】データ通信部2Bによる第一の通信モードで
のデータ通信中、伝送エラー検出部4Bがデータ通信部2B
により受信されたパケットについて伝送エラーを検出し
たとき、ホストHへ伝送エラーの検出を通知する。ホス
トHは、伝送エラー検出部4Bから伝送エラー検出の通知
を受けたとき、又はデータ通信部2Bから受信したパケッ
トについて伝送エラーを検出したとき、伝送エラー検出
部4Bに対し、パケット再送命令を発行する。その再送命
令に応じ、伝送エラー検出部4Bは第三のスイッチSW3に
より、データ伝送路を、例えば第一のデータ線DAT0から
第二のデータ線DAT1へ切り換える。ここで、データ伝送
路の切換先は再送命令を通し、ホストHにより指定され
る。
During data communication in the first communication mode by the data communication unit 2B, the transmission error detection unit 4B
When the transmission error is detected for the packet received by the host H, the host H is notified of the detection of the transmission error. When receiving notification of transmission error detection from the transmission error detection unit 4B or detecting a transmission error for a packet received from the data communication unit 2B, the host H issues a packet retransmission instruction to the transmission error detection unit 4B. I do. In response to the retransmission command, the transmission error detection unit 4B switches the data transmission path from, for example, the first data line DAT0 to the second data line DAT1 by the third switch SW3. Here, the switching destination of the data transmission path is specified by the host H through a retransmission instruction.

【0049】以後、伝送エラー検出部4B又はホストHが
伝送エラーを検出するごとに、ホストHはデータ伝送路
を別のデータ線へ切り換えるように、伝送エラー検出部
4Bへ指示する。こうして、ホストHとデータ通信部2Bと
の間で交換されたパケットのいずれかについて伝送エラ
ーが検出されたとき、データ伝送路が四本のデータ線DA
T0〜3の間で切り換えられる。それにより、伝送エラー
の原因を含む可能性の高いデータ線DAT0〜3を回避し、
伝送エラーの再発を抑制する。その結果、データ通信の
信頼性が高く維持される。
Thereafter, each time the transmission error detecting section 4B or the host H detects a transmission error, the host H switches the data transmission path to another data line so as to switch to another data line.
Instruct 4B. In this way, when a transmission error is detected for any of the packets exchanged between the host H and the data communication unit 2B, the data transmission path is connected to the four data lines DA.
It can be switched between T0-3. As a result, data lines DAT0 to DAT3 likely to include the cause of the transmission error are avoided,
Suppresses reoccurrence of transmission errors. As a result, the reliability of data communication is kept high.

【0050】以下、ホストHとSDカード12との間での
データ通信について、特にSDカード12からホストHへ
のデータ伝送を具体的に説明する。ホストHからSDカ
ード12へのデータ伝送についても同様である。図5は、
実施例2によるSDカード12からホストHへのデータ伝
送時、SDカード12とホストHとの間で交換されるデー
タについてのタイミング図である。
The data communication between the host H and the SD card 12 will be specifically described below, particularly the data transmission from the SD card 12 to the host H. The same applies to data transmission from the host H to the SD card 12. Figure 5
FIG. 9 is a timing chart for data exchanged between the SD card 12 and the host H when data is transmitted from the SD card 12 to the host H according to the second embodiment.

【0051】ホストHはコマンド線CMDを通し、メモリ部
5A又は無線通信部5Bに対する読み出し命令53をコマンド
制御部3へ通知する。コマンド制御部3はその読み出し命
令53を解読する。読み出し命令53を正常に受信したとき
はその旨を、それ以外のときは受信エラーを、それぞれ
伝えるためのレスポンスRESを返信する。読み出し命令5
3が正常に受信された時、コマンド制御部3は、その読み
出し命令53により要求されたストリームをメモリ部5A又
は無線通信部5Bから読み出し、データ通信部2Bへ転送す
る。更に、その読み出し命令53により指示された通信モ
ード、例えば第二の通信モードをデータ通信部2Bへ指示
する。
The host H communicates through the command line CMD to the memory
The command control unit 3 is notified of a read command 53 for 5A or the wireless communication unit 5B. The command control section 3 decodes the read command 53. When the read command 53 has been normally received, a response RES for notifying the reception of the read command 53 and a reception error otherwise is returned. Read instruction 5
When the command control unit 3 receives the stream normally, the command control unit 3 reads the stream requested by the read command 53 from the memory unit 5A or the wireless communication unit 5B, and transfers the stream to the data communication unit 2B. Further, it instructs the data communication unit 2B to communicate in the communication mode specified by the read command 53, for example, the second communication mode.

【0052】データ通信部2Bは伝送対象ストリームを例
えば512Bずつのブロックに分割し、複数のパケットDP
1、DP2、・・・を構成する。更に、それらのパケットを
第二の通信モードTM2でパラレルに伝送する。そのと
き、四本のデータ線DAT0〜3の全てを通しパラレル信号P
1、P2、・・・P(L−1)、PL(整数Lは1以上である)が、
対応するパケットDP1、DP2、・・・DP(L−1)、DPLの順
に出力される。
The data communication unit 2B divides the transmission target stream into, for example, 512B blocks, and
1, DP2,... Further, those packets are transmitted in parallel in the second communication mode TM2. At this time, the parallel signal P is passed through all four data lines DAT0 to DAT3.
1, P2,... P (L−1), PL (the integer L is 1 or more)
The corresponding packets DP1, DP2,... DP (L−1) are output in the order of DPL.

【0053】ホストHはパラレル信号P1、P2、・・・PL
のそれぞれから、対応するパケットDP1、DP2、・・・DP
Lを再構成し、それぞれの誤り検出符号CRCにより符号誤
りをチェックする。ここで、k1番目のパケットDPk1(1
≦k1<L)について、ホストHが符号誤りを検出したとき
を想定する。ホストHはそのとき第一の再送命令52Aを出
力し、k1番目のパケットDPk1のIDと、データ伝送路の
切換先として第一のデータ線DAT0を指定するデータとを
コマンド制御部3へ通知する。ここで、第一の再送命令5
2Aは、データ通信部2Bによるデータ通信と並行して伝送
され、パケットのIDとデータ伝送路の切換先とをパラ
メータとして含み得るコマンドであれば良い。
The host H receives parallel signals P1, P2,... PL
, The corresponding packets DP1, DP2,... DP
L is reconstructed, and a code error is checked using each error detection code CRC. Here, the k1th packet DPk1 (1
For ≦ k1 <L), it is assumed that the host H detects a code error. The host H then outputs the first retransmission command 52A and notifies the command control unit 3 of the ID of the k1th packet DPk1 and the data designating the first data line DAT0 as the data transmission path switching destination. . Here, the first retransmission instruction 5
The command 2A may be any command that is transmitted in parallel with the data communication by the data communication unit 2B and can include a packet ID and a data transmission path switching destination as parameters.

【0054】コマンド制御部3は第一の再送命令52Aを解
読し、正常に受信されたか否かをチェックする。第一の
再送命令52Aが正常に受信されたとき、コマンド制御部3
はその旨をレスポンスRESでホストHへ通知する。伝送エ
ラー検出部4Bは第一の再送命令52Aからk1番目のパケッ
トDPk1のIDを読み出し、データ通信部2Bへ通知する。
更に、データ伝送路の切換先として第一のデータ線DAT0
を特定し、第一のスイッチSW1によりデータ通信部2Bの
通信モードを第一の通信モードへ切り換えると共に、デ
ータ通信部2BからホストHへのデータ伝送路を第一のデ
ータ線DAT0に設定する。
The command control section 3 decodes the first retransmission command 52A and checks whether or not it has been normally received. When the first retransmission command 52A is normally received, the command control unit 3
Notifies the host H to that effect with a response RES. The transmission error detection unit 4B reads the ID of the k1st packet DPk1 from the first retransmission command 52A and notifies the data communication unit 2B.
Further, the first data line DAT0 is used as a switching destination of the data transmission path.
Then, the communication mode of the data communication unit 2B is switched to the first communication mode by the first switch SW1, and the data transmission path from the data communication unit 2B to the host H is set to the first data line DAT0.

【0055】データ通信部2Bは伝送エラー検出部4Bから
通知されたIDに対応するk1番目のパケットDPk1から順
に、パケットDPk1、DP(k1+1)、DP(k1+2)、・・・を再
送する。そのとき、通信モードは第一の通信モードTM1
であり、かつデータ伝送路は第一のデータ線DAT0であ
る。パケットDPk1、DP(k1+1)、DP(k1+2)、・・・はシ
リアル信号Q1、Q2、Q3、・・・へ変換され、第一のデー
タ線DAT0を通し伝送される。
The data communication unit 2B retransmits the packets DPk1, DP (k1 + 1), DP (k1 + 2),... In order from the k1th packet DPk1 corresponding to the ID notified from the transmission error detection unit 4B. At that time, the communication mode is the first communication mode TM1
, And the data transmission path is the first data line DAT0. The packets DPk1, DP (k1 + 1), DP (k1 + 2), ... are converted into serial signals Q1, Q2, Q3, ... and transmitted through the first data line DAT0.

【0056】図5では、第一の再送命令52Aにより指示さ
れるk1番目のパケットDPk1以降のパケットが全て再送さ
れる。その他に、k1番目のパケットDPk1だけが未送のパ
ケットの間に混入され、再送されても良い。図6は、そ
のときのデータ伝送を示すタイミング図である。第二の
通信モードTM2でのデータ通信により、L番目のパケット
DPLを含むパラレル信号PLまでが出力される。その出力
と並行し、第一の再送命令52AがホストHから伝送され
る。それにより、データ通信部2Bの通信モードが第一の
通信モードTM1へ切り換えられる。その後、k1番目のパ
ケットDPk1を含む第一のシリアル信号Q1がまず、第一の
データ線DAT0を通し出力される。続いて、(L+1)番目以
降の未送パケットDP(L+1)、DP(L+2)、・・・がそれぞ
れシリアル信号Q2、Q3、・・・へ変換され、第一のデー
タ線DAT0を通し出力される。
In FIG. 5, all the packets subsequent to the k1th packet DPk1 specified by the first retransmission command 52A are retransmitted. Alternatively, only the k1-th packet DPk1 may be mixed between untransmitted packets and retransmitted. FIG. 6 is a timing chart showing data transmission at that time. The L-th packet is transmitted by data communication in the second communication mode TM2.
A parallel signal PL including DPL is output. In parallel with the output, a first retransmission command 52A is transmitted from the host H. Thereby, the communication mode of the data communication unit 2B is switched to the first communication mode TM1. After that, the first serial signal Q1 including the k1st packet DPk1 is first output through the first data line DAT0. Subsequently, the untransmitted packets DP (L + 1), DP (L + 2),... After the (L + 1) th are converted into serial signals Q2, Q3,. You.

【0057】図7は、第一の再送命令52Aに続き、第二の
再送命令52Bと第三の再送命令52CとがホストHから発行
されるときのデータ交換を示すタイミング図である。第
一の再送命令52Aにより、上記の通り、データ通信部2B
の通信モードが第二の通信モードTM2から第一の通信モ
ードTM1へ切り換えられる。そのとき、データ伝送路は
まず第一のデータ線DAT0に設定される。k1番目のパケッ
トDPk1を含む複数のパケットがそれぞれ、シリアル信号
Q1、Q2、・・・Q(M−1)、QM(整数Mは1以上である)へ
変換され、第一のデータ線DAT0を通し伝送される。
FIG. 7 is a timing chart showing data exchange when the second retransmission command 52B and the third retransmission command 52C are issued from the host H following the first retransmission command 52A. As described above, the data communication unit 2B
Is switched from the second communication mode TM2 to the first communication mode TM1. At that time, the data transmission path is first set to the first data line DAT0. Each packet including the k1th packet DPk1 is a serial signal
Are converted to Q1, Q2,... Q (M−1), QM (the integer M is 1 or more) and transmitted through the first data line DAT0.

【0058】k2番目のパケットDPk2(k1≦k2)につい
て、ホストHが符号誤りを検出したときを想定する。ホ
ストHはそのとき第二の再送命令52Bを出力し、k2番目の
パケットDPk2のIDと、データ伝送路の切換先として第
二のデータ線DAT1を指定するデータとをコマンド制御部
3へ通知する。ここで、第二の再送命令52Bは第一の再送
命令52Aと同種のコマンドであり、データ通信部2Bによ
るデータ通信と並行して伝送され、パケットのIDとデ
ータ伝送路の切換先とをパラメータとして含む。
Assume that the host H detects a code error for the k2th packet DPk2 (k1 ≦ k2). The host H then outputs the second retransmission command 52B, and stores the ID of the k2th packet DPk2 and the data specifying the second data line DAT1 as the data transmission path switching destination in the command control unit.
Notify 3. Here, the second retransmission command 52B is a command of the same type as the first retransmission command 52A, is transmitted in parallel with the data communication by the data communication unit 2B, and sets the packet ID and the data transmission path switching destination as parameters. Included as

【0059】コマンド制御部3は第二の再送命令52Bを解
読し、正常に受信されたか否かをチェックする。第二の
再送命令52Bが正常に受信されたとき、コマンド制御部3
はその旨をレスポンスRESでホストHへ通知する。伝送エ
ラー検出部4Bは第二の再送命令52Bからk2番目のパケッ
トDPk2のIDを読み出し、データ通信部2Bへ通知する。
更に、データ伝送路の切換先として第二のデータ線DAT1
を特定し、第三のスイッチSW3により、データ通信部2B
からホストHへのデータ伝送路を、第一のデータ線DAT0
から第二のデータ線DAT1へ切り換える。それ以後、デー
タ通信部2Bはk2番目のパケットDPk2を含む複数のパケッ
トをそれぞれ、シリアル信号Q(M+1)、・・・QN(整数N
は(M+1)以上である)へ変換し、第二のデータ線DAT1を
通し伝送する。
The command control section 3 decodes the second retransmission command 52B and checks whether or not the command has been normally received. When the second retransmission command 52B is normally received, the command control unit 3
Notifies the host H to that effect with a response RES. The transmission error detection unit 4B reads the ID of the k2th packet DPk2 from the second retransmission command 52B and notifies the data communication unit 2B of the ID.
Further, the second data line DAT1 is used as a data transmission path switching destination.
The data communication unit 2B is specified by the third switch SW3.
A data transmission path from the first data line DAT0 to the host H.
To the second data line DAT1. Thereafter, the data communication unit 2B transmits a plurality of packets including the k2th packet DPk2 to the serial signals Q (M + 1),.
Is (M + 1) or more) and transmitted through the second data line DAT1.

【0060】更に、k3番目のパケットDPk3(k2≦k3)に
ついて、ホストHが符号誤りを検出したときを想定す
る。ホストHはそのとき第三の再送命令52Cを出力し、k3
番目のパケットDPk3のIDと、データ伝送路の切換先と
して第三のデータ線DAT2を指定するデータとをコマンド
制御部3へ通知する。ここで、第三の再送命令52Cは第一
の再送命令52Aと同種のコマンドであり、データ通信部2
Bによるデータ通信と並行して伝送され、パケットのI
Dとデータ伝送路の切換先とをパラメータとして含む。
Further, it is assumed that the host H detects a code error for the k3rd packet DPk3 (k2 ≦ k3). The host H then outputs a third retransmission command 52C, and k3
The command control unit 3 is notified of the ID of the third packet DPk3 and the data specifying the third data line DAT2 as the switching destination of the data transmission path. Here, the third retransmission command 52C is a command of the same type as the first retransmission command 52A,
B transmitted in parallel with the data communication by
D and the switching destination of the data transmission path are included as parameters.

【0061】コマンド制御部3は第三の再送命令52Cを解
読し、正常に受信されたか否かをチェックする。第三の
再送命令52Cが正常に受信されたとき、コマンド制御部3
はその旨をレスポンスRESでホストHへ通知する。伝送エ
ラー検出部4Bは第三の再送命令52Cからk3番目のパケッ
トDPk3のIDを読み出し、データ通信部2Bへ通知する。
更に、データ伝送路の切換先として第三のデータ線DAT2
を特定し、第三のスイッチSW3により、データ通信部2B
からホストHへのデータ伝送路を、第二のデータ線DAT1
から第三のデータ線DAT2へ切り換える。それ以後、デー
タ通信部2Bはk3番目のパケットDPk3を含む複数のパケッ
トをそれぞれシリアル信号Q(N+1)、・・・へ変換し、
第三のデータ線DAT2を通し伝送する。
The command control section 3 decodes the third retransmission command 52C and checks whether or not it has been normally received. When the third retransmission command 52C is normally received, the command control unit 3
Notifies the host H to that effect with a response RES. The transmission error detection unit 4B reads the ID of the k3rd packet DPk3 from the third retransmission command 52C and notifies the data communication unit 2B.
Further, a third data line DAT2 is used as a data transmission path switching destination.
The data communication unit 2B is specified by the third switch SW3.
A data transmission path from the second data line DAT1 to the host H.
To the third data line DAT2. Thereafter, the data communication unit 2B converts the plurality of packets including the k3th packet DPk3 into serial signals Q (N + 1),.
Data is transmitted through the third data line DAT2.

【0062】実施例2によるSDカード12では上記の通
り、ホストHとデータ通信部2Bとの間で交換されたパケ
ットのいずれかについて伝送エラーが検出されるごと
に、データ伝送路が四本のデータ線DAT0〜3の間で切り
換えられる。それにより、伝送エラーの原因を含む可能
性の高いデータ線DAT0〜3を回避し、伝送エラーの再発
を抑制する。その結果、データの再送が確実に実行さ
れ、データ通信の信頼性が向上する。
As described above, the SD card 12 according to the second embodiment has four data transmission paths each time a transmission error is detected for any of the packets exchanged between the host H and the data communication unit 2B. It is switched between data lines DAT0-3. Thereby, the data lines DAT0 to DAT3, which are likely to include the cause of the transmission error, are avoided, and the recurrence of the transmission error is suppressed. As a result, data retransmission is reliably performed, and the reliability of data communication is improved.

【0063】図5〜7では、再送対象パケットが他のパケ
ットと同じデータ伝送路を通し、同じ通信モードで伝送
される。その他に、他のパケットの伝送と並行し、再送
対象パケットが例えばコマンド線CMDを通し伝送されて
も良い。図8は、そのときのデータ伝送を示すタイミン
グ図である。ホストHはコマンド線CMDを通し、読み出し
命令53をコマンド制御部3へ通知する。コマンド制御部3
は所定のレスポンスRESを返信すると共に、その読み出
し命令53を解読する。それにより、その読み出し命令53
により要求されたストリームをメモリ部5A又は無線通信
部5Bから読み出し、データ通信部2Bへ転送する。更にそ
の読み出し命令53により指示された通信モード、例えば
第二の通信モードをデータ通信部2Bへ指示する。
In FIGS. 5 to 7, the packet to be retransmitted is transmitted in the same communication mode through the same data transmission path as other packets. Alternatively, the packet to be retransmitted may be transmitted, for example, via the command line CMD in parallel with the transmission of other packets. FIG. 8 is a timing chart showing data transmission at that time. The host H notifies the command controller 3 of the read command 53 via the command line CMD. Command control unit 3
Returns a predetermined response RES and decodes the read command 53. Thereby, the read instruction 53
Is read from the memory unit 5A or the wireless communication unit 5B and transferred to the data communication unit 2B. Further, it instructs the data communication unit 2B to the communication mode specified by the read command 53, for example, the second communication mode.

【0064】データ通信部2Bは伝送対象ストリームを例
えば512Bずつのブロックに分割し、複数のパケットDP
1、DP2、・・・を構成する。更に、それらのパケットを
第二の通信モードTM2でパラレルに伝送する。そのと
き、四本のデータ線DAT0〜3の全てを通しパラレル信号P
1、P2、・・・P(L−1)、PL(整数Lは1以上である)が、
対応するパケットDP1、DP2、・・・DP(L−1)、DPLの順
に出力される。
The data communication unit 2B divides the transmission target stream into, for example, 512B blocks, and
1, DP2,... Further, those packets are transmitted in parallel in the second communication mode TM2. At this time, the parallel signal P is passed through all four data lines DAT0 to DAT3.
1, P2,... P (L−1), PL (the integer L is 1 or more)
The corresponding packets DP1, DP2,... DP (L−1) are output in the order of DPL.

【0065】ホストHはパラレル信号P1、P2、・・・PL
のそれぞれから、対応するパケットDP1、DP2、・・・DP
Lを再構成し、それぞれの誤り検出符号CRCにより符号誤
りをチェックする。ここで、k番目のパケットDPk(1≦k
<L)について、ホストHが符号誤りを検出したときを想
定する。ホストHはそのとき再送命令52を出力し、k番目
のパケットDPkのIDと、データ伝送路の切換先として
第一のデータ線DAT0を指定するデータとをコマンド制御
部3へ通知する。ここで、再送命令52は実施例1と同様
である。
The host H receives parallel signals P1, P2,... PL
, The corresponding packets DP1, DP2,... DP
L is reconstructed, and a code error is checked using each error detection code CRC. Here, the k-th packet DPk (1 ≦ k
Regarding <L), it is assumed that the host H detects a code error. The host H outputs the retransmission command 52 at that time, and notifies the command control unit 3 of the ID of the k-th packet DPk and the data specifying the first data line DAT0 as the switching destination of the data transmission path. Here, the retransmission command 52 is the same as in the first embodiment.

【0066】コマンド制御部3は再送命令52を解読し、
正常に受信されたか否かをチェックする。再送命令52が
正常に受信されたとき、コマンド制御部3はその旨をレ
スポンスRESでホストHへ通知する。伝送エラー検出部4B
は再送命令52からk番目のパケットDPkのIDを読み出
し、データ通信部2Bへ通知する。更に、第一のスイッチ
SW1により、データ通信部2Bの通信モードを第一の通信
モードへ切り換える。そのとき、再送命令52からデータ
伝送路の切換先として第一のデータ線DAT0が特定され、
データ通信部2BからホストHへのデータ伝送路が第一の
データ線DAT0に設定される。
The command control section 3 decodes the retransmission command 52,
Check whether it was received normally. When the retransmission command 52 is normally received, the command control unit 3 notifies the host H of the fact with the response RES. Transmission error detector 4B
Reads the ID of the k-th packet DPk from the retransmission command 52 and notifies the data communication unit 2B of the ID. Furthermore, the first switch
SW1 switches the communication mode of the data communication unit 2B to the first communication mode. At that time, the first data line DAT0 is specified as the data transmission path switching destination from the retransmission command 52,
The data transmission path from the data communication unit 2B to the host H is set to the first data line DAT0.

【0067】データ通信部2Bは、(L+1)番目以降の未送
パケットDP(L+1)、DP(L+2)、DP(L+3)、・・・を順に
シリアル信号Q1、Q2、Q3、・・・へ変換し、第一のデー
タ線DAT0を通し伝送する。一方、データ通信部2Bは、伝
送エラー検出部4Bから通知されたIDに対応するk番目
のパケットDPkをコマンド制御部3へ転送する。ホストH
はコマンド線CMDを通し、再送パケット読み出し命令54
をコマンド制御部3へ出力する。ここで、再送パケット
読み出し命令54は、データ通信部2Bによるデータ通信と
並行し、コマンド制御部3へ伝送可能なコマンドであれ
ば良い。
The data communication unit 2B sequentially transmits the (L + 1) th and subsequent untransmitted packets DP (L + 1), DP (L + 2), DP (L + 3),... To serial signals Q1, Q2, Q3,. The data is converted and transmitted through the first data line DAT0. On the other hand, the data communication unit 2B transfers the k-th packet DPk corresponding to the ID notified from the transmission error detection unit 4B to the command control unit 3. Host H
Is a command for reading a retransmission packet through the command line CMD 54.
Is output to the command control unit 3. Here, the retransmission packet read command 54 may be any command that can be transmitted to the command control unit 3 in parallel with the data communication by the data communication unit 2B.

【0068】コマンド制御部3は再送パケット読み出し
命令54に対しレスポンス55を返信する。そのとき、レス
ポンス55は、再送対象パケットであるk番目のパケットD
Pkをデータとして含む。こうして、データ通信部2Bによ
るデータ通信と並行し、パケットの再送が実現する。そ
れにより、パケットの再送がデータ通信部2Bによるデー
タ通信の実質的な伝送速度を低減させない。
The command controller 3 returns a response 55 to the retransmission packet read command 54. At that time, the response 55 is the k-th packet D which is the packet to be retransmitted.
Pk is included as data. Thus, retransmission of the packet is realized in parallel with the data communication by the data communication unit 2B. Thereby, retransmission of a packet does not reduce the substantial transmission speed of data communication by the data communication unit 2B.

【0069】本発明の実施例2はSDカードである。し
かし、本発明の実施対象はSDカードに限られない。す
なわち、コマンド線と複数のデータ線とをそれぞれ別の
信号線として含むバスによりホストと接続されるICカ
ード等の入出力装置に対し、本発明は実施例2同様に実
施可能である。
Embodiment 2 of the present invention is an SD card. However, the implementation target of the present invention is not limited to the SD card. That is, the present invention can be implemented in the same manner as in the second embodiment for an input / output device such as an IC card connected to a host by a bus including a command line and a plurality of data lines as separate signal lines.

【0070】[0070]

【発明の効果】上記の通り、本発明による入出力装置で
は、データ通信部によるデータ通信中伝送エラーが検出
されたとき、データ伝送路が元のデータ線から別のデー
タ線、又はコマンド線へ切り換えられ、継続される。そ
れにより、伝送エラーの原因を含む可能性の高いデータ
線の使用を回避しつつ、データ通信を継続できる。その
結果、伝送エラーによるデータ通信の中断を回避できる
ので、データ通信の信頼性を高く維持できる。
As described above, in the input / output device according to the present invention, when a transmission error is detected during data communication by the data communication unit, the data transmission path is changed from the original data line to another data line or command line. Switched and continued. As a result, data communication can be continued while avoiding use of a data line having a high possibility of causing a transmission error. As a result, interruption of data communication due to a transmission error can be avoided, so that high reliability of data communication can be maintained.

【0071】上記の入出力装置では、特にデータ通信が
ブロック転送で行われるとき、再送対象ブロックが同じ
ストリームの残りのブロックの間に混入され、再送され
ても良い。その他に、その再送対象ブロック以降のスト
リーム部分が連続して再送されても良い。それらの再送
により、データ通信の信頼性を高く維持できる。特に再
送時でのデータ伝送路は、伝送エラー発生時でのものと
異なる。従って、再送対象ブロックについて同じ伝送エ
ラーの再発を抑制できる。その結果、データ再送を確実
に実行できる。更に、ブロックの再送がそのブロックの
属するストリームの伝送中に行われるので、再送による
実質的なデータ伝送速度の低下を抑え得る。
In the above input / output device, especially when data communication is performed by block transfer, the retransmission target block may be mixed between the remaining blocks of the same stream and retransmitted. In addition, the stream portion after the retransmission target block may be continuously retransmitted. By these retransmissions, the reliability of data communication can be maintained high. In particular, the data transmission path at the time of retransmission is different from that at the time of occurrence of a transmission error. Therefore, the same transmission error can be prevented from recurring for the retransmission target block. As a result, data retransmission can be executed reliably. Further, since the retransmission of the block is performed during the transmission of the stream to which the block belongs, a substantial reduction in the data transmission speed due to the retransmission can be suppressed.

【0072】上記の入出力装置では、データ通信部によ
るデータ通信と並行し、コマンド制御部が再送対象ブロ
ックを、コマンド線を通し再送しても良い。それによ
り、ブロックの再送がそのブロックの属するストリーム
の伝送と並行できるので、再送による実質的なデータ伝
送速度の低下を回避できる。
In the above input / output device, the command control unit may retransmit the block to be retransmitted through the command line in parallel with the data communication by the data communication unit. Thereby, the retransmission of a block can be performed in parallel with the transmission of the stream to which the block belongs, so that a substantial reduction in data transmission speed due to the retransmission can be avoided.

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

【図1】本発明の実施例1によるSDカード11につい
て、ホストHとの間でのデータ交換を示すブロック図で
ある。
FIG. 1 is a block diagram illustrating data exchange with a host H for an SD card 11 according to a first embodiment of the present invention.

【図2】本発明の実施例1によるSDカード11からホス
トHへのデータ伝送時、SDカード11とホストHとの間で
交換されるデータについてのタイミング図である。ここ
では、再送対象パケットDPk以降のパケットが全て再送
される。
FIG. 2 is a timing chart of data exchanged between the SD card 11 and the host H when data is transmitted from the SD card 11 to the host H according to the first embodiment of the present invention. Here, all packets after the retransmission target packet DPk are retransmitted.

【図3】本発明の実施例1によるSDカード11からホス
トHへのデータ伝送時、SDカード11とホストHとの間で
交換されるデータについてのタイミング図である。ここ
では図2とは異なり、再送対象パケットDPkだけが未送パ
ケットDP(L+1)、DP(L+2)、・・・の間に混入され、再
送される。
FIG. 3 is a timing chart for data exchanged between the SD card 11 and the host H when data is transmitted from the SD card 11 to the host H according to the first embodiment of the present invention. Here, unlike FIG. 2, only the retransmission target packet DPk is mixed between the untransmitted packets DP (L + 1), DP (L + 2),... And retransmitted.

【図4】本発明の実施例2によるSDカード12につい
て、ホストHとの間でのデータ交換を示すブロック図で
ある。
FIG. 4 is a block diagram illustrating data exchange with a host H for an SD card 12 according to a second embodiment of the present invention.

【図5】本発明の実施例2によるSDカード12からホス
トHへのデータ伝送時、SDカード12とホストHとの間で
交換されるデータについてのタイミング図である。ここ
では、再送対象パケットDPk以降のパケットが全て再送
される。
FIG. 5 is a timing chart of data exchanged between the SD card 12 and the host H when data is transmitted from the SD card 12 to the host H according to the second embodiment of the present invention. Here, all packets after the retransmission target packet DPk are retransmitted.

【図6】本発明の実施例2によるSDカード12からホス
トHへのデータ伝送時、SDカード12とホストHとの間で
交換されるデータについてのタイミング図である。ここ
では図5とは異なり、再送対象パケットDPkだけが未送パ
ケットDP(L+1)、DP(L+2)、・・・の間に混入され、再
送される。
FIG. 6 is a timing chart of data exchanged between the SD card 12 and the host H when data is transmitted from the SD card 12 to the host H according to the second embodiment of the present invention. Here, unlike FIG. 5, only the retransmission target packet DPk is mixed between the untransmitted packets DP (L + 1), DP (L + 2),... And retransmitted.

【図7】本発明の実施例2によるSDカード12からホス
トHへのデータ伝送時、第一の再送命令52Aに続き、第二
の再送命令52Bと第三の再送命令52CとがホストHから発
行されるときのデータ交換を示すタイミング図である。
FIG. 7 is a diagram illustrating a second retransmission command 52B and a third retransmission command 52C transmitted from the host H following the first retransmission command 52A during data transmission from the SD card 12 to the host H according to the second embodiment of the present invention. FIG. 4 is a timing diagram illustrating data exchange when issued.

【図8】本発明の実施例2によるSDカード12からホス
トHへのデータ伝送時、未送パケットDP(L+1)、DP(L+
2)、・・・の伝送と並行する再送対象パケットDPkの再
送を示すタイミング図である。
FIG. 8 illustrates an untransmitted packet DP (L + 1), DP (L +) during data transmission from the SD card 12 to the host H according to the second embodiment of the present invention.
2) is a timing chart showing retransmission of a retransmission target packet DPk in parallel with transmission of 2),...

【図9】従来のSDカード100について、ホストHとの間
でのデータ交換を示すブロック図である。
FIG. 9 is a block diagram showing data exchange between a conventional SD card 100 and a host H.

【図10】従来のSDカード100からホストHへのデータ伝
送時、SDカード100とホストHとの間でのデータ交換に
ついてのタイミング図である。
FIG. 10 is a timing chart for data exchange between the SD card 100 and the host H when data is transmitted from the SD card 100 to the host H in the related art.

【符号の説明】[Explanation of symbols]

2A データ通信部 SW1 第一のスイッチ SW2 第二のスイッチ 5A メモリ部 D ディジタルデータ(ストリーム) CMD コマンド線 DAT0 第一のデータ線 DAT1 第二のデータ線 DAT2 第三のデータ線 DAT3 第四のデータ線 CLK クロック線 VDD 電源線 VSS グラウンド線 2A Data communication section SW1 First switch SW2 Second switch 5A memory section D Digital data (stream) CMD command line DAT0 1st data line DAT1 Second data line DAT2 Third data line DAT3 fourth data line CLK clock line VDD power line VSS Ground line

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 (A) コマンド線とデータ線とを含み、
外部情報処理装置と接続するバス; (B) 前記コマンド線を通し前記外部情報処理装置との
間でコマンドを交換するためのコマンド制御部; (C) 前記データ線を通し前記外部情報処理装置とデー
タ通信を行うためのデータ通信部;及び、 (D) 前記データ通信部によるデータ通信中、前記外部
情報処理装置から伝送エラーを示すコマンドを入力した
とき、又は前記外部情報処理装置から受信したデータに
ついて伝送エラーを検出したとき、前記データ通信部に
よるデータ通信でのデータ伝送路を前記コマンド線へ切
り換えるための伝送エラー検出部;を有する入出力装
置。
(A) including a command line and a data line,
A bus connected to an external information processing device; (B) a command control unit for exchanging commands with the external information processing device through the command line; and (C) a command control unit through the data line to communicate with the external information processing device. A data communication unit for performing data communication; and (D) during data communication by the data communication unit, when a command indicating a transmission error is input from the external information processing device, or data received from the external information processing device. And a transmission error detecting unit for switching a data transmission path in data communication by the data communication unit to the command line when a transmission error is detected.
【請求項2】 (A) 前記データ通信部が前記データ通
信をブロック転送で行い; (B) 前記伝送エラー検出部がブロックごとの誤り検出
で前記伝送エラーを検出し; (C) 前記伝送エラー検出部による前記データ伝送路の
切換後、前記伝送エラーを検出されたブロックを前記デ
ータ通信部が再送する;請求項1記載の入出力装置。
2. (A) the data communication unit performs the data communication by block transfer; (B) the transmission error detection unit detects the transmission error by error detection for each block; (C) the transmission error 2. The input / output device according to claim 1, wherein after switching of the data transmission path by the detection unit, the data communication unit retransmits the block in which the transmission error is detected. 3.
【請求項3】 (A) コマンド線とn本のデータ線(整数
nは2以上である)とを含み、外部情報処理装置と接続す
るバス; (B) 前記コマンド線を通し前記外部情報処理装置との
間でコマンドを交換するためのコマンド制御部; (C) m本の前記データ線(整数mは1以上n未満である)
を通しディジタルデータをmビットずつ交換する第一の
通信モードと、前記データ線の全てを通しディジタルデ
ータをnビットずつ交換する第二の通信モードと、のそ
れぞれで前記外部情報処理装置とデータ通信を行うため
のデータ通信部;及び、 (D) 前記データ通信部による前記第二の通信モードで
のデータ通信中、前記外部情報処理装置から伝送エラー
を示すコマンドを入力したとき、又は前記外部情報処理
装置から受信したデータについて伝送エラーを検出した
とき、前記データ通信部の通信モードを前記第一の通信
モードへ切り換えるための伝送エラー検出部;を有する
入出力装置。
(A) A command line and n data lines (integer)
(n is 2 or more), and a bus connected to an external information processing device; (B) a command control unit for exchanging commands with the external information processing device through the command line; (C) m data lines (the integer m is 1 or more and less than n)
And a second communication mode in which digital data is exchanged by m bits through all of the data lines, and a second communication mode in which digital data is exchanged by n bits through all of the data lines. And (D) during data communication in the second communication mode by the data communication unit, when a command indicating a transmission error is input from the external information processing device, or when the external information An input / output device comprising: a transmission error detection unit for switching a communication mode of the data communication unit to the first communication mode when a transmission error is detected for data received from a processing device.
【請求項4】 前記データ通信部による前記第一の通信
モードでのデータ通信中、前記伝送エラー検出部が、前
記外部情報処理装置から伝送エラーを示すコマンドを入
力したとき、又は前記外部情報処理装置から受信したデ
ータについて伝送エラーを検出したとき、前記m本のデ
ータ線の一部又は全部を別の前記データ線へ切り換え
る、請求項3記載の入出力装置。
4. The data communication unit according to claim 1, wherein said transmission error detection unit inputs a command indicating a transmission error from said external information processing apparatus during data communication in said first communication mode, or 4. The input / output device according to claim 3, wherein a part or all of the m data lines are switched to another data line when a transmission error is detected for data received from the device.
【請求項5】 (A) 前記データ通信部が前記データ通
信をブロック転送で行い; (B) 前記伝送エラー検出部がブロックごとの誤り検出
で前記伝送エラーを検出し; (C) 前記伝送エラー検出部による通信モードの切換
後、前記伝送エラーを検出されたブロックを前記データ
通信部が再送する;請求項3記載の入出力装置。
(A) the data communication unit performs the data communication by block transfer; (B) the transmission error detection unit detects the transmission error by detecting an error for each block; (C) the transmission error The input / output device according to claim 3, wherein, after switching of the communication mode by the detection unit, the data communication unit retransmits the block in which the transmission error is detected.
【請求項6】 (A) 前記データ通信部が前記データ通
信をブロック転送で行い; (B) 前記伝送エラー検出部がブロックごとの誤り検出
で前記伝送エラーを検出し; (C) 前記データ通信部によるデータ通信と並行し、前
記コマンド制御部が前記伝送エラーを検出されたブロッ
クを、前記コマンド線を通し再送する;請求項3記載の
入出力装置。
6. The data communication unit performs the data communication by block transfer; (B) the transmission error detection unit detects the transmission error by detecting an error for each block; and (C) the data communication. The input / output device according to claim 3, wherein the command control unit retransmits the block in which the transmission error is detected through the command line in parallel with data communication by the unit.
JP2002155129A 2002-05-29 2002-05-29 Input/output device Pending JP2003345674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002155129A JP2003345674A (en) 2002-05-29 2002-05-29 Input/output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002155129A JP2003345674A (en) 2002-05-29 2002-05-29 Input/output device

Publications (2)

Publication Number Publication Date
JP2003345674A true JP2003345674A (en) 2003-12-05
JP2003345674A5 JP2003345674A5 (en) 2005-10-27

Family

ID=29771718

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002155129A Pending JP2003345674A (en) 2002-05-29 2002-05-29 Input/output device

Country Status (1)

Country Link
JP (1) JP2003345674A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005057400A1 (en) * 2003-12-09 2005-06-23 Matsushita Electric Industrial Co., Ltd. Electronic device, control method thereof, host device, and control method thereof
JP2007048023A (en) * 2005-08-10 2007-02-22 Hitachi Software Eng Co Ltd Composite interface indicator light and notification system using indicator light
JP2007150390A (en) * 2005-11-24 2007-06-14 Matsushita Electric Ind Co Ltd Communication apparatus
KR100779747B1 (en) 2005-03-18 2007-11-29 엠텍퓨처스 주식회사 Secure Device combo card with RF communication function for a mobile terminal and method for RF communication of Secure Device combo card
CN100373873C (en) * 2004-11-19 2008-03-05 中兴通讯股份有限公司 Automatic spell checking method and system for interface command line in telecommunication apparatus
WO2022059216A1 (en) * 2020-09-17 2022-03-24 キオクシア株式会社 Host device and memory system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005057400A1 (en) * 2003-12-09 2005-06-23 Matsushita Electric Industrial Co., Ltd. Electronic device, control method thereof, host device, and control method thereof
CN100437456C (en) * 2003-12-09 2008-11-26 松下电器产业株式会社 Electronic device, control method thereof, host device, and control method thereof
US7774508B2 (en) 2003-12-09 2010-08-10 Panasonic Corporation Electronic apparatus, control method thereof, host device, and control method thereof
CN100373873C (en) * 2004-11-19 2008-03-05 中兴通讯股份有限公司 Automatic spell checking method and system for interface command line in telecommunication apparatus
KR100779747B1 (en) 2005-03-18 2007-11-29 엠텍퓨처스 주식회사 Secure Device combo card with RF communication function for a mobile terminal and method for RF communication of Secure Device combo card
JP2007048023A (en) * 2005-08-10 2007-02-22 Hitachi Software Eng Co Ltd Composite interface indicator light and notification system using indicator light
JP2007150390A (en) * 2005-11-24 2007-06-14 Matsushita Electric Ind Co Ltd Communication apparatus
WO2022059216A1 (en) * 2020-09-17 2022-03-24 キオクシア株式会社 Host device and memory system
TWI774145B (en) * 2020-09-17 2022-08-11 日商鎧俠股份有限公司 Host device and memory system
TWI796260B (en) * 2020-09-17 2023-03-11 日商鎧俠股份有限公司 host device

Similar Documents

Publication Publication Date Title
US10468078B2 (en) Methods and systems for pin-efficient memory controller interface using vector signaling codes for chip-to-chip communication
US9524265B2 (en) Providing a serial protocol for a bidirectional serial interconnect
CN108011696A (en) Retransmission feedback method, relevant device and computer-readable medium
CN106970886A (en) The physical link of the first agreement is controlled using the expanded function structure of second protocol
JP3448241B2 (en) Interface device for communication device
KR100614638B1 (en) Serial peripheral interface circuit of hybrid type adaptable to high peformance wireless lan and method of the same
JP4956143B2 (en) Semiconductor memory card, host device, and data transfer method
JP2003345674A (en) Input/output device
CN101304362B (en) Retransmission buffering apparatus and data transmission method
KR20110110199A (en) Communication protocol for sharing memory resources between components of a device
TWI343738B (en)
US20030185185A1 (en) Wireless local area network access controller and related method
EP1451698B1 (en) High-speed interchip interface protocol
JP2011114625A (en) Communication system and communication device
JP2007074641A (en) Communication system
JP4132027B2 (en) I / O device
JP3148733B2 (en) Signal processing device and signal processing system
WO2022126655A1 (en) Data processing method and device, and data processing system of board card
US20240143434A1 (en) Flow control between peripheral component interconnect express devices
JP2006013843A (en) System, apparatus, and method for radio communication, and computer program
JP2004056348A (en) Data transfer apparatus
CN106888173B (en) Universal efficient message communication system and its method
Kim et al. A Time-Based Digital Interface for RF and Baseband IC
WO2024091740A1 (en) Flow control between peripheral component interconnect express devices
JPH0671249B2 (en) Information transmission method

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050524

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050527

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050712

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20061129

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071225

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080603