TWM592994U - Control system of accessing data - Google Patents

Control system of accessing data Download PDF

Info

Publication number
TWM592994U
TWM592994U TW108206396U TW108206396U TWM592994U TW M592994 U TWM592994 U TW M592994U TW 108206396 U TW108206396 U TW 108206396U TW 108206396 U TW108206396 U TW 108206396U TW M592994 U TWM592994 U TW M592994U
Authority
TW
Taiwan
Prior art keywords
interface
memory card
communication protocol
read
sub
Prior art date
Application number
TW108206396U
Other languages
Chinese (zh)
Inventor
林昇平
胡耀中
Original Assignee
創惟科技股份有限公司
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 創惟科技股份有限公司 filed Critical 創惟科技股份有限公司
Priority to TW108206396U priority Critical patent/TWM592994U/en
Publication of TWM592994U publication Critical patent/TWM592994U/en

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

A control system of accessing data is provided. The control system includes a memory card interface, a system interface device, and a control unit. The interface device includes a first interface and a second interface. The second interface includes a first sub-interface and a second sub-interface. System interface device electrically connected to the memory card interface by the second sub-interface. The control unit includes a bridge device and a selector. When a memory card operates in a first communication protocol, the memory card interface electrically connects to the bridge device by the selector and electrically connects to the first interface by the bridge device. When the memory card operates in a second communication protocol, the memory card interface electrically connects to the first sub-interface of the second interface.

Description

讀寫控制系統 Read and write control system

本創作係關於一種電子裝置,特別是關於一種讀寫控制系統。 This creation is about an electronic device, especially about a read-write control system.

隨著資訊技術的快速發展,電子產品的應用日益普及,例如筆記型電腦、手機、平板電腦等手持式電子裝置處處可見。由於這些電子裝置的特點是可隨身攜帶、隨時隨地使用,並且為了使各種電子裝置之間可以互相連線以進行較大量的資料傳輸,故通常是以記憶卡插接於讀卡機使上述的電子產品可讀取該記憶卡的資料,以擴充該電子產品的記憶體儲存容量。 With the rapid development of information technology, the application of electronic products is becoming more and more popular, such as notebook computers, mobile phones, tablet computers and other handheld electronic devices are everywhere. Because the characteristics of these electronic devices are that they can be carried anywhere and used anytime and anywhere, and in order to allow various electronic devices to be connected to each other for a large amount of data transmission, usually a memory card is inserted into the card reader to make the above The electronic product can read the data of the memory card to expand the memory storage capacity of the electronic product.

然而隨著記憶卡的資料存取速度越來越快,無法以較舊版本規格的控制方式來存取較新版本規格的記憶卡,致使較新規格的記憶卡無法在較舊版本規格的讀卡機中使用,造成記憶卡與讀卡機控制晶片之間相容性的問題,並且降低記憶卡的使用彈性。當同樣以較新版本規格的控制方式來存取較新版本規格的記憶卡,其該控制方式的傳輸頻寬遠大於較舊版本規格的傳輸頻寬,使記憶卡與讀卡機控制晶片之間的通信設計較為複雜,造成控制晶片的成本提高。有鑑於此,目前仍需要發展一種新式的電子裝置,以改善上述問題。 However, as the data access speed of the memory card becomes faster and faster, the memory card of the newer version specification cannot be accessed by the control method of the older version specification, so that the memory card of the newer specification cannot be read in the older version specification. The use in the card machine causes the compatibility problem between the memory card and the control chip of the card reader, and reduces the flexibility of using the memory card. When the memory card of the newer version specification is also accessed by the control method of the newer version specification, the transmission bandwidth of this control method is much larger than that of the older version specification, so that the memory card and the card reader control chip The inter-communication design is relatively complicated, resulting in an increase in the cost of the control chip. In view of this, there is still a need to develop a new type of electronic device to improve the above problems.

本創作之一目的在於提供一種讀寫控制系統,藉由主機端的第一介面以及第二介面,使讀寫控制系統以較小傳輸頻寬的第一介面控制具有較大傳輸速率的記憶卡,並且以較大傳輸頻寬的第二介面存取具有較大傳輸速率的 記憶卡,解決記憶卡與讀寫控制系統之間相容性的問題,並且提高記憶卡的使用彈性。 One of the purposes of this creation is to provide a read-write control system. With the first interface and the second interface on the host side, the read-write control system uses a first interface with a smaller transmission bandwidth to control a memory card with a larger transmission rate. And the second interface with larger transmission bandwidth accesses the ones with larger transmission rate The memory card solves the compatibility problem between the memory card and the read-write control system, and improves the use flexibility of the memory card.

本創作之另一目的在於提供一種讀寫控制系統,藉由主機端的第一介面以及第二介面,使第一介面道經由控制單元連接記憶卡,使第二介面的第一子介面經由控制單元連接記憶卡,以及使第二介面的第二子介面直接連接記憶卡,以減少讀寫控制系統的生產成本。 Another purpose of this creation is to provide a read-write control system. With the first interface and the second interface on the host side, the first interface channel is connected to the memory card through the control unit, and the first sub-interface of the second interface is passed through the control unit. The memory card is connected, and the second sub-interface of the second interface is directly connected to the memory card, so as to reduce the production cost of the read-write control system.

為達成上述目的,本創作之一實施例中的讀寫控制系統,用以控制一記憶卡的資料之讀寫,該讀寫控制系統包括:一記憶卡介面,用以連接該記憶卡;一系統介面裝置,包括一第一介面以及一第二介面,該第二介面包括一第一子介面以及一第二子介面,並且該系統介面裝置經由該第二介面的該第二子介面以與該記憶卡介面電性連接;以及一控制單元,連接該系統介面裝置以及該記憶卡介面,包括:一橋接器,電性連接於該系統介面裝置的該第一介面與該記憶卡介面;以及一選擇器,電性連接於該系統介面裝置的該第二介面、該橋接器、以及該記憶卡介面;其中,當該記憶卡以一第一通訊協定運作時,該記憶卡介面經由該選擇器以與該橋接器電性連接,並且該記憶卡介面經由該橋接器以與該系統介面裝置的該第一介面電性連接;其中,當該記憶卡以一第二通訊協定運作時,該記憶卡介面經由該選擇器以電性連接於該第二介面的該第一子介面以及該第二子介面。 In order to achieve the above purpose, the read-write control system in one embodiment of the present invention is used to control the reading and writing of data of a memory card. The read-write control system includes: a memory card interface for connecting the memory card; The system interface device includes a first interface and a second interface, the second interface includes a first sub-interface and a second sub-interface, and the system interface device communicates with the second sub-interface of the second interface The memory card interface is electrically connected; and a control unit to connect the system interface device and the memory card interface, including: a bridge, electrically connected to the first interface of the system interface device and the memory card interface; and A selector electrically connected to the second interface, the bridge, and the memory card interface of the system interface device; wherein, when the memory card operates with a first communication protocol, the memory card interface passes the selection The device is electrically connected to the bridge, and the memory card interface is electrically connected to the first interface of the system interface device via the bridge; wherein, when the memory card operates with a second communication protocol, the The memory card interface is electrically connected to the first sub-interface and the second sub-interface of the second interface through the selector.

在一實施例中,該系統介面裝置透過該第一介面,以偵測出該記憶卡介面電性連接於該系統介面裝置以及該控制單元,該記憶卡的該第一通訊協定相容於該第一介面。 In one embodiment, the system interface device detects that the memory card interface is electrically connected to the system interface device and the control unit through the first interface, and the first communication protocol of the memory card is compatible with the The first interface.

在一實施例中,該系統介面裝置透過該第一介面,以該第一通訊 協定對該記憶卡初始化。 In an embodiment, the system interface device communicates with the first interface through the first interface The agreement initializes the memory card.

在一實施例中,當該記憶卡以該第一通訊協定運作時,該系統介面裝置透過該橋接器以及該選擇器電性連接於該記憶卡介面,使該系統介面裝置以該第一介面以及該第一通訊協定讀寫該記憶卡的該資料。 In one embodiment, when the memory card operates with the first communication protocol, the system interface device is electrically connected to the memory card interface through the bridge and the selector, so that the system interface device uses the first interface And the first communication protocol reads and writes the data of the memory card.

在一實施例中,當該記憶卡以該第二通訊協定運作時,該系統介面裝置透過第二介面的該第一子介面以及該第二子介面,以該第二通訊協定讀寫該記憶卡的該資料。 In an embodiment, when the memory card operates with the second communication protocol, the system interface device reads and writes the memory with the second communication protocol through the first sub-interface and the second sub-interface of the second interface The information of the card.

在一實施例中,該系統介面裝置的該第一介面的第一傳輸頻寬小於該第二介面的該第二傳輸頻寬。 In an embodiment, the first transmission bandwidth of the first interface of the system interface device is smaller than the second transmission bandwidth of the second interface.

在一實施例中,該第一介面相容於PCIe1.0以及PCIe2.0協定版本之至少一者,該第二介面相容於PCIe3.0協定版本。 In one embodiment, the first interface is compatible with at least one of PCIe 1.0 and PCIe 2.0 protocol versions, and the second interface is compatible with PCIe 3.0 protocol version.

在一實施例中,該記憶卡的該第一通訊協定定義為安全數位(SD)模式,該記憶卡的該第二通訊協定定義為快捷安全數位(SD Express)模式。 In one embodiment, the first communication protocol of the memory card is defined as a secure digital (SD) mode, and the second communication protocol of the memory card is defined as an SD Express mode.

在一實施例中,該安全數位(SD)模式係為快捷安全數位模式以前的協定版本,該快捷安全數位模式係為安全數位(SD)7.0協定版本。 In one embodiment, the secure digital (SD) mode is a protocol version prior to the quick secure digital mode, and the quick secure digital mode is the secure digital (SD) version 7.0 protocol.

在一實施例中,該記憶卡的該第一通訊協定的資料傳輸率小於該第二通訊協定的資料傳輸率。 In one embodiment, the data transmission rate of the first communication protocol of the memory card is less than the data transmission rate of the second communication protocol.

在一實施例中,當該記憶卡以該第一通訊協定運作時,該橋接器產生該觸發信號以觸發該選擇器,該第一介面經由該橋接器以及該選擇器電性連接該記憶卡介面,並且該系統介面裝置以該第一通訊協定讀寫該記憶卡的該資料;以及當該記憶卡以該第二通訊協定運作時,該橋接器產生該觸發信號以觸發該選擇器,該第二介面的該第一子介面經由該選擇器電性連接該記憶卡介面。 In one embodiment, when the memory card operates with the first communication protocol, the bridge generates the trigger signal to trigger the selector, and the first interface is electrically connected to the memory card via the bridge and the selector Interface, and the system interface device reads and writes the data of the memory card with the first communication protocol; and when the memory card operates with the second communication protocol, the bridge generates the trigger signal to trigger the selector, the The first sub-interface of the second interface is electrically connected to the memory card interface via the selector.

在一實施例中,當該記憶卡以該第二通訊協定運作時,該系統介面裝置以該第二介面掃描該記憶卡介面,以判斷該記憶卡是否相容於非揮發性記憶體快捷(NVMe)協定;當該記憶卡不相容於非揮發性記憶體快捷協定,該系統介面裝置以該第一通訊協定讀寫該記憶卡的該資料;當該記憶卡相容於非揮發性記憶體快捷協定,該系統介面裝置以該第二介面的該第一子介面以及該第二子介面,以該第二通訊協定讀寫該記憶卡的該資料。 In one embodiment, when the memory card operates with the second communication protocol, the system interface device scans the memory card interface with the second interface to determine whether the memory card is compatible with non-volatile memory shortcut ( NVMe) protocol; when the memory card is not compatible with the non-volatile memory shortcut protocol, the system interface device uses the first communication protocol to read and write the data of the memory card; when the memory card is compatible with non-volatile memory In the body shortcut protocol, the system interface device uses the first sub-interface and the second sub-interface of the second interface to read and write the data of the memory card using the second communication protocol.

在一實施例中,該橋接器包括控制介面以及傳收介面,該控制介面連接該記憶卡,該傳收介面連接該選擇器。 In an embodiment, the bridge includes a control interface and a transmission interface, the control interface is connected to the memory card, and the transmission interface is connected to the selector.

本創作之另一實施例中的讀寫控制系統的讀寫控制方式,用於讀寫控制系統,該讀寫控制系統包括一記憶卡介面、一系統介面裝置以及一控制單元,該系統介面裝置包括一第一介面以及一第二介面,該第二介面包括第一子介面以及第二子介面,並且經由該第二介面的一第二子介面與一記憶卡介面電性連接,該控制單元連接該系統介面裝置以及該記憶卡介面,該控制單元包括一橋接器以及一選擇器,該橋接器電性連接於該系統介面裝置的該第一介面與該記憶卡介面,該選擇器電性連接於該系統介面裝置的該第二介面、該橋接器、以及該記憶卡介面,該讀寫控制方式包括下列步驟:以該系統介面裝置偵測出該記憶卡連接於該系統介面裝置以及該控制單元,該記憶卡的第一通訊協定相容於該第一介面;該系統介面裝置透過該第一介面,以判斷該記憶卡以第一通訊協定或是第二通訊協定運作;當該記憶卡以該第一通訊協定運作時,該系統介面裝置透過該橋接器以及該選擇器電性連接於該記憶卡,使該系統介面裝置以該第一介面以及 該第一通訊協定讀寫該記憶卡的該資料;當該記憶卡以該第二通訊協定運作時,該系統介面裝置透過第二介面的該第一子介面以及該第二子介面,以該第二通訊協定讀寫該記憶卡的該資料。 The read-write control method of the read-write control system in another embodiment of the present invention is used for the read-write control system. The read-write control system includes a memory card interface, a system interface device, and a control unit. The system interface device It includes a first interface and a second interface. The second interface includes a first sub-interface and a second sub-interface, and is electrically connected to a memory card interface via a second sub-interface of the second interface. The control unit The system interface device and the memory card interface are connected, the control unit includes a bridge and a selector, the bridge is electrically connected to the first interface of the system interface device and the memory card interface, the selector is electrically The second interface, the bridge, and the memory card interface connected to the system interface device, the read-write control method includes the following steps: the system interface device detects that the memory card is connected to the system interface device and the Control unit, the first communication protocol of the memory card is compatible with the first interface; the system interface device determines whether the memory card operates with the first communication protocol or the second communication protocol through the first interface; when the memory When the card operates with the first communication protocol, the system interface device is electrically connected to the memory card through the bridge and the selector, so that the system interface device uses the first interface and The first communication protocol reads and writes the data of the memory card; when the memory card operates with the second communication protocol, the system interface device uses the first sub-interface and the second sub-interface of the second interface to use the The second communication protocol reads and writes the data of the memory card.

在一實施例中,該系統介面裝置透過該第一介面,以該第一通訊協定對該記憶卡初始化。 In one embodiment, the system interface device initializes the memory card with the first communication protocol through the first interface.

在一實施例中,該系統介面裝置的該第一介面的第一傳輸頻寬小於該第二介面的該第二傳輸頻寬。 In an embodiment, the first transmission bandwidth of the first interface of the system interface device is smaller than the second transmission bandwidth of the second interface.

在一實施例中,該第一介面相容於PCIe1.0以及PCIe2.0協定版本之至少一者,該第二介面相容於PCIe3.0協定版本。 In one embodiment, the first interface is compatible with at least one of PCIe 1.0 and PCIe 2.0 protocol versions, and the second interface is compatible with PCIe 3.0 protocol version.

在一實施例中,該記憶卡的該第一通訊協定定義為安全數位(SD)模式,該記憶卡的該第二通訊協定定義為快捷安全數位(SD Express)模式。 In one embodiment, the first communication protocol of the memory card is defined as a secure digital (SD) mode, and the second communication protocol of the memory card is defined as an SD Express mode.

在一實施例中,該安全數位模式係為快捷安全數位模式以前的協定版本,該快捷安全數位模式係為安全數位(SD)7.0協定版本。 In one embodiment, the secure digital mode is a protocol version prior to the quick secure digital mode, and the quick secure digital mode is a secure digital (SD) 7.0 protocol version.

在一實施例中,該記憶卡的該第一通訊協定的資料傳輸率小於該第二通訊協定的資料傳輸率。 In one embodiment, the data transmission rate of the first communication protocol of the memory card is less than the data transmission rate of the second communication protocol.

在一實施例中,當該記憶卡以該第一通訊協定運作時,該橋接器產生該觸發信號以觸發該選擇器,該第一介面經由該橋接器以及該選擇器電性連接該記憶卡介面,並且該系統介面裝置以該第一通訊協定讀寫該記憶卡的該資料;以及當該記憶卡以該第二通訊協定運作時,該橋接器產生該觸發信號以觸發該選擇器,該第二介面的該第一子介面經由該選擇器電性連接該記憶卡介面。 In one embodiment, when the memory card operates with the first communication protocol, the bridge generates the trigger signal to trigger the selector, and the first interface is electrically connected to the memory card via the bridge and the selector Interface, and the system interface device reads and writes the data of the memory card with the first communication protocol; and when the memory card operates with the second communication protocol, the bridge generates the trigger signal to trigger the selector, the The first sub-interface of the second interface is electrically connected to the memory card interface via the selector.

在一實施例中,當該記憶卡以該第二通訊協定運作時,該系統介 面裝置以該第二介面掃描該記憶卡介面,以判斷該記憶卡是否相容於非揮發性記憶體快捷(NVMe)協定;當該記憶卡不相容於非揮發性記憶體快捷協定,該系統介面裝置以該第一通訊協定讀寫該記憶卡的該資料;當該記憶卡相容於非揮發性記憶體快捷協定,該系統介面裝置以該第二介面的該第一子介面以及該第二子介面,以該第二通訊協定讀寫該記憶卡的該資料。 In one embodiment, when the memory card operates with the second communication protocol, the system The interface device scans the memory card interface with the second interface to determine whether the memory card is compatible with the Non-Volatile Memory Shortcut (NVMe) protocol; when the memory card is not compatible with the Non-Volatile Memory Shortcut Protocol, the The system interface device uses the first communication protocol to read and write the data of the memory card; when the memory card is compatible with the non-volatile memory shortcut protocol, the system interface device uses the first sub-interface of the second interface and the The second sub-interface uses the second communication protocol to read and write the data of the memory card.

在一實施例中,該橋接器包括控制介面以及傳收介面,該控制介面連接該記憶卡,該傳收介面連接該選擇器。 In an embodiment, the bridge includes a control interface and a transmission interface, the control interface is connected to the memory card, and the transmission interface is connected to the selector.

本創作之讀寫控制系統,藉由主機端的第一介面以及第二介面,使讀寫控制系統以較小傳輸頻寬的第一介面控制具有較大傳輸速率的記憶卡,並且以較大傳輸頻寬的第二介面存取具有較大傳輸速率的記憶卡,解決記憶卡與讀寫控制系統之間相容性的問題,並且提高記憶卡的使用彈性。此外,本藉由主機端的第一介面以及第二介面,使第一介面道經由控制單元連接記憶卡,使第二介面的第一子介面經由控制單元連接記憶卡,以及使第二介面的第二子介面直接連接記憶卡,以減少讀寫控制系統的生產成本。 The creative read-write control system uses the first interface and the second interface on the host side to enable the read-write control system to control the memory card with a larger transmission rate with the first interface with a smaller transmission bandwidth and transmit with a larger The second interface with wide bandwidth accesses the memory card with a larger transmission rate, solves the compatibility problem between the memory card and the read-write control system, and improves the flexibility of using the memory card. In addition, the first interface and the second interface of the host end are used to connect the first interface channel to the memory card via the control unit, the first sub-interface of the second interface is connected to the memory card via the control unit, and the first interface of the second interface The second sub-interface is directly connected to the memory card to reduce the production cost of the read-write control system.

100:儲存單元 100: storage unit

101:整合電子裝置 101: Integration of electronic devices

102:電源模組 102: Power module

103a:第一資料 103a: First information

103b:第二資料 103b: Second information

104a:第一通訊介面 104a: the first communication interface

104b:第二通訊介面 104b: Second communication interface

106:切換器 106: Switcher

108a:第一控制器 108a: the first controller

108b:第二控制器 108b: second controller

110a:第一周邊裝置 110a: the first peripheral device

110b:第二周邊裝置 110b: Second peripheral device

112:電源轉接器 112: power adapter

PT1:第一協定 PT1: First Agreement

PT2:第二協定 PT2: Second Agreement

S1~S6:步驟 S1~S6: Step

S10、S12、S14、S16、S18、S20、S22:步驟 S10, S12, S14, S16, S18, S20, S22: steps

為了更清楚地說明本創作實施例中的技術方案,下面將對實施例描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本創作的一些實施例,對於本創作所屬技術領域中具有通常知識者來講,還可以根據這些附圖獲得其他的附圖。 In order to more clearly explain the technical solutions in the authored embodiment, the following will briefly introduce the drawings needed in the description of the embodiment. Obviously, the drawings in the following description are only some embodiments of the creation, For those with ordinary knowledge in the technical field to which this creation belongs, other drawings can also be obtained based on these drawings.

第1圖係繪示依據本創作實施例中讀寫控制系統之方塊圖。 FIG. 1 is a block diagram of a read-write control system according to this creative embodiment.

第2圖係繪示依據本創作第一實施例中讀寫控制系統的讀寫控制方式之流程圖。 FIG. 2 is a flowchart showing the read-write control method of the read-write control system according to the first embodiment of the present invention.

第3圖係繪示依據本創作第二實施例中讀寫控制系統的讀寫控制方式之流程圖。 FIG. 3 is a flowchart showing the read-write control method of the read-write control system according to the second embodiment of the present invention.

請參照圖式,其中相同的元件符號代表相同的元件或是相似的元件,本創作的原理是以實施在適當的運算環境中來舉例說明。以下的說明是基於所例示的本創作具體實施例,其不應被視為限制本創作未在此詳述的其它具體實施例。 Please refer to the drawings, in which the same component symbols represent the same components or similar components. The principle of the present invention is illustrated by implementation in an appropriate computing environment. The following description is based on the illustrated specific embodiment of the creation, which should not be considered as limiting other specific embodiments of the creation that are not detailed here.

參考第1圖,其係繪示依據本新型實施例中讀寫控制系統之方塊圖。該讀寫控制系統用以控制一記憶卡100的資料之讀寫,包括記憶卡介面101、系統介面裝置102、以及控制單元104。 Refer to FIG. 1, which is a block diagram of a read-write control system according to an embodiment of the present invention. The read-write control system is used to control the reading and writing of data of a memory card 100, and includes a memory card interface 101, a system interface device 102, and a control unit 104.

如第1圖所示,該記憶卡介面101用以連接該記憶卡100。該系統介面裝置102包括第一介面106a以及第二介面106b,該第二介面106b包括第一子介面106b1以及第二子介面106b2,並且該系統介面裝置102經由該第二介面106b的第二子介面106b2以與該記憶卡介面101電性連接。該控制單元104連接該系統介面裝置102以及該記憶卡介面101,包括橋接器200以及選擇器202。該橋接器200電性連接於該系統介面裝置102的該第一介面106a與該記憶卡介面101。該選擇器202電性連接於該系統介面裝置102的該第二介面106b、該橋接器200、以及該記憶卡介面101。 As shown in FIG. 1, the memory card interface 101 is used to connect to the memory card 100. The system interface device 102 includes a first interface 106a and a second interface 106b, the second interface 106b includes a first sub-interface 106b1 and a second sub-interface 106b2, and the system interface device 102 passes the second sub-interface of the second interface 106b The interface 106b2 is electrically connected to the memory card interface 101. The control unit 104 is connected to the system interface device 102 and the memory card interface 101, and includes a bridge 200 and a selector 202. The bridge 200 is electrically connected to the first interface 106 a of the system interface device 102 and the memory card interface 101. The selector 202 is electrically connected to the second interface 106b of the system interface device 102, the bridge 200, and the memory card interface 101.

如第1圖所示,當該記憶卡100以一第一通訊協定運作時,該記憶卡介面101經由該選擇器202以與該橋接器200電性連接,並且該記憶卡介面101 經由該橋接器200以與該系統介面裝置102的該第一介面106a電性連接。當該記憶卡100以一第二通訊協定運作時,該記憶卡介面101經由該選擇器202以電性連接於該第二介面106b的該第一子介面106b1以及該第二子介面106b2。 As shown in FIG. 1, when the memory card 100 operates with a first communication protocol, the memory card interface 101 is electrically connected to the bridge 200 via the selector 202, and the memory card interface 101 The first interface 106a of the system interface device 102 is electrically connected via the bridge 200. When the memory card 100 operates with a second communication protocol, the memory card interface 101 is electrically connected to the first sub-interface 106b1 and the second sub-interface 106b2 of the second interface 106b through the selector 202.

如第1圖所示,在一實施例中,記憶介面101例如是安全數位記憶卡(secure digital memory card)協定,如SD-UHS I、SD-UHS II、SD-UHS III、SD 7.0等協定版本,但不限於此。系統介面裝置102例如是快捷周邊元件互聯根複合(peripheral component interconnect express(PCIe)root complex)元件,用以將處理器與記憶體連接到由一個或多個交換裝置組成的PCIe交換架構,可設置於筆記型電腦、手機、平板電腦,或是其他的處理器與記憶體連接的電子裝置中。控制單元104例如是讀卡機的控制晶片或是控制電路,但不限於此。 As shown in FIG. 1, in one embodiment, the memory interface 101 is, for example, a secure digital memory card (secure digital memory card) protocol, such as SD-UHS I, SD-UHS II, SD-UHS III, SD 7.0, etc. Version, but not limited to this. The system interface device 102 is, for example, a peripheral component interconnect express (PCIe) root complex component, which is used to connect the processor and the memory to a PCIe switching architecture composed of one or more switching devices, which can be set It is used in notebook computers, mobile phones, tablets, or other electronic devices with processors connected to memory. The control unit 104 is, for example, a control chip of a card reader or a control circuit, but it is not limited thereto.

如第1圖所示,在一實施例中,該第二介面106b的第一子介面106b1包括快捷周邊元件互聯重設(PCI Express Reset,PERST#)信號、時脈請求運行信號(clock request,CLKREQ#)、以及參考時脈差分對信號(reference clock,REFCLK+,REFCLK-),其中快捷周邊元件互聯重設(PERST#)信號用以管理該第二介面106b的復位運作;時脈請求運行信號(clock request,CLKREQ#)用以請求參考時脈運行;參考時脈差分對信號(reference clock,REFCLK+,REFCLK-)用以提供參考時脈。該第二介面106b的該第二子介面106b2用以執行介面裝置102與記憶卡介面101之間的資料傳送/接收(transmit/receive,TX/RX)。 As shown in FIG. 1, in an embodiment, the first sub-interface 106b1 of the second interface 106b includes a PCI Express Reset (PERST#) signal and a clock request operation signal (clock request, CLKREQ#) and reference clock differential pair signals (reference clock, REFCLK+, REFCLK-), in which the peripheral component interconnect reset (PERST#) signal is used to manage the reset operation of the second interface 106b; clock request operation signal (clock request, CLKREQ#) is used to request the reference clock to run; the reference clock differential pair signal (reference clock, REFCLK+, REFCLK-) is used to provide the reference clock. The second sub-interface 106b2 of the second interface 106b is used to perform data transmission/reception (TX/RX) between the interface device 102 and the memory card interface 101.

如第1圖所示,在一實施例中,該橋接器200包括控制介面106c1以及傳收介面106c2,該控制介面106c1連接該記憶卡介面101,該傳收介面106c2連接該選擇器202。控制介面106c1包括安全數位指令(secure digital command,SD CMD)、以及安全數位時脈(secure digital clock,SD CLK)。傳收介面106c2包括安 全數位資料(secure digital data,SD DAT),例如是SD DAT 0~3,其包括4個位元。該橋接器200用以轉換該系統介面裝置102的該第一介面106a與該第一通訊協定之間的資料傳輸格式。在一實施例中,該選擇器202例如多工器。 As shown in FIG. 1, in one embodiment, the bridge 200 includes a control interface 106c1 and a transceiving interface 106c2. The control interface 106c1 is connected to the memory card interface 101, and the transceiving interface 106c2 is connected to the selector 202. The control interface 106c1 includes a secure digital command (SD CMD) and a secure digital clock (SD CLK). Transmission interface 106c2 includes security Full digital data (secure digital data, SD DAT), for example, SD DAT 0~3, which includes 4 bits. The bridge 200 is used to convert the data transmission format between the first interface 106a of the system interface device 102 and the first communication protocol. In one embodiment, the selector 202 is, for example, a multiplexer.

如第1圖所示,該系統介面裝置102透過該第一介面106a,以偵測出該記憶卡介面101電性連接於該系統介面裝置102以及該控制單元104,該記憶卡100的該第一通訊協定相容於該第一介面106a,例如是該系統介面裝置102透過該第一介面106a,以與該記憶卡100建立該第一通訊協定的資料存取(access)通信連結。 As shown in FIG. 1, the system interface device 102 detects that the memory card interface 101 is electrically connected to the system interface device 102 and the control unit 104 through the first interface 106a, and the first interface of the memory card 100 A communication protocol is compatible with the first interface 106a, for example, the system interface device 102 establishes a data access communication link of the first communication protocol with the memory card 100 through the first interface 106a.

如第1圖所示,該系統介面裝置102透過該第一介面106a,以該第一通訊協定對該記憶卡100初始化。該初始化例如是該系統介面裝置102對該記憶卡100提供運作所需要的電力,該系統介面裝置102對該記憶卡100傳送運作、存取的指令,透過該記憶卡介面101以建立該系統介面裝置102與該記憶卡100之間雙向溝通信。 As shown in FIG. 1, the system interface device 102 initializes the memory card 100 with the first communication protocol through the first interface 106a. The initialization is, for example, the system interface device 102 provides power required for the operation of the memory card 100, the system interface device 102 transmits operation and access commands to the memory card 100, and the system interface is established through the memory card interface 101 A two-way communication letter between the device 102 and the memory card 100.

如第1圖所示,該系統介面裝置102透過該第一介面106a,以判斷該記憶卡100以第一通訊協定或是第二通訊協定運作。當該記憶卡100以該第一通訊協定運作時,該系統介面裝置102透過該橋接器200以及該選擇器202電性連接於該記憶卡100,使該系統介面裝置102以該第一介面106a以及該第一通訊協定讀寫該記憶卡100的該資料。當該記憶卡100以該第二通訊協定運作時,該系統介面裝置102透過第二介面106b的該第一子介面106b1以及該第二子介面106b2,以該第二通訊協定讀寫該記憶卡100的該資料。 As shown in FIG. 1, the system interface device 102 determines whether the memory card 100 operates in the first communication protocol or the second communication protocol through the first interface 106a. When the memory card 100 operates with the first communication protocol, the system interface device 102 is electrically connected to the memory card 100 through the bridge 200 and the selector 202, so that the system interface device 102 uses the first interface 106a And the first communication protocol reads and writes the data of the memory card 100. When the memory card 100 operates with the second communication protocol, the system interface device 102 reads and writes the memory card with the second communication protocol through the first sub-interface 106b1 and the second sub-interface 106b2 of the second interface 106b. 100 of that information.

如第1圖所示,在一實施例中,該系統介面裝置102的該第一介面106a的第一傳輸頻寬小於該第二介面106b的該第二傳輸頻寬。該第一介面106a相 容於快捷周邊元件互聯(peripheral component interconnect express 1.0,PCIe1.0)以及PCIe2.0協定版本之至少一者,該第二介面106b相容於PCIe3.0協定版本。如PCIe1.0的傳輸頻寬係為2.5GHz,如PCIe2.0的傳輸頻寬係為5.0GHz,如PCIe3.0的傳輸頻寬係為8.0GHz。在一實施例中,該記憶卡100的該第一通訊協定定義為安全數位(SD)模式,例如是SD-UHS I、SD-UHS II、SD-UHS III協定版本。該記憶卡100的該第二通訊協定定義為快捷安全數位(SD Express)模式。該安全數位模式係為快捷安全數位模式以前的協定版本,該快捷安全數位模式係為安全數位(SD)7.0協定版本,例如是相容於安全數位(SD)7.0協定版本或是之後更新的協定版本。該記憶卡100的該第一通訊協定的資料傳輸率小於該第二通訊協定的資料傳輸率。 As shown in FIG. 1, in an embodiment, the first transmission bandwidth of the first interface 106a of the system interface device 102 is smaller than the second transmission bandwidth of the second interface 106b. The first interface 106a phase Containing at least one of peripheral component interconnect express (PCIe1.0) and PCIe2.0 protocol version, the second interface 106b is compatible with PCIe3.0 protocol version. For example, the transmission bandwidth of PCIe 1.0 is 2.5 GHz, the transmission bandwidth of PCIe 2.0 is 5.0 GHz, and the transmission bandwidth of PCIe 3.0 is 8.0 GHz. In one embodiment, the first communication protocol of the memory card 100 is defined as a secure digital (SD) mode, such as SD-UHS I, SD-UHS II, and SD-UHS III protocol versions. The second communication protocol of the memory card 100 is defined as an SD Express mode. The secure digital mode is a protocol version prior to the secure digital mode. The secure digital mode is a secure digital (SD) version 7.0 protocol, for example, compatible with the secure digital (SD) version 7.0 protocol or a later updated protocol version. The data transmission rate of the first communication protocol of the memory card 100 is less than the data transmission rate of the second communication protocol.

如第1圖所示,在一實施例中,當該記憶卡100以該第一通訊協定運作時,該橋接器200產生該觸發信號204以觸發該選擇器202,該第一介面106a經由該橋接器200以及該選擇器202電性連接該記憶卡100,並且該系統介面裝置102以該第一通訊協定讀寫該記憶卡100的該資料。當該記憶卡100以該第二通訊協定運作時,該橋接器200產生該觸發信號204以觸發該選擇器202,該第二介面106b的該第一子介面106b1經由該選擇器202電性連接該記憶卡介面101。例如,該橋接器200產生一觸發信號204以觸發該選擇器202,以透過該第二介面106b的第一子介面106b1傳收該系統介面裝置102與該記憶卡100之間的控制信息。 As shown in FIG. 1, in an embodiment, when the memory card 100 operates with the first communication protocol, the bridge 200 generates the trigger signal 204 to trigger the selector 202, and the first interface 106a passes through the The bridge 200 and the selector 202 are electrically connected to the memory card 100, and the system interface device 102 reads and writes the data of the memory card 100 using the first communication protocol. When the memory card 100 operates with the second communication protocol, the bridge 200 generates the trigger signal 204 to trigger the selector 202, and the first sub-interface 106b1 of the second interface 106b is electrically connected through the selector 202 The memory card interface 101. For example, the bridge 200 generates a trigger signal 204 to trigger the selector 202 to transmit control information between the system interface device 102 and the memory card 100 through the first sub-interface 106b1 of the second interface 106b.

在一實施例中,當該記憶卡100以該第一通訊協定運作時,該橋接器200產生一觸發信號204以觸發該選擇器202,以透過該控制介面106c1以及傳收介面106c2傳收該系統介面裝置102與該記憶卡100之間的控制信息以及該資料,其中該橋接器200的安全數位指令(SD CMD)以及安全數位時脈(SD CLK) 用以建立橋接器200與記憶卡介面101之間的通訊連結,該選擇器202輸出該資料例如是資料(DAT 0~3),例如將安全數位資料(SD DAT 0~3))輸出為資料(DAT 0~3)。當該記憶卡100以該第二通訊協定運作時,該橋接器200產生一觸發信號204以觸發該選擇器202,以透過該第二介面106b的第一子介面106b1傳收該系統介面裝置102與該記憶卡100之間的控制信息,該控制信息例如是快捷周邊元件互聯重設(PCI Express Reset,PERST#)信號、時脈請求運行信號(clock request,CLKREQ#)、以及參考時脈差分對信號(reference clock,REFCLK+,REFCLK-)。 In one embodiment, when the memory card 100 operates with the first communication protocol, the bridge 200 generates a trigger signal 204 to trigger the selector 202 to transmit and receive the control interface 106c1 and the transmission interface 106c2 The control information and the data between the system interface device 102 and the memory card 100, wherein the secure digital command (SD CMD) and the secure digital clock (SD CLK) of the bridge 200 Used to establish a communication link between the bridge 200 and the memory card interface 101, the selector 202 outputs the data such as data (DAT 0~3), for example, outputs secure digital data (SD DAT 0~3) as data (DAT 0~3). When the memory card 100 operates with the second communication protocol, the bridge 200 generates a trigger signal 204 to trigger the selector 202 to transmit and receive the system interface device 102 through the first sub-interface 106b1 of the second interface 106b Control information with the memory card 100, the control information is, for example, a peripheral peripheral element reset reset (PCI Express Reset, PERST#) signal, a clock request operation signal (clock request, CLKREQ#), and a reference clock difference Pair signals (reference clock, REFCLK+, REFCLK-).

如第1圖所示,在一實施例中,進一步地,當該記憶卡100以該第二通訊協定運作時,該系統介面裝置102以該第二介面106b掃描該記憶卡介面101,以判斷該記憶卡110是否相容於非揮發性記憶體快捷(Non-Volatile Memory Express,NVMe)協定。當判斷為否,返回步驟S306,該記憶卡100不相容於NVMe協定,該系統介面裝置102以該第一通訊協定讀寫該記憶卡100的該資料。當判斷為是,執行步驟S312,該記憶卡100相容於NVMe協定,該系統介面裝置102以該第二介面106b的該第一子介面106b1以及該第二子介面106b2,以該第二通訊協定讀寫該記憶卡100的該資料。該第二介面106b的該第二子介面106b2用以執行介面裝置102與記憶卡介面101之間的該資料傳送/接收(transmit/receive,TX/RX)。 As shown in FIG. 1, in an embodiment, further, when the memory card 100 operates with the second communication protocol, the system interface device 102 scans the memory card interface 101 with the second interface 106b to determine Whether the memory card 110 is compatible with Non-Volatile Memory Express (NVMe) protocol. When the judgment is NO, it returns to step S306, the memory card 100 is not compatible with the NVMe protocol, and the system interface device 102 reads and writes the data of the memory card 100 using the first communication protocol. When the determination is yes, step S312 is executed, the memory card 100 is compatible with the NVMe protocol, and the system interface device 102 uses the first sub-interface 106b1 and the second sub-interface 106b2 of the second interface 106b to use the second communication Agreement to read and write the data of the memory card 100. The second sub-interface 106b2 of the second interface 106b is used to execute the data transmission/reception (TX/RX) between the interface device 102 and the memory card interface 101.

根據上述,本創作之讀寫控制系統,藉由第一介面106a以及第二介面106b,使讀寫控制系統以較小傳輸頻寬的第一介面106a控制具有較大傳輸速率的記憶卡100,並且以較大傳輸頻寬的第二介面106b存取具有較大傳輸速率的記憶卡100,解決記憶卡100與讀寫控制系統之間相容性的問題,並且提高記憶卡100的使用彈性。第一介面106a道經由控制單元104連接記憶卡100,使第二介面106b的第一子介面106b1經由控制單元104連接記憶卡100,以及使第二介面 106b的第二子介面106b2直接連接記憶卡100,以減少讀寫控制系統的生產成本。 According to the above, the read-write control system of the present invention, through the first interface 106a and the second interface 106b, enables the read-write control system to control the memory card 100 with a larger transmission rate with the first interface 106a with a smaller transmission bandwidth, In addition, the second interface 106b with a larger transmission bandwidth accesses the memory card 100 with a larger transmission rate, which solves the compatibility problem between the memory card 100 and the read-write control system, and improves the flexibility of use of the memory card 100. The first interface 106a is connected to the memory card 100 via the control unit 104, so that the first sub-interface 106b1 of the second interface 106b is connected to the memory card 100 via the control unit 104, and the second interface The second sub-interface 106b2 of 106b is directly connected to the memory card 100 to reduce the production cost of the read-write control system.

參考第1圖以及第2圖,第1圖係繪示依據本創作實施例中讀寫控制系統之方塊圖,第2圖係繪示依據本創作第一實施例中讀寫控制系統的讀寫控制方式之流程圖。該讀寫控制方式用於讀寫控制系統,該讀寫控制系統包括一記憶卡介面101、一系統介面裝置102以及一控制單元104,該系統介面裝置102包括一第一介面106a以及一第二介面106b,該第二介面106b包括第一子介面106a以及第二子介面106b,並且經由該第二介面106b的一第二子介面106b2與該記憶卡介面101電性連接,該控制單元104連接該系統介面裝置102以及該記憶卡介面101,該控制單元104包括一橋接器200以及一選擇器202,該橋接器200電性連接於該系統介面裝置102的該第一介面106a與該記憶卡介面101,該選擇器202電性連接於該系統介面裝置102的該第二介面106b、該橋接器200、以及該記憶卡介面101,該讀寫控制方式包括下列步驟: Referring to FIG. 1 and FIG. 2, FIG. 1 is a block diagram showing a read-write control system according to this creative embodiment, and FIG. 2 is a read-write control system according to the first embodiment of the creative. Flow chart of the control method. The read-write control method is used for a read-write control system. The read-write control system includes a memory card interface 101, a system interface device 102, and a control unit 104. The system interface device 102 includes a first interface 106a and a second The interface 106b, the second interface 106b includes a first sub-interface 106a and a second sub-interface 106b, and is electrically connected to the memory card interface 101 via a second sub-interface 106b2 of the second interface 106b, and the control unit 104 is connected The system interface device 102 and the memory card interface 101, the control unit 104 includes a bridge 200 and a selector 202, the bridge 200 is electrically connected to the first interface 106 a of the system interface device 102 and the memory card Interface 101, the selector 202 is electrically connected to the second interface 106b of the system interface device 102, the bridge 200, and the memory card interface 101, the read-write control method includes the following steps:

在步驟S200中,以該系統介面裝置102偵測出該記憶卡介面101連接於該系統介面裝置102以及該控制單元104,該記憶卡100的第一通訊協定相容於該第一介面106a。 In step S200, the system interface device 102 detects that the memory card interface 101 is connected to the system interface device 102 and the control unit 104, and the first communication protocol of the memory card 100 is compatible with the first interface 106a.

在步驟S202中,該系統介面裝置102透過該第一介面106a,以判斷該記憶卡100以第一通訊協定或是第二通訊協定運作。 In step S202, the system interface device 102 determines whether the memory card 100 operates in the first communication protocol or the second communication protocol through the first interface 106a.

在步驟S204中,當該記憶卡100以該第一通訊協定運作時,該系統介面裝置102透過該橋接器200以及該選擇器202電性連接於該記憶卡介面101,使該系統介面裝置102以該第一介面106a以及該第一通訊協定讀寫該記憶卡100的該資料。 In step S204, when the memory card 100 operates with the first communication protocol, the system interface device 102 is electrically connected to the memory card interface 101 through the bridge 200 and the selector 202, so that the system interface device 102 The first interface 106a and the first communication protocol are used to read and write the data of the memory card 100.

在步驟S206中,當該記憶卡100以該第二通訊協定運作時,該系 統介面裝置102透過第二介面106b的該第一子介面106b1以及該第二子介面106b2,以該第二通訊協定讀寫該記憶卡100的該資料。 In step S206, when the memory card 100 operates with the second communication protocol, the system The unified interface device 102 uses the second communication protocol to read and write the data of the memory card 100 through the first sub-interface 106b1 and the second sub-interface 106b2 of the second interface 106b.

參考第1圖以及第3圖,第3圖係繪示依據本創作第二實施例中讀寫控制系統的讀寫控制方式之流程圖。 Referring to FIG. 1 and FIG. 3, FIG. 3 is a flowchart illustrating the read-write control method of the read-write control system according to the second embodiment of the present invention.

在步驟S300中,該系統介面裝置102透過該第一介面106a,以偵測出該記憶卡介面101連接於該系統介面裝置102以及該控制單元104,該記憶卡100具有相容於該第一介面106a的第一通訊協定。 In step S300, the system interface device 102 detects that the memory card interface 101 is connected to the system interface device 102 and the control unit 104 through the first interface 106a. The memory card 100 is compatible with the first The first communication protocol of the interface 106a.

在步驟S302中,該系統介面裝置102透過該第一介面106a,以該第一通訊協定對該記憶卡100初始化。 In step S302, the system interface device 102 initializes the memory card 100 with the first communication protocol through the first interface 106a.

在步驟S304中,該系統介面裝置102透過該第一介面106a,以判斷該記憶卡100以第一通訊協定或是第二通訊協定運作。 In step S304, the system interface device 102 determines whether the memory card 100 operates in the first communication protocol or the second communication protocol through the first interface 106a.

在步驟S306中,當該記憶卡100以該第一通訊協定運作時,該橋接器200產生該觸發信號以觸發該選擇器202,該第一介面106a經由該橋接器200以及該選擇器202電性連接該記憶卡100,並且該系統介面裝置102以該第一通訊協定讀寫該記憶卡100的該資料。 In step S306, when the memory card 100 operates with the first communication protocol, the bridge 200 generates the trigger signal to trigger the selector 202, and the first interface 106a is electrically connected via the bridge 200 and the selector 202. The memory card 100 is connected, and the system interface device 102 reads and writes the data of the memory card 100 using the first communication protocol.

在步驟S308中,當該記憶卡100以該第二通訊協定運作時,該橋接器200產生該觸發信號204以觸發該選擇器202,該第二介面106b的該第一子介面106b1經由該選擇器202電性連接該記憶卡介面101。 In step S308, when the memory card 100 operates with the second communication protocol, the bridge 200 generates the trigger signal 204 to trigger the selector 202, and the first sub-interface 106b1 of the second interface 106b passes the selection The device 202 is electrically connected to the memory card interface 101.

在一實施例中,該系統介面裝置102的該第一介面106a的第一傳輸頻寬小於該第二介面106b的該第二傳輸頻寬。該第一介面106a相容於快捷周邊元件互聯(peripheral component interconnect express 1.0,PCIe1.0)以及PCIe2.0協定版本之至少一者,該第二介面106b相容於PCIe3.0協定版本。PCIe1.0係為 2.5GHz,PCIe2.0係為5.0GHz,PCIe3.0係為8.0GHz。在一實施例中,該記憶卡100的該第一通訊協定定義為安全數位(SD)模式,例如是SD-UHS I、SD-UHS II、SD-UHS III協定版本。該記憶卡100的該第二通訊協定定義為快捷安全數位(SD Express)模式。該安全數位模式係為快捷安全數位模式以前的協定版本,該快捷安全數位模式係為安全數位(SD)7.0協定版本,例如是相容於安全數位(SD)7.0協定版本或是之後更新的協定版本。該記憶卡100的該第一通訊協定的資料傳輸率小於該第二通訊協定的資料傳輸率。 In one embodiment, the first transmission bandwidth of the first interface 106a of the system interface device 102 is smaller than the second transmission bandwidth of the second interface 106b. The first interface 106a is compatible with at least one of peripheral component interconnect express (PCIe1.0) and PCIe2.0 protocol versions, and the second interface 106b is compatible with PCIe3.0 protocol versions. PCIe1.0 is 2.5GHz, PCIe2.0 series is 5.0GHz, PCIe3.0 series is 8.0GHz. In one embodiment, the first communication protocol of the memory card 100 is defined as a secure digital (SD) mode, such as SD-UHS I, SD-UHS II, and SD-UHS III protocol versions. The second communication protocol of the memory card 100 is defined as an SD Express mode. The secure digital mode is a protocol version prior to the secure digital mode. The secure digital mode is a secure digital (SD) version 7.0 protocol, for example, compatible with the secure digital (SD) version 7.0 protocol or a later updated protocol version. The data transmission rate of the first communication protocol of the memory card 100 is less than the data transmission rate of the second communication protocol.

在步驟S310中,當該記憶卡100以該第二通訊協定運作時,該系統介面裝置102以該第二介面106b掃描該記憶卡介面101,以判斷該記憶卡110是否相容於非揮發性記憶體快捷(Non-Volatile Memory Express,NVMe)協定。 In step S310, when the memory card 100 operates with the second communication protocol, the system interface device 102 scans the memory card interface 101 with the second interface 106b to determine whether the memory card 110 is compatible with non-volatile Non-Volatile Memory Express (NVMe) agreement.

當判斷為否,返回步驟S306,當該記憶卡102不相容於非揮發性記憶體快捷(NVMe)協定,該系統介面裝置102以該第一通訊協定讀寫該記憶卡100的該資料。 When the determination is negative, the process returns to step S306. When the memory card 102 is not compatible with the Non-Volatile Memory Express (NVMe) protocol, the system interface device 102 reads and writes the data of the memory card 100 using the first communication protocol.

當判斷為是,執行步驟S312,當該記憶卡102相容於非揮發性記憶體快捷(NVMe)協定,該系統介面裝置102以該第二介面106b的該第一子介面106b1以及該第二子介面106b2,以該第二通訊協定讀寫該記憶卡100的該資料。 When the determination is yes, step S312 is executed. When the memory card 102 is compatible with the Non-Volatile Memory Shortcut (NVMe) protocol, the system interface device 102 uses the first sub-interface 106b1 of the second interface 106b and the second The sub-interface 106b2 uses the second communication protocol to read and write the data of the memory card 100.

在一實施例中,該第一介面106a包括第一控制線路106a1以及第一傳送/接收線路106a2,該第一控制線路106a1以及該第一傳送/接收線路106a2連接該橋接器200。在一實施例中,該通道106c包括控制介面106c1以及傳收介面106c2,該控制介面106c1連接該記憶卡100,該傳收介面106c2連接該選擇器202。 In one embodiment, the first interface 106a includes a first control line 106a1 and a first transmission/reception line 106a2. The first control line 106a1 and the first transmission/reception line 106a2 are connected to the bridge 200. In one embodiment, the channel 106c includes a control interface 106c1 and a transceiving interface 106c2, the control interface 106c1 is connected to the memory card 100, and the transceiving interface 106c2 is connected to the selector 202.

綜上所述,本創作之讀寫控制系統,藉由主機端的第一介面以及第二介面,使讀寫控制系統以較小傳輸頻寬的第一介面控制具有較大傳輸速率 的記憶卡,並且以較大傳輸頻寬的第二介面存取具有較大傳輸速率的記憶卡,解決記憶卡與讀寫控制系統之間相容性的問題,並且提高記憶卡的使用彈性。此外,本藉由主機端的第一介面以及第二介面,使第一介面道經由控制單元連接記憶卡,使第二介面的第一子介面經由控制單元連接記憶卡,以及使第二介面的第二子介面直接連接記憶卡,以減少讀寫控制系統的生產成本。 In summary, the read-write control system of this creation uses the first interface and the second interface on the host side to enable the read-write control system to control a larger transmission rate with the first interface with a smaller transmission bandwidth The memory card with a larger transmission bandwidth is accessed by a second interface with a larger transmission bandwidth, which solves the compatibility problem between the memory card and the read-write control system and improves the flexibility of use of the memory card. In addition, the first interface and the second interface of the host end are used to connect the first interface channel to the memory card via the control unit, the first sub-interface of the second interface is connected to the memory card via the control unit, and the first interface of the second interface The second sub-interface is directly connected to the memory card to reduce the production cost of the read-write control system.

雖然本創作已用較佳實施例揭露如上,然其並非用以限定本創作,本創作所屬技術領域中具有通常知識者,在不脫離本創作之精神和範圍內,當可作各種之更動與潤飾,因此本創作之保護範圍當視後附之申請專利範圍所界定者為準。 Although this creation has been disclosed as above with the preferred embodiments, it is not intended to limit this creation. Those with ordinary knowledge in the technical field to which this creation belongs can make various modifications and changes without departing from the spirit and scope of this creation. Retouching, therefore the scope of protection of this creation shall be subject to the scope defined in the attached patent application.

100:記憶卡 100: memory card

101:記憶卡介面 101: Memory card interface

102:系統介面裝置 102: System interface device

104:控制單元 104: control unit

106a:第一介面 106a: the first interface

106b:第二介面 106b: Second interface

106b1:第一子介面 106b1: the first sub-interface

106b2:第二子介面 106b2: Second sub-interface

106c1:控制介面 106c1: control interface

106c2:傳收介面 106c2: Transmission interface

200:橋接器 200: bridge

202:選擇器 202: selector

204:觸發信號 204: trigger signal

DAT 0~3:資料 DAT 0~3: data

SD DAT 0~3:安全數位資料 SD DAT 0~3: Secure digital data

SD CMD:安全數位指令 SD CMD: Safe digital instructions

SD CLK:安全數位時脈 SD CLK: Safe digital clock

TX/RX:資料傳送/接收 TX/RX: data transmission/reception

PERST#:快捷周邊元件互聯重設信號 PERST#: Fast reset signal for interconnection of peripheral components

CLKREQ#:時脈請求運行信號 CLKREQ#: clock request running signal

REFCLK+、REFCLK-:參考時脈差分對信號 REFCLK+, REFCLK-: reference clock differential pair signal

Claims (12)

一種讀寫控制系統,用以控制一記憶卡的資料之讀寫,該讀寫控制系統包括: 一記憶卡介面,用以連接該記憶卡; 一系統介面裝置,包括一第一介面以及一第二介面,該第二介面包括一第一子介面以及一第二子介面,並且該系統介面裝置經由該第二介面的該第二子介面以與該記憶卡介面電性連接;以及 一控制單元,連接該系統介面裝置以及該記憶卡介面,包括: 一橋接器,電性連接於該系統介面裝置的該第一介面與該記憶卡介面;以及 一選擇器,電性連接於該系統介面裝置的該第二介面、該橋接器、以及該記憶卡介面; 其中,當該記憶卡以一第一通訊協定運作時,該記憶卡介面經由該選擇器以與該橋接器電性連接,並且該記憶卡介面經由該橋接器以與該系統介面裝置的該第一介面電性連接; 其中,當該記憶卡以一第二通訊協定運作時,該記憶卡介面經由該選擇器以電性連接於該第二介面的該第一子介面。 A reading and writing control system for controlling the reading and writing of data of a memory card. The reading and writing control system includes: A memory card interface for connecting the memory card; A system interface device includes a first interface and a second interface, the second interface includes a first sub-interface and a second sub-interface, and the system interface device passes the second sub-interface of the second interface to Electrically connected to the memory card interface; and A control unit, connected to the system interface device and the memory card interface, includes: A bridge electrically connected to the first interface and the memory card interface of the system interface device; and A selector electrically connected to the second interface of the system interface device, the bridge, and the memory card interface; Wherein, when the memory card operates with a first communication protocol, the memory card interface is electrically connected to the bridge via the selector, and the memory card interface is connected to the first of the system interface device via the bridge One interface electrical connection; Wherein, when the memory card operates with a second communication protocol, the memory card interface is electrically connected to the first sub-interface of the second interface through the selector. 如申請專利範圍第1項所述之讀寫控制系統,其中該系統介面裝置透過該第一介面,以偵測出該記憶卡介面電性連接於該系統介面裝置以及該控制單元,該記憶卡的該第一通訊協定相容於該第一介面。The read-write control system as described in item 1 of the patent application scope, wherein the system interface device detects that the memory card interface is electrically connected to the system interface device and the control unit through the first interface, and the memory card The first communication protocol is compatible with the first interface. 如申請專利範圍第1項所述之讀寫控制系統,其中該系統介面裝置透過該第一介面,以該第一通訊協定對該記憶卡初始化。The read-write control system as described in item 1 of the patent application scope, wherein the system interface device initializes the memory card with the first communication protocol through the first interface. 如申請專利範圍第1項所述之讀寫控制系統,其中當該記憶卡以該第一通訊協定運作時,該系統介面裝置透過該橋接器以及該選擇器電性連接於該記憶卡介面,使該系統介面裝置以該第一介面以及該第一通訊協定讀寫該記憶卡的該資料。The read-write control system as described in item 1 of the patent application scope, wherein when the memory card operates with the first communication protocol, the system interface device is electrically connected to the memory card interface through the bridge and the selector, The system interface device uses the first interface and the first communication protocol to read and write the data of the memory card. 如申請專利範圍第1項所述之讀寫控制系統,其中當該記憶卡以該第二通訊協定運作時,該系統介面裝置透過第二介面的該第一子介面以及該第二子介面,以該第二通訊協定讀寫該記憶卡的該資料。The read-write control system as described in item 1 of the patent application scope, wherein when the memory card operates with the second communication protocol, the system interface device passes through the first sub-interface and the second sub-interface of the second interface, Use the second communication protocol to read and write the data of the memory card. 如申請專利範圍第1項所述之讀寫控制系統,其中該系統介面裝置的該第一介面的第一傳輸頻寬小於該第二介面的該第二傳輸頻寬。The read-write control system as described in item 1 of the patent application scope, wherein the first transmission bandwidth of the first interface of the system interface device is smaller than the second transmission bandwidth of the second interface. 如申請專利範圍第1項所述之讀寫控制系統,其中該第一介面相容於PCIe1.0以及PCIe2.0協定版本之至少一者,該第二介面相容於PCIe3.0協定版本。The read-write control system as described in item 1 of the patent application scope, wherein the first interface is compatible with at least one of PCIe1.0 and PCIe2.0 protocol versions, and the second interface is compatible with PCIe3.0 protocol version. 如申請專利範圍第1項所述之讀寫控制系統,其中該記憶卡的該第一通訊協定定義為安全數位(SD)模式,該記憶卡的該第二通訊協定定義為快捷安全數位(SD Express)模式。The read-write control system as described in item 1 of the patent application scope, wherein the first communication protocol of the memory card is defined as a secure digital (SD) mode, and the second communication protocol of the memory card is defined as a fast and secure digital (SD) Express) mode. 如申請專利範圍第8項所述之讀寫控制系統,其中該安全數位(SD)模式係為快捷安全數位模式以前的協定版本,該快捷安全數位模式係為安全數位(SD)7.0協定版本。The read-write control system as described in item 8 of the patent application scope, wherein the secure digital (SD) mode is a protocol version prior to the fast secure digital mode, and the fast secure digital mode is the secure digital (SD) version 7.0 protocol. 如申請專利範圍第1項所述之讀寫控制系統,其中該記憶卡的該第一通訊協定的資料傳輸率小於該第二通訊協定的資料傳輸率。The read-write control system as described in item 1 of the patent application scope, wherein the data transmission rate of the first communication protocol of the memory card is less than the data transmission rate of the second communication protocol. 如申請專利範圍第1項所述之讀寫控制系統,其中: 當該記憶卡以該第一通訊協定運作時,該橋接器產生該觸發信號以觸發該選擇器,該第一介面經由該橋接器以及該選擇器電性連接該記憶卡介面,並且該系統介面裝置以該第一通訊協定讀寫該記憶卡的該資料;以及 當該記憶卡以該第二通訊協定運作時,該橋接器產生該觸發信號以觸發該選擇器,該第二介面的該第一子介面經由該選擇器電性連接該記憶卡介面。 The read-write control system as described in item 1 of the patent application scope, in which: When the memory card operates with the first communication protocol, the bridge generates the trigger signal to trigger the selector, the first interface is electrically connected to the memory card interface through the bridge and the selector, and the system interface The device uses the first communication protocol to read and write the data of the memory card; and When the memory card operates with the second communication protocol, the bridge generates the trigger signal to trigger the selector, and the first sub-interface of the second interface is electrically connected to the memory card interface via the selector. 如申請專利範圍第1項所述之讀寫控制系統,其中該橋接器包括控制介面以及傳收介面,該控制介面連接該記憶卡,該傳收介面連接該選擇器。The read-write control system as described in item 1 of the patent application scope, wherein the bridge includes a control interface and a transmission and reception interface, the control interface is connected to the memory card, and the transmission and reception interface is connected to the selector.
TW108206396U 2019-05-22 2019-05-22 Control system of accessing data TWM592994U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108206396U TWM592994U (en) 2019-05-22 2019-05-22 Control system of accessing data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108206396U TWM592994U (en) 2019-05-22 2019-05-22 Control system of accessing data

Publications (1)

Publication Number Publication Date
TWM592994U true TWM592994U (en) 2020-04-01

Family

ID=71133009

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108206396U TWM592994U (en) 2019-05-22 2019-05-22 Control system of accessing data

Country Status (1)

Country Link
TW (1) TWM592994U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI746983B (en) * 2019-05-22 2021-11-21 創惟科技股份有限公司 Control system of accessing data and method thereof
TWI816046B (en) * 2020-08-19 2023-09-21 創惟科技股份有限公司 Control system of accessing data for memory storage and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI746983B (en) * 2019-05-22 2021-11-21 創惟科技股份有限公司 Control system of accessing data and method thereof
TWI816046B (en) * 2020-08-19 2023-09-21 創惟科技股份有限公司 Control system of accessing data for memory storage and method thereof

Similar Documents

Publication Publication Date Title
CN109313617B (en) Load reduced non-volatile memory interface
CN104866453B (en) System chip, bus interface connection circuit and bus interface connection method thereof
US6779059B2 (en) Reconfigurable flash media reader system
US10565154B2 (en) Mobile device and interfacing method thereof that adjusts clock frequency based on access mode
CN213069787U (en) Read-write control system of memory card
US8862787B2 (en) Method and apparatus for integrating driver(s) of a portable device into the portable device
CN104731746A (en) Equipment controller device
EP2704021B1 (en) SRAM handshake
US20200320026A1 (en) Bandwidth management allocation for displayport tunneling
TWM592994U (en) Control system of accessing data
KR20080013156A (en) Memory card system, method transferring data thereof, and semiconductor memory device
WO2023082622A1 (en) Method for designing communication module having master and slave devices compatible, and apparatus
TWM606415U (en) Control system of accessing data for memory storage
TW201305826A (en) Circuits, methods and systems thereof for providing communication between a memory card and a host device
TWM592995U (en) Control system of accessing data for memory cards
TWI746983B (en) Control system of accessing data and method thereof
US20110072168A1 (en) Data transfer system with different operating modes
US7850082B1 (en) Extended universal serial bus (USB) card reader
TWI717884B (en) Control system of accessing data for memory cards and method thereof
US20120102251A1 (en) Serial attached small computer system interface (sas) domain access through a universal serial bus interface of a data processing device
TW201344444A (en) Motherboard and data processing method thereof
US20090138673A1 (en) Internal memory mapped external memory interface
JPH10268995A (en) Method and device for controlling interface
US20070131767A1 (en) System and method for media card communication
TWI816046B (en) Control system of accessing data for memory storage and method thereof