TWI717884B - Control system of accessing data for memory cards and method thereof - Google Patents

Control system of accessing data for memory cards and method thereof Download PDF

Info

Publication number
TWI717884B
TWI717884B TW108139513A TW108139513A TWI717884B TW I717884 B TWI717884 B TW I717884B TW 108139513 A TW108139513 A TW 108139513A TW 108139513 A TW108139513 A TW 108139513A TW I717884 B TWI717884 B TW I717884B
Authority
TW
Taiwan
Prior art keywords
interface
memory card
host system
selector
communication protocol
Prior art date
Application number
TW108139513A
Other languages
Chinese (zh)
Other versions
TW202119226A (en
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 TW108139513A priority Critical patent/TWI717884B/en
Priority to CN202022480600.6U priority patent/CN213182727U/en
Priority to CN202011196458.0A priority patent/CN112749108A/en
Application granted granted Critical
Publication of TWI717884B publication Critical patent/TWI717884B/en
Publication of TW202119226A publication Critical patent/TW202119226A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0026PCI express

Abstract

A control system of accessing data and method thereof for memory cards are provided. The control system includes a memory card interface, a host system interface, and a control device. When a memory card operates in a first communication protocol, the memory card interface electrically connects to the host system interface via a second selector, a bridge device, and a first selector. When a memory card operates in a second communication protocol, the memory card interface electrically connects to the host system interface via the second selector, and the memory card interface electrically connects to the host system interface via the first selector.

Description

記憶卡的讀寫控制系統及其方法Read and write control system and method of memory card

本發明係關於一種電子裝置及其方法,特別是關於一種記憶卡的讀寫控制系統及其方法。The present invention relates to an electronic device and a method thereof, in particular to a read-write control system and method of a memory card.

隨著資訊技術的快速發展,電子產品的應用日益普及,例如筆記型電腦、手機、平板電腦等手持式電子裝置處處可見。由於這些電子裝置的特點是可隨身攜帶、隨時隨地使用,並且為了使各種電子裝置之間可以互相連線以進行較大量的資料傳輸,故通常是以記憶卡插接於讀卡機使上述的電子產品可讀寫該記憶卡的資料,以擴充該電子產品的記憶體儲存容量。With the rapid development of information technology, the application of electronic products has become increasingly popular, such as handheld electronic devices such as notebook computers, mobile phones, and tablet computers. Since these electronic devices are characterized by being portable and used anytime and anywhere, and in order to allow various electronic devices to be connected to each other for a larger amount of data transmission, the memory card is usually inserted into the card reader to make the above The electronic product can read and write 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, it is impossible to access the memory card of the newer version with the control method of the older version. As a result, the memory card of the newer specification cannot be read in the older version. The use in a card machine causes compatibility problems between the memory card and the card reader control chip, and reduces the flexibility of 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 the chip The inter-communication design is more complicated, which increases the cost of the control chip. In view of this, there is still a need to develop a new type of electronic device and method to improve the above problems.

本發明之一目的在於提供一種記憶卡的讀寫控制系統及其方法,藉由控制裝置的控制模組以及第一選擇器,使主機系統只需透過一個介面,即可以不同的通訊協定讀寫記憶卡的資料,解決記憶卡與讀寫控制系統之間相容性的問題,並且提高記憶卡的使用彈性,同時降低讀寫控制系統的生產成本。One of the objects of the present invention is to provide a memory card read-write control system and method thereof. With the control module of the control device and the first selector, the host system can read and write through different communication protocols through only one interface. The data of the memory card solves the compatibility problem between the memory card and the read-write control system, improves the flexibility of the memory card, and reduces the production cost of the read-write control system.

為達成上述目的,本發明之一實施例中的讀寫控制系統,用以控制一記憶卡的資料之讀寫,該讀寫控制系統包括:一記憶卡介面,用以連接該記憶卡;一主機系統介面,電性連接該記憶卡介面,且該主機系統連接該主機系統介面;以及一控制裝置,包括一控制模組以及一第一選擇器,該控制模組電性連接該記憶卡介面、該主機系統介面以及該第一選擇器,該第一選擇器電性連接該記憶卡介面以及該主機系統介面,該控制模組包括:一橋接裝置,電性連接該主機系統介面、該記憶卡介面以及該第一選擇器;以及一第二選擇器,電性連接該主機系統介面、該記憶卡介面以及該橋接裝置;其中,當該記憶卡以一第一通訊協定運作時,該記憶卡介面經該第二選擇器、該橋接裝置以及該第一選擇器來與該主機系統介面電性連接;其中,當該記憶卡以一第二通訊協定運作時,該記憶卡介面經該第二選擇器來與該主機系統介面電性連接,該記憶卡介面亦經該第一選擇器來與該主機系統介面電性連接。In order to achieve the above object, the read-write control system in one embodiment of the present invention is used to control the read and write of data on a memory card. The read-write control system includes: a memory card interface for connecting the memory card; The host system interface is electrically connected to the memory card interface, and the host system is connected to the host system interface; and a control device including a control module and a first selector, the control module is electrically connected to the memory card interface , The host system interface and the first selector, the first selector is electrically connected to the memory card interface and the host system interface, the control module includes: a bridge device electrically connected to the host system interface and the memory Card interface and the first selector; and a second selector electrically connected to the host system interface, the memory card interface, and the bridge device; wherein, when the memory card operates under a first communication protocol, the memory The card interface is electrically connected to the host system interface through the second selector, the bridge device, and the first selector; wherein, when the memory card operates with a second communication protocol, the memory card interface is Two selectors are electrically connected to the host system interface, and the memory card interface is also electrically connected to the host system interface through the first selector.

在一實施例中,該控制裝置偵測該記憶卡電性連接該記憶卡介面,並預設以該第一通訊協定與該記憶卡連接,以該第一通訊協定啟動該記憶卡。In one embodiment, the control device detects that the memory card is electrically connected to the memory card interface, and is connected to the memory card by the first communication protocol by default, and activates the memory card by the first communication protocol.

在一實施例中,該橋接裝置包括:一第一介面,電性連接該主機系統介面以及該第一選擇器;以及一第二介面,電性連接該記憶卡介面、該第一介面以及該第二選擇器;其中,當該記憶卡以該第一通訊協定運作時,該記憶卡介面經由該第二選擇器、該第二介面以及該第一介面,並且經由該控制裝置的該第一選擇器,以與該主機系統介面電性連接,其中該記憶卡介面、該第二介面、該第一介面以及該主機系統介面間的傳輸路徑定義為一第一傳輸路徑,該記憶卡介面、該第二選擇器、該第二介面、該第一介面、該第一選擇器以及該主機系統介面間的傳輸路徑定義為一第二傳輸路徑,使該主機系統透過該第一傳輸路徑以與該記憶卡介面通訊並且透過該第二傳輸路徑以該第一通訊協定讀寫該記憶卡的該資料;其中,當該記憶卡以該第二通訊協定運作時,該記憶卡介面經由該第二選擇器以及該第一介面,以與該主機系統介面電性連接,並且該記憶卡介面經由該控制裝置的該第一選擇器,以與該主機系統介面電性連接,其中該記憶卡介面、該第二選擇器以及該主機系統介面間的傳輸路徑定義為一第三傳輸路徑,該記憶卡介面、該第一選擇器以及該主機系統介面間的傳輸路徑定義為一第四傳輸路徑,使該主機系統透過該第三傳輸路徑以與該記憶卡介面通訊並且透過該第四傳輸路徑以該第二通訊協定讀寫該記憶卡的該資料。In one embodiment, the bridge device includes: a first interface electrically connected to the host system interface and the first selector; and a second interface electrically connected to the memory card interface, the first interface and the A second selector; wherein, when the memory card operates with the first communication protocol, the memory card interface passes through the second selector, the second interface, and the first interface, and passes through the first interface of the control device The selector is electrically connected to the host system interface, wherein the transmission path between the memory card interface, the second interface, the first interface, and the host system interface is defined as a first transmission path. The memory card interface, The transmission path between the second selector, the second interface, the first interface, the first selector, and the host system interface is defined as a second transmission path, allowing the host system to communicate with each other through the first transmission path The memory card interface communicates and reads and writes the data of the memory card using the first communication protocol through the second transmission path; wherein, when the memory card operates under the second communication protocol, the memory card interface passes through the second communication protocol. The selector and the first interface are electrically connected to the host system interface, and the memory card interface is electrically connected to the host system interface through the first selector of the control device, wherein the memory card interface, The transmission path between the second selector and the host system interface is defined as a third transmission path, and the transmission path between the memory card interface, the first selector and the host system interface is defined as a fourth transmission path, so The host system communicates with the memory card interface through the third transmission path, and reads and writes the data of the memory card through the fourth transmission path using the second communication protocol.

在一實施例中,該主機系統介面包括一第一子介面以及一第二子介面,該第一選擇器包括一第一傳收端以及一第二傳收端,當該記憶卡以該第一通訊協定運作時,該主機系統透過該主機系統介面以一第一觸發信號觸發該第一選擇器的該第一傳收端,以讓該記憶卡介面透過該橋接裝置以及該第一傳收端電性連接該主機系統介面的該第二子介面,該記憶卡介面亦透過該第二選擇器以及該橋接裝置電性連接該主機系統介面的該第一子介面。In one embodiment, the host system interface includes a first sub-interface and a second sub-interface, and the first selector includes a first transmitting and receiving end and a second transmitting and receiving end. When the memory card uses the first When a communication protocol is in operation, the host system triggers the first transmission/receiving end of the first selector with a first trigger signal through the host system interface, so that the memory card interface through the bridge device and the first transmission/reception The terminal is electrically connected to the second sub-interface of the host system interface, and the memory card interface is also electrically connected to the first sub-interface of the host system interface through the second selector and the bridge device.

在一實施例中,當該記憶卡以該第二通訊協定運作時,該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶卡介面透過該第二選擇器電性連接該主機系統介面的該第一子介面,且該主機系統透過該主機系統介面以該第一觸發信號觸發該第一選擇器的該第二傳收端,以讓該記憶卡介面透該第二傳收端電性連接該主機系統介面的該第二子介面。In one embodiment, when the memory card operates under the second communication protocol, the second interface triggers the second selector with a second trigger signal so that the memory card interface is electrically connected through the second selector The first sub-interface is connected to the host system interface, and the host system triggers the second transmitting and receiving end of the first selector with the first trigger signal through the host system interface, so that the memory card interface can pass through the first trigger signal The second transmitting end is electrically connected to the second sub-interface of the host system interface.

在一實施例中,當該記憶卡以該第二通訊協定運作時,該主機系統介面斷開該第一選擇器的該第一傳收端。In one embodiment, when the memory card operates under the second communication protocol, the host system interface disconnects the first transmitting and receiving end of the first selector.

在一實施例中,該主機系統透過該主機系統介面、該第一選擇器的該第二傳收端以及該第二選擇器與該記憶卡通訊,以判斷該記憶卡是否支援該主機系統的協定版本,該協定版本包括PCIe1.0、PCIe2.0 以及PCIe3.0協定版本。In one embodiment, the host system communicates with the memory card through the host system interface, the second transmitting and receiving end of the first selector, and the second selector to determine whether the memory card supports the host system Protocol version, which includes PCIe1.0, PCIe2.0 and PCIe3.0 protocol versions.

在一實施例中,當該主機系統經該主機系統介面確認該記憶卡的該第一通訊協定支援該主機系統的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第一傳收端讀寫該記憶卡的該資料,當該主機系統經該主機系統介面確認該記憶卡的該第二通訊協定支援該主機系統的PCIe3.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第二傳收端讀寫該記憶卡的該資料。In one embodiment, when the host system confirms through the host system interface that the first communication protocol of the memory card supports the PCIe1.0 protocol version or PCIe2.0 protocol version of the host system, the host system uses the host system The interface and the first transmitting and receiving end of the first selector read and write the data of the memory card, when the host system confirms through the host system interface that the second communication protocol of the memory card supports PCIe3.0 of the host system Protocol version, the host system reads and writes the data of the memory card through the host system interface and the second transmitting and receiving end of the first selector.

在一實施例中,該橋接裝置更包括一非揮發性記憶體快捷協定控制器,透過該第一介面電性連接該第一選擇器,並與該主機系統介面的該第二子介面電性連接,當該記憶卡不支援該第二通訊協定的運作時,該主機系統透過該主機系統介面與該非揮發性記憶體快捷協定控制器存取該記憶卡的資料,當該記憶卡支援該第二通訊協定的運作時,該主機系統的一非揮發性記憶體快捷(NVMe)協定驅動程式透過該主機系統介面以及該第一選擇器的該第二傳收端存取該記憶卡的資料。In one embodiment, the bridge device further includes a non-volatile memory shortcut protocol controller, electrically connected to the first selector through the first interface, and electrically connected to the second sub-interface of the host system interface Connection, when the memory card does not support the operation of the second communication protocol, the host system accesses the data of the memory card through the host system interface and the non-volatile memory shortcut protocol controller, when the memory card supports the second communication protocol During the operation of the second communication protocol, a non-volatile memory shortcut (NVMe) protocol driver of the host system accesses the data of the memory card through the host system interface and the second transmitting and receiving end of the first selector.

在一實施例中,該記憶卡的該第一通訊協定定義為安全數位(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 a fast secure digital (SD Express) mode.

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

本發明之另一實施例中的讀寫控制系統,用以控制一記憶卡的資料之讀寫,該讀寫控制系統包括:一第一傳輸路徑,連接於一記憶卡介面、一橋接裝置以及一主機系統介面之間,其中該記憶卡介面用以連接該記憶卡;一第二傳輸路徑,連接於該記憶卡介面、一第二選擇器、該橋接裝置、一第一選擇器以及該主機系統介面之間;一第三傳輸路徑,連接於該記憶卡介面、該第二選擇器以及該主機系統介面之間;以及一第四傳輸路徑,連接於該記憶卡介面、該第一選擇器以及該主機系統介面之間;其中,當該記憶卡以該第一通訊協定運作時,該主機系統經該主機系統介面透過該第一傳輸路徑以與該記憶卡介面通訊並且透過該第二傳輸路徑以該第一通訊協定讀寫該記憶卡的該資料;其中,當該記憶卡以該第二通訊協定運作時,該主機系統經該主機系統介面透過該第三傳輸路徑以與該記憶卡介面通訊並且透過該第四傳輸路徑以該第二通訊協定讀寫該記憶卡的該資料。A read-write control system in another embodiment of the present invention is used to control the read and write of data on a memory card. The read-write control system includes: a first transmission path connected to a memory card interface, a bridge device, and Between a host system interface, where the memory card interface is used to connect the memory card; a second transmission path is connected to the memory card interface, a second selector, the bridge device, a first selector, and the host Between the system interfaces; a third transmission path connected between the memory card interface, the second selector and the host system interface; and a fourth transmission path connected between the memory card interface and the first selector And the host system interface; wherein, when the memory card operates with the first communication protocol, the host system communicates with the memory card interface through the host system interface through the first transmission path and through the second transmission The path uses the first communication protocol to read and write the data of the memory card; wherein, when the memory card operates with the second communication protocol, the host system communicates with the memory card through the third transmission path through the host system interface Interface communication and read and write the data of the memory card through the fourth transmission path using the second communication protocol.

在一實施例中,該主機系統介面包括一第一子介面以及一第二子介面,該橋接裝置包括一第一介面以及一第二介面,該第一選擇器包括一第一傳收端以及一第二傳收端,當該記憶卡以該第一通訊協定運作時,該主機系統經該主機系統介面以一第一觸發信號觸發該第一選擇器的該第一傳收端,以讓該記憶卡介面透過該橋接裝置以及該第一傳收端電性連接該主機系統介面的該第二子介面,該記憶卡介面亦透過該第二選擇器以及該橋接裝置電性連接該主機系統介面的該第一子介面。In one embodiment, the host system interface includes a first sub-interface and a second sub-interface, the bridge device includes a first interface and a second interface, and the first selector includes a first transmitting and receiving end and A second transmitting and receiving end. When the memory card operates under the first communication protocol, the host system triggers the first transmitting and receiving end of the first selector with a first trigger signal via the host system interface to allow The memory card interface is electrically connected to the second sub-interface of the host system interface through the bridge device and the first transmitting and receiving end, and the memory card interface is also electrically connected to the host system through the second selector and the bridge device The first sub-interface of the interface.

在一實施例中,當該記憶卡以該第二通訊協定運作時,該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶卡介面透過該第二選擇器電性連接該主機系統介面的該第一子介面,且該主機系統介面以該第一觸發信號觸發該第一選擇器的該第二傳收端,以讓該記憶卡介面透該第二傳收端電性連接該主機系統介面的該第二子介面。In one embodiment, when the memory card operates under the second communication protocol, the second interface triggers the second selector with a second trigger signal so that the memory card interface is electrically connected through the second selector The first sub-interface of the host system interface is connected, and the host system interface triggers the second transmitting and receiving end of the first selector with the first trigger signal, so that the memory card interface can pass through the second transmitting and receiving end The second sub-interface of the host system interface is electrically connected.

在一實施例中,當該記憶卡以該第二通訊協定運作時,該主機系統介面斷開該第一選擇器的該第一傳收端。In one embodiment, when the memory card operates under the second communication protocol, the host system interface disconnects the first transmitting and receiving end of the first selector.

本發明之又一實施例中的讀寫控制方法,以供一主機系統透過該讀寫控制系統讀寫一記憶卡,用於讀寫控制系統,該讀寫控制系統包括一記憶卡介面、一主機系統介面以及一控制裝置,該控制裝置包括一控制模組以及一第一選擇器,該控制模組包括一橋接裝置以及第二選擇器,該橋接裝置包括該一第一介面以及一第二介面,該主機系統介面包括一第一子介面以及一第二子介面,該第一選擇器包括一第一傳收端以及一第二傳收端,該讀寫控制方法包括下列步驟:In another embodiment of the present invention, the read-write control method is provided for a host system to read and write a memory card through the read-write control system for a read-write control system. The read-write control system includes a memory card interface, a A host system interface and a control device. The control device includes a control module and a first selector. The control module includes a bridge device and a second selector. The bridge device includes the first interface and a second selector. Interface, the host system interface includes a first sub-interface and a second sub-interface, the first selector includes a first transmitting and receiving end and a second transmitting and receiving end, the read-write control method includes the following steps:

該主機系統經該主機系統介面以一第一觸發信號觸發該第一選擇器的該第一傳收端,該主機系統經由該主機系統介面、該第一選擇器的該第一傳收端以及該控制模組電性連接該記憶卡介面;The host system triggers the first transmitting/receiving end of the first selector with a first trigger signal via the host system interface, the host system via the host system interface, the first transmitting/receiving end of the first selector, and The control module is electrically connected to the memory card interface;

偵測該記憶卡連接於該記憶卡介面,並以一第一通訊協定與該記憶卡進行連接;Detecting that the memory card is connected to the memory card interface, and connecting with the memory card using a first communication protocol;

判斷該記憶卡是否支援一第二通訊協定的運作;Determine whether the memory card supports the operation of a second communication protocol;

當判斷該記憶卡不支援該第二通訊協定的運作時,該記憶卡介面經該第二選擇器、該橋接裝置以及該第一選擇器來與該主機系統介面電性連接,使該主機系統透過該主機系統介面以該第一通訊協定讀寫該記憶卡的該資料;When it is determined that the memory card does not support the operation of the second communication protocol, the memory card interface is electrically connected to the host system interface via the second selector, the bridge device, and the first selector, so that the host system Read and write the data of the memory card through the host system interface using the first communication protocol;

當判斷該記憶卡支援該第二通訊協定運作時,該記憶卡介面經該第二選擇器來與該主機系統介面電性連接,該記憶卡介面亦經該第一選擇器來與該主機系統介面電性連接,並且該主機系統透過該主機系統介面與該控制裝置的該第一選擇器的該第二傳收端,以該第二通訊協定讀寫該記憶卡的該資料。When it is determined that the memory card supports the second communication protocol operation, the memory card interface is electrically connected to the host system interface through the second selector, and the memory card interface is also connected to the host system through the first selector The interface is electrically connected, and the host system uses the second communication protocol to read and write the data of the memory card with the second transmitting and receiving end of the first selector of the control device through the host system interface.

在一實施例中,該主機系統介面偵測出該記憶卡連接於該記憶卡介面的步驟之後,還包括該第二介面產生一第二觸發信號以觸發該第二選擇器。In one embodiment, after the host system interface detects that the memory card is connected to the memory card interface, it further includes the second interface generating a second trigger signal to trigger the second selector.

在一實施例中,偵測該記憶卡連接於該記憶卡介面的步驟之後,該主機系統透過該主機系統介面與該橋接裝置的該第一介面以及該第二介面,以該第一通訊協定啟動該記憶卡,當判斷該記憶卡支援該第二通訊協定運作之後,以該第二通訊協定啟動該記憶卡。In one embodiment, after the step of detecting that the memory card is connected to the memory card interface, the host system communicates with the first interface and the second interface of the bridge device through the host system interface, using the first communication protocol The memory card is activated, and when it is determined that the memory card supports the operation of the second communication protocol, the memory card is activated using the second communication protocol.

在一實施例中,當該記憶卡以該第二通訊協定運作時,該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶卡介面透過該第二選擇器電性連接該主機系統介面的該第一子介面。In one embodiment, when the memory card operates under the second communication protocol, the second interface triggers the second selector with a second trigger signal so that the memory card interface is electrically connected through the second selector The first sub-interface is connected to the host system interface.

在一實施例中,當該記憶卡以該第二通訊協定運作時,該主機系統透過該主機系統介面以一第一觸發信號觸發該第一選擇器的該第二傳收端,以讓該記憶卡介面透該第二傳收端電性連接該主機系統介面的該第二子介面。In one embodiment, when the memory card operates under the second communication protocol, the host system triggers the second transmitting and receiving end of the first selector with a first trigger signal through the host system interface, so that the The memory card interface is electrically connected to the second sub-interface of the host system interface through the second transmitting and receiving end.

在一實施例中,當該記憶卡以該第二通訊協定運作時,該主機系統介面斷開該第一選擇器的該第一傳收端。In one embodiment, when the memory card operates under the second communication protocol, the host system interface disconnects the first transmitting and receiving end of the first selector.

在一實施例中,該主機系統透過該主機系統介面、該第一選擇器的該第二傳收端以及該第二選擇器與該記憶卡通訊,以判斷該記憶卡是否支援該主機系統的協定版本,該協定版本包括PCIe1.0、PCIe2.0以及PCIe3.0協定版本。In one embodiment, the host system communicates with the memory card through the host system interface, the second transmitting and receiving end of the first selector, and the second selector to determine whether the memory card supports the host system Protocol version, which includes PCIe1.0, PCIe2.0 and PCIe3.0 protocol versions.

在一實施例中,當確認該記憶卡的該第一通訊協定支援該主機系統介面的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第一傳收端讀寫該記憶卡的該資料,當確認該記憶卡的該第二通訊協定支援該主機系統的PCIe3.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第二傳收端讀寫該記憶卡的該資料。In one embodiment, when it is confirmed that the first communication protocol of the memory card supports the PCIe1.0 protocol version or the PCIe2.0 protocol version of the host system interface, the host system communicates with the first selector through the host system interface When it is confirmed that the second communication protocol of the memory card supports the PCIe3.0 protocol version of the host system, the host system communicates with the first host system through the host system interface. The second transmitting and receiving end of the selector reads and writes the data of the memory card.

在一實施例中,該記憶卡的該第一通訊協定定義為安全數位(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 a fast secure digital (SD Express) mode.

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

在一實施例中,該橋接裝置更包括一非揮發性記憶體快捷協定控制器,透過該第一介面電性連接該第一選擇器,並與該主機系統介面的該第一子介面電性連接,當該記憶卡不支援該第二通訊協定的運作時,該主機系統透過該主機系統介面與該非揮發性記憶體快捷協定控制器存取該記憶卡的資料,當該記憶卡支援該第二通訊協定的運作時,該主機系統的一非揮發性記憶體快捷(NVMe)協定驅動程式透過該主機系統介面以及該第一選擇器的該第二傳收端存取該記憶卡的資料。In one embodiment, the bridge device further includes a non-volatile memory shortcut protocol controller, which is electrically connected to the first selector through the first interface, and is electrically connected to the first sub-interface of the host system interface. Connection, when the memory card does not support the operation of the second communication protocol, the host system accesses the data of the memory card through the host system interface and the non-volatile memory shortcut protocol controller, when the memory card supports the second communication protocol During the operation of the second communication protocol, a non-volatile memory shortcut (NVMe) protocol driver of the host system accesses the data of the memory card through the host system interface and the second transmitting and receiving end of the first selector.

本發明之讀寫控制系統及其方法,藉由控制裝置的控制模組以及第一選擇器,使主機系統只需透過一個介面,即可以不同的通訊協定讀寫記憶卡的資料,解決記憶卡與讀寫控制系統之間相容性的問題,並且提高記憶卡的使用彈性,同時降低讀寫控制系統的生產成本。The read-write control system and method of the present invention use the control module of the control device and the first selector, so that the host system can read and write the data of the memory card with different communication protocols through only one interface, thus solving the problem of the memory card Compatibility issues with the read-write control system, and improve the flexibility of the memory card, while reducing the production cost of the read-write control system.

請參照圖式,其中相同的元件符號代表相同的元件或是相似的元件,本發明的原理是以實施在適當的運算環境中來舉例說明。以下的說明是基於所例示的本發明具體實施例,其不應被視為限制本發明未在此詳述的其它具體實施例。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 exemplified by being implemented in a suitable computing environment. The following description is based on the illustrated specific embodiments of the present invention, which should not be regarded as limiting other specific embodiments of the present invention that are not described in detail herein.

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

如第1圖所示,該記憶卡介面101用以連接該記憶卡100。該主機系統介面102電性連接該記憶卡介面101,且該主機系統103連接該主機系統介面102。該控制裝置104連接於記憶卡介面101與主機系統介面102之間。該控制裝置104包括控制模組106以及第一選擇器108,該控制模組106電性連接該記憶卡介面101、該主機系統介面102以及該第一選擇器108,該第一選擇器108電性連接該記憶卡介面101以及該主機系統介面102。該控制模組106包括橋接裝置109以及第二選擇器114,該橋接裝置109電性連接該主機系統介面102、該記憶卡介面101以及該第一選擇器108,該第二選擇器114電性連接該主機系統介面102、該記憶卡介面101以及該橋接裝置109。其中,當該記憶卡100以第一通訊協定運作時,該記憶卡介面101經該第二選擇器114、該橋接裝置109以及該第一選擇器108來與該主機系統介面102電性連接。當該記憶卡100以第二通訊協定運作時,該記憶卡介面101經該第二選擇器114來與該主機系統介面102電性連接,該記憶卡介面101亦經該第一選擇器101來與該主機系統介面102電性連接。As shown in FIG. 1, the memory card interface 101 is used to connect the memory card 100. The host system interface 102 is electrically connected to the memory card interface 101, and the host system 103 is connected to the host system interface 102. The control device 104 is connected between the memory card interface 101 and the host system interface 102. The control device 104 includes a control module 106 and a first selector 108. The control module 106 is electrically connected to the memory card interface 101, the host system interface 102 and the first selector 108. The first selector 108 is electrically connected The memory card interface 101 and the host system interface 102 are sexually connected. The control module 106 includes a bridge device 109 and a second selector 114. The bridge device 109 is electrically connected to the host system interface 102, the memory card interface 101, and the first selector 108. The second selector 114 is electrically connected Connect the host system interface 102, the memory card interface 101 and the bridge device 109. Wherein, when the memory card 100 operates under the first communication protocol, the memory card interface 101 is electrically connected to the host system interface 102 via the second selector 114, the bridge device 109, and the first selector 108. When the memory card 100 operates under the second communication protocol, the memory card interface 101 is electrically connected to the host system interface 102 through the second selector 114, and the memory card interface 101 is also connected through the first selector 101 It is electrically connected to the host system interface 102.

如第1圖所示,在一實施例中,該主機系統103經該控制裝置104偵測出該記憶卡介面101電性連接該主機系統介面102,並以該第一通訊協定與該記憶卡100連接,以該第一通訊協定初始化或啟動(Initialization process)該記憶卡100。該初始化例如是該主機系統介面102對該記憶卡100提供運作所需要的電力,該主機系統介面102對該記憶卡100傳送運作、存取的指令,透過該記憶卡介面101以建立該主機系統介面102與該記憶卡100之間雙向通信。如第1圖所示,在一實施例中,該橋接裝置109包括第一介面110以及第二介面112。該第一介面110電性連接該主機系統介面102以及該第一選擇器108,該第二介面112電性連接該記憶卡介面101、該第一介面110以及該第二選擇器114。As shown in Figure 1, in one embodiment, the host system 103 detects that the memory card interface 101 is electrically connected to the host system interface 102 via the control device 104, and communicates with the memory card through the first communication protocol 100 is connected, and the memory card 100 is initialized or started (Initialization process) according to the first communication protocol. The initialization is, for example, that the host system interface 102 provides the power required for operation of the memory card 100, the host system interface 102 transmits operation and access commands to the memory card 100, and establishes the host system through the memory card interface 101 Two-way communication between the interface 102 and the memory card 100. As shown in FIG. 1, in one embodiment, the bridge device 109 includes a first interface 110 and a second interface 112. The first interface 110 is electrically connected to the host system interface 102 and the first selector 108, and the second interface 112 is electrically connected to the memory card interface 101, the first interface 110 and the second selector 114.

如第1圖所示,在一實施例中,當該記憶卡100以該第一通訊協定運作時,該記憶卡100的該第一通訊協定例如為安全數位(SD)模式時,該記憶卡介面101可經由該第二選擇器114、該第二介面110以及該第一介面112,並且經由該控制裝置104的該第一選擇器108,以與該主機系統介面102電性連接,其中該記憶卡介面101、該第二介面112、該第一介面110以及該主機系統介面102間的傳輸路徑定義為第一傳輸路徑P1,該記憶卡介面101、該第二選擇器114、該第二介面112、該第一介面110、該第一選擇器108以及該主機系統介面102間的傳輸路徑定義為第二傳輸路徑P2,使該主機系統介面102透過該第一傳輸路徑P1以與該記憶卡介面101通訊並且透過該第二傳輸路徑P2以該第一通訊協定讀寫該記憶卡100的該資料。在一實施例中,該主機系統介面102經該第一傳輸路徑P1偵測出該記憶卡介面101電性連接該主機系統介面102。該主機系統介面102經該第一傳輸路徑P1以該第一通訊協定對該記憶卡100初始化。在一較佳實施例中,在偵測該記憶卡100的連接過程中,該主機系統103例如是透過主機系統介面102與該橋接裝置109的該第一介面110以及該第二介面112,以該第一通訊協定初始化或啟動該記憶卡100。As shown in Fig. 1, in one embodiment, when the memory card 100 operates under the first communication protocol, and the first communication protocol of the memory card 100 is, for example, a secure digital (SD) mode, the memory card The interface 101 can be electrically connected to the host system interface 102 via the second selector 114, the second interface 110, and the first interface 112, and via the first selector 108 of the control device 104, wherein the The transmission path between the memory card interface 101, the second interface 112, the first interface 110, and the host system interface 102 is defined as a first transmission path P1, the memory card interface 101, the second selector 114, and the second The transmission path between the interface 112, the first interface 110, the first selector 108, and the host system interface 102 is defined as a second transmission path P2, so that the host system interface 102 can communicate with the memory through the first transmission path P1 The card interface 101 communicates and reads and writes the data of the memory card 100 through the second transmission path P2 using the first communication protocol. In one embodiment, the host system interface 102 detects that the memory card interface 101 is electrically connected to the host system interface 102 via the first transmission path P1. The host system interface 102 initializes the memory card 100 with the first communication protocol via the first transmission path P1. In a preferred embodiment, in the process of detecting the connection of the memory card 100, the host system 103 uses the host system interface 102 and the first interface 110 and the second interface 112 of the bridge device 109, for example, to The first communication protocol initializes or activates the memory card 100.

如第1圖所示,在一實施例中,當該記憶卡100以該第二通訊協定運作時,例如該記憶卡100的第二通訊協定為快捷安全數位(SD Express)模式時,該記憶卡介面101經由該第二選擇器114與該主機系統介面102電性連接,並且該記憶卡介面101經由該控制裝置104的該第一選擇器108,以與該主機系統介面102電性連接,其中該記憶卡介面101、該第二選擇器114以及該主機系統介面102間的傳輸路徑定義為第三傳輸路徑P3,該記憶卡介面101、該第一選擇器108以及該主機系統介面102間的傳輸路徑定義為第四傳輸路徑P4,使該主機系統介面102透過該第三傳輸路徑P3以與該記憶卡介面101通訊並且透過該第四傳輸路徑P4以該第二通訊協定讀寫該記憶卡100的該資料。其中,在判斷該記憶卡100支援該第二通訊協定運作後,本實施例例如會先以該第二通訊協定初始化或啟動(Initialization process)該記憶卡100,以再進行後續的通訊或是讀寫作業。As shown in Figure 1, in one embodiment, when the memory card 100 operates by the second communication protocol, for example, when the second communication protocol of the memory card 100 is the SD Express mode, the memory The card interface 101 is electrically connected to the host system interface 102 through the second selector 114, and the memory card interface 101 is electrically connected to the host system interface 102 through the first selector 108 of the control device 104, The transmission path between the memory card interface 101, the second selector 114 and the host system interface 102 is defined as a third transmission path P3, and the transmission path between the memory card interface 101, the first selector 108 and the host system interface 102 The transmission path is defined as the fourth transmission path P4, so that the host system interface 102 communicates with the memory card interface 101 through the third transmission path P3 and reads and writes the memory through the fourth transmission path P4 using the second communication protocol Card 100 of the information. Wherein, after determining that the memory card 100 supports the operation of the second communication protocol, in this embodiment, for example, the memory card 100 is initialized or started (Initialization process) with the second communication protocol, and then the subsequent communication or reading is performed. Write homework.

如第1圖所示,在一實施例中,記憶介面101例如是安全數位記憶卡(secure digital memory card)協定,如SD-UHS I、SD-UHS II、SD-UHS III、SD 7.0等協定版本,但不限於此。在一實施例中,該記憶卡100的該第一通訊協定定義為安全數位(SD)模式,例如是SD-UHS I、SD-UHS II、SD-UHS III協定版本。該記憶卡100的該第二通訊協定定義為快捷安全數位(SD Express)模式。該安全數位模式係為快捷安全數位模式以前的協定版本,該快捷安全數位模式係為安全數位(SD)7.0協定版本,例如是支援安全數位(SD)7.0協定版本或是之後更新的協定版本。該記憶卡100的該第一通訊協定的資料傳輸率小於該第二通訊協定的資料傳輸率。主機系統介面102例如是快捷周邊元件互聯根複合(peripheral component interconnect express (PCIe) root complex)元件,用以將處理器與記憶體連接到由一個或多個交換裝置組成的PCIe交換架構,可設置於筆記型電腦、手機、平板電腦,或是其他的處理器與記憶體連接的電子裝置中。控制裝置104例如是讀卡機的控制晶片或是控制電路,但不限於此。As shown in Figure 1, in one embodiment, the memory interface 101 is, for example, a 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. 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 a fast and secure digital (SD Express) mode. The secure digital mode is the previous protocol version of the fast secure digital mode, and the fast secure digital mode is the secure digital (SD) 7.0 protocol version, for example, it supports the secure digital (SD) 7.0 protocol version or the protocol version updated later. The data transmission rate of the first communication protocol of the memory card 100 is lower than the data transmission rate of the second communication protocol. The host system interface 102 is, for example, a peripheral component interconnect express (PCIe) root complex component, which is used to connect the processor and memory to a PCIe switching architecture composed of one or more switching devices. In notebook computers, mobile phones, tablet computers, or other electronic devices connected to the processor and memory. The control device 104 is, for example, a control chip or a control circuit of a card reader, but is not limited thereto.

如第1圖所示,在一實施例中,該主機系統介面102包括第一子介面102a以及第二子介面102b,該第一選擇器108包括第一傳收端FT以及第二傳收端ST。例如,該第一子介面102a包括快捷周邊元件互聯重設(PCI Express Reset, PERST#)信號、時脈請求運行信號(clock request, CLKREQ#)、以及參考時脈差分對信號(reference clock, REFCLK+, REFCLK-),其中快捷周邊元件互聯重設(PERST#)信號用以管理該第二子介面102b的復位運作;時脈請求運行信號(clock request, CLKREQ#)用以請求參考時脈運行;參考時脈差分對信號(reference clock, REFCLK+, REFCLK-)用以提供參考時脈。第一子介面102a電性連接於該橋接裝置109的第一介面110、以及該第二選擇器114,用以傳輸上述4個信號,包括PERST#、CLKREQ#、REFCLK+、REFCLK- 4個信號。該第二子介面102b用以執行介面裝置102與記憶卡介面101之間的資料傳送/接收(transmit/receive, TX/RX)。該第二子介面102b支援PCIe1.0、PCIe2.0以及PCIe3.0協定版本。如PCIe1.0的傳輸頻寬係為2.5GHz,如PCIe2.0的傳輸頻寬係為5.0GHz,如PCIe3.0的傳輸頻寬係為8.0GHz。第一傳收端FT例如是一低速傳收端,第二傳收端ST例如是一高速傳收端,但不以此為限,例如是第一傳收端FT與第二傳收端ST具有不同的傳輸頻寬。As shown in Figure 1, in one embodiment, the host system interface 102 includes a first sub-interface 102a and a second sub-interface 102b, and the first selector 108 includes a first transmitting and receiving end FT and a second transmitting and receiving end ST. For example, the first sub-interface 102a includes a PCI Express Reset (PERST#) signal, a clock request operation signal (clock request, CLKREQ#), and a reference clock differential pair signal (reference clock, REFCLK+) signal. , REFCLK-), where the shortcut peripheral component interconnection reset (PERST#) signal is used to manage the reset operation of the second sub-interface 102b; the clock request operation signal (clock request, CLKREQ#) is used to request the reference clock operation; The reference clock differential pair signal (reference clock, REFCLK+, REFCLK-) is used to provide the reference clock. The first sub-interface 102a is electrically connected to the first interface 110 of the bridge device 109 and the second selector 114 for transmitting the above-mentioned four signals, including PERST#, CLKREQ#, REFCLK+, and REFCLK- 4 signals. The second sub-interface 102b is used to execute data transmission/receive (TX/RX) between the interface device 102 and the memory card interface 101. The second sub-interface 102b supports PCIe1.0, PCIe2.0 and PCIe3.0 protocol versions. For example, the transmission bandwidth of PCIe1.0 is 2.5GHz, the transmission bandwidth of PCIe2.0 is 5.0GHz, and the transmission bandwidth of PCIe3.0 is 8.0GHz. The first transmitting and receiving terminal FT is, for example, a low-speed transmitting and receiving terminal, and the second transmitting and receiving terminal ST is, for example, a high-speed transmitting and receiving terminal, but not limited to this, such as the first transmitting and receiving terminal FT and the second transmitting and receiving terminal ST. Have different transmission bandwidths.

如第1圖所示,在一實施例中,當該記憶卡100以該第一通訊協定運作時,該主機系統介面102以第一觸發信號TS1觸發該第一選擇器108的該第一傳收端FT,以讓該記憶卡介面101透過該橋接裝置109以及該第一傳收端FT電性連接該主機系統介面102的該第二子介面102b,該記憶卡介面101亦透過該第二選擇器114以及該橋接裝置109電性連接該主機系統介面102的該第一子介面102a。第一傳收端FT例如是一低速傳收端,但不以此為限,例如是第一傳收端FT與第二傳收端ST具有不同的傳輸頻寬。As shown in Figure 1, in one embodiment, when the memory card 100 operates under the first communication protocol, the host system interface 102 triggers the first transfer of the first selector 108 with the first trigger signal TS1. The receiving end FT allows the memory card interface 101 to be electrically connected to the second sub-interface 102b of the host system interface 102 through the bridge device 109 and the first transmitting and receiving end FT, and the memory card interface 101 also passes through the second The selector 114 and the bridge device 109 are electrically connected to the first sub-interface 102 a of the host system interface 102. The first transmitting and receiving end FT is, for example, a low-speed transmitting and receiving end, but not limited to this. For example, the first transmitting and receiving end FT and the second transmitting and receiving end ST have different transmission bandwidths.

如第1圖所示,在一實施例中,當該記憶卡100以該第二通訊協定運作時,該橋接裝置109的第二介面112以第二觸發信號TS2觸發該第二選擇器114,以讓該記憶卡介面101透過該第二選擇器114電性連接該主機系統介面102的該第一子介面102a,且該主機系統介面102以該第一觸發信號TS1觸發該第一選擇器108的該第二傳收端ST,以讓該記憶卡介面101透該第二傳收端ST電性連接該主機系統介面102的該第二子介面102b。在一實施例中,當該記憶卡100以該第二通訊協定運作時,該主機系統介面102斷開該第一選擇器108的該第一傳收端FT。As shown in Figure 1, in one embodiment, when the memory card 100 operates under the second communication protocol, the second interface 112 of the bridge device 109 triggers the second selector 114 with a second trigger signal TS2. So that the memory card interface 101 is electrically connected to the first sub-interface 102a of the host system interface 102 through the second selector 114, and the host system interface 102 triggers the first selector 108 with the first trigger signal TS1 The second transmitting and receiving end ST of the memory card interface 101 is electrically connected to the second sub-interface 102b of the host system interface 102 through the second transmitting and receiving end ST. In one embodiment, when the memory card 100 operates under the second communication protocol, the host system interface 102 disconnects the first transmitting and receiving terminal FT of the first selector 108.

如第1圖所示,該主機系統103例如會經該主機系統介面102以透過該第一選擇器108的該第二傳收端ST以及該第二選擇器114掃描該記憶卡100,以判斷該記憶卡100是否支援該主機系統介面102的協定版本,該協定版本包括PCIe1.0、PCIe2.0以及PCIe3.0協定版本。當確認該記憶卡100的該第一通訊協定支援該主機系統介面102的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統103例如會經該主機系統介面102以透過該第一選擇器114的該第一傳收端FT讀寫該記憶卡100的該資料。當確認該記憶卡100的該第二通訊協定支援該主機系統介面102的PCIe3.0協定版本,該主機系統103例如會經該主機系統介面102以透過該第一選擇器108的該第二傳收端ST讀寫該記憶卡100的該資料。As shown in Fig. 1, the host system 103 scans the memory card 100 via the host system interface 102 through the second transmitting and receiving end ST of the first selector 108 and the second selector 114 to determine Whether the memory card 100 supports the protocol version of the host system interface 102, the protocol version includes PCIe1.0, PCIe2.0, and PCIe3.0 protocol versions. When it is confirmed that the first communication protocol of the memory card 100 supports the PCIe1.0 protocol version or the PCIe2.0 protocol version of the host system interface 102, the host system 103 will, for example, pass the host system interface 102 through the first selection The first transmitting and receiving end FT of the device 114 reads and writes the data of the memory card 100. When it is confirmed that the second communication protocol of the memory card 100 supports the PCIe3.0 protocol version of the host system interface 102, the host system 103, for example, will pass the second transmission of the first selector 108 through the host system interface 102. The receiving end ST reads and writes the data of the memory card 100.

如第1圖所示,在一實施例中,該橋接裝置109的第二介面112包括控制介面112a以及傳收介面112b,該控制介面112a連接該記憶卡介面101,該傳收介面112b連接該第二選擇器114。控制介面112a包括安全數位指令(secure digital command, SD CMD)以及安全數位時脈(secure digital clock, SD CLK)等信號,用以建立第二介面112與記憶卡介面101之間的通訊連結。傳收介面112b包括安全數位資料(secure digital data, SD DAT),例如是SD DAT 0~3,其包括4個位元,用以傳收第二介面112與記憶卡介面101之間的資料。該第二介面112的控制介面112a以及傳收介面112b分別用以轉換該主機系統介面102的該第一子介面102a以及第二子介面102b與該第一通訊協定之間的通訊以及資料傳輸格式。在一實施例中,該第二選擇器114例如多工器,但不限於此,例如以電路元件或是邏輯元件組合而成的選擇器。在一實施例中,第二介面112例如是SD-UHS I的主控制器。As shown in Figure 1, in one embodiment, the second interface 112 of the bridge device 109 includes a control interface 112a and a transmission interface 112b. The control interface 112a is connected to the memory card interface 101, and the transmission and reception interface 112b is connected to the The second selector 114. The control interface 112a includes signals such as a secure digital command (SD CMD) and a secure digital clock (SD CLK) for establishing a communication link between the second interface 112 and the memory card interface 101. The transmitting and receiving interface 112b includes secure digital data (SD DAT), such as SD DAT 0~3, which includes 4 bits for transmitting and receiving data between the second interface 112 and the memory card interface 101. The control interface 112a and the receiving interface 112b of the second interface 112 are respectively used to convert the communication and data transmission format between the first sub-interface 102a and the second sub-interface 102b of the host system interface 102 and the first communication protocol . In one embodiment, the second selector 114 is, for example, a multiplexer, but is not limited thereto, for example, a selector formed by combining circuit elements or logic elements. In one embodiment, the second interface 112 is, for example, the main controller of the SD-UHS I.

如圖1所示,在一實施例中,該讀寫控制系統用以控制一記憶卡100的資料之讀寫,該讀寫控制系統包括第一傳輸路徑P1、第二傳輸路徑P2、第三傳輸路徑P3以及第四傳輸路徑P4。該第一傳輸路徑P1連接於一記憶卡介面101、一橋接裝置109以及一主機系統介面102之間,其中該記憶卡介面101用以連接該記憶卡100。該第二傳輸路徑P2連接於該記憶卡介面101、一第二選擇器114、該橋接裝置109、一第一選擇器108以及該主機系統介面102之間。該第三傳輸路徑P3連接於該記憶卡介面101、該第二選擇器114以及該主機系統介面102之間。該第四傳輸路徑P4連接於該記憶卡介面101、該第一選擇器108以及該主機系統介面102之間。其中,當該記憶卡100以該第一通訊協定運作時,該主機系統103透過該第一傳輸路徑P1以與該記憶卡介面101通訊並且透過該第二傳輸路徑P2以該第一通訊協定讀寫該記憶卡100的該資料。其中,當該記憶卡100以該第二通訊協定運作時,該主機系統103透過該第三傳輸路徑P3以與該記憶卡介面101通訊並且透過該第四傳輸路徑P4以該第二通訊協定讀寫該記憶卡100的該資料。As shown in FIG. 1, in one embodiment, the read-write control system is used to control the reading and writing of data on a memory card 100, and the read-write control system includes a first transmission path P1, a second transmission path P2, and a third Transmission path P3 and fourth transmission path P4. The first transmission path P1 is connected between a memory card interface 101, a bridge device 109 and a host system interface 102, wherein the memory card interface 101 is used to connect the memory card 100. The second transmission path P2 is connected between the memory card interface 101, a second selector 114, the bridge device 109, a first selector 108, and the host system interface 102. The third transmission path P3 is connected between the memory card interface 101, the second selector 114 and the host system interface 102. The fourth transmission path P4 is connected between the memory card interface 101, the first selector 108 and the host system interface 102. Wherein, when the memory card 100 operates with the first communication protocol, the host system 103 communicates with the memory card interface 101 through the first transmission path P1 and reads with the first communication protocol through the second transmission path P2 Write the data of the memory card 100. Wherein, when the memory card 100 operates with the second communication protocol, the host system 103 communicates with the memory card interface 101 through the third transmission path P3 and reads with the second communication protocol through the fourth transmission path P4 Write the data of the memory card 100.

第2圖係繪示依據本發明第二實施例中讀寫控制系統之方塊圖,第2圖的讀寫控制系統類似於第1圖的讀寫控制系統,其差異在於第二介面112與第一介面110之間還設置一非揮發性記憶體快捷(NVMe)協定控制器200。當該主機系統103確認該記憶卡100支援該第一通訊協定,例如是支援該主機系統介面102的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統103經該主機系統介面102透過該第一選擇器108的該第一傳收端FT經由第一介面110、NVMe控制器200以及第二介面112讀寫該記憶卡100的該資料。當該主機系統介面102確認該記憶卡100支援該第二通訊協定,例如是支援該主機系統介面102的PCIe3.0協定版本,該主機系統103內的一非揮發性記憶體快捷(NVMe)協定驅動程式可透過該第一選擇器108的該第二傳收端ST讀寫該記憶卡100的該資料。Figure 2 is a block diagram of the read-write control system according to the second embodiment of the present invention. The read-write control system in Figure 2 is similar to the read-write control system in Figure 1. The difference lies in the second interface 112 and the first A non-volatile memory shortcut (NVMe) protocol controller 200 is also arranged between an interface 110. When the host system 103 confirms that the memory card 100 supports the first communication protocol, for example, it supports the PCIe1.0 protocol version or the PCIe2.0 protocol version of the host system interface 102, the host system 103 passes through the host system interface 102 The first transmitting and receiving terminal FT of the first selector 108 reads and writes the data of the memory card 100 via the first interface 110, the NVMe controller 200 and the second interface 112. When the host system interface 102 confirms that the memory card 100 supports the second communication protocol, for example, it supports the PCIe3.0 protocol version of the host system interface 102, a non-volatile memory shortcut (NVMe) protocol in the host system 103 The driver can read and write the data of the memory card 100 through the second transmitting and receiving end ST of the first selector 108.

根據上述,本發明之讀寫控制系統,藉由控制裝置104的控制模組106以及第一選擇器108,使主機系統103只需透過一個介面,即可支援不同的通訊協定讀寫記憶卡100的資料,解決記憶卡100與讀寫控制系統之間相容性的問題,並且提高記憶卡100的使用彈性,同時降低讀寫控制系統的生產成本。According to the above, the read-write control system of the present invention uses the control module 106 of the control device 104 and the first selector 108 so that the host system 103 can support different communication protocols to read and write the memory card 100 through only one interface. The data, which solves the compatibility problem between the memory card 100 and the read-write control system, improves the flexibility of the memory card 100, and reduces the production cost of the read-write control system.

參考第1圖以及第3圖,第3圖係繪示依據本發明第一實施例中讀寫控制方法之流程圖。該讀寫控制方法用於一讀寫控制系統,以供主機系統103透過該讀寫控制系統讀寫記憶卡100。該讀寫控制系統包括一記憶卡介面101、一主機系統介面102以及一控制裝置104,該控制裝置104包括一控制模組106以及一第一選擇器108,該控制模組106包括一第一介面110、一第二介面112以及第二選擇器114,該主機系統介面102包括一第一子介面102a以及一第二子介面102b,該第一選擇器108包括第一傳收端FT以及第二傳收端ST,該讀寫控制方法包括下列步驟:Referring to Fig. 1 and Fig. 3, Fig. 3 is a flow chart of the method for reading and writing control according to the first embodiment of the present invention. The read-write control method is used in a read-write control system for the host system 103 to read and write the memory card 100 through the read-write control system. The read-write control system includes a memory card interface 101, a host system interface 102, and a control device 104. The control device 104 includes a control module 106 and a first selector 108. The control module 106 includes a first Interface 110, a second interface 112, and a second selector 114. The host system interface 102 includes a first sub-interface 102a and a second sub-interface 102b. The first selector 108 includes a first transmitting and receiving terminal FT and a second The second transmission receiving end ST, the read-write control method includes the following steps:

在步驟S300中,該主機系統103經該主機系統介面102以第一觸發信號TS1觸發該第一選擇器108的第一傳收端FT,該主機系統103經由該主機系統介面102、該第一選擇器108的該第一傳收端FT以及該控制模組106電性連接該記憶卡介面101。In step S300, the host system 103 triggers the first transmitting and receiving end FT of the first selector 108 via the host system interface 102 with the first trigger signal TS1, and the host system 103 via the host system interface 102, the first The first transmitting and receiving end FT of the selector 108 and the control module 106 are electrically connected to the memory card interface 101.

在步驟S302中,偵測出該記憶卡100連接於該主機系統介面102以及該控制裝置104。在一實施例中,該主機系統103是以一第一通訊協定與該記憶卡100連接。In step S302, it is detected that the memory card 100 is connected to the host system interface 102 and the control device 104. In one embodiment, the host system 103 is connected to the memory card 100 using a first communication protocol.

在步驟S304中,判斷該記憶卡100是否支援一第二通訊協定的運作。In step S304, it is determined whether the memory card 100 supports the operation of a second communication protocol.

在步驟S306中,當判斷該記憶卡100不支援該第二通訊協定的運作時(即,該記憶卡100以該第一通訊協定運作),該記憶卡介面101經該第二選擇器114、該橋接裝置109以及該第一選擇器108來與該主機系統介面102電性連接,使該主機系統103透過該主機系統介面102以該第一通訊協定讀寫該記憶卡100的該資料。In step S306, when it is determined that the memory card 100 does not support the operation of the second communication protocol (that is, the memory card 100 operates under the first communication protocol), the memory card interface 101 passes through the second selector 114, The bridge device 109 and the first selector 108 are electrically connected to the host system interface 102, so that the host system 103 can read and write the data of the memory card 100 through the host system interface 102 using the first communication protocol.

在步驟S308中,當判斷該記憶卡100支援該第二通訊協定運作時,該記憶卡介面101經該第二選擇器114來與該主機系統介面102電性連接,該記憶卡介面101亦經該第一選擇器108來與該主機系統介面102電性連接,並且該主機系統103透過該主機系統介面102、該控制裝置104的該第一選擇器108的該第二傳收端ST,以該第二通訊協定讀寫該記憶卡100的該資料。In step S308, when it is determined that the memory card 100 supports the second communication protocol operation, the memory card interface 101 is electrically connected to the host system interface 102 through the second selector 114, and the memory card interface 101 is also The first selector 108 is electrically connected to the host system interface 102, and the host system 103 passes through the host system interface 102 and the second transmitting and receiving end ST of the first selector 108 of the control device 104 to The second communication protocol reads and writes the data of the memory card 100.

參考第1圖以及第4圖,第4圖係繪示依據本發明第二實施例中讀寫控制方法之流程圖。用於讀寫控制系統,該讀寫控制系統包括一記憶卡介面101、一主機系統介面102以及一控制裝置104,該控制裝置104包括一控制模組106以及一第一選擇器108,該控制模組106包括一第一介面110、一第二介面112以及第二選擇器114,該主機系統介面102包括一第一子介面102a以及一第二子介面102b,該第一選擇器108包括第一傳收端FT以及第二傳收端ST,該讀寫控制方法包括下列步驟:Referring to FIG. 1 and FIG. 4, FIG. 4 is a flowchart of a method for reading and writing control according to the second embodiment of the present invention. For a read-write control system, the read-write control system includes a memory card interface 101, a host system interface 102, and a control device 104. The control device 104 includes a control module 106 and a first selector 108. The module 106 includes a first interface 110, a second interface 112, and a second selector 114. The host system interface 102 includes a first sub-interface 102a and a second sub-interface 102b. The first selector 108 includes a first The first transmission receiving terminal FT and the second transmitting receiving terminal ST, the read-write control method includes the following steps:

在步驟S400中,主機系統103透過該主機系統介面102以第一觸發信號TS1觸發該第一選擇器108的第一傳收端FT,該主機系統介面102經由該第一選擇器108的該第一傳收端FT以及該控制模組106電性連接該記憶卡介面101。In step S400, the host system 103 triggers the first transmitting and receiving end FT of the first selector 108 through the host system interface 102 with the first trigger signal TS1, and the host system interface 102 passes through the second selector 108 of the first selector 108. The receiving terminal FT and the control module 106 are electrically connected to the memory card interface 101.

在步驟S402中,偵測該記憶卡100電性連接該記憶卡介面101。其中,本實施例例如是以該第一通訊協定與該記憶卡100進行連接。在一較佳實施例中,該控制裝置104偵測出該記憶卡100電性連接該記憶卡介面101。該控制裝置104例如可將偵測訊息傳送至該主機系統103。凡具有偵測出該記憶卡100電性連接該記憶卡介面101的動作皆屬本揭露的精神與範疇,本文在此不作任何限制。In step S402, it is detected that the memory card 100 is electrically connected to the memory card interface 101. In this embodiment, for example, the first communication protocol is used to connect with the memory card 100. In a preferred embodiment, the control device 104 detects that the memory card 100 is electrically connected to the memory card interface 101. The control device 104 can send detection messages to the host system 103, for example. Any action that detects that the memory card 100 is electrically connected to the memory card interface 101 is within the spirit and scope of this disclosure, and this article does not make any restrictions.

在步驟S404中,該第二介面112產生第二觸發信號TS2以觸發該第二選擇器114。In step S404, the second interface 112 generates a second trigger signal TS2 to trigger the second selector 114.

在步驟S406中,以該第一通訊協定初始化或啟動(Initialization process)該記憶卡100。在一實施例中,該主機系統103例如可透過該控制模組106的橋接裝置109之第一介面110以及第二介面112,以該第一通訊協定來初始化或啟動該記憶卡100。在其他實施例中,該控制模組106亦可透過橋接裝置109之第一介面110以及第二介面112,以該第一通訊協定來對該記憶卡100初始化或啟動。凡以該第一通訊協定初始化或啟動該記憶卡100的動作皆屬本揭露的精神與範疇,本文在此不作任何限制。In step S406, the memory card 100 is initialized or started (Initialization process) using the first communication protocol. In one embodiment, the host system 103 can initialize or activate the memory card 100 through the first interface 110 and the second interface 112 of the bridge device 109 of the control module 106, for example. In other embodiments, the control module 106 can also use the first communication protocol to initialize or activate the memory card 100 through the first interface 110 and the second interface 112 of the bridge device 109. Any actions to initialize or activate the memory card 100 using the first communication protocol are within the spirit and scope of the disclosure, and this article does not make any restrictions here.

在步驟S408中,判斷該記憶卡100是否支援該第二通訊協定的運作。在一實施例中,該主機系統103可經該主機系統介面102以透過該第一選擇器108的該第一傳收端FT,以判斷該記憶卡100是否支援該第二通訊協定的運作。在其他實施例中,例如可由控制模組106來判斷該記憶卡100是否支援該第二通訊協定的運作。凡判斷該記憶卡100是否支援該第二通訊協定的運作的技術皆屬本揭露的精神與範疇,本文在此不作任何限制。值得一提的是,當判斷該記憶卡100支援該第二通訊協定運作之後,亦例如會再以該第二通訊協定初始化或啟動(Initialization process)該記憶卡。In step S408, it is determined whether the memory card 100 supports the operation of the second communication protocol. In one embodiment, the host system 103 can use the host system interface 102 to determine whether the memory card 100 supports the operation of the second communication protocol through the first transmitting and receiving end FT of the first selector 108. In other embodiments, for example, the control module 106 can determine whether the memory card 100 supports the operation of the second communication protocol. Any technology for determining whether the memory card 100 supports the operation of the second communication protocol falls within the spirit and scope of this disclosure, and this article does not make any restrictions here. It is worth mentioning that, after determining that the memory card 100 supports the operation of the second communication protocol, for example, the memory card is initialized or activated (Initialization process) by the second communication protocol.

在步驟S410中,當判斷該記憶卡100支援該第二通訊協定運作時,該第二介面112以該第二觸發信號TS2觸發該第二選擇器114,以讓該記憶卡介面101透過該第二選擇器114電性連接該主機系統介面102的該第一子介面102a,在一實施例中,該第一子介面102a例如是支援PCIe3.0協定版本。In step S410, when it is determined that the memory card 100 supports the second communication protocol operation, the second interface 112 triggers the second selector 114 with the second trigger signal TS2 so that the memory card interface 101 can pass through the second The two selectors 114 are electrically connected to the first sub-interface 102a of the host system interface 102. In one embodiment, the first sub-interface 102a supports the PCIe 3.0 protocol version, for example.

在步驟S412中,當該記憶卡100以該第二通訊協定運作時,該主機系統介面102以該第一觸發信號TS1觸發該第一選擇器108該第二傳收端ST,以讓該記憶卡介面101透該第二傳收端ST電性連接該主機系統介面102的該第二子介面102b,在一實施例中,該第二子介面102b例如是支援PCIe3.0協定版本。In step S412, when the memory card 100 operates under the second communication protocol, the host system interface 102 triggers the first selector 108 and the second transmitting and receiving terminal ST with the first trigger signal TS1, so that the memory The card interface 101 is electrically connected to the second sub-interface 102b of the host system interface 102 through the second transmitting/receiving terminal ST. In one embodiment, the second sub-interface 102b supports a PCIe3.0 protocol version, for example.

在步驟S414中,當該記憶卡100以該第二通訊協定運作時,該主機系統介面102斷開該第一選擇器108的該第一傳收端FT,該第一傳收端FT例如是支援PCIe1.0以及PCIe2.0協定版本。In step S414, when the memory card 100 operates under the second communication protocol, the host system interface 102 disconnects the first transmitting and receiving end FT of the first selector 108. The first transmitting and receiving end FT is, for example, Support PCIe1.0 and PCIe2.0 protocol version.

在步驟S416中,該主機系統介面102透過該第一選擇器108的該第二傳收端ST以及該第二選擇器114的控制介面112a與該記憶卡100通訊,以判斷該記憶卡100是否支援該主機系統103的協定版本,該協定版本包括PCIe1.0、PCIe2.0以及PCIe3.0協定版本。In step S416, the host system interface 102 communicates with the memory card 100 through the second transmitting and receiving terminal ST of the first selector 108 and the control interface 112a of the second selector 114 to determine whether the memory card 100 is The protocol version of the host system 103 is supported. The protocol version includes PCIe1.0, PCIe2.0 and PCIe3.0 protocol versions.

在步驟S408之後,若判斷該記憶卡100不支援該第二通訊協定的運作,即進行步驟S418。亦即,在步驟S418中,該主機系統103經該主機系統介面102確認該記憶卡100的該第一通訊協定支援該主機系統介面102的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統介面102透過該第一選擇器108的該第一傳收端FT讀寫該記憶卡100的該資料。After step S408, if it is determined that the memory card 100 does not support the operation of the second communication protocol, step S418 is performed. That is, in step S418, the host system 103 confirms through the host system interface 102 that the first communication protocol of the memory card 100 supports the PCIe1.0 protocol version or the PCIe2.0 protocol version of the host system interface 102, and The host system interface 102 reads and writes the data of the memory card 100 through the first transmitting and receiving end FT of the first selector 108.

承上,在步驟S416時,若判斷該記憶卡100支援PCIe1.0、PCIe2.0協定版本,則進行步驟S418。相對地,若判斷該記憶卡100支援PCIe3.0協定版本,則進行步驟S420。在步驟S420中,當該主機系統介面102確認該記憶卡100的該第二通訊協定支援該主機系統介面102的PCIe3.0協定版本,該主機系統103經該主機系統介面102透過該第一選擇器108的該第二傳收端ST讀寫該記憶卡100的該資料。In addition, in step S416, if it is determined that the memory card 100 supports PCIe 1.0 and PCIe 2.0 protocol versions, step S418 is performed. In contrast, if it is determined that the memory card 100 supports the PCIe3.0 protocol version, step S420 is performed. In step S420, when the host system interface 102 confirms that the second communication protocol of the memory card 100 supports the PCIe3.0 protocol version of the host system interface 102, the host system 103 uses the host system interface 102 through the first selection The second transmitting and receiving end ST of the device 108 reads and writes the data of the memory card 100.

在一較佳實施例中,於執行步驟414之後,亦可直接執行步驟S420,以讓該主機系統介面102透過該第一選擇器108的該第二傳收端ST讀寫該記憶卡100的該資料。In a preferred embodiment, after step 414 is performed, step S420 can also be performed directly, so that the host system interface 102 can read and write the memory card 100 through the second transmitting and receiving end ST of the first selector 108 The information.

綜上所述,本發明之讀寫控制系統及其方法,藉由控制裝置的控制模組以及第一選擇器,使主機系統只需透過一個介面,即可以不同的通訊協定讀寫記憶卡的資料,解決記憶卡與讀寫控制系統之間相容性的問題,並且提高記憶卡的使用彈性,同時降低讀寫控制系統的生產成本。To sum up, the read-write control system and method of the present invention, through the control module of the control device and the first selector, enable the host system to read and write memory cards with different communication protocols through only one interface. Data, solve the compatibility problem between the memory card and the read-write control system, improve the flexibility of the memory card, and reduce the production cost of the read-write control system.

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

100:記憶卡 101:記憶卡介面 102:主機系統介面 102a:第一子介面 102b:第二子介面 103:主機系統 104:控制裝置 106:控制模組 108:第一選擇器 109:橋接裝置 110:第一介面 112:第二介面 112a:控制介面 112b:傳收介面 114:第二選擇器 200:NVMe控制器 TS1:第一觸發信號 TS2:第二觸發信號 FT:第一傳收端 ST:第二傳收端 DAT 0~3:資料 P1:第一傳輸路徑 P2:第二傳輸路徑 P3:第三傳輸路徑 P4:第四傳輸路徑 SD DAT 0~3:安全數位資料 SD CMD:安全數位指令 SD CLK:安全數位時脈 TX/RX:資料傳送/接收 PERST#:快捷周邊元件互聯重設信號 CLKREQ#:時脈請求運行信號 REFCLK+、REFCLK-:參考時脈差分對信號 S300、S302、S304、S306、S308、S400、S402、S404、S406、S408、S410、S412、S414、S416、S418、S420:步驟100: Memory card 101: Memory card interface 102: Host system interface 102a: The first sub-interface 102b: The second sub-interface 103: host system 104: control device 106: control module 108: First selector 109: Bridge device 110: First interface 112: Second interface 112a: Control interface 112b: Transmission and receiving interface 114: second selector 200: NVMe controller TS1: the first trigger signal TS2: second trigger signal FT: First pass and receive end ST: Second pass and receive end DAT 0~3: data P1: The first transmission path P2: Second transmission path P3: Third transmission path P4: Fourth transmission path SD DAT 0~3: Secure digital data SD CMD: Secure Digital Instructions SD CLK: Secure digital clock TX/RX: data transmission/reception PERST#: Quick peripheral component interconnection reset signal CLKREQ#: Clock request operation signal REFCLK+, REFCLK-: reference clock differential pair signal S300, S302, S304, S306, S308, S400, S402, S404, S406, S408, S410, S412, S414, S416, S418, S420: steps

為了更清楚地說明本發明實施例中的技術方案,下面將對實施例描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本發明的一些實施例,對於本發明所屬技術領域中具有通常知識者來講,還可以根據這些附圖獲得其他的附圖。 第1圖係繪示依據本發明第一實施例中讀寫控制系統之方塊圖。 第2圖係繪示依據本發明第二實施例中讀寫控制系統之方塊圖。 第3圖係繪示依據本發明第一實施例中讀寫控制方法之流程圖。 第4-5圖係繪示依據本發明第二實施例中讀寫控制方法之流程圖。 In order to more clearly describe the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. Those with ordinary knowledge in the technical field to which the present invention pertains can also obtain other drawings based on these drawings. Figure 1 is a block diagram of the read-write control system according to the first embodiment of the present invention. Figure 2 is a block diagram of the read-write control system according to the second embodiment of the present invention. Figure 3 is a flow chart of the method of reading and writing control according to the first embodiment of the present invention. Figures 4-5 show a flow chart of the read-write control method according to the second embodiment of the invention.

100:記憶卡 100: Memory card

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

102:主機系統介面 102: Host system interface

102a:第一子介面 102a: The first sub-interface

102b:第二子介面 102b: The second sub-interface

103:主機系統 103: host system

104:控制裝置 104: control device

106:控制模組 106: control module

108:第一選擇器 108: First selector

109:橋接裝置 109: Bridge device

110:第一介面 110: First interface

112:第二介面 112: Second interface

112a:控制介面 112a: Control interface

112b:傳收介面 112b: Transmission and receiving interface

114:第二選擇器 114: second selector

TS1:第一觸發信號 TS1: the first trigger signal

TS2:第二觸發信號 TS2: second trigger signal

FT:第一傳收端 FT: First pass and receive end

ST:第二傳收端 ST: Second pass and receive end

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

P1:第一傳輸路徑 P1: The first transmission path

P2:第二傳輸路徑 P2: Second transmission path

P3:第三傳輸路徑 P3: Third transmission path

P4:第四傳輸路徑 P4: Fourth transmission path

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

SD CMD:安全數位指令 SD CMD: Secure Digital Instructions

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

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

PERST#:快捷周邊元件互聯重設信號 PERST#: Quick peripheral component interconnection reset signal

CLKREQ#:時脈請求運行信號 CLKREQ#: Clock request operation signal

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

Claims (26)

一種讀寫控制系統,用以供一主機系統讀寫一記憶卡的資料,該讀寫控制系統包括: 一記憶卡介面,用以連接該記憶卡; 一主機系統介面,電性連接該記憶卡介面,且該主機系統連接該主機系統介面;以及 一控制裝置,包括一控制模組以及一第一選擇器,該控制模組電性連接該記憶卡介面、該主機系統介面以及該第一選擇器,該第一選擇器電性連接該記憶卡介面以及該主機系統介面,該控制模組包括: 一橋接裝置,電性連接該主機系統介面、該記憶卡介面以及該第一選擇器;以及 一第二選擇器,電性連接該主機系統介面、該記憶卡介面以及該橋接裝置; 其中,當該記憶卡以一第一通訊協定運作時,該記憶卡介面經該第二選擇器、該橋接裝置以及該第一選擇器來與該主機系統介面電性連接; 其中,當該記憶卡以一第二通訊協定運作時,該記憶卡介面經該第二選擇器來與該主機系統介面電性連接,該記憶卡介面亦經該第一選擇器來與該主機系統介面電性連接。 A read-write control system for a host system to read and write data of a memory card, the read-write control system includes: A memory card interface for connecting the memory card; A host system interface electrically connected to the memory card interface, and the host system is connected to the host system interface; and A control device includes a control module and a first selector, the control module is electrically connected to the memory card interface, the host system interface and the first selector, and the first selector is electrically connected to the memory card Interface and the host system interface, the control module includes: A bridge device electrically connected to the host system interface, the memory card interface and the first selector; and A second selector electrically connected to the host system interface, the memory card interface and the bridge device; Wherein, when the memory card operates under a first communication protocol, the memory card interface is electrically connected to the host system interface via the second selector, the bridge device and the first selector; Wherein, when the memory card operates with a second communication protocol, the memory card interface is electrically connected to the host system interface through the second selector, and the memory card interface is also electrically connected to the host system through the first selector The system interface is electrically connected. 如申請專利範圍第1項所述之讀寫控制系統,其中該控制裝置偵測該記憶卡電性連接該記憶卡介面,並預設以該第一通訊協定與該記憶卡連接,以該第一通訊協定啟動該記憶卡。For example, the read-write control system described in item 1 of the scope of patent application, wherein the control device detects that the memory card is electrically connected to the memory card interface, and is connected to the memory card by the first communication protocol by default. A communication protocol activates the memory card. 如申請專利範圍第1項所述之讀寫控制系統,其中該橋接裝置包括: 一第一介面,電性連接該主機系統介面以及該第一選擇器;以及 一第二介面,電性連接該記憶卡介面、該第一介面以及該第二選擇器; 其中,當該記憶卡以該第一通訊協定運作時,該記憶卡介面經由該第二選擇器、該第二介面以及該第一介面,並且經由該控制裝置的該第一選擇器,以與該主機系統介面電性連接,其中該記憶卡介面、該第二介面、該第一介面以及該主機系統介面間的傳輸路徑定義為一第一傳輸路徑,該記憶卡介面、該第二選擇器、該第二介面、該第一介面、該第一選擇器以及該主機系統介面間的傳輸路徑定義為一第二傳輸路徑,使該主機系統透過該第一傳輸路徑以與該記憶卡介面通訊並且透過該第二傳輸路徑以該第一通訊協定讀寫該記憶卡的該資料; 其中,當該記憶卡以該第二通訊協定運作時,該記憶卡介面經由該第二選擇器以與該主機系統介面電性連接,並且該記憶卡介面經由該控制裝置的該第一選擇器,以與該主機系統介面電性連接,其中該記憶卡介面、該第二選擇器以及該主機系統介面間的傳輸路徑定義為一第三傳輸路徑,該記憶卡介面、該第一選擇器以及該主機系統介面間的傳輸路徑定義為一第四傳輸路徑,使該主機系統透過該第三傳輸路徑以與該記憶卡介面通訊並且透過該第四傳輸路徑以該第二通訊協定讀寫該記憶卡的該資料。 The read-write control system described in item 1 of the scope of patent application, wherein the bridge device includes: A first interface electrically connected to the host system interface and the first selector; and A second interface electrically connected to the memory card interface, the first interface and the second selector; Wherein, when the memory card operates under the first communication protocol, the memory card interface passes through the second selector, the second interface, and the first interface, and passes through the first selector of the control device to communicate with The host system interface is electrically connected, wherein the transmission path between the memory card interface, the second interface, the first interface, and the host system interface is defined as a first transmission path, the memory card interface, the second selector , The transmission path between the second interface, the first interface, the first selector, and the host system interface is defined as a second transmission path, allowing the host system to communicate with the memory card interface through the first transmission path And read and write the data of the memory card through the second transmission path using the first communication protocol; Wherein, when the memory card operates under the second communication protocol, the memory card interface is electrically connected to the host system interface through the second selector, and the memory card interface is electrically connected through the first selector of the control device , To be electrically connected to the host system interface, wherein the transmission path between the memory card interface, the second selector and the host system interface is defined as a third transmission path, the memory card interface, the first selector and The transmission path between the host system interfaces is defined as a fourth transmission path, so that the host system communicates with the memory card interface through the third transmission path and reads and writes the memory through the fourth transmission path using the second communication protocol The information of the card. 如申請專利範圍第3項所述之讀寫控制系統,其中該主機系統介面包括一第一子介面以及一第二子介面,該第一選擇器包括一第一傳收端以及一第二傳收端,當該記憶卡以該第一通訊協定運作時,該主機系統透過該主機系統介面以一第一觸發信號觸發該第一選擇器的該第一傳收端,以讓該記憶卡介面透過該橋接裝置以及該第一傳收端電性連接該主機系統介面的該第二子介面,該記憶卡介面亦透過該第二選擇器以及該橋接裝置電性連接該主機系統介面的該第一子介面。As described in item 3 of the scope of patent application, the host system interface includes a first sub-interface and a second sub-interface, and the first selector includes a first transmitting and receiving terminal and a second transmitting terminal. When the memory card operates under the first communication protocol, the host system triggers the first transmitting and receiving end of the first selector with a first trigger signal through the host system interface, so that the memory card interface The second sub-interface of the host system interface is electrically connected through the bridge device and the first transmitting and receiving end, and the memory card interface is also electrically connected to the second sub-interface of the host system interface through the second selector and the bridge device. A sub-interface. 如申請專利範圍第4項所述之讀寫控制系統,其中當該記憶卡以該第二通訊協定運作時,該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶卡介面透過該第二選擇器電性連接該主機系統介面的該第一子介面,且該主機系統透過該主機系統介面以該第一觸發信號觸發該第一選擇器的該第二傳收端,以讓該記憶卡介面透該第二傳收端電性連接該主機系統介面的該第二子介面。For example, the read-write control system described in item 4 of the scope of patent application, wherein when the memory card is operated by the second communication protocol, the second interface triggers the second selector with a second trigger signal to allow the memory The card interface is electrically connected to the first sub-interface of the host system interface through the second selector, and the host system triggers the second transmitting and receiving end of the first selector with the first trigger signal through the host system interface , So that the memory card interface is electrically connected to the second sub-interface of the host system interface through the second transmitting and receiving end. 如申請專利範圍第4項所述之讀寫控制系統,其中當該記憶卡以該第二通訊協定運作時,該主機系統介面斷開該第一選擇器的該第一傳收端。For the read-write control system described in item 4 of the scope of patent application, when the memory card operates with the second communication protocol, the host system interface disconnects the first transmission and reception end of the first selector. 如申請專利範圍第4項所述之讀寫控制系統,其中該主機系統透過該主機系統介面、該第一選擇器的該第二傳收端以及該第二選擇器與該記憶卡通訊,以判斷該記憶卡是否支援該主機系統的協定版本,該協定版本包括PCIe1.0、PCIe2.0以及PCIe3.0協定版本。For the read-write control system described in item 4 of the scope of patent application, the host system communicates with the memory card through the host system interface, the second transmitting and receiving end of the first selector, and the second selector to Determine whether the memory card supports the protocol version of the host system. The protocol version includes PCIe1.0, PCIe2.0 and PCIe3.0 protocol versions. 如申請專利範圍第7項所述之讀寫控制系統,其中當該主機系統經該主機系統介面確認該記憶卡的該第一通訊協定支援該主機系統的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第一傳收端讀寫該記憶卡的該資料,當該主機系統經該主機系統介面確認該記憶卡的該第二通訊協定支援該主機系統的PCIe3.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第二傳收端讀寫該記憶卡的該資料。Such as the read-write control system described in item 7 of the scope of patent application, wherein when the host system confirms through the host system interface that the first communication protocol of the memory card supports the PCIe 1.0 protocol version or PCIe 2.0 of the host system Protocol version, the host system reads and writes the data of the memory card through the host system interface and the first transmitting and receiving end of the first selector, when the host system confirms the second of the memory card through the host system interface The communication protocol supports the PCIe3.0 protocol version of the host system, and the host system reads and writes the data of the memory card through the host system interface and the second transmitting and receiving end of the first selector. 如申請專利範圍第4項所述之讀寫控制系統,其中該橋接裝置更包括一非揮發性記憶體快捷協定控制器,透過該第一介面電性連接該第一選擇器,並與該主機系統介面的該第二子介面電性連接,當該記憶卡不支援該第二通訊協定的運作時,該主機系統透過該主機系統介面與該非揮發性記憶體快捷協定控制器存取該記憶卡的資料,當該記憶卡支援該第二通訊協定的運作時,該主機系統的一非揮發性記憶體快捷(NVMe)協定驅動程式透過該主機系統介面以及該第一選擇器的該第二傳收端存取該記憶卡的資料。The read-write control system described in item 4 of the scope of patent application, wherein the bridge device further includes a non-volatile memory shortcut protocol controller, which is electrically connected to the first selector through the first interface, and is connected to the host The second sub-interface of the system interface is electrically connected, and when the memory card does not support the operation of the second communication protocol, the host system accesses the memory card through the host system interface and the non-volatile memory shortcut protocol controller When the memory card supports the operation of the second communication protocol, a non-volatile memory shortcut (NVMe) protocol driver of the host system passes through the host system interface and the second transmission of the first selector The receiving end accesses the data of the memory card. 如申請專利範圍第1項所述之讀寫控制系統,其中該記憶卡的該第一通訊協定定義為安全數位(SD)模式,該記憶卡的該第二通訊協定定義為快捷安全數位(SD Express)模式。For example, the read-write control system described in item 1 of the scope of patent application, 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 secure digital (SD) mode. Express) mode. 如申請專利範圍第1項所述之讀寫控制系統,其中該記憶卡的該第一通訊協定的資料傳輸率小於該第二通訊協定的資料傳輸率。For the read-write control system described in item 1 of the scope of patent application, the data transmission rate of the first communication protocol of the memory card is lower than the data transmission rate of the second communication protocol. 一種讀寫控制系統,用以供一主機系統讀寫一記憶卡的資料,該讀寫控制系統包括: 一第一傳輸路徑,連接於一記憶卡介面、一橋接裝置以及一主機系統介面之間,其中該記憶卡介面用以連接該記憶卡; 一第二傳輸路徑,連接於該記憶卡介面、一第二選擇器、該橋接裝置、一第一選擇器以及該主機系統介面之間; 一第三傳輸路徑,連接於該記憶卡介面、該第二選擇器以及該主機系統介面之間;以及 一第四傳輸路徑,連接於該記憶卡介面、該第一選擇器以及該主機系統介面之間; 其中,當該記憶卡以該第一通訊協定運作時,該主機系統經該主機系統介面透過該第一傳輸路徑以與該記憶卡介面通訊並且透過該第二傳輸路徑以該第一通訊協定讀寫該記憶卡的該資料; 其中,當該記憶卡以該第二通訊協定運作時,該主機系統經該主機系統介面透過該第三傳輸路徑以與該記憶卡介面通訊並且透過該第四傳輸路徑以該第二通訊協定讀寫該記憶卡的該資料。 A read-write control system for a host system to read and write data of a memory card, the read-write control system includes: A first transmission path connected between a memory card interface, a bridge device and a host system interface, wherein the memory card interface is used for connecting the memory card; A second transmission path connected between the memory card interface, a second selector, the bridge device, a first selector, and the host system interface; A third transmission path connected between the memory card interface, the second selector and the host system interface; and A fourth transmission path connected between the memory card interface, the first selector and the host system interface; Wherein, when the memory card operates under the first communication protocol, the host system communicates with the memory card interface through the first transmission path through the host system interface and reads through the first communication protocol through the second transmission path Write the data of the memory card; Wherein, when the memory card operates under the second communication protocol, the host system communicates with the memory card interface through the third transmission path through the host system interface and reads through the second communication protocol through the fourth transmission path Write the information on the memory card. 如申請專利範圍第12項所述之讀寫控制系統,其中該主機系統介面包括一第一子介面以及一第二子介面,該橋接裝置包括一第一介面以及一第二介面,該第一選擇器包括一第一傳收端以及一第二傳收端,當該記憶卡以該第一通訊協定運作時,該主機系統經該主機系統介面以一第一觸發信號觸發該第一選擇器的該第一傳收端,以讓該記憶卡介面透過該橋接裝置以及該第一傳收端電性連接該主機系統介面的該第二子介面,該記憶卡介面亦透過該第二選擇器以及該橋接裝置電性連接該主機系統介面的該第一子介面。For the read-write control system described in claim 12, the host system interface includes a first sub-interface and a second sub-interface, the bridge device includes a first interface and a second interface, the first The selector includes a first transmitting/receiving end and a second transmitting/receiving end. When the memory card operates with the first communication protocol, the host system triggers the first selector with a first trigger signal via the host system interface The first transmitting and receiving end of the memory card interface is electrically connected to the second sub-interface of the host system interface through the bridge device and the first transmitting and receiving end, and the memory card interface is also through the second selector And the bridge device is electrically connected to the first sub-interface of the host system interface. 如申請專利範圍第13項所述之讀寫控制系統,其中當該記憶卡以該第二通訊協定運作時,該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶卡介面透過該第二選擇器電性連接該主機系統介面的該第一子介面,且該主機系統介面以該第一觸發信號觸發該第一選擇器的該第二傳收端,以讓該記憶卡介面透該第二傳收端電性連接該主機系統介面的該第二子介面。For example, in the read-write control system described in item 13 of the scope of patent application, when the memory card operates under the second communication protocol, the second interface triggers the second selector with a second trigger signal to allow the memory The card interface is electrically connected to the first sub-interface of the host system interface through the second selector, and the host system interface triggers the second transmitting and receiving end of the first selector with the first trigger signal, so that the The memory card interface is electrically connected to the second sub-interface of the host system interface through the second transmitting and receiving end. 如申請專利範圍第14項所述之讀寫控制系統,其中當該記憶卡以該第二通訊協定運作時,該主機系統介面斷開該第一選擇器的該第一傳收端。For the read-write control system described in claim 14, wherein when the memory card operates with the second communication protocol, the host system interface disconnects the first transmitting and receiving end of the first selector. 一種讀寫控制方法,用於一讀寫控制系統,以供一主機系統透過該讀寫控制系統讀寫一記憶卡,該讀寫控制系統包括一記憶卡介面、一主機系統介面以及一控制裝置,該控制裝置包括一控制模組以及一第一選擇器,該控制模組包括一橋接裝置以及第二選擇器,該橋接裝置包括該一第一介面以及一第二介面,該主機系統介面包括一第一子介面以及一第二子介面,該第一選擇器包括一第一傳收端以及一第二傳收端,該讀寫控制方法包括下列步驟: 該主機系統經該主機系統介面以一第一觸發信號觸發該第一選擇器的該第一傳收端,該主機系統經由該主機系統介面、該第一選擇器的該第一傳收端以及該控制模組電性連接該記憶卡介面; 偵測該記憶卡連接於該記憶卡介面,並以一第一通訊協定與該記憶卡進行連接; 判斷該記憶卡是否支援一第二通訊協定的運作; 當判斷該記憶卡不支援該第二通訊協定的運作時,該記憶卡介面經該第二選擇器、該橋接裝置以及該第一選擇器來與該主機系統介面電性連接,使該主機系統透過該主機系統介面以該第一通訊協定讀寫該記憶卡的該資料; 當判斷該記憶卡支援該第二通訊協定運作時,該記憶卡介面經該第二選擇器來與該主機系統介面電性連接,該記憶卡介面亦經該第一選擇器來與該主機系統介面電性連接,並且該主機系統透過該主機系統介面與該控制裝置的該第一選擇器的該第二傳收端,以該第二通訊協定讀寫該記憶卡的該資料。 A read-write control method for a read-write control system for a host system to read and write a memory card through the read-write control system. The read-write control system includes a memory card interface, a host system interface, and a control device , The control device includes a control module and a first selector, the control module includes a bridge device and a second selector, the bridge device includes the first interface and a second interface, the host system interface includes A first sub-interface and a second sub-interface. The first selector includes a first transmitting and receiving end and a second transmitting and receiving end. The read-write control method includes the following steps: The host system triggers the first transmitting/receiving end of the first selector with a first trigger signal via the host system interface, the host system via the host system interface, the first transmitting/receiving end of the first selector, and The control module is electrically connected to the memory card interface; Detecting that the memory card is connected to the memory card interface, and connecting with the memory card using a first communication protocol; Determine whether the memory card supports the operation of a second communication protocol; When it is determined that the memory card does not support the operation of the second communication protocol, the memory card interface is electrically connected to the host system interface via the second selector, the bridge device, and the first selector, so that the host system Read and write the data of the memory card through the host system interface using the first communication protocol; When it is determined that the memory card supports the second communication protocol operation, the memory card interface is electrically connected to the host system interface through the second selector, and the memory card interface is also connected to the host system through the first selector The interface is electrically connected, and the host system uses the second communication protocol to read and write the data of the memory card with the second transmitting and receiving end of the first selector of the control device through the host system interface. 如申請專利範圍第16項所述之讀寫控制方法,其中偵測出該記憶卡連接於該記憶卡介面的步驟之後,還包括該第二介面產生一第二觸發信號以觸發該第二選擇器。The read-write control method described in item 16 of the scope of patent application, wherein after the step of detecting that the memory card is connected to the memory card interface, the second interface generates a second trigger signal to trigger the second selection Device. 如申請專利範圍第17項所述之讀寫控制方法,其中偵測該記憶卡連接於該記憶卡介面的步驟之後,該主機系統透過該主機系統介面與該橋接裝置的該第一介面以及該第二介面,以該第一通訊協定啟動該記憶卡,當判斷該記憶卡支援該第二通訊協定運作之後,以該第二通訊協定啟動該記憶卡。For example, the read-write control method described in claim 17, wherein after the step of detecting that the memory card is connected to the memory card interface, the host system communicates with the first interface of the bridge device through the host system interface and the The second interface activates the memory card using the first communication protocol, and when it is determined that the memory card supports the operation of the second communication protocol, activates the memory card using the second communication protocol. 如申請專利範圍第16項所述之讀寫控制方法,其中當該記憶卡以該第二通訊協定運作時,該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶卡介面透過該第二選擇器電性連接該主機系統介面的該第一子介面。For example, the read-write control method described in item 16 of the scope of patent application, wherein when the memory card operates under the second communication protocol, the second interface triggers the second selector with a second trigger signal to allow the memory The card interface is electrically connected to the first sub-interface of the host system interface through the second selector. 如申請專利範圍第16項所述之讀寫控制方法,其中當該記憶卡以該第二通訊協定運作時,該主機系統透過該主機系統介面以一第一觸發信號觸發該第一選擇器的該第二傳收端,以讓該記憶卡介面透該第二傳收端電性連接該主機系統介面的該第二子介面。For example, in the read-write control method described in claim 16, wherein when the memory card operates with the second communication protocol, the host system uses a first trigger signal to trigger the first selector through the host system interface The second transmitting and receiving end allows the memory card interface to be electrically connected to the second sub-interface of the host system interface through the second transmitting and receiving end. 如申請專利範圍第16項所述之讀寫控制方法,其中當該記憶卡以該第二通訊協定運作時,該主機系統介面斷開該第一選擇器的該第一傳收端。For the read-write control method described in item 16 of the scope of patent application, when the memory card operates with the second communication protocol, the host system interface disconnects the first transmitting and receiving end of the first selector. 如申請專利範圍第16項所述之讀寫控制方法,其中該主機系統透過該主機系統介面、該第一選擇器的該第二傳收端以及該第二選擇器與該記憶卡通訊,以判斷該記憶卡是否支援該主機系統的協定版本,該協定版本包括PCIe1.0、PCIe2.0以及PCIe3.0協定版本。As described in the 16th item of the scope of patent application, the host system communicates with the memory card through the host system interface, the second transmitting and receiving end of the first selector, and the second selector. Determine whether the memory card supports the protocol version of the host system. The protocol version includes PCIe1.0, PCIe2.0 and PCIe3.0 protocol versions. 如申請專利範圍第22項所述之讀寫控制方法,其中當確認該記憶卡的該第一通訊協定支援該主機系統介面的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第一傳收端讀寫該記憶卡的該資料,當確認該記憶卡的該第二通訊協定支援該主機系統的PCIe3.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第二傳收端讀寫該記憶卡的該資料。Such as the read-write control method described in item 22 of the scope of patent application, wherein when it is confirmed that the first communication protocol of the memory card supports the PCIe1.0 protocol version or the PCIe2.0 protocol version of the host system interface, the host system passes The host system interface and the first transmitting and receiving end of the first selector read and write the data of the memory card. When it is confirmed that the second communication protocol of the memory card supports the PCIe3.0 protocol version of the host system, the host The system reads and writes the data of the memory card through the host system interface and the second transmitting and receiving end of the first selector. 如申請專利範圍第16項所述之讀寫控制方法,其中該記憶卡的該第一通訊協定定義為安全數位(SD)模式,該記憶卡的該第二通訊協定定義為快捷安全數位(SD Express)模式。For example, the read-write control method described in item 16 of the scope of patent application, 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 secure digital (SD) mode. Express) mode. 如申請專利範圍第16項所述之讀寫控制方法,其中該記憶卡的該第一通訊協定的資料傳輸率小於該第二通訊協定的資料傳輸率。In the read-write control method described in item 16 of the scope of patent application, the data transfer rate of the first communication protocol of the memory card is lower than the data transfer rate of the second communication protocol. 如申請專利範圍第16項所述之讀寫控制方法,其中該橋接裝置更包括一非揮發性記憶體快捷協定控制器,透過該第一介面電性連接該第一選擇器,並與該主機系統介面的該第一子介面電性連接,當該記憶卡不支援該第二通訊協定的運作時,該主機系統透過該主機系統介面與該非揮發性記憶體快捷協定控制器存取該記憶卡的資料,當該記憶卡支援該第二通訊協定的運作時,該主機系統的一非揮發性記憶體快捷(NVMe)協定驅動程式透過該主機系統介面以及該第一選擇器的該第二傳收端存取該記憶卡的資料。For the read-write control method described in claim 16, wherein the bridge device further includes a non-volatile memory shortcut protocol controller, which is electrically connected to the first selector through the first interface, and is connected to the host The first sub-interface of the system interface is electrically connected. When the memory card does not support the operation of the second communication protocol, the host system accesses the memory card through the host system interface and the non-volatile memory shortcut protocol controller When the memory card supports the operation of the second communication protocol, a non-volatile memory shortcut (NVMe) protocol driver of the host system passes through the host system interface and the second transmission of the first selector The receiving end accesses the data of the memory card.
TW108139513A 2019-10-31 2019-10-31 Control system of accessing data for memory cards and method thereof TWI717884B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
TW108139513A TWI717884B (en) 2019-10-31 2019-10-31 Control system of accessing data for memory cards and method thereof
CN202022480600.6U CN213182727U (en) 2019-10-31 2020-10-30 Read-write control system of memory card
CN202011196458.0A CN112749108A (en) 2019-10-31 2020-10-30 Read-write control system and method for memory card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108139513A TWI717884B (en) 2019-10-31 2019-10-31 Control system of accessing data for memory cards and method thereof

Publications (2)

Publication Number Publication Date
TWI717884B true TWI717884B (en) 2021-02-01
TW202119226A TW202119226A (en) 2021-05-16

Family

ID=75649245

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108139513A TWI717884B (en) 2019-10-31 2019-10-31 Control system of accessing data for memory cards and method thereof

Country Status (2)

Country Link
CN (2) CN112749108A (en)
TW (1) TWI717884B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11971838B2 (en) 2021-03-05 2024-04-30 Suzhou Bayhub Electronics Technoi Apparatuses, systems, and methods for providing communication between memory cards and host devices

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060268609A1 (en) * 2005-05-24 2006-11-30 Kyong-Ae Kim Memory card providing hardware acceleration for read operations
TWI271659B (en) * 2004-05-05 2007-01-21 Prolific Technology Inc Memory card equipped with a multi-interface function and method for choosing a compatible transmission mode
US20090164686A1 (en) * 2007-12-21 2009-06-25 Steven Theodore Sprouse Duplicate sd interface memory card controller
US20110072168A1 (en) * 2009-09-24 2011-03-24 Hongxiao Zhao Data transfer system with different operating modes
TWI431469B (en) * 2008-10-22 2014-03-21 Micro Star Int Co Ltd Can be shared with the card reader memory card slot debugging device
WO2014086085A1 (en) * 2012-12-07 2014-06-12 天津瑞发科半导体技术有限公司 Control apparatus and control method for multi-channel flash memory card
US8832719B1 (en) * 2006-11-10 2014-09-09 Marvell International Ltd. Secure digital input/output interface system
TWM592995U (en) * 2019-10-31 2020-04-01 創惟科技股份有限公司 Control system of accessing data for memory cards

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI271659B (en) * 2004-05-05 2007-01-21 Prolific Technology Inc Memory card equipped with a multi-interface function and method for choosing a compatible transmission mode
US20060268609A1 (en) * 2005-05-24 2006-11-30 Kyong-Ae Kim Memory card providing hardware acceleration for read operations
US8832719B1 (en) * 2006-11-10 2014-09-09 Marvell International Ltd. Secure digital input/output interface system
US20090164686A1 (en) * 2007-12-21 2009-06-25 Steven Theodore Sprouse Duplicate sd interface memory card controller
US7921255B2 (en) * 2007-12-21 2011-04-05 Sandisk Corporation Duplicate SD interface memory card controller
TWI431469B (en) * 2008-10-22 2014-03-21 Micro Star Int Co Ltd Can be shared with the card reader memory card slot debugging device
US20110072168A1 (en) * 2009-09-24 2011-03-24 Hongxiao Zhao Data transfer system with different operating modes
WO2014086085A1 (en) * 2012-12-07 2014-06-12 天津瑞发科半导体技术有限公司 Control apparatus and control method for multi-channel flash memory card
TWM592995U (en) * 2019-10-31 2020-04-01 創惟科技股份有限公司 Control system of accessing data for memory cards

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11971838B2 (en) 2021-03-05 2024-04-30 Suzhou Bayhub Electronics Technoi Apparatuses, systems, and methods for providing communication between memory cards and host devices

Also Published As

Publication number Publication date
TW202119226A (en) 2021-05-16
CN112749108A (en) 2021-05-04
CN213182727U (en) 2021-05-11

Similar Documents

Publication Publication Date Title
US8812758B2 (en) Mechanism to flexibly support multiple device numbers on point-to-point interconnect upstream ports
US7467249B2 (en) Efficient connection between modules of removable electronic circuit cards
CN107871524B (en) Electronic device for resetting storage device and method for operating the same
CN213069787U (en) Read-write control system of memory card
EP2704021B1 (en) SRAM handshake
CN110008151B (en) Electronic device, data transmission device and data transmission method
TWI760615B (en) Method for performing detect control of write protection command of memory device, associated control chip and associated electronic device
US20060248391A1 (en) State machine-based command line debugger
JP4937900B2 (en) Automatic configuration of the communication port as a transmitter or receiver depending on the detected transmission direction of the connected device
US20070022219A1 (en) Information processing apparatus and method for initializing flow control
TWM592995U (en) Control system of accessing data for memory cards
CN101907683B (en) Automatic circuit testing structure of I2C module in digital baseband chip and method thereof
TWM592994U (en) Control system of accessing data
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
TWM606415U (en) Control system of accessing data for memory storage
TWI746983B (en) Control system of accessing data and method thereof
TWI816046B (en) Control system of accessing data for memory storage and method thereof
US20070131767A1 (en) System and method for media card communication
US8694839B2 (en) Method and system for testing chips
US11797468B2 (en) Peripheral component interconnect express device and computing system including the same
US20080115022A1 (en) System and related method for chip i/o test
TWM619018U (en) Storage module