TWM592994U - Control system of accessing data - Google Patents
Control system of accessing data Download PDFInfo
- 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
Links
Images
Landscapes
- Information Transfer Systems (AREA)
Abstract
Description
本創作係關於一種電子裝置,特別是關於一種讀寫控制系統。 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
如第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
如第1圖所示,當該記憶卡100以一第一通訊協定運作時,該記憶卡介面101經由該選擇器202以與該橋接器200電性連接,並且該記憶卡介面101
經由該橋接器200以與該系統介面裝置102的該第一介面106a電性連接。當該記憶卡100以一第二通訊協定運作時,該記憶卡介面101經由該選擇器202以電性連接於該第二介面106b的該第一子介面106b1以及該第二子介面106b2。
As shown in FIG. 1, when the
如第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
如第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
如第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
如第1圖所示,該系統介面裝置102透過該第一介面106a,以偵測出該記憶卡介面101電性連接於該系統介面裝置102以及該控制單元104,該記憶卡100的該第一通訊協定相容於該第一介面106a,例如是該系統介面裝置102透過該第一介面106a,以與該記憶卡100建立該第一通訊協定的資料存取(access)通信連結。
As shown in FIG. 1, the
如第1圖所示,該系統介面裝置102透過該第一介面106a,以該第一通訊協定對該記憶卡100初始化。該初始化例如是該系統介面裝置102對該記憶卡100提供運作所需要的電力,該系統介面裝置102對該記憶卡100傳送運作、存取的指令,透過該記憶卡介面101以建立該系統介面裝置102與該記憶卡100之間雙向溝通信。
As shown in FIG. 1, the
如第1圖所示,該系統介面裝置102透過該第一介面106a,以判斷該記憶卡100以第一通訊協定或是第二通訊協定運作。當該記憶卡100以該第一通訊協定運作時,該系統介面裝置102透過該橋接器200以及該選擇器202電性連接於該記憶卡100,使該系統介面裝置102以該第一介面106a以及該第一通訊協定讀寫該記憶卡100的該資料。當該記憶卡100以該第二通訊協定運作時,該系統介面裝置102透過第二介面106b的該第一子介面106b1以及該第二子介面106b2,以該第二通訊協定讀寫該記憶卡100的該資料。
As shown in FIG. 1, the
如第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
如第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
在一實施例中,當該記憶卡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
如第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
根據上述,本創作之讀寫控制系統,藉由第一介面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
參考第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
在步驟S200中,以該系統介面裝置102偵測出該記憶卡介面101連接於該系統介面裝置102以及該控制單元104,該記憶卡100的第一通訊協定相容於該第一介面106a。
In step S200, the
在步驟S202中,該系統介面裝置102透過該第一介面106a,以判斷該記憶卡100以第一通訊協定或是第二通訊協定運作。
In step S202, the
在步驟S204中,當該記憶卡100以該第一通訊協定運作時,該系統介面裝置102透過該橋接器200以及該選擇器202電性連接於該記憶卡介面101,使該系統介面裝置102以該第一介面106a以及該第一通訊協定讀寫該記憶卡100的該資料。
In step S204, when the
在步驟S206中,當該記憶卡100以該第二通訊協定運作時,該系
統介面裝置102透過第二介面106b的該第一子介面106b1以及該第二子介面106b2,以該第二通訊協定讀寫該記憶卡100的該資料。
In step S206, when the
參考第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
在步驟S302中,該系統介面裝置102透過該第一介面106a,以該第一通訊協定對該記憶卡100初始化。
In step S302, the
在步驟S304中,該系統介面裝置102透過該第一介面106a,以判斷該記憶卡100以第一通訊協定或是第二通訊協定運作。
In step S304, the
在步驟S306中,當該記憶卡100以該第一通訊協定運作時,該橋接器200產生該觸發信號以觸發該選擇器202,該第一介面106a經由該橋接器200以及該選擇器202電性連接該記憶卡100,並且該系統介面裝置102以該第一通訊協定讀寫該記憶卡100的該資料。
In step S306, when the
在步驟S308中,當該記憶卡100以該第二通訊協定運作時,該橋接器200產生該觸發信號204以觸發該選擇器202,該第二介面106b的該第一子介面106b1經由該選擇器202電性連接該記憶卡介面101。
In step S308, when the
在一實施例中,該系統介面裝置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
在步驟S310中,當該記憶卡100以該第二通訊協定運作時,該系統介面裝置102以該第二介面106b掃描該記憶卡介面101,以判斷該記憶卡110是否相容於非揮發性記憶體快捷(Non-Volatile Memory Express,NVMe)協定。
In step S310, when the
當判斷為否,返回步驟S306,當該記憶卡102不相容於非揮發性記憶體快捷(NVMe)協定,該系統介面裝置102以該第一通訊協定讀寫該記憶卡100的該資料。
When the determination is negative, the process returns to step S306. When the
當判斷為是,執行步驟S312,當該記憶卡102相容於非揮發性記憶體快捷(NVMe)協定,該系統介面裝置102以該第二介面106b的該第一子介面106b1以及該第二子介面106b2,以該第二通訊協定讀寫該記憶卡100的該資料。
When the determination is yes, step S312 is executed. When the
在一實施例中,該第一介面106a包括第一控制線路106a1以及第一傳送/接收線路106a2,該第一控制線路106a1以及該第一傳送/接收線路106a2連接該橋接器200。在一實施例中,該通道106c包括控制介面106c1以及傳收介面106c2,該控制介面106c1連接該記憶卡100,該傳收介面106c2連接該選擇器202。
In one embodiment, the
綜上所述,本創作之讀寫控制系統,藉由主機端的第一介面以及第二介面,使讀寫控制系統以較小傳輸頻寬的第一介面控制具有較大傳輸速率 的記憶卡,並且以較大傳輸頻寬的第二介面存取具有較大傳輸速率的記憶卡,解決記憶卡與讀寫控制系統之間相容性的問題,並且提高記憶卡的使用彈性。此外,本藉由主機端的第一介面以及第二介面,使第一介面道經由控制單元連接記憶卡,使第二介面的第一子介面經由控制單元連接記憶卡,以及使第二介面的第二子介面直接連接記憶卡,以減少讀寫控制系統的生產成本。 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:資料
SD DAT 0~3:安全數位資料
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)
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)
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 |
-
2019
- 2019-05-22 TW TW108206396U patent/TWM592994U/en unknown
Cited By (2)
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 |