CN1818847A - Memory card detecting circuit and method for detecting memory card connection and type - Google Patents

Memory card detecting circuit and method for detecting memory card connection and type Download PDF

Info

Publication number
CN1818847A
CN1818847A CN 200610067872 CN200610067872A CN1818847A CN 1818847 A CN1818847 A CN 1818847A CN 200610067872 CN200610067872 CN 200610067872 CN 200610067872 A CN200610067872 A CN 200610067872A CN 1818847 A CN1818847 A CN 1818847A
Authority
CN
China
Prior art keywords
memory card
potential
latch
pin
computing machine
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.)
Granted
Application number
CN 200610067872
Other languages
Chinese (zh)
Other versions
CN100435082C (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.)
Via Technologies Inc
Original Assignee
Via Technologies 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 Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2006100678725A priority Critical patent/CN100435082C/en
Publication of CN1818847A publication Critical patent/CN1818847A/en
Application granted granted Critical
Publication of CN100435082C publication Critical patent/CN100435082C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

An examinational electric circuit of the memorizer card in computer. For an example, the examinational electric circuit of the memory card comprising: some identified junctures of the memorizer card symplectic-joint between the computer and the memorizer card; some latch circuits symplictic-joint with the corresponding identified junctures of the memorizer card respectively, when the memorizer card just connect with the computer, the electric potential difference between the terminal on computer side of the identified junctures of the memorizer card and the terminal of the memorizer card lead the electric potential of the identified junctures of the memorizer card bring grounding bouncing phenomenon, then output the different electric potential identified signal which can use to identify the type of the memorizer card during the grounding bounce.

Description

Memory card detecting circuit and detection of stored device card be connected method with type
Technical field
The present invention is relevant for a kind of testing circuit, particularly about a kind of testing circuit of memory card connection type.
Background technology
Along with the rise of products such as digital camera, digital walkman (MP3) and PDA(Personal Digital Assistant), the consumer is to the demand of Storage Media, also little towards volume gradually, high-capacity storage and the development of portable Storage Media.And the kind of memory card has a lot, at present MultiMedia Card, SecureDigital of Panasonic company of companies such as Memory stick, the Nokia of the SmartMedia of the Compact Flash of kind on the market such as SanDisk company, Toshiba company, Sony company and Motorola or the like, great majority are flash memory cards.The memory card of any type no matter, in the time of on being connected to mobile computer or desktop PC, must be through memory card breakout box (cardadapter) with the interface conversion of memory card for meeting the interface of PC memory Card Internation Association's standard (personal computer memory card international association PCMCIA), with with personal digital assistant, digital camera, recording pen, image in the carry-on portable electronic products such as carry-on dish, music or other e-files are transferred in mobile computer or the desktop PC.
The memory card that meets pcmcia interface, be via the memory card detecting circuit in personal computer or the mobile computer, whether be connected with detection of stored device card with computing machine, and by the kind that identifies memory card, in order to the carrying out of data transmission between subsequent calculations machine and memory card.Because it is different to connect the current potential of pin between memory card and personal computer, current potential source and earthing pop-corn phenomenon when connecting computing machine, memory card can take place, thereby memory card detecting circuit must wait for that is removed a bounce time, after the current potential on the connection pin is stable, could detect the current potential on the pin.This causes the delay of memory card detection and user's inconvenience.Fast detecting goes out the connection and the kind of memory card if can reduce this section stand-by period, can effectively promote the usefulness of memory card controller.
In addition, in the memory card detecting circuit of traditional type, remove bounce time owing to must wait for one section, the detection of stored device card of going is again discerned the current potential on the pin, therefore necessary utilization counter is with the counting elapsed time, and the finite state machine (finite state machine) of merging utilization firmware program is with the carrying out of CONTROLLED POTENTIAL measurement.Use a plurality of counters that the required area of memory card detecting circuit is increased, remote effect comprise the design of the memory card controller chip of memory card detecting circuit; Utilization cable status machine then can increase the burden of firmware program.If can reduce the required area of memory card detecting circuit, can effectively reduce the production cost of memory card controller chip.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of memory card detecting circuit (memory carddetection logic), be arranged in the computing machine, to solve the problem that prior art exists.In an embodiment, this memory card detecting circuit comprises: a plurality of memory card identification pins (query pin) are coupled between a computing machine and the memory card; And a plurality of latch cicuits, be coupled to corresponding memory card identification pin respectively, when being used to memory card and just being connected to computing machine, whether the current potential that relies on memory card identification pin to be positioned at computer terminal and this memory card end exists a potential difference (PD) and causes memory card to discern current potential generation source and earthing pop-corn (ground bounce) phenomenon on the pin, and the identification signal of output different potentials, with according to the kind that identifies memory card in identification signal is during source and earthing pop-corn.
In when, wherein if there is potential difference (PD) in one of them current potential that is positioned at computer terminal and memory card end of memory card identification pin the source and earthing pop-corn phenomenon taking place, then Dui Ying latch cicuit latch and export in during source and earthing pop-corn identification signals such as a noble potential is one of them.Do not have potential difference (PD) if memory card identification pin is positioned at the current potential of computer terminal and memory card end, and when the source and earthing pop-corn phenomenon does not take place, then Dui Ying latch cicuit latch and export in during source and earthing pop-corn an electronegative potential be identification signal one of them.
The present invention more proposes the method for a kind of detection of stored device card connection and type in an embodiment, memory card is connected with a computing machine via a plurality of memory card identification pins (query pin).The method of detection of stored device card connection and type comprises the following steps: at first, uses a plurality of latch cicuits, is coupled to corresponding memory card identification pin respectively.Then when memory card just is connected to computing machine, if there is potential difference (PD) in one of them current potential that is positioned at computer terminal and memory card end of memory card identification pin, and when a source and earthing pop-corn (ground bounce) phenomenon takes place, then the corresponding latch cicuit of utilization latch and export in during source and earthing pop-corn a noble potential be a plurality of identification signals one of them.Then when memory card just is connected to computing machine, in when, if one of them current potential that is positioned at computer terminal and memory card end of memory card identification pin does not have potential difference (PD) the source and earthing pop-corn phenomenon not taking place, latch and export an electronegative potential in then during source and earthing pop-corn and be identification signal one of them.At last, identification signal such as rely on, identify the kind of memory card in during source and earthing pop-corn.
For above-mentioned and other purposes of the present invention, feature and advantage can be become apparent, several preferred embodiments cited below particularly, and conjunction with figs. are described in detail as follows:
Description of drawings
Fig. 1 is for being connected to memory card the synoptic diagram of computing machine;
Fig. 2 is the embodiment according to memory card detecting circuit of the present invention;
Fig. 3 is the process flow diagram according to the method for detection of stored device card connection of the present invention and type;
Fig. 4 is the process flow diagram of the method that pulls away according to detection of stored device card of the present invention.
The symbol simple declaration
102-memory card controller (card controller);
104-memory card detecting circuit (card detection logic);
106-memory card (memory card);
108-memory card breakout box (card adaptor);
110-computer card groove (PC card slot);
112-PCI bus (PCI bus);
The 200-memory card detecting circuit;
202-lag line (delay line);
204-counter (counter);
206,208-latch cicuit;
212, the MC_CD-memory card detects pin;
214,216, S1, S2-memory card identification pin;
222, the 232-electronegative potential starts latch (low level active latch);
224, the 234-noble potential starts latch (high level active latch);
226,228,236,238-OR door;
The 242-pull-up resistor;
244,246-pull down resistor;
The GND-earth potential;
The Vcc-voltage source;
C-connection status signal;
D1, D2-identification signal.
Embodiment
Fig. 1 is for being connected to memory card the synoptic diagram of computing machine.Wherein memory card 106 inserts in the memory card breakout box (card bus adapter) 108, this memory card breakout box 108 is converted to the interface that meets the PCMCIA standard with memory card 106, to be coupled to computing machine through computer card groove (PC cardslot) 110.In computing machine, at first be coupled to this memory card breakout box 108 by a memory card controller (card buscontroller) 102 interfaces via the PCMCIA standard.This memory card controller 102 at first detects pin (card detect pin) by a memory card detecting circuit (card detect logic) 104 by memory card and detects this existence to this memory card 106, then memory card detecting circuit 104 can identify the type of this memory card by a plurality of memory card identification pins (query pin), sticks into the exchange of line data and control command in order to follow-up with this.These a plurality of memory card identification pins have 10 approximately, and wherein 2 is the voltage requirements type of recognition memory card, and 4 is recognition memory card type class, use undefined at present for keeping him at present for 4 in addition.For example, the pin of these 4 recognition memory card type classes is respectively (1000) in regular turn and is the SmartMedia card, and (0100) is MultiMedia Card or Secure Digital card, and (1100) are Memory Stick card.Then the data in the memory card 106 will transfer to computing machine via memory card controller 102, be sent at last in the central processing unit or memory bank of computing machine.
Memory card detects pin and keeps noble potential at ordinary times, and memory card identification pin keeps electronegative potential at ordinary times, and when memory card 106 inserts memory card breakout box 108 or computer card groove 110, memory card 106 can detect pin with memory card and be pulled down to electronegative potential or ground connection, and can and being discerned pin, memory card be promoted to noble potential or keep ground connection according to the difference of memory card type.Exist potential difference (PD) because of connecing the face both sides this moment, and before the current potential of these a plurality of pins was stable, the situation of source and earthing pop-corn (ground bounce) can appear in the current potential on the pin, and this current potential source and earthing pop-corn phenomenon can be kept 0.1 second to several seconds.Thereby in the memory card controller 102 of traditional type, utilization memory card detecting circuit 104 in the connection of detection of stored device card 106 whether with type before, must wait earlier after the phenomenon of source and earthing pop-corn, recognition memory card exactly, otherwise the situation of identification error may appear.This section waiting time is called removes bounce time (de-bounce time).Yet, the utilization embodiments of the invention, can not need wait for this section removal bounce time, and promptly identify memory card connection, pull out and type.
Fig. 2 is the embodiment according to memory card detecting circuit 200 of the present invention.The figure left side is a memory card 106, and it meets the pcmcia interface standard or mat one memory card breakout box 108 is converted to pcmcia interface.The figure right side is a memory card controller 102, in order to the data between the central processing unit of controlling this memory card 106 and computing machine and the transmission of control command.Memory card 106 comprises a memory card and detects pin MC_CD, and this memory card detects pin MC_CD ground connection GND.Memory card 106 also comprises a plurality of memory card identification pins, these a plurality of memory cards detect the type of pin according to memory card, be connected to noble potential Vcc or ground connection GND respectively, wherein this figure only illustrates S1 pin that is connected to noble potential Vcc and the S2 pin that is connected to electronegative potential GND, thinks the usefulness that illustrates.
In memory card controller 102, detect pin MC_CD, memory card identification pin S1 and the corresponding person of S2 with this memory card, be respectively and be pin 212,214 and 216, these a plurality of corresponding pins are coupled in together when memory card inserts memory card breakout box 108 or computer card groove 110.And when memory card no memory insertion card adapter 108 or computer card groove 110, memory card detects pin 212 mats, one pull-up resistors (resister pull up) 242 and is coupled to noble potential Vcc, and memory card identification pin 214 and 216 difference mat one drop-down resistance (resister pull down) 244 and 246 are coupled to electronegative potential GND, so pin 212,214 and 216 is noble potential, electronegative potential, electronegative potential respectively when not connecting memory card 106.Certainly, also not only comprise this two memory card identification pins 214 and 216 in the memory card controller 102, but comprised a plurality of memory card identification pins.The configuration of all memory card identification pins is all identical with memory card identification pin 214 and 216.
Memory card controller 102 comprises a memory card detecting circuit 200, in order to the connection that detects this memory card 106 and the type of this memory card 106 of interpretation.This memory card detecting circuit 200 comprises a lag line (delay line) 202, one counter 204 and a plurality of latch cicuit 206,208.This lag line 202 is coupled to this memory card and detects pin 212, and (delay cell) forms by a plurality of delay cells, in order to memory card is detected the signal delay a period of time on the pin 212.Counter 204 is coupled to this memory card and detects pin 212, and receive the timing signal that a frequency is 1KHz (clock), when being used to the current potential generation source and earthing pop-corn of memory card detection pin 212, the current potential that calculates this memory card detection pin 212 is maintained at the time of electronegative potential or noble potential, and when counting exceeds predetermined value just like 2ms (counting 2 times) or 10ms (counting 10 times) this time, export a connection status signal C, be connected with computing machine or pull out from computing machine to represent this memory card respectively.
Latch cicuit 206,208 is coupled to the memory card identification pin 214 or 216 of a correspondence, when being used to the current potential generation source and earthing pop-corn of corresponding memory card identification pin, locks and export a noble potential.Because the configuration of each latch cicuit is all identical,, the usefulness of two latch cicuits 206,208 for explanation only is shown herein though therefore memory card detecting circuit 200 has comprised and the same number of latch cicuit of memory card identification pin.With latch cicuit 206 is example, and it comprises that an electronegative potential starts latch (low levelactive latch) 222, one noble potential and starts latch (high level active latch) 224 and OR door 226 and 228.At first, be coupled to an input end of OR door 226 corresponding to the memory card identification pin 214 of latch cicuit 206.The output terminal of this OR door 226 is coupled to the input end that this electronegative potential starts latch 222 and this noble potential startup latch 224 respectively, and this electronegative potential startup latch 222 and this noble potential start the output terminal that the trigger end (trigger terminal) of latch 224 all is coupled to this lag line 202.Therefore when this memory card detects current potential source and earthing pop-corn on pin 212, after the delayed line 20 of this current potential postpones, start latch 222 with the current potential on the latched memory card identification pin 214 if will start this electronegative potential when presenting electronegative potential, and discern current potential on the pin 214 with the latched memory card if will start this noble potential startup latch 224 when presenting noble potential.
The output terminal of this electronegative potential startup latch 222 and this noble potential startup latch 224 feeds back to the input end of OR door 226 all again, therefore no matter be that electronegative potential starts latch 222 or this noble potential startup latch 224 latchs a noble potential, this noble potential will be stored in this latch cicuit 206.At last, the output terminal of electronegative potential startup latch 222 and noble potential startup latch 224 all is coupled to the input end of OR door 228, to export an identification signal D1.Therefore as long as memory card detects the current potential generation source and earthing pop-corn on the pin 212, if source and earthing pop-corn also takes place in the current potential on the memory card identification pin 214, no matter the current potential that the memory card that lags to the noble potential time delay detects on the pin 212 that bounces of the current potential on the memory card identification pin 214 is noble potential or electronegative potential, and latch cicuit 206 is lockable and export a noble potential in its output terminal all.
In addition, if during the current potential generation source and earthing pop-corn on the memory card detection pin 212, source and earthing pop-corn does not take place in the pairing memory card identification of latch cicuit pin, as memory card identification pin 216 (because of pin S2 and 216 both be ground connection), latch cicuit 208 lockable and export an electronegative potential only then in its output terminal.In addition, the function of lag line 202, be that the current potential that memory card is detected pin 212 postpones a period of time, to guarantee that this electronegative potential starts source and earthing pop-corn potential pulse that latch 222 and this noble potential start latch 224 trigger ends and finishes evening than the current potential source and earthing pop-corn of memory card identification pin 214, could suitably lock and the high voltage during the current potential source and earthing pop-corn of storing memory card identification pin 214.
Fig. 3 is the process flow diagram according to the method 300 of detection of stored device card connection of the present invention and type.Method 300 can be during memory card inserts the source and earthing pop-corn of computer card groove, only spend the computing machine that whether has been connected to that 2ms to 10ms just can confirm memory card, and identify the type of memory card, and do not need as during the back source and earthing pop-corns such as palpus in the traditional type later and the voltage on the memory card pin is stable state, carry out the affirmation that memory card connects and the identification of type again.At first in step 302, memory card 106 is inserted into memory card breakout box 108 or computer card groove 110.If this computer-chronograph is started shooting, then in step 304, the current potential that the memory card detection pin MC_CD of memory card 106 ends can detect the memory card of computer terminal (memory card controller 102 ends) pin 212 is pulled down to electronegative potential gradually, but because the memory card of computer terminal detects the script current potential of pin 212 is noble potential, thus both when connecting current potential the source and earthing pop-corn phenomenon can take place.Because cycle of current potential source and earthing pop-corn is about 0.1 second grade to the several seconds, but therefore in step 306 mat counter 204 detect in memory card and begin counting when pin 212 current potentials bounce to electronegative potential.
Then whether the number in the detection counter 204 exceeds a lower bound number of times in step 308, and for example 2 times to 10 times, and can confirm just that above the time span of this lower bound number of times memory card is connected with computing machine.Because the frequency of counter 204 is 1KHz, the cycle of its counting is 1ms, if counting then represents that current potential bounces to electronegative potential for 2 times and kept 2ms, if counting is then represented that current potential bounces to electronegative potential for 10 times and kept 10ms.Therefore if the number in the counter 204 has exceeded this lower bound number of times, expression can confirm that memory card is connected with computing machine, so this counter 204 is convenient to export in the step 310 connection that a connection status signal C represents memory card.Then use latch cicuit 206,208 in step 312, the noble potential locking when respectively memory card being discerned the pin source and earthing pop-corn also is output as identification signal.Certainly, if source and earthing pop-corn does not take place memory card identification pin, the identification signal of then corresponding latch cicuit output is an electronegative potential.Then in step 314 according to identification signal, just can judge the kind of memory card.Therefore, application method 300 is confirmed the connection and the type of recognition memory card of memory cards, only need spend gate time in the step 308 2 to 10ms, and step 312 can be carried out simultaneously with step 308 and lock memory card and discern current potential on the pin.One treats the connection of step 310 affirmation memory card, just can directly judge the type of memory card in step 314.
In addition, in method 300, if memory card detects pin source and earthing pop-corn does not take place, but memory card has been connected to computing machine really, then must insert memory card breakout box 108 or computer card groove 110 before computer booting for memory card.Therefore just can detect memory card detection pin and present electronegative potential in step 316, the expression memory card is connected with computing machine.Just can directly export a connection status signal this moment in step 310.Though source and earthing pop-corn can't take place in memory card detection this moment pin, but the noble potential in latch cicuit 206 and 208 starts latch 224 and electronegative potential startup latch 232 still can lock and export a noble potential and electronegative potential respectively in its output terminal, so the type of output identification signal in step 312 and 314 and recognition memory card still can be carried out as usual.
In the time of memory card then will be discussed pull away computing machine, the method that detection of stored device card pulls away.Figure 4 shows that the process flow diagram of the method 400 that pulls away according to detection of stored device card of the present invention.Method 400 can be during memory card pulls away the source and earthing pop-corn of computer card groove, only spend 2ms to 10ms and just can confirm whether breaking with computing machine of memory card, and do not need as during the back source and earthing pop-corns such as palpus in the traditional type later and the voltage on the memory card pin is stable state, carry out the affirmation of memory card broken string again.At first in step 402, memory card 106 pulls away in memory card breakout box 108 or computer card groove 110.Then in step 404, because detecting pin 212, separates with the memory card detection pin MC_CD of memory card 106 ends the memory card of computer terminal (memory card controller 102 ends), the current potential that pull-up resistor Rpu will detect memory card pin 212 gradually is pulled to noble potential, but the script current potential that detects pin 212 because of memory card is an electronegative potential, thereby the source and earthing pop-corn phenomenon can take place the memory card current potential that memory card detects pin 212 when pulling away.Because cycle of current potential source and earthing pop-corn is about 0.1 second grade to the several seconds, but therefore in step 406 mat counter 204 detect in memory card and begin counting when pin 212 current potentials bounce to noble potential.
Then whether the number in the detection counter 204 exceeds a lower bound number of times in step 408, and for example 2 times to 10 times, and can confirm just that above the time span of this lower bound number of times memory card separates with computing machine.Because the frequency of counter 204 is 1KHz, the cycle of its counting is 1ms, if counting then represents that current potential bounces to noble potential for 2 times and kept 2ms, if counting is then represented that current potential bounces to noble potential for 10 times and kept 10ms.Therefore if the number in the counter 204 has exceeded this lower bound number of times, expression can confirm that memory card breaks with computing machine, therefore this counter 204 is convenient to that output one connection status signal C represents pulling out of memory card in the step 410, and this connection status signal is the reverse signal of connection status signal in the step 310.Therefore computing machine can learn that by this connection status signal memory card pulls away from computing machine via this memory card controller 102.
Therefore, the present invention provides a kind of memory card detecting circuit in embodiment.When memory card breakout box on memory card insertion computing machine or concentrated certainly pulling away, this memory card detecting circuit need not wait for that is removed a source and earthing pop-corn time (debounce period), that is after must not waiting for that memory card detects pin and stablizes with the current potential on the memory card identification pin, also need not increase the time point of the intervention of firmware program, insertion that just can the recognition memory card, pull away and type with the control survey current potential.In an embodiment, in the current potential of memory card pin still during source and earthing pop-corn, time that only need about 2-10ms, but the just insertion of recognition memory card, pull away and type the therefore usefulness that can effectively promote the memory card controller.In addition, memory card detecting circuit of the present invention does not need the intervention of firmware program to come the time point of current potential on the control survey memory card pin, has simplified the design of global storage card control chip, has also reduced the burden of firmware program.
Above-mentioned several embodiment of the present invention described.Those skilled in the art should understand that they can be with embodiment of the invention modification or as the basis of designing, to reach identical purpose or the convenience of being introduced with this paper of embodiment.。Those skilled in the art also should understand; above-mentioned equivalent structure thing does not surmount spirit of the present invention and category; even those skilled in the art make modification, replacement or the change of various types, as long as spirit still according to the invention just still belongs to protection category of the present invention.

Claims (14)

1. a memory card detecting circuit is arranged in the computing machine, comprising:
A plurality of memory card identification pins are coupled between this computing machine and the memory card; And
A plurality of latch cicuits, be coupled to these corresponding a plurality of memory card identification pins respectively, when being used to this memory card and just being connected to this computing machine, whether the current potential that is positioned at this computer terminal and this memory card end according to these a plurality of memory cards identification pins exists a potential difference (PD) to cause these a plurality of memory cards to discern current potential generation source and earthing pop-corn phenomenon on pins, with the identification signal of output different potentials, with by identifying the kind of this memory card in these a plurality of identification signals are during this source and earthing pop-corn.
2. memory card detecting circuit as claimed in claim 1, wherein if should be a plurality of memory cards discern that there is potential difference (PD) in one of them current potential that is positioned at this computer terminal and this memory card end of pins and when this source and earthing pop-corn phenomenon takes place, then Dui Ying this latch cicuit latchs and exports a noble potential in during this source and earthing pop-corn as one of them of this a plurality of identification signals; If should be a plurality of memory cards discern that current potential that pins are positioned at this computer terminal and this memory card end does not have this potential difference (PD) and when this source and earthing pop-corn phenomenon does not take place, then Dui Ying this latch cicuit latchs and exports an electronegative potential in during this source and earthing pop-corn as one of them of this a plurality of identification signals.
3. memory card detecting circuit as claimed in claim 1 also comprises:
Memory card detects pin, is coupled between this computing machine and the memory card;
Counter, be coupled to this memory card and detect pin, being used to this memory card just has been connected to this computing machine or has pulled away and when causing this memory card to detect current potential generation source and earthing pop-corn phenomenon on pin from this computing machine, respectively at this memory card connect and situation about pulling away under this memory card of counting current potential of detecting pin be maintained at time of an electronegative potential and a noble potential, and in counting this time respectively when exceeding a predetermined value, export a connection status signal respectively, to notify this memory card of this computing machine to be connected to this computing machine or to have pulled out from this computing machine.
4. memory card detecting circuit as claimed in claim 1, wherein each these a plurality of latch cicuit respectively comprises:
One the one OR door has an input end and is coupled to this corresponding memory card identification pin;
One electronegative potential starts latch, has the output terminal that an input end is coupled to an OR door;
One noble potential starts latch, has this output terminal that an input end is coupled to an OR door; And
One the 2nd OR door has an input end and is coupled to the output terminal that this electronegative potential starts latch, have another input end and be coupled to the output terminal that this noble potential starts latch, and the 2nd OR door has an output terminal to export an identification signal;
Wherein this output terminal of this output terminal of this electronegative potential startup latch and this noble potential startup latch is coupled to two input ends in addition of an OR door more respectively, and these a plurality of identification signals that each this a plurality of latch cicuit is exported constitute these a plurality of identification signals.
5. memory card detecting circuit as claimed in claim 4, also comprise a lag line, being coupled to a memory card detects between pin and this a plurality of latch cicuits, wherein this memory card detection pin also is connected between this computing machine and this memory card, and this memory card can cause the current potential generation source and earthing pop-corn phenomenon on this memory card detection pin when just being connected to this computing machine or this computing machine pulls away certainly; This lag line is made up of a plurality of delay cells, after being postponed a time delay, the source and earthing pop-corn current potential on this memory card detection pin is output as a trigger pip, this trigger pip is coupled to the trigger end that this electronegative potential starts latch and this noble potential startup latch, triggers the latch operation that this this electronegative potential starts latch and this noble potential startup latch when reaching an electronegative potential and a noble potential respectively at this trigger pip.
6. memory card detecting circuit as claimed in claim 3, wherein this memory card detects pin and be maintained at this noble potential when not coupling with this memory card, and when coupling with this memory card, this memory card can detect pin with this memory card be pulled down to this electronegative potential.
7. memory card detecting circuit as claimed in claim 1, wherein these a plurality of memory card identification pins are maintained at an electronegative potential when not coupling with this memory card, and when coupling with this memory card, this memory card can should be pulled to a noble potential respectively or be maintained at an electronegative potential by a plurality of memory cards identification pins according to its kind.
8. memory card detecting circuit as claimed in claim 1, wherein this memory card detecting circuit is included in the memory card controller, this memory card controller is coupled to this computing machine, and this computing machine by this this memory card of connection status input connection or pull out, and identify the kind of this memory card by these a plurality of identification signals.
9. the connection of a detection of stored device card and the method for type, this memory card is connected with a computing machine by a plurality of memory cards identification pins, comprises the following steps:
A plurality of latch cicuits are coupled to these corresponding a plurality of memory card identification pins respectively;
When this memory card just has been connected to this computing machine, if should be a plurality of memory cards discern one of them current potential that is positioned at this computer terminal and this memory card end of pins and have potential difference (PD), and when a source and earthing pop-corn phenomenon takes place, then corresponding this latch cicuit of utilization latch and export in during this source and earthing pop-corn a noble potential as a plurality of identification signals one of them;
When this memory card just has been connected to this computing machine, if should be a plurality of memory cards discern that one of them current potential that is positioned at this computer terminal and this memory card end of pins does not have potential difference (PD) and when this source and earthing pop-corn phenomenon does not take place, latch and export in then during this source and earthing pop-corn an electronegative potential as these a plurality of identification signals one of them; And
Rely on these a plurality of identification signals, identify the kind of this memory card in during this source and earthing pop-corn.
10. the connection of detection of stored device card as claimed in claim 9 and the method for type, wherein this memory card more is connected with this computing machine via memory card detection pin, and the method for this detection of stored device card connection and type also comprises the following steps:
Couple a counter and detect pin in this memory card;
Just be connected to this computing machine in this memory card, and when causing this memory card to detect current potential generation source and earthing pop-corn phenomenon on pin, the current potential that uses this memory card of this rolling counters forward to detect pin is maintained at the time of this electronegative potential, and when this time of counting exceeds a predetermined value, export a connection status signal, be connected to this computing machine to notify this memory card of this computing machine; And
Just pull away in this memory card from this computing machine, and when causing this memory card to detect the current potential generation source and earthing pop-corn phenomenon of pin, the current potential that uses this memory card of this rolling counters forward to detect pin is maintained at the time of an electronegative potential, and when this time of counting exceeds this predetermined value, export this connection status signal, pull out from this computing machine to notify this memory card of this computing machine.
11. the connection of detection of stored device card as claimed in claim 9 and the method for type, wherein each these a plurality of latch cicuit respectively comprises:
One the one OR door has an input end and is coupled to this corresponding memory card identification pin;
One electronegative potential starts latch, has the output terminal that an input end is coupled to an OR door;
One noble potential starts latch, has this output terminal that an input end is coupled to an OR door; And
One the 2nd OR door has an input end and is coupled to the output terminal that this electronegative potential starts latch, have another input end and be coupled to the output terminal that this noble potential starts latch, and the 2nd OR door has an output terminal to export an identification signal;
Wherein this output terminal of this output terminal of this electronegative potential startup latch and this noble potential startup latch is coupled to two input ends in addition of an OR door more respectively, and these a plurality of identification signals that each this a plurality of latch cicuit is exported constitute these a plurality of identification signals.
12. the connection of detection of stored device card as claimed in claim 11 and the method for type, wherein memory card detection pin also is connected between this computing machine and this memory card, this memory card can cause the current potential generation source and earthing pop-corn phenomenon on this memory card detection pin when just being connected to this computing machine or this computing machine pulls away certainly, also comprise the following steps:
Couple a lag line and detect between pin and this a plurality of latch cicuits in this memory card, this lag line is made up of a plurality of delay cells;
Use this lag line, this memory card is detected be output as a trigger pip after source and earthing pop-corn current potential on pin postpones a time delay; And
Couple this trigger pip to this electronegative potential respectively and start a trigger end of latch and the trigger end that this noble potential starts latch, when this trigger pip reaches electronegative potential and noble potential, to trigger the latch operation that this this electronegative potential starts latch and this noble potential startup latch respectively.
13. the connection of detection of stored device card as claimed in claim 10 and the method for type, wherein this memory card detects pin and be maintained at a noble potential when not coupling with this memory card, and when coupling with this memory card, this memory card can detect pin with this memory card be pulled down to an electronegative potential.
14. the connection of detection of stored device card as claimed in claim 9 and the method for type, wherein these a plurality of memory card identification pins are maintained at an electronegative potential when not coupling with this memory card, and when coupling with this memory card, this memory card can should be pulled to a noble potential respectively or be maintained at an electronegative potential by a plurality of memory cards identification pins according to its kind.
CNB2006100678725A 2006-03-13 2006-03-13 Memory card detecting circuit and method for detecting memory card connection and type Active CN100435082C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100678725A CN100435082C (en) 2006-03-13 2006-03-13 Memory card detecting circuit and method for detecting memory card connection and type

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100678725A CN100435082C (en) 2006-03-13 2006-03-13 Memory card detecting circuit and method for detecting memory card connection and type

Publications (2)

Publication Number Publication Date
CN1818847A true CN1818847A (en) 2006-08-16
CN100435082C CN100435082C (en) 2008-11-19

Family

ID=36918885

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100678725A Active CN100435082C (en) 2006-03-13 2006-03-13 Memory card detecting circuit and method for detecting memory card connection and type

Country Status (1)

Country Link
CN (1) CN100435082C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414286B (en) * 2007-10-18 2010-08-25 英业达股份有限公司 Device for collecting type signal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63279390A (en) * 1987-05-12 1988-11-16 Nec Home Electronics Ltd Connection detecting device
TW493119B (en) * 2001-03-28 2002-07-01 Via Tech Inc Method for automatically identifying the type of memory and motherboard using the same
TWI259406B (en) * 2003-08-15 2006-08-01 Via Tech Inc A method and an apparatus of flash cards access

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414286B (en) * 2007-10-18 2010-08-25 英业达股份有限公司 Device for collecting type signal

Also Published As

Publication number Publication date
CN100435082C (en) 2008-11-19

Similar Documents

Publication Publication Date Title
JP5138743B2 (en) Peripheral equipment
CN110648696B (en) Power supply apparatus and electronic apparatus including the same
US8189420B2 (en) Advanced detection of memory device removal, and methods, devices and connectors
US8514604B2 (en) Monitoring system for monitoring serial advanced technology attachment dual in-line memory module
KR20170126478A (en) Low-Power Type-C Receiver with High Idle Noise and DC-Level Rejection
US20070145154A1 (en) Interface for a removable electrical card
CN104158004A (en) Combination of USB Connector and MICROSD Flash Card Connector
CN111477255B (en) High voltage protection for high speed data interface
US20140126138A1 (en) Serial advanced technology attachment dual in-line memory module device and motherboard for supporting the same
CN1591378A (en) Method for enhancing transfer rate of multimedia card using differential signal
US11349965B1 (en) Self-describing cable
CN101246465A (en) General serial bus chip
CN1818847A (en) Memory card detecting circuit and method for detecting memory card connection and type
CN1241096C (en) IDE hard disc interface for supporting hot inserting and startup as inserting memory card
CN1430228A (en) Voltage detection circuit control equipment and its memory control equipment and storage card
CN204204056U (en) A kind of data collector for aeronautical data recording instrument
CN115705270A (en) Hard disk in-place detection device and method
CN1450432A (en) Multi-function electronic peripheral card capable of detecting pluggable card
CN101414209A (en) Memory card power supply device and memory card access apparatus
CN101308482B (en) Electronic device as switch of host and element
CN2496063Y (en) Non-voltability solid-state memory driver
CN2720510Y (en) External socket I/O extended device of computer master board
CN1450466A (en) Method for setting master-slave USB interface in MP3 player
CN1317655C (en) DMA transmission method adapted for SD cards
CN202083979U (en) Laptop capable of realizing universalization of internal modules

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