CN100465933C - Removable electronic device and its method - Google Patents

Removable electronic device and its method Download PDF

Info

Publication number
CN100465933C
CN100465933C CNB2005100986628A CN200510098662A CN100465933C CN 100465933 C CN100465933 C CN 100465933C CN B2005100986628 A CNB2005100986628 A CN B2005100986628A CN 200510098662 A CN200510098662 A CN 200510098662A CN 100465933 C CN100465933 C CN 100465933C
Authority
CN
China
Prior art keywords
usb
pattern
mmc
compatibility
mode
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.)
Active
Application number
CNB2005100986628A
Other languages
Chinese (zh)
Other versions
CN1790305A (en
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.)
DABA ELECTRONIC Co Ltd
JIZHIRITONG CARD CO Ltd
WANGUO COMPUTER CO Ltd
XIWANG SCIENCE AND TECHNOLOGY Co Ltd
Ruicheng Science & Technology Co Ltd
Industrial Technology Research Institute ITRI
Asustek Computer Inc
Original Assignee
DABA ELECTRONIC Co Ltd
JIZHIRITONG CARD CO Ltd
WANGUO COMPUTER CO Ltd
XIWANG SCIENCE AND TECHNOLOGY Co Ltd
Ruicheng Science & Technology Co Ltd
Industrial Technology Research Institute ITRI
Asustek Computer 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 DABA ELECTRONIC Co Ltd, JIZHIRITONG CARD CO Ltd, WANGUO COMPUTER CO Ltd, XIWANG SCIENCE AND TECHNOLOGY Co Ltd, Ruicheng Science & Technology Co Ltd, Industrial Technology Research Institute ITRI, Asustek Computer Inc filed Critical DABA ELECTRONIC Co Ltd
Publication of CN1790305A publication Critical patent/CN1790305A/en
Application granted granted Critical
Publication of CN100465933C publication Critical patent/CN100465933C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

A removable electronic device includes a detector for detecting a mode of operation to distinguish among a multimedia card (MMC) compatible mode, a universal serial bus (USE) compatible mode, or a Mu mode, a wrapper for converting data for transfer between the USB compatible mode and the Mu mode, a USB physical layer circuit for transferring data compatible with the USB compatible mode, a USB compatible device controller for controlling data transfer in the USB compatible mode, and an MMC compatible device controller for controlling data transfer in the MMC compatible mode.

Description

Removable electronic device and method thereof
Technical field
The present invention relates to removable electronic device, more particularly, relate to drawing out type memory card standards and method thereof.
Background technology
Storage card is many known small-sized Portable encapsulation that contain number storage, for instance, and nonvolatile memory (for example flash memory, EPROM, EEPROM (Electrically Erasable Read Only Memory)) array.Storage card has generally become the device that is used to store from the huge data bytes such as other electronic installation of personal computer, notebook computer, personal digital assistant, mobile phone, camera and support drawing out type data memory device.
In general, storage card comprises and is positioned at its lip-deep electric contact that exposes, so that can be connected among the jack of main electronic system or device (especially portable apparatus) easily and remove among this jack.The someone designs several memory card standards, and it comprises ordered MultiMedia Card (MMC) standard of MultiMedia Card Association (MMCA) company that is positioned at California Cupertino.MMC is a kind of small-sized, drawing out type storage card, and it can be used to store and obtain the numerical information in small-sized, the low-power device.MMC has been used in many mobile electronics application, for example music player, mobile phone, PDA(Personal Digital Assistant), digital camera, sound-track engraving apparatus and GPS guide to visitors device.MMCA has developed and has adjusted its open industrywide standard, also the MMC of all kinds is defined as the industrywide standard that can cross over multiple host platform and market simultaneously.Physics and the electrical specification of MMC is published among " The MultiMediaCard System Specification ", and it is by MMCA timely replacement and bulletin.
Another kind of known drawing out type memory card standards is USB (universal serial bus) (USB), but this standard is not limited to memory storage devices.USB is a kind of high-speed serial bus, and it can support various devices, for example printer, keyboard, scanner, indicator device and PDA.USB has become a kind of standard in computing machine circle, gets because this agreement can utilize minimum connection to interconnect multiple arrangement to have very high user friendly.USB is defined by Universal Serial BusSpecification, by USB Implementers Forum, Inc. write and control, USBImplementers Forum, Inc. are the non-profit groups of being founded by a group company that is responsible for exploitation USB specification.This part specification contains all aspects of USB operation, and it comprises electrically, mechanicalness and communication feature and specification be interior.Wherein important feature of USB is that it allows peripheral unit to store and relevant information itself, and this information is provided when main frame requires.This practice can be exempted the demand that this main frame (it may be computing machine, operating system or application program) keeps this information of many different devices.Or rather, this device itself can store and provide this information.
In the evolution of storage card, we wish that storage card reduces power consumption and higher access speed is provided, and still possesses backwards-compatible ability with existing agreement (for example MMC and USB specification) simultaneously.
Summary of the invention
This paper discloses a kind of drawing out type memory card standards of novelty.Standard of the present invention comprises Detection Techniques and the compatible demand of hardware interface simultaneously.Moreover this novel standard is backwards-compatible to be used in MMC and USB.
According to the specific embodiment of the invention, a kind of removable electronic device is provided, be used to transmit data to host apparatus or certainly this host apparatus receive data, it comprises: detector, in order to survey operational mode, so that distinguish multimedia card (MMC) compatibility mode, USB (universal serial bus) (USB) compatibility mode or Mu pattern, wherein this Mu pattern is supported between this removable electronic device and this host apparatus by first USB interface, is compatible with the data transmission of USB compatibility mode; Interleaver (wrapper) transmits data in order to translation data to pass through this first USB interface in the Mu pattern; USB physical layer circuit is in order to be compatible with the data of USB compatibility mode by the transmission of second USB interface; USB compatible apparatus controller is in order to by the data transmission in this second USB interface control USB compatibility mode and by the data transmission in this first USB interface control Mu pattern; And MMC compatible apparatus controller, in order to control the data transmission in the MMC compatibility mode by the MMC compatibility interface.
Further, provide a kind of removable electronic device according to the present invention, in order to data transmission to host apparatus or this host apparatus receives data certainly, this device comprises: application module; Detector, in order to survey the wherein a kind of operational mode in the plurality of operating modes, above-mentioned these operational modes comprise USB compatibility mode, first pattern except that this USB compatibility mode and Mu pattern, wherein the Mu pattern is supported between this application module and this host apparatus by first USB interface, is compatible with the data transmission of this first pattern; Interleaver, in order to translation data suitably with in the Mu pattern by this first USB interface transmission data; USB physical layer transmission circuit is in order to be compatible with the data of USB compatibility mode by the transmission of second USB interface; And USB compatible apparatus controller, in order to by the data transmission in this first USB interface control Mu pattern and by the data transmission in this second USB interface control USB compatibility mode.
In addition, according to the present invention, provide a kind of method to allow removable electronic device survey operational mode, so that distinguish multimedia card (MMC) compatibility mode, USB (universal serial bus) (USB) compatibility mode and Mu pattern, wherein this Mu pattern is compatible with the data transmission of USB compatibility mode by the first USB interface support, this removable electronic device can transmit data to host apparatus or certainly this host apparatus receive data, this method comprises; Whether the supply voltage of judging this host apparatus place is greater than preset reset voltage level; If this supply voltage is greater than this preset reset voltage level, by the second USB interface access USB compatibility mode; Receive the command signal that sends from this host apparatus; Judge that whether this command signal is corresponding to Mu pattern form; If this command signal is corresponding to this Mu pattern form, this Mu pattern of access; And if this command signal is non-corresponding to this Mu pattern form, access MMC compatibility mode.Again, according to the present invention, provide a kind of method to allow removable electronic device survey operational mode, so that distinguish multimedia card (MMC) compatibility mode and Mu pattern, this method comprises: receive the command signal that sends from main frame; Judge that whether this command signal is corresponding to the Mu form; And just predicate the Mu pattern during corresponding to the Mu form when this command signal, otherwise just predicate the MMC compatibility mode.
Again, according to the present invention, provide a kind of method allow to take in being installed at least of removable electronic device and survey operational mode between MMC compatibility mode, USB compatibility mode and the Mu pattern, wherein this Mu pattern is compatible with the data transmission of USB compatibility mode by the first USB interface support, this removable electronic device can transmit data to this device or certainly this device receive data, this method comprises: transmission is corresponding to the command signal of Mu pattern form in taking in this removable electronic device after; Survey this removable electronic device and whether respond this command signal; If this removable electronic device does not respond the words of this command signal and determines that just this operational mode is the MMC compatibility mode; And if this removable electronic device respond this command signal words just by this first USB interface transmit data to this removable electronic device or certainly this removable electronic device receive data, wherein this first USB interface does not have USB physical layer circuit.
Further according to the present invention, the device that provides a kind of method allow to take in removable electronic device is surveyed the Mu pattern, and this method comprises; Take in removable electronic device; Transmission corresponding to the command signal of Mu form to this removable electronic device; Survey this removable electronic device and whether respond this command signal; And after responding this command signal, this removable electronic device just provides the Mu interface.
Again, according to the present invention, provide a kind of method to allow removable electronic device survey operational mode, so that distinguish first operational mode, USB compatibility operation pattern and Mu operational mode, wherein this Mu operational mode is compatible with the data transmission of USB pattern by the first USB interface support, this removable electronic device can transmit data to host apparatus or certainly this host apparatus receive data, this method comprises; Receive the command signal that sends from this host apparatus; Judge that whether this command signal is corresponding to Mu pattern form; If this command signal is corresponding to Mu pattern form, just this Mu operational mode of access; And if this command signal not corresponding to Mu pattern form, just this MMC operational mode of access.
Again, according to the present invention, provide a kind of method allow to take in being installed between first operational mode and the Mu pattern of removable electronic device and survey operational mode, this method comprises; After taking in this removable electronic device, send command signal corresponding to the Mu form; Survey this removable electronic device and whether respond this command signal; If responding the words of this command signal, this removable electronic device do not conclude that just this operational mode is first operational mode; And if the words that this removable electronic device responds this command signal just provide the Mu interface.
In explanation hereinafter, will partly propose additional features of the present invention and advantage, and from this explanation, will understand a wherein part, perhaps also can learn by carrying out the present invention.Can understand and reach characteristics of the present invention and advantage by the special element that proposes in the claim with combination.
Will be appreciated that above summary description and detailed description hereinafter all only are made for demonstration and explain the invention that it does not limit this paper is advocated.
Incorporating in this instructions and constituting the wherein a part of accompanying drawing institute of this instructions graphic is a wherein specific embodiment of the present invention, and it can be used to explain principle of the present invention together with this explanation.
Description of drawings
With reference to the accompanying drawing reading, can better understanding content that discloses previously of the present invention and hereinafter detailed description.For reaching illustration purpose of the present invention, drawing in each accompanying drawing has each preferable specific embodiment of existing genus.Should be appreciated that so the accurate row that the present invention is not limited to be painted puts mode and apparatus.
In each accompanying drawing:
Figure 1A, 1B and 1C are the functional-block diagram of the general application of the storage card of one specific embodiment according to the present invention;
Fig. 2 is for one specific embodiment is used to survey the method flow diagram of operational mode according to the present invention;
Fig. 3 is for one specific embodiment is used to survey another process flow diagram of the method for operational mode according to the present invention;
Fig. 4 A is provided with figure for the pin of the removable electronic device that one specific embodiment is advised according to the present invention;
Fig. 4 B is provided with figure for the pin of the removable electronic device that another specific embodiment is advised according to the present invention;
Fig. 5 is the synoptic diagram of the removable electronic device of one specific embodiment according to the present invention; And
Fig. 6 A and 6B are the exemplary electronic devices according to the specific embodiment of the invention.
The main element description of symbols
30 removable electronic devices
32 IF pattern detector
34 MMC Setup Controllers
35 interleavers
36 USB physical layer circuit
37 USB Setup Controllers
38 application modules
40 main frames
42 buses
100 removable electronic devices
102 recesses
104 sides adjacent
106 sides adjacent
120 removable electronic devices
122 recesses
124 depressed parts
126 depressed parts
Embodiment
For reaching task of explanation, various clear and definite details are proposed in this detailed description so that understand specific embodiments of the invention more up hill and dale.But, the person of ordinary skill in the field will find do not have above-mentioned these clear and definite details also can realize specific embodiments of the invention.In other example, can show each structure and device with the form of block scheme.Moreover the person of ordinary skill in the field can understand easily that just the performance herein and the particular order of method carried out therewith only supply the usefulness of explanation, and various variations orders are also contained in the present invention, and still drop among the spirit and category of the specific embodiment of the invention.
Figure 1A, 1B and 1C are the functional-block diagram of general application of the removable electronic device 30 of one specific embodiment according to the present invention.Electronic installation 30 (being called the Mu card temporarily) can support to be compatible with USB and MMC, CF (compact flash), SM (intelligent media) and SD (secure digital) etc. use in the operational mode of one of them at least.For instance, the USB compatibility mode comprises USB 2.0 to be used, and the MMC compatibility mode then comprises in MMC 4.0 or MMC SPI (serial-peripheral interface) application one of them.For reaching the simplification purpose, below only set forth the MMC compatibility mode in the specific embodiment.The person of ordinary skill in the field will understand that, but the present invention's equivalent application is to CF, SM, SD isotype.
Electronic installation 30 comprises 1,4,8 or 16 interface, and the low-voltage support of 5V/3.3V/1.8V can be provided, and has zero-power during standby.In addition, electronic installation 30 can be supported approximately the wide bandwidth from 50KB/s to 120MB/s.On the contrary, MMC 4.0 supports the transmission of 1,4 or 8 bit data, and maximal rate is 52MB/sec; USB 2.0 supports that then maximal rate is the data transmission of 60MB/sec.As a result, electronic installation 30 can provide high-speed applications, and possesses simultaneously at least and use relevant backwards-compatible ability with USB, MMC, MMC SPI etc.
Figure 1A is the functional-block diagram that runs on the electronic installation 30 in the USB pattern.With reference to Figure 1A, electronic installation 30 comprises interface (IF) pattern detector 32, multimedia card (MMC) Setup Controller 34, interleaver 35, USB (universal serial bus) (USB) physical layer (PHY) circuit 36, USB Setup Controller 37 and application module 38.In the time of among electronic installation 30 is inserted into main frame 40, IF pattern detector 32 can be surveyed operational mode, in order to distinguish MMC pattern, USB pattern or Mu pattern.Main frame 40 (notebook computer, personal computer (PC), mobile phone, flat computer, PDA(Personal Digital Assistant) or digital code camera (DV)/digital camera (DSC) for instance) may comprise the calculating punch (not shown) in order to take in electronic installation 30.In this specific embodiment, IF pattern detector 32 can be surveyed main frame 40 (with electronic installation 30 persons of linking to each other) and whether meet the USB specification.USB Setup Controller 37 can reportedly be failed at shared bus 42 upper domination numbers of 38 of main frame 40 and application modules by USB PHY circuit 36.Application module 38 is decided on the operational mode of detect row, can be used as storer or I/O (I/O) interface.
Figure 1B is the functional-block diagram that runs on the electronic installation 30 in the Mu pattern.With reference to Figure 1B, IF pattern detector 32 can be surveyed main frame 40 (with electronic installation 30 persons of linking to each other) and whether meet the Mu specification.The data transmission that USB Setup Controller 37 meetings passing through interleaver 35 main control systems 40 and application module are 38.Interleaver 35 can will be called out staggered certain function or program to another function or program, and this interleaver 35 can convert 16 bit data to USB Setup Controller 37 discernible serial datas, or reverse conversion.Thus, interleaver 35 is between bridge joint Mu bus and UTMI (USB 2.0Transceiver Macrocell Interface (USB 2.0 transceiver macroelement the interfaces)) bus.UTMI (it is to be developed to be used for defining above-mentioned these physical layer circuit of USB 2.0 and the interface specification of above-mentioned these logical layer circuit of part) can facilitate 480Mbps in (HS) pattern at a high speed message transmission rate, this speed can keep backwards-compatible in USB 1.1 standards again simultaneously far above the speed of USB 1.1.
Fig. 1 C is the functional-block diagram that runs on the electronic installation 30 in the MMC pattern.With reference to Fig. 1 C, IF pattern detector 32 can be surveyed main frame 40 (with electronic installation 30 persons of linking to each other) and whether meet the MMC specification.The data transmission that MMC Setup Controller 34 meeting main control systems 40 and application module are 38.MMC use comprise following one of them: 4.0,1,4 or 8 interfaces of MMC; Or MMCSPI, 1 interface.
Fig. 2 is for one specific embodiment is used to survey the method flow diagram of operational mode according to the present invention.With reference to Fig. 2,, can open main frame 40 (with electronic installation 30 persons of linking to each other) in step 50 place in device end.Can survey the supply voltage VDD of main frame 40 in step 52 place, in order to judge whether VDD is equal to or greater than USB and uses needed voltage level.Usually, USB use the voltage level range that can move approximately between 4.5V (volt) between the 5.5V, the voltage level that MMC or Mu application can move is then about 1.8V or 3.3V.In a specific embodiment wherein,, be USB 2.0 just can decide operational mode in step 54 execution if the VDD level of main frame 40 is equal to or greater than 4.4V.If the VDD level of main frame 40, can determine then that operational mode is that Mu uses or MMC uses less than 4.4V.
Then, can judge in step 56 place whether the command signal CMD0 that main frame 40 is sent is received by electronic installation 30.Can be in preset time period in step 58 place probe command signal CMD0.If surpass Preset Time, in step 60 place, just main frame 40 can be closed or " being suspended " to save power supply.If do not surpass Preset Time, just can continue to survey this command signal.When receiving orders signal, can judge just whether this command signal represents that Mu uses in step 62 place.If this command signal is not the Mu command signal, just can be that MMC uses in fixed this operational mode of step 64 execution.If determine that this command signal is the Mu command signal,, be that Mu uses just electronic installation 30 can respond main frame 40 these operational modes in step 66 place.Then, in step 68 place, electronic installation 30 can wait for that just one section Preset Time (8 frequencies for instance) is to carry out synchronously.In general, this frequency speed depends upon main frame speed and system frequency.Then, in step 70 place, electronic installation 30 just can switch to the Mu interface so that step 72 place carries out the Mu application.
Fig. 3 is for one specific embodiment is used to survey another process flow diagram of the method for operational mode according to the present invention.With reference to Fig. 3, in host side, main frame 40 can be sent to electronic installation 30 with Mu command signal Mu CMD0 in step 80 place.In step 82 place,,, be used to step 86 place and represent that this operational mode is that MMC uses just main frame 40 can send MMC command signal MMC CMD0 in step 84 place if electronic installation 30 does not send response signal.In step 82 place, if electronic installation 30 is replied the Mu response signal, just main frame 40 can send the frequency (for instance, 8 frequencies) of predetermined number in step 88 place, in order to carry out synchronously.Electronic installation 30 can switch to the Mu pattern in step 90 place.In step 92 place, electronic installation 30 can send a signal to main frame 40 according to circumstances, in order to represent Mu interface Preparation For Use.
For instance, command signal MMC CMD0 and Mu CMD0 are defined by 6 following byte formats " 40h, 00h, 00h, 00h, 00h, 95h " respectively and reach " 40h, 4Dh, 55h, BFh, B2h, AAh ".Moreover the Mu response signal then is defined by 6 following byte formats " 19h, [4 byte operational factor], FFh ".
Fig. 4 A is provided with figure for the pin of the removable electronic device that one specific embodiment is advised according to the present invention.With reference to Fig. 4 A, all pins at device end place all remain on HiZ (high impedance) state, till the operational mode between decision main frame and this removable electronic device.Concerning MMC 4.0 patterns, first pin of this removable electronic device (just, DAT 3) is to be defined by in order to MMC 4.0 mode switch are become MMC SPI pattern, and it has been defined among the MMC specification.Second pin of Mu interface modes (just, DAT 8) then is that what to be used for confirming selecting is MMC pattern or Mu interface modes.The 14 of the USB pattern then is a pair of data-signal with the 15 pin (just, D+ and D-), and it can be used to judge whether the USB pattern is selected.This is a complementary pair to data-signal (D+, D-), and wherein when one of them was in the high level place, another person just was in the low level place.SIMM (monolateral contact memory module) card is used 18,19,20 reservations of pin.Therefore, removable electronic device of the present invention can be supported MMC compliant applications, USB compliant applications and Mu interface application, and keeps the elasticity that is applicable to that SIMM uses simultaneously.
Interface protocol example of the present invention is described as follows:
1.SYNC hurdle
(1) 1-position: DAT=0b
(2) 4-position: DAT[3:0]=xxx0b
(3) 8-position: DAT[7:0]=xxxxxxx0b
(4) 16-position: DAT[15:0]=xxxxxxxxxxxxxxx0b
Wherein " x " expression and the condition of this protocol-independent.
2.PID hurdle
(1) 1-position: LSB is preferential
DAT=PID[0]PID[1]PID[2]PID[3]nPID[0]nPID[1]nPID[2]nPID[3]
(2) 4-position:
DAT[3:0]=PID[3:0]nPID[3:0]
(3) 8-position:
DAT[7:4]=PID[3:0] oppositely
DAT[3:0]=PID[3:0]
Wherein " nPID " is expressed as the reverse signal of PID.The pid data trade fair is subjected to the retrodirective mirror data protection of PID and nPID.Controller in host side and the device end should be verified the legitimacy of PID.The PID sign indicating number surely should be in the following Table 1.
Table 1 PID sign indicating number
Figure C200510098662D00161
*Annotate: the PID position shows with the MSb sequence, when transmitting on USB, at first transmits this rightmost position (position 0).
3. address, end point, CRC5 hurdle
(1) address=7, ADDR[6:0]
(2) end point=4, EndP[3:0]
(3) Token CRC=〉5, TCRC[4:0]
{ADDR[6:0]&?EndP[3]}+{EndP[2:0]&?TCRC[4:0]}
Wherein TCRC is 5 Token CRC, and the CRC on the Mu card then is an option.If start CRC, just crc check can be present in main frame and the device simultaneously.Yet, if cancellation CRC produces CRC just interleaver is necessary for the USB controller.Because preset value is cancellation CRC, thus when cancelling CRC just without any the CRC hurdle.
4.EOP hurdle
(1) 1-position: DAT0=1b
(2) 4: DAT[3:0]=xxx1b
(3) 8: DAT[7:0]=xxxxxxx1b
(4) 16: DAT[15:0]=xxxxxxxxxxxxxxx1b
Wherein condition " is ignored " in " x " expression.For solving the idol/odd byte problem in the 16 bit patterns transaction, can be in the b[15 on EOP hurdle] in adding OddByte position.If OddByte=1, DATA[15:8 so] just in last byte illegal.If OddByte=0, DATA[15:0 so] just in last word group legal.
5. marking package form
Marking package is made up of the SYNC and the EOP of 3 bytes.At least 1,4 of marking package supports and 8 bit patterns.
(1) 1: (LSB is preferential)
SYNC+PID+ADDR+ENDP+CRC5+EOP
(2) 4: DAT[3:0] }
SYNC+PID+not(PID)+A[3:0]+{ENDP[0]&?A[6:4]}+{CRC0?&ENDP[3:1]}+CRC[5:1]+EOP
(3) 8 bit patterns: DAT[7:0] }
SYNC+{not(PID)&?PID}+{EP[0]&?A[6:0]}+{TCRC[4:0]&EP[3:1]}+EOP
5.1. the initial form of frame
SYNC+{not(PID)&?PID}+{FN[10:3]}+{FN[2:0]&?TCRC[4:0]}+EOP
Wherein FN represents frame number.
6. data packet form
6.1. data field form
(i) 1: (LSB is preferential)
Figure C200510098662D0018142646QIETU
(ii) 4
Figure C200510098662D0018142732QIETU
(iii) 8
Figure C200510098662D00183
(iv) 16
Figure C200510098662D00191
Wherein 16 bit patterns only use in data packet.
6.2. data packet form
SYNC+{not(PID)&?PID}+{DAT[7:0]}*(0~1024)+{DCRC[15:8]}+{DCRC[7:0]}+EOP
Wherein DCRC is 16 polynomial data CRC:X 16+ X 15+ X 2+ 1 (SEED=800Dh)
7. hand over and hold the package form
(1) 1: (LSB is preferential)
SYNC+PID+EOP
(2) 4: DAT[3:0] }
SYNC+PID+not(PID)+EOP
(3) 8 bit patterns: DAT[7:0] }
SYNC+{not(PID)&?PID}+EOP
8. special package form
8.1. echo (Ping) form
(i) 1: (LSB is preferential)
SYNC+PID+ADDR+ENDP+CRC5+EOP
(ii) 4: DAT[3:0] }
SYNC+PID+not(PID)+A[3:0]+{ENDP[0]&?A[6:4]}+{CRC0?&?ENDP[3:1]}+CRC[5:1]+EOP
(iii) 8 bit patterns: DAT[7:0] }
SYNC+{not(PID)&PID}+{EP[0]&A[6:0]}+{TCRC[4:0]&EP[3:1]}+EOP
9. transport-type
Above-mentioned these transport-types are that the USB standard is intrinsic, and it comprises (1) control, (2) interruption, (3) gathering (Bulk) and (4) tautochronism (Isochronous).
10. signal integrity
Signal in this bus or data transmission have 3 kinds of protection kinds:
(1) PID can be subjected to the retrodirective mirror protection of PID and nPID.Wherein nPID is the reverse signal of PID.
(2) the initial meeting of marking package and frame is subjected to the CRC5 protection, and (SEED) is as follows for its polynomial expression and data source:
X5+X2+1?with?SEED=01100b
(3) data packet can be subjected to the CRC16 protection, and (SEED) is as follows for its polynomial expression and data source:
X16+X15+X2+1?with?SEED=800Dh
11. highway width and setting
This device can be provided power supply in 1 mode bus place.Main frame can set 1 (initially), 4,8 or 16 highway widths are used to the operation of place, two ends.
(1) 1: (1), special (1), data (1) are held in mark (1), friendship.
(2) 4: (4), special (4), data (4) are held in mark (4), friendship.
(3) 8: (8), special (8), data (8) are held in mark (8), friendship.
(4) 16: (8), special (8), data (16) are held in mark (8), friendship.
Fig. 4 B is provided with figure for the pin of the removable electronic device that another specific embodiment is advised according to the present invention.Being provided with different with 20 pins of 16 application shown in Fig. 4 A is that Fig. 4 B is graphic to be 3 pin settings of 8 application.The 11 of the USB pattern defines at D-and D+ respectively with the 12 pin, can be used for judging whether this USB pattern is selected.Moreover pin the 11,12, the 13rd should be used for defining at the SIMM card.
Fig. 5 is the synoptic diagram of the removable electronic device 100 of one specific embodiment according to the present invention.With reference to Fig. 5, electronic installation 100 comprises recess 102 in left upper, misplugs into electronic installation 100 in order to avoiding.In addition, recess 102 and relevant anti-parts can reach the backwards-compatible purpose that MMC and USB use, otherwise but but not so.In a mode wherein, recess 102 can be with the identical angle of essence (about 45 degree) and sides adjacent 104 and 106 crossing.
Electronic installation 100 also comprises a plurality of contact contacts that interweave 1 to 20, its correspondence be the pin shown in Fig. 4 A.The design that interweaves in above-mentioned these contact contacts allows to occur extra pin in identical area.Therefore, also can use varying number contact contact.Link to each other with memory circuit chip (not shown) in the electronic installation 100 above-mentioned these contact the contact be along front 104 and recess 102 places 20 recess places of top surface.Above-mentioned these contact contacts can be divided into first row and the secondary series.Each above-mentioned these contact contact comprises the gradually thin end of essence, cause can by they essence gradually the smalls end allow the correspondence contact contact of contact contact alignment secondary series of first row.Above-mentioned these essence gradually smalls end can contact the contact terminal of this main frame smooth-goingly.
Fig. 6 A and 6B are the synoptic diagram of the removable electronic device 120 of one specific embodiment according to the present invention.Fig. 6 A is the vertical view with electronic installation 120 of shell (unnumbered).With reference to Fig. 6 A, this shell comprises top surface, basal surface and on every side.Electronic installation 120 comprises recess 122 and is positioned at the depressed part 124 that this shell is gone up essence " U-shaped " on every side, to allow to produce the design of low clearance.In particular, depressed part 124 can allow calculating punch (not shown) in the main frame catch electronic installation 120 and via depressed part 124 fixed electronic device 120, be different from known application and utilize the bulkiness of storage card to fix its position in main frame.Thus, the design of the recess of storage card of the present invention can be reduced the consideration of storage card design, and can minimize the design of storage card.In view of the above, also can minimize calculating punch height in the main frame.
Interweave and contact the contact (unnumbered) except being arranged in first row and secondary series a plurality of, electronic installation 120 also comprises and extends across the first contact contact 128 that is listed as to secondary series.In a specific embodiment wherein, the first row contact contact contacts add up to 20 of contact with secondary series.
Fig. 6 B is the upward view of electronic installation 120.With reference to Fig. 6 B, electronic installation 120 comprises a plurality of extra depressed parts 126 on every side, in order to allow electronic installation 120 be locked to the shell at host computer side place admittedly.
The person of ordinary skill in the field should promptly understand and can change above-mentioned every specific embodiment, and unlikely inventive concepts departing from its broad sense.Therefore, should be appreciated that the present invention is not limited to the certain specific embodiments that this paper discloses, but for containing the modification project in ownership defined spirit of the present invention of claim and the scope.

Claims (22)

1. removable electronic device, be used to transmit data to host apparatus or certainly this host apparatus receive data, it is characterized in that comprising:
Detector, in order to survey operational mode, so that distinguish MMC compatibility mode, USB compatibility mode or Mu pattern, wherein this Mu pattern is supported between this removable electronic device and this host apparatus by first USB interface, is compatible with the data transmission of USB compatibility mode;
Interleaver transmits data in order to translation data to pass through this first USB interface in the Mu pattern;
USB physical layer circuit is in order to be compatible with the data of USB compatibility mode by the transmission of second USB interface;
USB compatible apparatus controller is in order to by the data transmission in this second USB interface control USB compatibility mode and by the data transmission in this first USB interface control Mu pattern; And
MMC compatible apparatus controller is in order to control the data transmission in the MMC compatibility mode by the MMC compatibility interface.
2. device according to claim 1, it is characterized in that this MMC compatibility mode comprise following one of them: MMC4.0 compatibility or MMC SPI compliant applications.
3. device according to claim 1 is characterized in that one of them that this 1,4,8 of Mu pattern support or 16 bit data are transmitted.
4. device according to claim 1 is characterized in that the data that this interleaver will be compatible with the USB pattern convert the UTMI compatibility mode to by first USB interface.
5. device according to claim 1 is characterized in that also comprising the memory module that is connected to this MMC compatible apparatus controller and this USB compatible apparatus controller.
6. device according to claim 5 is characterized in that this USB compatible apparatus controller can be in this USB compatibility mode controls data transmission between this host apparatus and this memory module by USB physical layer circuit.
7. device according to claim 5 is characterized in that this MMC compatible apparatus controller can control the data transmission between this host apparatus and this memory module in this MMC compatibility mode.
8. device according to claim 5 is characterized in that this USB compatible apparatus controller can be in this Mu pattern controls data transmission between this host apparatus and this memory module by this interleaver.
9. removable electronic device, in order to data transmission to host apparatus or this host apparatus receives data certainly, it is characterized in that this device comprises:
Application module;
Detector, in order to survey the wherein a kind of operational mode in the plurality of operating modes, above-mentioned these operational modes comprise USB compatibility mode, first pattern except that this USB compatibility mode and Mu pattern, wherein the Mu pattern is supported between this application module and this host apparatus by first USB interface, is compatible with the data transmission of this first pattern;
Interleaver, in order to translation data suitably with in the Mu pattern by this first USB interface transmission data;
USB physical layer transmission circuit is in order to be compatible with the data of USB compatibility mode by the transmission of second USB interface; And
USB compatible apparatus controller is in order to by the data transmission in this first USB interface control Mu pattern and by the data transmission in this second USB interface control USB compatibility mode.
10. device according to claim 9 is characterized in that also comprising Setup Controller, in order to the data transmission between this host apparatus of control and this application module in this first pattern.
11. device according to claim 9, it is characterized in that this first pattern comprise following one of them: MMC compatibility mode, SD pattern, CF pattern or SM pattern.
12. device according to claim 11, it is characterized in that this MMC compatibility mode comprise following one of them: MMC4.0 compatibility or MMC SPI compliant applications.
13. device according to claim 9, it is characterized in that application module comprise following one of them: storer or input/output interface.
14. method that is used for removable electronic device, this method is surveyed operational mode so that distinguish MMC compatibility mode, USB compatibility mode or Mu pattern, wherein this Mu pattern is compatible with the data transmission of USB compatibility mode by the first USB interface support, this removable electronic device can transmit data to host apparatus or certainly this host apparatus receive data, the feature of this method comprises:
Whether the supply voltage of judging this host apparatus place is greater than preset reset voltage level;
If this supply voltage is greater than this preset reset voltage level, by the second USB interface access USB compatibility mode;
Receive the command signal that sends from this host apparatus;
Judge that whether this command signal is corresponding to Mu pattern form;
If this command signal is corresponding to this Mu pattern form, this Mu pattern of access; And
If this command signal is non-corresponding to this Mu pattern form, access MMC compatibility mode.
15. method according to claim 14 is characterized in that also comprising whether detection surpasses the default time cycle.
16. method according to claim 14 is characterized in that also comprising if surpass the default time cycle, then cuts off this supply voltage.
17. method according to claim 14 is characterized in that also comprising if this command signal, waits for then that a plurality of clock signals are to carry out synchronously corresponding to this Mu pattern form.
18. method that is used to take in the device of removable electronic device, this method is surveyed operational mode, so that distinguish MMC compatibility mode, USB compatibility mode and Mu pattern, wherein this Mu pattern is compatible with the data transmission of USB compatibility mode by the first USB interface support, this removable electronic device can transmit data to this device or certainly this device receive data, the feature of this method comprises:
After taking in this removable electronic device, send a command signal corresponding to Mu pattern form;
Survey this removable electronic device and whether respond this command signal;
If this removable electronic device does not respond the words of this command signal and determines that just this operational mode is the MMC compatibility mode; And
If the words that this removable electronic device responds this command signal just by this first USB interface transmit data to this removable electronic device or certainly this removable electronic device receive data, wherein this first USB interface does not have USB physical layer circuit.
19. method according to claim 18 is characterized in that also comprising sending a plurality of clock signals to this removable electronic device, in order to carry out synchronously.
20. method according to claim 18 is characterized in that also comprising the operational mode that determines MMC SPI compatibility.
21. method that is used for removable electronic device, this method is surveyed operational mode so that distinguish first operational mode, USB compatibility operation pattern and Mu operational mode, wherein this Mu operational mode is compatible with the data transmission of USB pattern by the first USB interface support, this removable electronic device can transmit data to host apparatus or certainly this host apparatus receive data, the feature of this method comprises:
Receive the command signal that sends from this host apparatus;
Judge that whether this command signal is corresponding to Mu pattern form;
If this command signal is corresponding to Mu pattern form, just this Mu operational mode of access; And
If this command signal is corresponding to Mu pattern form, just this MMC operational mode of access.
22. method according to claim 21, it is characterized in that this first pattern comprise following one of them: MMC compatibility operation pattern, MMC SPI compatibility operation pattern, SD compatibility operation pattern, CF compatibility operation pattern or SM compatibility operation pattern.
CNB2005100986628A 2004-09-07 2005-09-07 Removable electronic device and its method Active CN100465933C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US60734404P 2004-09-07 2004-09-07
US60/607,344 2004-09-07
US11/190,233 2005-07-27

Publications (2)

Publication Number Publication Date
CN1790305A CN1790305A (en) 2006-06-21
CN100465933C true CN100465933C (en) 2009-03-04

Family

ID=36788176

Family Applications (2)

Application Number Title Priority Date Filing Date
CN 200510098665 Pending CN1831851A (en) 2004-09-07 2005-09-07 Interface for a removable electronic device
CNB2005100986628A Active CN100465933C (en) 2004-09-07 2005-09-07 Removable electronic device and its method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN 200510098665 Pending CN1831851A (en) 2004-09-07 2005-09-07 Interface for a removable electronic device

Country Status (1)

Country Link
CN (2) CN1831851A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8176214B2 (en) * 2008-10-31 2012-05-08 Silicon Image, Inc. Transmission of alternative content over standard device connectors

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452763A (en) * 2000-04-28 2003-10-29 株式会社日立制作所 IC card
US20030233501A1 (en) * 2002-06-18 2003-12-18 Kingbyte Information Corp. Device for transferring from a memory card interface to a universal serial bus interface
US20040030818A1 (en) * 2002-08-09 2004-02-12 Chen Chia Li Multi-functional mini-memory card suitable for SFMI and USB interfaces
JP2004054544A (en) * 2002-07-19 2004-02-19 Pc Expert Tech Co Ltd Data outputting device and method for memory card
CN1484161A (en) * 2002-09-16 2004-03-24 万国电脑股份有限公司 Multi-function small memory card communication protocol
US20040070952A1 (en) * 2002-10-09 2004-04-15 Renesas Technology Corp. IC card and an adapter for the same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452763A (en) * 2000-04-28 2003-10-29 株式会社日立制作所 IC card
US20030233501A1 (en) * 2002-06-18 2003-12-18 Kingbyte Information Corp. Device for transferring from a memory card interface to a universal serial bus interface
JP2004054544A (en) * 2002-07-19 2004-02-19 Pc Expert Tech Co Ltd Data outputting device and method for memory card
US20040030818A1 (en) * 2002-08-09 2004-02-12 Chen Chia Li Multi-functional mini-memory card suitable for SFMI and USB interfaces
CN1484161A (en) * 2002-09-16 2004-03-24 万国电脑股份有限公司 Multi-function small memory card communication protocol
US20040070952A1 (en) * 2002-10-09 2004-04-15 Renesas Technology Corp. IC card and an adapter for the same

Also Published As

Publication number Publication date
CN1831851A (en) 2006-09-13
CN1790305A (en) 2006-06-21

Similar Documents

Publication Publication Date Title
CN101046855B (en) Interface for removable electrical card
EP1692641B1 (en) Efficient connection between modules of removable eletronic circuit cards
EP1632864B1 (en) Removable electronic device and method thereof
CN101377765B (en) Receptacles for removable electrical interface devices
EP1632886A1 (en) Interface for a removable electronic device
CN104239265B (en) Store equipment
EP1769358B1 (en) Non-volatile memory system with self test capability
CN100593162C (en) Interface circuit, system device using the interface circuit, and data interface method
JP2006139556A (en) Memory card and card controller for same
EP1403814B1 (en) Electronic apparatus, information processing apparatus, adapter apparatus, and information exchange system
CN101739322A (en) Test device and method of embedded system
CN105320620A (en) Memory storage device, control method of memory storage device, memory control circuit unit and memory control circuit module
CN100465933C (en) Removable electronic device and its method
CN108231126A (en) A kind of EMMC test methods and device
CN213520545U (en) Novel USB slave device
CN101131857B (en) Silicon memory device and its controller and operation method
CN108231127A (en) A kind of EMMC test methods and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant