CN1991735A - System and method for connecting memory card - Google Patents

System and method for connecting memory card Download PDF

Info

Publication number
CN1991735A
CN1991735A CN 200610160968 CN200610160968A CN1991735A CN 1991735 A CN1991735 A CN 1991735A CN 200610160968 CN200610160968 CN 200610160968 CN 200610160968 A CN200610160968 A CN 200610160968A CN 1991735 A CN1991735 A CN 1991735A
Authority
CN
China
Prior art keywords
storage card
card
mmc
drives
path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200610160968
Other languages
Chinese (zh)
Inventor
尼尔·摩洛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
O2Micro Inc
Original Assignee
O2Micro Inc
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 O2Micro Inc filed Critical O2Micro Inc
Publication of CN1991735A publication Critical patent/CN1991735A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The present invention provides a device realized in an integrated circuit, wherein comprising a memory card reader. The memory card reader contains at least a register, wherein storing the data relative to the memory card inserted in the slot. A safe data (SD) driving can determine if the memory card is compatible by reading the register via a first path. If the inserted memory card is incompatible with the SD driving, the multimedia card (MMC) driving reads the register via a second path to determine if the memory card is compatible.

Description

A kind of system and method that connects storage card
Technical field
The present patent application system is about storage card, is specially to determine whether compatibility of a storage card and a software-driven.
Background technology
Storage card is used to mancarried electronic aid such as digital camera, Digital Video, audio player, mobile phone and personal digital assistant (PDA) etc. that storer is provided.A kind of common storage card is multimedia storage card (MMC), can store the data (such as compressed music, compressed video, high-definition picture or the like) of several GB.The storage card of another kind of type is safe digital card (a SD card), and capacity also can reach several GB.In addition, the normal permission of SD cartoon carried out write-protect to data wherein.Also have a class card to be called safe digital input-output card (SDIO card), except the memory function of SD card, this class card also has data-transformation facility.For example, some SDIO card uses the WLAN (wireless local area network) interconnect standards (802.11b) of U.S. electronic apparatus IEEE (IEEE), is also referred to as WiFi, can be used for connecting network.
Use above several card to store and retrieve data, card must be inserted the slot of shared a be connected to computer system.Comprised the instruction of permission computer system and peripheral hardware (such as storage card) communication in the software-driven.By with media card communication, department of computer science unify the application program moved in the system can with the storage card interaction (such as storage data, retrieve data or the like) of inserting in the slot.For example, the safe digital bus driver that Microsoft produces meets SDIO standard host controller specification 1.0, supports SD card and SDIO card but does not support the storage card of other type, as mmc card.
Summary of the invention
One aspect of the present invention is a kind of equipment, wherein comprises a memory card reader, realizes on an integrated circuit.This memory card reader comprises at least one register, is used for storing the data of representing the card type memory that slot inserts.This register can be driven by first path by a safe digital (SD) and read to determine whether storage card and SD driving is compatible.If incompatible, MMC drives by second path and reads this register to determine whether storage card and MMC driving is compatible.
Another aspect of the present invention is a kind of equipment, wherein comprise a memory card controller circuit, on an integrated circuit, realize.This memory card controller circuit comprises a storage card detecting device, can discern the card type memory that inserts storage card slot under the situation that need not the software input.The memory card controller circuit also comprises a register, is used to store the data of representing card type memory.Register can be driven by SD and read by first path, also can be driven by MMC and read by second path.
Another aspect of the present invention is a kind of method, its step is included in the data of the card type memory of storage representative insertion storage card slot in the register.Its step also comprises uses a software-driven to read this register by first path.Its step also comprises determines that whether SD drives and the storage card compatibility.If it is incompatible that storage card and SD drive, the step of this method comprises that also using MMC to drive reads register by second path, and second path is different from first path.The step of this method also comprises determines whether this storage card drives compatible with MMC.
Another aspect of the present invention is a kind of article, comprising storage medium, the instruction of its storage is read the back by machine and carried out following operation: the data storage that will represent the card type memory that inserts storage card slot is in a register; Use first driving to read this register by first path; Determine whether SD drives with storage card compatible; If it is incompatible with it that SD drives, to use MMC to drive and read this register by second path, second path is different from above-mentioned first path; Determine whether MMC drives with storage card compatible.
Description of drawings
The following drawings and associated description thereof have provided some embodiments of the present invention, have illustrated to realize optimal mode of the present invention.In conjunction with respective drawings, make the present invention's advantage and content apparent for those skilled in the art to the detailed description of embodiment.The present invention openly can have other embodiment, and under the prerequisite that does not deviate from the open spirit of the present invention, the present invention also allows the modification that exists on the details in all fields.Therefore, the following drawings and corresponding explanation should be considered as illustrative and non-limiting.
Figure 1 shows that a portable computer and the storage card that is used for this computer system.
Fig. 2 inserts the piece figure of the assembly of computer system shown in the storage card of slot and Fig. 1 for this.
Fig. 3 is the exemplary embodiments piece figure of memory card controller circuit among Fig. 2.
Fig. 4 is the process flow diagram of memory card controller circuit running among Fig. 3.
Fig. 5 is the piece figure of another exemplary embodiments of memory card controller circuit among Fig. 2.
Fig. 6 is the process flow diagram of memory card controller circuit running among Fig. 5.
Embodiment
Fig. 1 is a typical computer 100, can comprise that wherein a slot 102 uses for storage card 104.Except the computer system shown in the figure 100, a lot of electronic equipments all have one or more storage card slot, as the portable electric appts of digital camera, Digital Video, audio player, mobile phone, personal digital assistant (PDA) and/or other type etc.Storage card 104 has data storage function, can be with fast speeds storage and reading of data, its capacity comparatively considerable (being generally several GB).Storage card 104 may be SD card, SDIO card and/or mmc card.
Computer system 100 can be carried out one or more application programs, and these application programs can read this storage card.For example, Microsoft Outlook TMWith Microsoft Ecxel TMAll may on storage card 104, store data, perhaps retrieve data from storage card 104.But before using storage card 104, computer system 100 need be set up with storage card and be connected.So computer system 100 just need be selected a suitable software-driven for connecting storage card 104.For instance, if storage card 104 is the SD card, standard SD software-driven can be selected and use to computer system 100 just from storer.If perhaps storage card 104 is a mmc card, computer system 100 just can be used MMC software-driven and storage card 104 communications.By selecting and use suitable software-driven, computer system 100 could be stored or reading of data on SD card, SDIO card and/or mmc card.
Fig. 2 is the piece figure of portable computer system 100 among Fig. 1.Storage card 104 inserts in the slot 102.For the hardware and software component in the computer system 100 is described, system is divided into software domain 200 and hardware domain 202.Software domain 200 can comprise that application software 204, typical SD driving 206 and typical MMC drive 208.Remove in addition, software domain also can comprise other component software, as operating system and/or other software-driven (driving as SDIO).
Hardware domain 202 can comprise slot 102, and for storage card such as SD card commonly used, mmc card and/or SDIO card use.In this illustrated examples, storage card 104 can insert slot 102.Hardware domain 202 also can comprise CPU (central processing unit) (CPU) 210, core logic and bus interface circuit 212, and memory card controller circuit 214.The hardware domain 202 of computer system 100 also can comprise other assembly, for example one or more storeies (as random access memory (RAM), ROM (read-only memory) (ROM), static RAM (SRAM), dynamic RAM (DRAM) or the like) and/or other one or more memory devices (as hard disk drive, CD-ROM etc.).
In general, canned data can be supplied with software 204 and use (being carried out by CPU 210) in the storage card 104.For example, storage card 104 may provide network to connect the network that system is connected to Local Area Network, wide area network (WAN), individual territory net (PAN) or other type, also has memory function simultaneously.
Application software 204 usually can be directly and storage card 104 carry out communication.Be connected in order to set up communication with storage card 104, application software 204 can use one or more can with the software-driven of storage card 104 communications.For example, if storage card 104 is the SD card, application software 204 can use SD driving 206 to connect storage card 104.If storage card 104 is a mmc card, then can uses MMC to drive 208 and connect.
In the software-driven of using SD driving 206, MMC driving 208 and/or other type (driving) before, the type of necessary identification memory card as SDIO.Can comprise in the memory card controller circuit 214 that a logical circuit and/or a state machine circuit are used for and storage card 104 communications.Identify card type memory by Collection and analysis from the information of storage card 104, be SD card or mmc card such as identifying storage card 104.In this embodiment, CPU 210 and core logic and bus interface circuit 212 allow SD drive 206 and MMC drive 208 and read the information that memory card controller circuit 214 collects and assist the identification memory card type.
As mentioned above, card type memory can by SD drive 206 and/or MMC drive 208 and discern.In certain embodiments, memory card controller circuit 214 type of identification memory card 104 separately.After type was determined, memory card controller circuit 214 sent signal, specified corresponding driving (driving 208 such as SD driving 206, MMC) to connect with storage card 104.After using suitable driving to set up connection, application software 204 just can have been used storage card 104.
Fig. 3 is the piece figure of the exemplary embodiments of memory card controller circuit 214.In this embodiment, memory card controller circuit 214 can comprise a bus interface 300, card reader 302, a standby program register read-write path 304 and a storage card input/output circuitry 306.In this embodiment, card reader 302 can comprise that a direct memory reads (DMA) engine 3 08, one or more program register 310 and one or more data buffer 312, and control logic circuit 314.
Bus interface 300 allows to transmit data (as shown in Figure 2) between memory card controller circuit 214 and core logic and the bus interface circuit 212.Bus interface 300 can be data communication and sets up a connection at a high speed (as peripheral element expansion (PCI) interface).For with storage card 104 swap datas, contain a state machine in the control logic circuit 314, in the program register 310 storage bootable this state machine of content and media card communication.Control logic circuit 314 also can be connected in data buffer and/or the storage card input/output circuitry 306 may be compatible with memory card specifications (as SD specification or MMC specification) driving.DMA engine 3 08 and program register 310 are used for reading or write data at data buffer 312.
Storage card 104 can generate an indicator signal and be transferred to card reader 302 when inserting slot 102.In one embodiment of the invention, can in program register 310, store data and insert slot to show storage card 104.When power supply begins power supply to storage card, just write data to program register 310.Similar with it, storage card 104 can generate indicator signal equally when slot 102 is extracted.In case the indicator signal that storage card inserts writes program register 310, just notify SD to drive in 206 (shown in Figure 2) slot 102 and inserted storage card.SD drives 206 and starts working to determine whether storage card 104 is SD cards.
For determining the type of storage card 104, SD drives 206 may carry out communication by memory card controller circuit 214 and storage card 104.For example, SD drives 206 and sends one or more orders to program register 310, and these orders can be carried out under the assistance of storage card 104.SD drives 206 can be by 316 these orders of transmission of the path between bus interface 300 and the program register 310.When SD drives 206 these paths 316 of use, can use the address that has been assigned to one or more program register.By using these addresses, SD drives 206 and can give program register 310 or receive data (being the response of storage card 104) from program register 310 by special path 316 transmission data (i.e. order).Give storage card 104 and carry out these orders by transmission command, but storage card 104 return datas are given card reader 302, for example confirm type, manufacturer's information or the like.SD drives 206 and just can use the address that is assigned to program register 310 to check whether sure response is arranged by path 316.By analyzing echo message, the relevant information of SD driving 206 definite storage cards 104 such as card type memory etc.
Can't determine that storage card 104 is the SD card if SD drives 206, MMC drives 208 can attempt determining whether storage card 104 is mmc card.MMC drives 208 and at first sends one or more orders and/or data to program register 310.These orders and/or data are used to generate echo message by storage card 104 independent uses or with other assembly.The address that MMC uses when using another address that is assigned to program register, this address to be different from above-mentioned SD driving 206 by path 316 read-writes when driving 208 read-write program register 310.Realize by the standby program register read-write path 304 that is present between bus interface 300 and the program register 310 when as shown in the figure, using second address.Drive 206 similarly with SD, MMC drives 208 and determines the corresponding information of storage card such as Card Type etc. by the response of storage card 104.
MMC drives 208 and begin to attempt to determine whether storage card 104 is mmc card after following one or several incident.For example, stopped whether definite storage card 104 is the operation of SD card if SD drives 206, then MMC driving 208 is started working.Other method is that MMC driving 208 is started working when SD driving 206 stops to storage card 104 power supplies.Other method is that MMC driving 208 is started working after storage card 104 stops communication a period of time.
If SD driving 206 and MMC drive a definite storage card 104 and its compatibility are arranged in 208, then application software 204 begins by this driving reading and writing memory card.For example, determine that storage card 104 is the SD card if SD drives 206, application software 204 just drives 206 by SD and reads the data of storage in the storage card 104.Perhaps, if driving 206, SD determines that storage card 104 and MMC incompatible with it drives 208 and determine that storage cards 104 are mmc card, 204 memory functions of using storage card 104 by MMC driving 208 of application software.
Fig. 4 is the process flow diagram 400 of memory card controller circuit 214 runnings.Detecting storage card in the step 402 inserts in the slot (as slot 102).In a single day storage card inserts slot, and memory card controller circuit 214 will obtain signal, for example comprises a status register in program register 310, and this status register was activated after storage card inserted.After status register activates, independent generate or with the interrupt event of the common CPU210 of generation of other assembly.When the assembly in hardware domain 202 obtained signal, the assembly in the software domain 200 also can obtain signal when storage card 104 inserts slot.In the step 404, one or more may obtain the signal that storage card inserts slot with the software-driven of storage card compatibility.As above state, SD driving 206 and MMC drive 208 may receive this signal.Each software-driven is consulted the data of storing in the program register 310 after receiving signal.SD drives 206 and can use the address relevant with path 316 to read program register 310.MMC drives 208 and can use the address relevant with standby program register read-write path 304 to read program register 310.Also can in standby program register read-write path 304, comprise one independently the status register (not shown) be used for that the signal that storage card inserts slot is passed to MMC and drive 208.
In the step 406, SD drives 206 and determines whether the storage card that inserts drives compatible with SD.SD drives 206 may need to transmit data to storage card and/or from storage card reception data, to determine card type memory and capacity etc. in this process.SD drives 206 and can use program register 310 to control above-mentioned exchanges data.
Drive 206 compatibilities if determine storage card and SD, then in step 408, allow application software 204 to drive 206 and come reading and writing memory card by SD.In the step 410, the memory card controller electric circuit inspection is extracted from slot to storage card, all read-write storage card of application software 204 before this step.After storage card was extracted, the memory card controller circuit was got back to step 402, and this storage card inserts once more or other storage card inserts slot to detect.
If it is 206 incompatible to determine that storage card and SD drive, then SD driving 206 stops to read and write program register 310 in step 412.SD drive 206 stop read-write after, swap data no longer between storage card and the SD driving.In the step 414, whether program register 310 determines SD driving 206 terminating communication.The address that MMC can use path 316 to be correlated with when driving 208 read-write program register 310.But MMC drives 208 general addresses of using standby program register read-write path 304 to be correlated with.
Whether MMC drives the data of storage in the 208 read programmable registers 310 and determines SD driving 206 terminating communication.These data can show that system is to storage card power supply or stopped power supply.These data can show that also SD drives 206 last that use and the communication command of storage card swap data.Drive last order of 206 according to SD, MMC drive 208 can determine SD drive 206 whether with storage card 104 terminating communications.In addition, the data that receive from storage card 104 by program register 310 can judge also whether the SD driving 206 and the communication of storage card stop.In one embodiment of the invention, constant if the data of obtaining in the program register 310 are kept a period of time, judge that then communication stops.For example, storage card inserts after the slot 4 seconds, and the data that storage card 104 is transferred to program register all not have within 2 seconds to change, then judge SD driving 206 with the storage card terminating communication.
Polytype data of obtaining in the program register 310 all can be used for judging SD drive 206 whether with storage card 104 terminating communications, for example above-mentioned power supply state and/or the SD of showing drives the data of last order of 206.Other available data comprise the one or more parameters relevant with storage card 104, as bus bandwidth, or feature, as read or write speed, memory capacity or the like.Also can use other technology to judge whether communication stops, for example switch on a period of time (such as 2 seconds) afterwards, do not receive and respond or definite storage card can't be responded (non-responsive acknowledgement), then judge SD drive 206 with storage card 104 terminating communications.
Whether in the step 416, SD drives 206 and determines to have stopped reading and writing program register 310, and MMC drives 208 and begins to read and write program register 310, drive compatible with MMC to determine storage card 104.Be to determine compatiblely, MMC drives 208 needs to determine card type memory and/or memory card capacity, and the exchanges data between itself and the storage card uses program register 310 to control.Drive 208 compatibilities if determine storage card and MMC, then enter step 418, allow application software 210 to drive 208 and come reading and writing memory card 104 by MMC.Detect storage card 104 at memory card controller circuit 214 and extract slot 102 (step 410) before, application software can reading and writing memory card.Extract if detect storage card, then get back to step 402, memory card controller circuit 214 waits for that this storage card inserts once more or other storage card inserts slot 102.Similar to the above, 208 incompatible if storage card 104 and MMC drive, memory card controller circuit 214 waits for that storage cards extract (step 410) and get back to step 402 and wait for that storage card inserts.SD driving 206 and/or MMC drive 208 can be by determining with program register 310 communications whether storage card 104 has extracted slot.For example, SD drives 206 and can learn whether storage card 104 is extracted by using path 316 and program register 310 swap datas.Similar with it, thereby driving 208, MMC can learn with program register 310 communications whether storage card 104 is extracted by using standby program register read-write path 304.In another typical technology, MMC drives status register (not providing among the figure) communication of 208 and special uses to learn whether storage card 104 is extracted.
Fig. 5 is another embodiment 500 of memory card controller circuit.Similar with memory card controller circuit shown in Figure 3 214, memory card controller 500 comprises a bus interface 300, card reader 302, standby program register read-write path 304 and storage card input/output circuitry 306.In addition this, memory card controller circuit 500 also comprises a storage card detecting device 502.Similar with memory card controller circuit shown in Figure 3 214, card reader 302 comprises DMA engine 3 08, program register 310, data buffer 312 and control logic circuit 314.
Storage card detecting device 502 can determine whether the storage card 104 that inserts slot drives 208 compatibilities with SD driving 206 and/or MMC.Storage card detecting device 502 can be made above-mentioned judgement in hardware domain 202, thereby reduces or removed the input and/or the analysis operation of the assembly (driving 206 as SD, MMC driving 208 etc.) in the software domain 200.After using hardware to realize, use SD driving 206 that compatible judgement is above-mentioned relatively and/or MMC drive 208 and judge that (Fig. 3 and shown in Figure 4) speed increases.
Storage card detecting device 502 can use hardware to carry out logic determines and/or the user mode machine technology carries out exchanges data with the storage card (for example storage card 104) that inserts in the slot.By swap data, storage card detecting device 502 can determine to insert the card type memory and/or the capacity of slot.Storage card detecting device 502 may command are inserted the power supply of the storage card of slot, such as coming to slot 102 power supplies by controlling a switch closure.In addition, storage card detecting device 502 also can cover the insertion of storage card 104 and not allow card reader 302 obtain signal.Specifically, the exchanges data between storage card detecting device 502 storage cards that insert capable of blocking and the program register 310.
Type for identification memory card 104, storage card detecting device 502 can be stored some information in this locality, the memory card capacity that other software-driven (driving such as SDIO) that may comprise in the clear SD driving 206 of these information tables, MMC driving 208 and the software domain 200 is supported.If the storage card and the SD that insert drive 206 compatibilities, then storage card detecting device 502 sends a signal to program register 310, shows that storage card 104 has inserted slot 102.In addition, storage card detecting device 502 may be transferred the control of the storage card 104 that inserted to SD and drive 206.If perhaps storage card detecting device 502 determines that the storage card and the MMC that are inserted drive 208 compatibilities, storage card detecting device 502 will send data to one or more and read and write the relevant register 504 in path 304 with standby program register.In this modular design, data arrive register 504 from storage card detecting device 502 by path 506.The data that send show that promptly storage card 104 has inserted slot 102.Storage card detecting device 502 is transferred the control of storage card 104 to MMC subsequently and is driven 208.MMC driving 208 provides order to program register 310 by using standby program register read-write path 304, thereby sets up communication with storage card 104.After MMC driving 208 was set up communication with storage card 104, application software 204 just can have been used storage card.
If determine that all software-driven (SD driving 206, MMC driving 208 etc.) are all incompatible with the storage card 104 that is inserted, 502 of storage card detecting devices stop to power to storage card.After stopping power supply, the information that storage card detecting device 502 continues to stop storage card 104 to insert slot passes to card reader 302.It should be noted that, when the storage card 104 that is inserted and certain software-driven are compatible, storage card detecting device 502 also may stop to slot 102 power supplies, such as, storage card detecting device 502 stops to slot 102 power supplies before in the software-driven of control being transferred to compatibility (such as SD driving 206, MMC driving 208 etc.).Service restoration is transferred after the corresponding software-driven in control to.
Path 506 makes storage card detecting device 502 can use standby program register read-write path 304.Like this, storage card detecting device 502 can use bus interface 300 and/or program register 310 by path 506.Standby program register read-write path 304 can comprise decode logic, to be used for to the outer address of program register 310 allocations.Standby program register read-write path 304 can comprise that one or more registers (as register 506) are used for from storage card detecting device 502 acquisition of informations.For example, storage card detecting device 502 can transmit data and shows that the storage card 104 that is inserted may drive 208 compatibilities with MMC for register 506.In certain embodiments, memory card controller circuit 500 also comprises other circuit (for example control logic circuit), makes MMC drive 208 and can not use standby program register read-write path 304 and control store card 104.
Fig. 6 is the operational flowchart 600 of memory card controller circuit 500.In the step 602, storage card detecting device 502 detects storage card (as storage card 104) and inserts slot 102.When detecting storage card insertion slot, the assembly (for example SD driving 206, MMC driving 208 etc.) that storage card detecting device 502 need not in the software domain 200 is interfered and can be powered to storage card.
In the step 604, storage card detecting device 502 reads the storage card that is inserted and attempts determining its type and/or capacity.The information of the storage card that inserts in order to inquire about, storage card detecting device 502 need not that the assembly of software domain such as SD drive 206, MMC drive 208 etc. interference can with the storage card swap data.Equally, in the process of inquiry storage card information, storage card detecting device 502 does not notify assembly (as SD driving 206, the MMC driving 208 etc.) storage card of software domain 200 to insert slot.
In the step 606, the storage card that storage card detecting device 502 inserts by reading and its relevant information of inquiry determine whether the storage card that is inserted drives 206 compatibilities with SD.If storage card 104 drives 206 compatibilities with SD, then memory card controller circuit 500 enters step 608, and storage card detecting device 502 notice SD drive 206 storage cards that inserted may be compatible with it.In certain embodiments, storage card detecting device 502 transmits data in step 608 gives program register 310, makes SD drive 206 and learns that storage card 104 has inserted slot and may be compatible with it.In the step 610, after SD driving 206 obtained notice, application software 204 drove 206 by SD and uses the storage card that is inserted.Storage card 104 is extracted slot 102 in the step 612, and application software 204 all can be used storage card before this step.After storage card was extracted, application software 204 stopped reading and writing memory card, stopped simultaneously to slot 102 power supplies.Storage card detecting device 502 is extracted slot at storage card 104 and is got back to step 602 later on simultaneously, waits for that storage card inserts slot once more or other storage card inserts.
If it is 206 incompatible that storage card that is inserted and SD drive, then enter step 614, notice MMC drives 208 storage cards 104 and has inserted slot.In some method, by with data storage in register, MMC drives 208 and reads this register and finish aforesaid operations.The data of being stored show that promptly storage card 104 has inserted slot 102.In one embodiment of the invention, storage card detecting device 502 will show that storage card has inserted the data storage of slot in register 506.These data can show that also the storage card that is inserted may drive 208 compatibilities with MMC.In another embodiment, above-mentioned data storage is in other register, such as program register 310.
In the step 616, determine whether MMC driving 208 supports the storage card that is inserted.For example, behind the card type memory or capacity that storage card detecting device 502 is determined to be inserted, MMC drives 208 can determine whether it supports this storage card.If support, then enter step 618, MMC drives 208 and allows application software 204 to drive the storage card that use is inserted by MMC.MMC drives 208 can pass through program register 310 reading and writing memory cards.In the method, MMC drives 208 and uses the address that is assigned to program register, reads and writes path 504 and program register 310 interactions by standby program register.As above state, the address relevant with path 504 is different from relevant address, path 316, and the latter drives 206 for SD and is used for and the program register interaction.In another embodiment of the present invention, MMC drives 208 can be by the path of a special use and storage card 104 interactions (not shown among Fig. 5) of being inserted.This dedicated path can comprise that one or more registers and/or circuit (such as logical circuit, state machine circuit etc.) are to be used to control the storage card that is inserted.Storage card is extracted from slot 102 in the step 612, before this all read-write storage card of application software.If driving 208, MMC determines that it does not support the storage card that is inserted, then do not allow application software 204 reading and writing memory cards, storage card detecting device 502 waits for that storage cards extract (step 612) and get back to step 602 and whether detect that this storage card inserts once more or has other storage card to insert slot from slot.
One or more assemblies (shown in Figure 2) in the hardware domain 202 all can be realized by the framework of other type.In certain embodiments, nextport hardware component NextPort can be realized separately, but also two or more combination of components realize together.For example, memory card controller circuit 500 can use one or more general processors (as microprocessor) and/or one or more dedicated devices (as special IC (ASIC) etc.).Memory card controller circuit 500 can be used as a monolithic integrated optical circuit, also the integrated circuit of a distributed frame.Similar with it, one or more assembly in the memory card controller circuit 500 (such as storage card detecting device 502) all can use the integrated circuit of monolithic integrated optical circuit or distributed frame to realize.In certain embodiments, the register that comprises in the memory card controller circuit 500 (as program register 310, register 506) can reside in the storer, as RAM, ROM, SRAM etc.
One or more operations that above process flow diagram 400 is relevant with 600 can be carried out as computer program by one or more programmable processors (as microprocessor, ASCI etc.).These program implementation can comprise operation input data (as the content in the program register, the content in the storage card etc.) and generate output data (as store data etc. in program register 310).One or more operations that process flow diagram 400 is relevant with 600 also can be carried out by memory card controller circuit and/or assembly wherein (as storage card detecting device 502), and foregoing circuit and/or assembly may be realized (as FPGA (territory programmable gate array), ASIC etc.) as dedicated logic circuit.
In certain embodiments, the operation of memory card controller circuit 500 (or its assembly) may be suitable for being used as the computer program operation by universal or special microprocessor.In general, processor can receive instruction and data from storer (as ROM, RAM or the like).Therefore, memory card controller circuit 500 also can be connected to single or multiple memory devices (as disk, magnet-optical medium or CD etc.), memory card controller circuit 500 can receive data from memory device, or the transmission data give memory device (perhaps the two has concurrently) so that the storage data.The information carrier that is suitable for storage computation machine programmed instruction and data comprises nonvolatile storage medium, for example semiconductor memories such as EPROM, EEPROM and flash memory; Disk such as built-in hard disk and portable hard drive; Magneto-optic disk; CD-ROM video disc and DVD-ROM video disc or the like.
Memory card controller circuit 500 (and one or more assembly) can use digital circuit to realize, or the hardware that uses a computer, firmware, software or above various combination realize.Memory card controller circuit 500 also can be used as a kind of computer program and realizes, computer program for example, its material form is for example machine-readable memory device of visible information carrier such as RAM, ROM, hard disk drive, CD-ROM or the like, perhaps is a kind of propagable signal.This computer program can use data processing equipment to carry out, the perhaps running of control data treatment facility, for example programmable processor, computing machine or a plurality of computing machine.Computer program can use the programming language of one or more forms to write, comprise assembly language and interpreted languages, its form is also various, may be program independently, also can be that module, assembly, subroutine or other are suitable for the unit that computer environment uses.Computer program may be carried out by single computing equipment (as controller, computer system), also may or be dispersed in a plurality of computing equipments that use communication networks to couple together in a plurality of places by a plurality of computing equipments (as a plurality of controllers) in single place and carry out.
More than described a plurality of embodiment of the present invention, but the present invention obviously can there be various modifications, and be not limited to the foregoing description.Therefore, the scope that defined of appended claim book is all possible embodiment.

Claims (28)

1. an equipment is characterized in that, comprising:
A memory card reader uses integrated circuit to realize, comprising:
At least one register, be used to store the storage card information of inserting slot, this register can be driven by safe digital (SD) and read by first path, whether compatible to determine that storage card and SD drive, if it is incompatible, whether this register can be driven by multimedia card (MMC) and read by second path, drive compatible with MMC to determine storage card.
2. the equipment according to claim 1 is characterized in that, described first path is relevant with first address.
3. the equipment according to claim 2 is characterized in that, described second path is relevant with second address, is different from described first address.
4. the equipment according to claim 1 is characterized in that, described SD drives with the storage card swap data whether drive compatibility with SD with definite storage card.
5. the equipment according to claim 1 is characterized in that, described MMC drives with described storage card swap data whether drive compatibility with described MMC with definite described storage card.
6. the equipment according to claim 1 is characterized in that, judges storage card and its compatibility if SD drives, and then SD drives and allows the application software reading and writing memory card.
7. the equipment according to claim 1 is characterized in that, judges storage card and its compatibility if MMC drives, and then MMC drives and allows the application software reading and writing memory card.
8. the equipment according to claim 1 is characterized in that, and is incompatible if SD drives with storage card, and then SD drives and stops to power to storage card.
9. the equipment according to claim 1 is characterized in that, and is incompatible if SD drives with storage card, and then SD drives and stops and media card communication.
10. the equipment according to claim 1 is characterized in that, and is incompatible if MMC drives with storage card, and then MMC drives and stops to power to storage card.
11. the equipment according to claim 1 is characterized in that, described storage card is the SD card.
12. the equipment according to claim 1 is characterized in that, described storage card is safe digital I/O (SDIO) card.
13. the equipment according to claim 1 is characterized in that, described storage card is a mmc card.
14. an equipment is characterized in that, comprising:
The memory card controller circuit uses integrated circuit to realize, comprising:
A storage card detecting device is used to discern the card type memory that inserts slot, and need not software operation;
One first register is used to store the data that the card type memory of slot is inserted in representative, and this register can be driven by SD and read by first path, also can be driven by MMC and read by second path.
15. the equipment according to claim 14 is characterized in that, also comprises:
One second register is used to store the relevant data of storage card that drive compatibility with MMC.
16. the equipment according to claim 15 is characterized in that, described second register can be driven by MMC and read by second path.
17. the equipment according to claim 14 is characterized in that, described storage card and SD drive compatible, and application software can drive reading and writing memory card by SD.
18. the equipment according to claim 14 is characterized in that, described storage card and MMC drive compatible, and application software can drive reading and writing memory card by MMC.
19. the equipment according to claim 14 is characterized in that, described first path is relevant with first address.
20. the equipment according to claim 17 is characterized in that, described second path is relevant with second address, is different from first address.
21. a method is characterized in that, its step comprises:
The related data of storage card in the slot is stored on the register;
First software-driven reads register by first path;
Determine whether this storage card drives compatible with SD;
If it is incompatible that storage card and SD drive, then MMC drives and reads register by second path, and second path is different from first path;
Determine whether this storage card drives compatible with MMC.
22. the method according to claim 19 is characterized in that, its step also comprises:
If storage card and SD drive compatible, then allow application program to drive reading and writing memory card by SD.
23. the method according to claim 19 is characterized in that, its step also comprises:
If storage card and MMC drive compatible, then allow application program to drive reading and writing memory card by MMC.
24. the method according to claim 19 is characterized in that, described first path is relevant with first address.
25. the method according to claim 24 is characterized in that, described second path is relevant with second address, is different from first address.
26. article is characterized in that, comprising:
A kind of storage medium has wherein been stored instruction, when the machine reading command, produces following operation:
The storage card related data of inserting slot is stored in the register;
First driving is read register by first path;
Determine that whether SD drives and the storage card compatibility;
If it is incompatible that storage card and SD drive, MMC drives and reads register by second path, and second path is different from first path;
Determine that whether MMC drives and the storage card compatibility.
27. the article according to claim 26 is characterized in that, when described instruction is read by described machine, also produce following operation:
If storage card and SD drive compatible, then allow application program to drive reading and writing memory card by SD.
28. the article according to claim 27 is characterized in that, when described instruction is read by described machine, also produce following operation:
If storage card and MMC drive compatible, then allow application program to drive reading and writing memory card by MMC.
CN 200610160968 2005-12-06 2006-12-06 System and method for connecting memory card Pending CN1991735A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US74296005P 2005-12-06 2005-12-06
US60/742,960 2005-12-06
US11/566,471 2006-12-04

Publications (1)

Publication Number Publication Date
CN1991735A true CN1991735A (en) 2007-07-04

Family

ID=38214015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610160968 Pending CN1991735A (en) 2005-12-06 2006-12-06 System and method for connecting memory card

Country Status (1)

Country Link
CN (1) CN1991735A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699418A (en) * 2013-12-27 2014-04-02 飞天诚信科技股份有限公司 Method and device of retrieving external SD cards
CN106776383A (en) * 2016-12-28 2017-05-31 深圳市道通智能航空技术有限公司 The recognition methods of storage card, device and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699418A (en) * 2013-12-27 2014-04-02 飞天诚信科技股份有限公司 Method and device of retrieving external SD cards
CN103699418B (en) * 2013-12-27 2016-08-24 飞天诚信科技股份有限公司 A kind of method and device retrieving outside SD card
CN106776383A (en) * 2016-12-28 2017-05-31 深圳市道通智能航空技术有限公司 The recognition methods of storage card, device and electronic equipment
CN106776383B (en) * 2016-12-28 2023-07-04 深圳市道通智能航空技术股份有限公司 Memory card identification method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US7007127B2 (en) Method and related apparatus for controlling transmission interface between an external device and a computer system
US6880024B2 (en) Control system for memory storage device having two different interfaces
US8161226B2 (en) Methods and apparatus to share a thread to reclaim memory space in a non-volatile memory file system
RU2445676C2 (en) Method of communication with multifunctional memory card
CN101110039B (en) Terminal unit self-installing and self-starting system and method thereof
US8296521B2 (en) Method of configuring non-volatile memory for a hybrid disk drive
US8793795B1 (en) Computer forensic tool
US7581040B2 (en) Interface circuit, system device using the interface circuit, and data interface method, the interface circuit performing data transfer between a host and a peripheral device
US20080229005A1 (en) Multi Partitioned Storage Device Emulating Dissimilar Storage Media
CN101479707A (en) Method of configuring non-volatile memory for a hybrid disk drive
EP1785831A3 (en) Method of inheriting information identifying virtual volume and storage system using the same
CN103645945A (en) Automatic probing and drive loading method of virtual network interface card
CN1650276B (en) ATA/SATA combined controller
US8677084B2 (en) Method of configuring non-volatile memory for a hybrid disk drive
CN1262932C (en) Apparatus and method for establishing data transmission mode by recognition of inserting card
CN102609741A (en) Mobile device and method for exchange data between internal and external storage cards
CN101606136A (en) Be embodied as light storage device or/and the computer peripheral equipment of moveable magnetic disc and its implementation by software emulation
CN1516014A (en) Method for testing interconnected bus of external components
US20060265437A1 (en) Contiguous boot and resume start-up files
CN1991735A (en) System and method for connecting memory card
US20070233954A1 (en) System and Method for Interfacing to a Media Card Related Application and Technical Field
CN110109708A (en) A kind of method and its system of controller NandBoot mechanism
US20040230789A1 (en) Multi memory card accessing system and implementation method thereof
US20090248956A1 (en) Apparatus for Storing Management Information in a Computer System
CN1452354A (en) Microcomputer system for automatic back-up of data in transceiver memory medium, and transceiver

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20070704