WO2009064017A1 - Memory card control device and method for controlling the same - Google Patents

Memory card control device and method for controlling the same Download PDF

Info

Publication number
WO2009064017A1
WO2009064017A1 PCT/JP2008/071057 JP2008071057W WO2009064017A1 WO 2009064017 A1 WO2009064017 A1 WO 2009064017A1 JP 2008071057 W JP2008071057 W JP 2008071057W WO 2009064017 A1 WO2009064017 A1 WO 2009064017A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory card
controller
power consumption
low power
control device
Prior art date
Application number
PCT/JP2008/071057
Other languages
French (fr)
Inventor
Hirofumi Odaguchi
Original Assignee
Ricoh Company, Ltd.
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
Priority claimed from JP2008279610A external-priority patent/JP5386931B2/en
Application filed by Ricoh Company, Ltd. filed Critical Ricoh Company, Ltd.
Priority to CN200880101127.5A priority Critical patent/CN101765850B/en
Priority to US12/666,541 priority patent/US8549337B2/en
Publication of WO2009064017A1 publication Critical patent/WO2009064017A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0634Configuration or reconfiguration of storage systems by changing the state or mode of one or more devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • G06F1/3225Monitoring of peripheral devices of memory devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0625Power saving in storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0688Non-volatile semiconductor memory arrays
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present invention relates to a memory card control device which controls a memory card used by a computer or the like, and to a memory card control method.
  • a device controller 100 serving as a conventional memory card control device is shown in FIG. 4.
  • the device controller 100 includes an interface controller 101, a CPU 102, a ROM 103, an internal PLL controller 104, an internal PLL 105, and a memory card controller 106.
  • the interface controller 101 communicates with a host computer 200 which is externally connected to the device controller 100 to receive data to be written to a memory card and send data read from the memory card.
  • the CPU 102 controls the interface controller 101 and the memory card controller 106 which is described later.
  • the CPU 102 manages overall control of the device controller 100.
  • the ROM 103 is a read only memory in which software for controlling the CPU 102 is stored in advance.
  • the internal PLL controller 104 controls the internal PLL 105 which is described later.
  • the internal PLL 105 supplies clock signals in a predetermined frequency to the interface controller 101 and the memory card controller 106.
  • the memory card controller 106 includes plural card controllers 106i, IO6 2 , IO6 3 , ..., and 106n, each of which controls writing, reading, and the like of data to/from the memory card inserted in a memory card insertion unit.
  • the device controller 100 as shown in FIG.
  • USB Universal Serial Bus
  • the device controller 100 of this kind is sometimes connected to or mounted in a notebook computer serving as a host computer. In such cases, power consumption is an issue. In a battery-powered notebook computer, power consumption directly affects battery life. In a recent memory card, in particular, capacity has been increasing, a processed data amount has increased to a G (giga) unit, and a data transfer rate has been also increasing. Therefore, there is a concern that more power consumption is expected.
  • Patent Document 1 discloses a method to solve such a problem.
  • the computer when a computer detects that a device connected to the computer is in an idle state, the computer sends a function to cause the device to be in a suspended state (in a low power consumption state) .
  • Patent Document 1 Japanese Patent Application Publication No .2005-508041
  • OS operating system
  • device driver or the like
  • the invention is made in view of solving the aforementioned problem.
  • a memory card control device includes an insertion unit to which a memory card is inserted, a memory card controller to control writing and reading of data to/from the memory card inserted in the insertion unit, an interface controller to send and receive the data written or read to/from the memory card to/from a host computer, a clock supplier to supply a clock signal to the memory card controller and the interface controller, a memory card detector to detect presence or absence of the memory card inserted in the insertion unit, and a low power consumption mode switching unit to switch the memory card controller and the interface controller to a low power consumption mode in response to the absence of the memory card detected by the memory card detector.
  • a method for controlling a memory card control device including a memory card controller configured to control writing and reading of data to/from the memory card inserted in an insertion unit and an interface controller configured to send and receive the data written or read to/from the memory card to/from a host computer.
  • the memory card control method includes a step of detecting presence or absence of the memory card inserted in the insertion unit and a step of switching the memory controller and the interface controller to a low power consumption mode in response to the absence of the memory card.
  • the memory card detector detects whether the memory card is inserted in the insertion unit and then the low power consumption mode switching unit switches the memory card controller and the interface controller to a low power consumption mode. Therefore, the switching to the low power consumption state can be achieved by only the absence of the memory card. As a result, the memory card control device by itself can switch to the low power consumption state without being controlled by the host computer, thereby the power consumption can be reduced.
  • presence or absence of the memory card inserted in the insertion unit is detected and the memory controller and the interface controller are switched to a low power consumption mode in response to the absence of the memory card. Therefore, the memory card control device can be switched to the low power consumption mode by only the data of the presence or absence of the memory card. As a result, the memory card control device can be automatically switched to the low power consumption mode by itself without being controlled by the host computer, and the power consumption can be reduced.
  • FIG. 1 is a block diagram showing a memory card control device of an embodiment of the invention.
  • FIG. 2 is a flowchart showing a switching operation of the memory card control device to a low power consumption mode.
  • FIG. 3 is a flowchart showing a switching operation of the memory card control device to a low power consumption mode.
  • FIG. 4 is a block diagram showing a conventional memory card control device.
  • FIG. 1 is a block diagram showing a memory card control device of an embodiment of the invention.
  • FIG. 2 is a flowchart showing a switching operation of the memory card control device shown in FIG. 1 to the low power consumption mode.
  • a device controller 1 shown in FIG. 1 serving as the memory card control device includes an interface controller 2, a CPU 3, a ROM 4, an internal PLL controller 5, an internal PLL 6, a memory card controller 7, and an interface control register 8, and is connected to a host computer 10 through a USB interface .
  • the interface controller 2 communicates with the host computer 10 externally connected to the device controller 1 according to USB standards to receive data to be written to a memory card and send data read out from the memory card.
  • the CPU (Central Processing Unit) 3 serving as the low power consumption mode switching unit controls the interface controller 2, the memory card controller 7 which is described below, and the like, and manages overall control of the device controller 1.
  • the ROM 4 is a read only memory in which software, data, and the like to control the CPU 3 are stored in advance.
  • the internal PLL controller 5 operates as the low power consumption mode switching unit, the unit to output a signal to switch the memory card control device to the low power consumption mode, and a unit to output a signal to return the memory card control device from the low power consumption mode to the normal operation mode.
  • the internal PLL controller 5 outputs a signal to the internal PLL 6 which is described below to stop and restart a clock signal supply of the internal PLL 6.
  • the internal PLL 6 serving as the clock supplier is a PLL (Phase Lock Loop) circuit for supplying clock signals in a predetermined frequency to the interface controller 2 and the memory card controller 7.
  • PLL Phase Lock Loop
  • the memory card controller 7 serving as the memory controller includes plural card controllers (a card 1 controller Iy, a card 2 controller 7 2 , a card 3 controller 7 3 , ..., and a card n controller 7n) and a card detection controller 7a.
  • a memory card here is a memory medium in a card form, which is formed of a semiconductor memory such as a flash memory.
  • a semiconductor memory such as a flash memory.
  • memory cards such as SD cards and memory sticks.
  • Each of the aforementioned plural card controllers is provided for these kinds of memory cards.
  • the plural card controllers (the card 1 controller l ⁇ , the card 2 controller 7 2 , the card 3 controller 7 3 , —, and the card n controller 7n) control writing, reading, and the like to/from the memory card inserted in a corresponding memory card insertion unit which is not shown.
  • the card detection controller 7a serving as the memory card detector outputs a signal to indicate presence or absence of the memory card to the CPU 3 and the internal PLL controller 5 in response to card insertion detection signals outputted by the plural card controllers. That is, the card detection controller 7a detects whether the memory card is inserted.
  • the interface control register 8 operates as the low power consumption mode switching unit, the unit to output a signal to switch the memory card control device to the low power consumption mode, and the unit to output a signal to return the memory card control device from the low power consumption mode to the normal operation mode.
  • the interface control register 8 When set by the CPU 3, the interface control register 8 outputs a control signal to disconnect or connect sending and receiving of signals to/from the host computer 10 through the USB interface.
  • step Sl the device controller 1 is connected to the host computer 10 through a USB cable.
  • the operation proceeds to step S2.
  • step S2 a command request from the host computer 10 is received by the interface controller 2, which then issues a response command to terminate a USB initial response.
  • the device controller 1 is recognized by the host computer 10, whereby data transfer with a memory card can be started. The operation proceeds to step S3.
  • step S3 detection of a memory card storing data to be transferred is performed.
  • the presence of the memory card is detected (Y of step S3)
  • data transfer starts.
  • the absence of the memory card is detected (N of step S3)
  • the operation proceeds to S4.
  • Detecting insertion of the memory card the card detection controller 7a outputs a signal indicating presence of the memory card in -li ⁇
  • the insertion unit as a trigger to the internal PLL 6 through the internal PLL controller 5.
  • the internal PLL 6 starts supplying clock signals to the memory controller 7.
  • data transfer starts between the host computer 10 and the memory card.
  • the memory card control device is determined to be not in use, whereby a switching operation to the low power consumption mode starts.
  • step S4 the connection of the memory- card control device with the host computer 10 through the USB interface is stopped (disconnected) and step S5 starts. That is, sending and receiving of data with the host computer 10 is disconnected by the interface controller 2.
  • Stopping connection (disconnection) with the host computer 10 is performed as follows.
  • a USB has a Full Speed Mode and a High Speed Mode as known.
  • Full Speed Mode by disabling a Pull Up resistor of a signal line DP which communicates with the host computer 10, the connection between the host computer 10 and the device controller 1 is disconnected.
  • High Speed Mode by disabling termination resistors of the signal lines DP and DM, the connection between the host computer 10 and the device controller 1 is disconnected.
  • the host computer 10 does not recognize the device controller 1.
  • the CPU 3 receives a signal indicating absence of the memory card in the insertion unit from the card detection controller 7a, the CPU 3 writes a value (for example, 0) in the interface control register 8 to disconnect the USB connection.
  • the interface control register 8 outputs a control signal and disables the Pull Up resistor of the signal line DP and the termination resistors of the signal lines DP and DM. Note that disabling here does not mean to physically disable the resistor, but to electrically disable the resistor.
  • step S5 the clock signal supplied from the internal PLL 6 is stopped and the operation proceeds to step S6.
  • step S4 the clock signal supplied from the internal PLL 6 is stopped and the operation proceeds to step S6.
  • the device controller 1 and the host computer 10 are disconnected in step S4, but not physically disconnected. Therefore, power is still supplied to the device controller 1, consuming more current.
  • a signal indicating absence of the memory card in the insertion unit is outputted from the card detection controller 7a to the internal PLL controller 5.
  • step S6 the internal PLL controller 5 stops the internal PLL 6, that is, the internal PLL controller 5 outputs a signal to stop the clock signal supply of the internal PLL 6.
  • step S7 starts.
  • the device controller 1 in response to a detection result (that the memory card is not inserted) of the memory card detector (the card detection controller 7a) , the device controller 1 as a whole switches to the low power consumption mode in steps S4 and S5.
  • step S7 When the presence of the memory card inserted in the insertion unit is detected in step S7 (Y in step S7), the operation returns to step Sl.
  • the operation stands by when the absence of the memory card is detected in step S7. That is, when the presence of the memory card is detected, the card detection controller 7a outputs a signal indicating presence of the memory card in the insertion unit to the internal PLL controller 5.
  • the internal PLL controller 5 outputs a control signal to the internal PLL 6 to restart the clock signal supply.
  • the CPU 3 writes a value (for example, 1) indicating that the USB connection is made in the interface control register 8. Then, the interface register 8 outputs a control signal to connect the disconnected resistors.
  • the device controller 1 and the host computer 10 which are disconnected restart negotiation and complete the USB initial response, thereby the host computer 10 recognizes the device controller 1. Then, data transfer starts between the memory card and the host computer 10 (return to the normal operation mode) .
  • the card detection controller 7a when the absence of the memory card is detected by the card controllers of the memory card controller 7 in the device controller 1 which controls writing, reading, and the like of data to/from the memory card, the card detection controller 7a outputs a signal indicating absence of the memory card in the insertion unit to the CPU 3.
  • the CPU 3 then writes a value in the interface control register 8 to disconnect the USB connection with the host computer 10.
  • the card detection controller 7a outputs a signal indicating absence of the memory card in the insertion unit to the internal PLL controller 5.
  • the internal PLL controller 5 stops the clock signal supply from the internal PLL 6. In this manner, the memory card control device switches to the low power consumption mode. Therefore, the switching to the low power consumption mode can be achieved by only the absence of the memory card.
  • the memory card control device of the invention can automatically switch to the low power consumption mode by itself without being controlled by the host computer 10.
  • the card detection controller 7a outputs a signal indicating absence of the memory card in the insertion unit to the CPU 3, which then writes a value in the interface control register 8 to disconnect the USB connection with the host computer 10. Therefore, the memory card control device can be free from the control by the host computer 10. As a result, power consumption required for the interface controller 2 to send and receive signals to/from the host computer 10 can be reduced.
  • the card detection controller 7a outputs a signal indicating absence of the memory card in the insertion unit to the internal PLL controller 5 so that the internal PLL controller 5 stops the clock signal supplied from the internal PLL 6. Therefore, operations of register circuits in the interface controller 2 and the memory card controller 7 can be stopped. As a result, the power consumption can be suppressed.
  • the card detection controller 7a detects the presence or absence of the memory card in the insertion unit after the USB initial response between the interface controller 2 and the host computer 10 is completed. Therefore, the interface controller 2 can immediately start communication with the host computer 10 when the presence of the memory card is detected.
  • FIG. 3 is a flowchart showing a switching operation of the device controller 1 of the second embodiment to the low power consumption mode.
  • the flowchart of this embodiment is different from the flowchart of the first embodiment in that the detection of the memory card is performed before the USB initial response. That is to say, after the presence of the memory card inserted in the insertion unit is detected, the initial response between the host computer 10 and the interface controller starts.
  • the flowchart shown in FIG. 3 is described.
  • step SIl the device controller 1 is connected to the host computer 10 through a USB cable, and step S12 starts.
  • step S13 starts.
  • the operation stands by in this step.
  • step S13 the interface controller 2 receives a command request from the host computer 10 and then issues a response command to the host computer 10. In this manner, the USB initial response (initial response operation) is terminated and step S14 starts.
  • the device controller 1 is recognized by the host computer 10 and becomes ready to start data transfer with the memory card.
  • step S14 the data transfer is started and then step S15 starts.
  • step S14 the card detection controller 7a outputs a signal indicating presence of the memory card in the insertion unit as a trigger to the internal PLL 6 through the internal PLL controller 5.
  • the internal PLL 6 starts supplying clock signals to the memory controller 7.
  • data transfer starts between the host computer 10 and the memory card.
  • step S15 when the presence of the memory card inserted in the insertion unit is detected (Y in step S15), the operation returns to step S14.
  • step S16 starts.
  • step S16 the connection of the memory card control device with the host computer 10 at the USB interface is stopped (disconnected) and step S17 starts. That is, sending and receiving of data with the host computer 10 is disconnected by the interface controller 2.
  • step S17 the internal PLL 6 is stopped. That is, the clock signal supplied from the internal PLL 6 is stopped and the operation proceeds to step S18.
  • the device controller 1 and the host computer 10 are disconnected in step S16, but not physically disconnected. Therefore, power is still supplied to the device controller 1, consuming more current.
  • a signal indicating the absence of the memory card in the insertion unit is outputted from the card detection controller 7a to the internal PLL controller 5.
  • the internal PLL controller 5 stops the internal PLL 6. That is, the internal PLL controller 5 outputs a signal to stop the clock signal supply of the internal PLL 6. As a result, power consumption in the device controller 1 is minimized.
  • the operation returns to step 12. That is, in response to a detection result (that the memory card is not inserted) of the memory card detector (the card detection controller 7a) , the device controller 1 as a whole switches to the low power consumption mode in steps S16 and S17.
  • the USB initial response between the interface controller 2 and the host computer 10 is performed after the card detecting controller 7a detects the presence of the memory card inserted in the insertion unit. In this case, therefore, the USB initial response is not performed when the absence of the memory card is detected. As a result, power consumption for the USB initial response can be reduced when the absence of the memory card is detected.
  • the present invention is not limited to this embodiment, and variations and modifications may be made without departing from the scope of the present invention .
  • the memory card detector since the memory card detector is included in the memory card controller, the detection and the control of the memory card can be integrated. As a result, a circuit size and wiring can be reduced.
  • the low power consumption mode switching unit makes the interface controller disconnect sending and receiving of data to/from the host computer to switch the memory card controller and the interface controller to the low power consumption mode. Therefore, the memory card control device can be free from the control of the host computer. As a result, power consumption required for the interface controller to send and receive data to/from the host computer can be reduced.
  • the low power consumption mode switching unit makes the clock supplier stop supplying clock signals to switch the memory card controller and the interface controller to the low power consumption mode. Therefore, operations of register circuits in the memory card controller and the interface controller can be stopped. As a result, power consumption for the register circuits can be reduced.
  • a unit to output a signal to the low power consumption transfer unit is provided to switch the memory card controller and the interface controller to the low power consumption mode when the memory card detector detects absence of the memory card in the insertion unit. Therefore, the switching to the low power consumption mode can be achieved by the signal outputted by only detecting the absence of the memory card.
  • a unit to output a signal to the low power consumption mode switching unit is provided to return the memory card controller and the interface controller from the low power consumption mode to a normal operation mode when the memory card detector detects presence of the memory card inserted in the insertion unit.
  • the return from the low power consumption state to the normal state can be achieved by a signal outputted by only detecting the presence of the memory card.
  • the memory card control device is connected to the host computer through a USB interface. Therefore, the memory card control device of the invention can be connected to computers with a USB port, which are predominant in the market.
  • the memory card detector detects the presence or absence of the memory card in the insertion unit after the initial response between the interface controller and the host computer is completed. Therefore, the interface controller can immediately start communication with the host computer when the presence of the memory card is detected.
  • the interface controller and the host computer perform an initial response operation after the memory card detector detects the presence of the memory card inserted in the insertion unit. Therefore, since the initial response operation is not performed when the absence of the memory card is detected, power consumption can be reduced.
  • the present application is based on

Abstract

A memory card control device includes an insertion unit to which a memory card is inserted, a memory card controller to control writing and reading of data to/from the memory card inserted in the insertion unit, an interface controller to send and receive the data written or read to/from the memory card to/from a host computer, a clock supplier to supply a clock signal to the memory card controller and the interface controller, a memory card detector to detect presence or absence of the memory card inserted in the insertion unit, and a low power consumption mode switching unit to switch the memory card controller and the interface controller to a low power consumption mode in response to the absence of the memory card detected by the memory card detector.

Description

DESCRIPTION
MEMORY CARD CONTROL DEVICE AND METHOD FOR CONTROLLING
THE SAME
TECHNICAL FIELD
The present invention relates to a memory card control device which controls a memory card used by a computer or the like, and to a memory card control method.
BACKGROUND ART
A device controller 100 serving as a conventional memory card control device is shown in FIG. 4. The device controller 100 includes an interface controller 101, a CPU 102, a ROM 103, an internal PLL controller 104, an internal PLL 105, and a memory card controller 106.
The interface controller 101 communicates with a host computer 200 which is externally connected to the device controller 100 to receive data to be written to a memory card and send data read from the memory card.
The CPU 102 controls the interface controller 101 and the memory card controller 106 which is described later. The CPU 102 manages overall control of the device controller 100. The ROM 103 is a read only memory in which software for controlling the CPU 102 is stored in advance. The internal PLL controller 104 controls the internal PLL 105 which is described later. The internal PLL 105 supplies clock signals in a predetermined frequency to the interface controller 101 and the memory card controller 106. The memory card controller 106 includes plural card controllers 106i, IO62, IO63, ..., and 106n, each of which controls writing, reading, and the like of data to/from the memory card inserted in a memory card insertion unit. The device controller 100 as shown in FIG.
4 is connected to, for example, the host computer 200 through a USB (Universal Serial Bus) interface and controls writing and reading to/from various memory cards to serve as an external memory device of the host computer 200.
The device controller 100 of this kind is sometimes connected to or mounted in a notebook computer serving as a host computer. In such cases, power consumption is an issue. In a battery-powered notebook computer, power consumption directly affects battery life. In a recent memory card, in particular, capacity has been increasing, a processed data amount has increased to a G (giga) unit, and a data transfer rate has been also increasing. Therefore, there is a concern that more power consumption is expected.
Patent Document 1 discloses a method to solve such a problem. In this method, when a computer detects that a device connected to the computer is in an idle state, the computer sends a function to cause the device to be in a suspended state (in a low power consumption state) .
[Patent Document 1] Japanese Patent Application Publication No .2005-508041 However, since the host computer is required to monitor the state of the device, a monitoring function is required to be added to an OS (operating system), a device driver, or the like on the host computer side.
DISCLOSURE OF THE INVENTION
The invention is made in view of solving the aforementioned problem.
It is an object of at least one embodiment of the invention to automatically cause a memory card control device to be in a low power consumption mode by itself without being controlled by a host computer,
According to one aspect of the invention, a memory card control device includes an insertion unit to which a memory card is inserted, a memory card controller to control writing and reading of data to/from the memory card inserted in the insertion unit, an interface controller to send and receive the data written or read to/from the memory card to/from a host computer, a clock supplier to supply a clock signal to the memory card controller and the interface controller, a memory card detector to detect presence or absence of the memory card inserted in the insertion unit, and a low power consumption mode switching unit to switch the memory card controller and the interface controller to a low power consumption mode in response to the absence of the memory card detected by the memory card detector. According to another aspect of the invention, there is provided a method for controlling a memory card control device including a memory card controller configured to control writing and reading of data to/from the memory card inserted in an insertion unit and an interface controller configured to send and receive the data written or read to/from the memory card to/from a host computer. The memory card control method includes a step of detecting presence or absence of the memory card inserted in the insertion unit and a step of switching the memory controller and the interface controller to a low power consumption mode in response to the absence of the memory card.
According to at least one embodiment, the memory card detector detects whether the memory card is inserted in the insertion unit and then the low power consumption mode switching unit switches the memory card controller and the interface controller to a low power consumption mode. Therefore, the switching to the low power consumption state can be achieved by only the absence of the memory card. As a result, the memory card control device by itself can switch to the low power consumption state without being controlled by the host computer, thereby the power consumption can be reduced. According to at least one embodiment, presence or absence of the memory card inserted in the insertion unit is detected and the memory controller and the interface controller are switched to a low power consumption mode in response to the absence of the memory card. Therefore, the memory card control device can be switched to the low power consumption mode by only the data of the presence or absence of the memory card. As a result, the memory card control device can be automatically switched to the low power consumption mode by itself without being controlled by the host computer, and the power consumption can be reduced.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a memory card control device of an embodiment of the invention.
FIG. 2 is a flowchart showing a switching operation of the memory card control device to a low power consumption mode. FIG. 3 is a flowchart showing a switching operation of the memory card control device to a low power consumption mode.
FIG. 4 is a block diagram showing a conventional memory card control device.
BEST MODE FOR CARRYING OUT THE INVENTION [First embodiment]
An embodiment of the invention will be described below with reference to FIGS. 1 and 2. FIG, 1 is a block diagram showing a memory card control device of an embodiment of the invention. FIG. 2 is a flowchart showing a switching operation of the memory card control device shown in FIG. 1 to the low power consumption mode. A device controller 1 shown in FIG. 1 serving as the memory card control device includes an interface controller 2, a CPU 3, a ROM 4, an internal PLL controller 5, an internal PLL 6, a memory card controller 7, and an interface control register 8, and is connected to a host computer 10 through a USB interface .
The interface controller 2 communicates with the host computer 10 externally connected to the device controller 1 according to USB standards to receive data to be written to a memory card and send data read out from the memory card.
The CPU (Central Processing Unit) 3 serving as the low power consumption mode switching unit controls the interface controller 2, the memory card controller 7 which is described below, and the like, and manages overall control of the device controller 1.
The ROM 4 is a read only memory in which software, data, and the like to control the CPU 3 are stored in advance. The internal PLL controller 5 operates as the low power consumption mode switching unit, the unit to output a signal to switch the memory card control device to the low power consumption mode, and a unit to output a signal to return the memory card control device from the low power consumption mode to the normal operation mode. By receiving a control signal from the CPU 3 or the memory card controller 7, the internal PLL controller 5 outputs a signal to the internal PLL 6 which is described below to stop and restart a clock signal supply of the internal PLL 6.
The internal PLL 6 serving as the clock supplier is a PLL (Phase Lock Loop) circuit for supplying clock signals in a predetermined frequency to the interface controller 2 and the memory card controller 7.
The memory card controller 7 serving as the memory controller includes plural card controllers (a card 1 controller Iy, a card 2 controller 72, a card 3 controller 73, ..., and a card n controller 7n) and a card detection controller 7a.
A memory card here is a memory medium in a card form, which is formed of a semiconductor memory such as a flash memory. There are plural kinds of memory cards such as SD cards and memory sticks. Each of the aforementioned plural card controllers is provided for these kinds of memory cards.
The plural card controllers (the card 1 controller lχ, the card 2 controller 72, the card 3 controller 73, —, and the card n controller 7n) control writing, reading, and the like to/from the memory card inserted in a corresponding memory card insertion unit which is not shown.
The card detection controller 7a serving as the memory card detector outputs a signal to indicate presence or absence of the memory card to the CPU 3 and the internal PLL controller 5 in response to card insertion detection signals outputted by the plural card controllers. That is, the card detection controller 7a detects whether the memory card is inserted.
The interface control register 8 operates as the low power consumption mode switching unit, the unit to output a signal to switch the memory card control device to the low power consumption mode, and the unit to output a signal to return the memory card control device from the low power consumption mode to the normal operation mode. When set by the CPU 3, the interface control register 8 outputs a control signal to disconnect or connect sending and receiving of signals to/from the host computer 10 through the USB interface.
Next, a description is made on a switching operation of the device controller 1 with the aforementioned configuration to the low power consumption mode with reference to the flowchart in FIG. 2.
First, in step Sl, the device controller 1 is connected to the host computer 10 through a USB cable. The operation proceeds to step S2.
In step S2, a command request from the host computer 10 is received by the interface controller 2, which then issues a response command to terminate a USB initial response. As a result, the device controller 1 is recognized by the host computer 10, whereby data transfer with a memory card can be started. The operation proceeds to step S3.
In step S3, detection of a memory card storing data to be transferred is performed. When the presence of the memory card is detected (Y of step S3), data transfer starts. When the absence of the memory card is detected (N of step S3) , the operation proceeds to S4. Detecting insertion of the memory card, the card detection controller 7a outputs a signal indicating presence of the memory card in -li¬
the insertion unit as a trigger to the internal PLL 6 through the internal PLL controller 5. Thus, the internal PLL 6 starts supplying clock signals to the memory controller 7. As a result, data transfer starts between the host computer 10 and the memory card. When the absence of the memory card in the insertion unit is detected, the memory card control device is determined to be not in use, whereby a switching operation to the low power consumption mode starts.
In step S4, the connection of the memory- card control device with the host computer 10 through the USB interface is stopped (disconnected) and step S5 starts. That is, sending and receiving of data with the host computer 10 is disconnected by the interface controller 2.
Stopping connection (disconnection) with the host computer 10 is performed as follows. A USB has a Full Speed Mode and a High Speed Mode as known. In Full Speed Mode, by disabling a Pull Up resistor of a signal line DP which communicates with the host computer 10, the connection between the host computer 10 and the device controller 1 is disconnected. In High Speed Mode, by disabling termination resistors of the signal lines DP and DM, the connection between the host computer 10 and the device controller 1 is disconnected. As a result, the host computer 10 does not recognize the device controller 1. To be specific, receiving a signal indicating absence of the memory card in the insertion unit from the card detection controller 7a, the CPU 3 writes a value (for example, 0) in the interface control register 8 to disconnect the USB connection. The interface control register 8 outputs a control signal and disables the Pull Up resistor of the signal line DP and the termination resistors of the signal lines DP and DM. Note that disabling here does not mean to physically disable the resistor, but to electrically disable the resistor. In step S5, the clock signal supplied from the internal PLL 6 is stopped and the operation proceeds to step S6. The device controller 1 and the host computer 10 are disconnected in step S4, but not physically disconnected. Therefore, power is still supplied to the device controller 1, consuming more current. To solve this problem, a signal indicating absence of the memory card in the insertion unit is outputted from the card detection controller 7a to the internal PLL controller 5. Then, the internal PLL controller 5 stops the internal PLL 6, that is, the internal PLL controller 5 outputs a signal to stop the clock signal supply of the internal PLL 6. As a result, power consumption in the device controller 1 is minimized. As the switching to the low power consumption is completed in step S6, step S7 starts. In response to a detection result (that the memory card is not inserted) of the memory card detector (the card detection controller 7a) , the device controller 1 as a whole switches to the low power consumption mode in steps S4 and S5.
When the presence of the memory card inserted in the insertion unit is detected in step S7 (Y in step S7), the operation returns to step Sl. On the other hand, the operation stands by when the absence of the memory card is detected in step S7. That is, when the presence of the memory card is detected, the card detection controller 7a outputs a signal indicating presence of the memory card in the insertion unit to the internal PLL controller 5. The internal PLL controller 5 outputs a control signal to the internal PLL 6 to restart the clock signal supply. The CPU 3 writes a value (for example, 1) indicating that the USB connection is made in the interface control register 8. Then, the interface register 8 outputs a control signal to connect the disconnected resistors. As a result, the device controller 1 and the host computer 10 which are disconnected restart negotiation and complete the USB initial response, thereby the host computer 10 recognizes the device controller 1. Then, data transfer starts between the memory card and the host computer 10 (return to the normal operation mode) .
In this embodiment, when the absence of the memory card is detected by the card controllers of the memory card controller 7 in the device controller 1 which controls writing, reading, and the like of data to/from the memory card, the card detection controller 7a outputs a signal indicating absence of the memory card in the insertion unit to the CPU 3. The CPU 3 then writes a value in the interface control register 8 to disconnect the USB connection with the host computer 10. The card detection controller 7a outputs a signal indicating absence of the memory card in the insertion unit to the internal PLL controller 5. Then, the internal PLL controller 5 stops the clock signal supply from the internal PLL 6. In this manner, the memory card control device switches to the low power consumption mode. Therefore, the switching to the low power consumption mode can be achieved by only the absence of the memory card. As a result, the memory card control device of the invention can automatically switch to the low power consumption mode by itself without being controlled by the host computer 10.
The card detection controller 7a outputs a signal indicating absence of the memory card in the insertion unit to the CPU 3, which then writes a value in the interface control register 8 to disconnect the USB connection with the host computer 10. Therefore, the memory card control device can be free from the control by the host computer 10. As a result, power consumption required for the interface controller 2 to send and receive signals to/from the host computer 10 can be reduced.
The card detection controller 7a outputs a signal indicating absence of the memory card in the insertion unit to the internal PLL controller 5 so that the internal PLL controller 5 stops the clock signal supplied from the internal PLL 6. Therefore, operations of register circuits in the interface controller 2 and the memory card controller 7 can be stopped. As a result, the power consumption can be suppressed. The card detection controller 7a detects the presence or absence of the memory card in the insertion unit after the USB initial response between the interface controller 2 and the host computer 10 is completed. Therefore, the interface controller 2 can immediately start communication with the host computer 10 when the presence of the memory card is detected.
[Second embodiment] Next, a second embodiment of the present invention is described with reference to FIG. 3. The same components as those in the first embodiment are denoted by the same reference numerals, and description thereof are omitted. FIG. 3 is a flowchart showing a switching operation of the device controller 1 of the second embodiment to the low power consumption mode.
In this embodiment, a configuration similar to that of the first embodiment is employed. However, the flowchart of this embodiment is different from the flowchart of the first embodiment in that the detection of the memory card is performed before the USB initial response. That is to say, after the presence of the memory card inserted in the insertion unit is detected, the initial response between the host computer 10 and the interface controller starts. Hereinafter, the flowchart shown in FIG. 3 is described.
First, in step SIl, the device controller 1 is connected to the host computer 10 through a USB cable, and step S12 starts.
Subsequently, when the presence of the memory card storing data to be transferred is detected (Y in step S12), step S13 starts. When the absence of the memory card is detected (N in step S12) , the operation stands by in this step.
In step S13, the interface controller 2 receives a command request from the host computer 10 and then issues a response command to the host computer 10. In this manner, the USB initial response (initial response operation) is terminated and step S14 starts. As a result, the device controller 1 is recognized by the host computer 10 and becomes ready to start data transfer with the memory card. In step S14, the data transfer is started and then step S15 starts. In step S14, the card detection controller 7a outputs a signal indicating presence of the memory card in the insertion unit as a trigger to the internal PLL 6 through the internal PLL controller 5. Thus, the internal PLL 6 starts supplying clock signals to the memory controller 7. As a result, data transfer starts between the host computer 10 and the memory card.
Next, in step S15, when the presence of the memory card inserted in the insertion unit is detected (Y in step S15), the operation returns to step S14. When the absence of the memory card inserted in the insertion unit is detected (N in step S15), step S16 starts. In step S16, the connection of the memory card control device with the host computer 10 at the USB interface is stopped (disconnected) and step S17 starts. That is, sending and receiving of data with the host computer 10 is disconnected by the interface controller 2.
In step S17, the internal PLL 6 is stopped. That is, the clock signal supplied from the internal PLL 6 is stopped and the operation proceeds to step S18. The device controller 1 and the host computer 10 are disconnected in step S16, but not physically disconnected. Therefore, power is still supplied to the device controller 1, consuming more current. To solve this problem, a signal indicating the absence of the memory card in the insertion unit is outputted from the card detection controller 7a to the internal PLL controller 5. Then, the internal PLL controller 5 stops the internal PLL 6. That is, the internal PLL controller 5 outputs a signal to stop the clock signal supply of the internal PLL 6. As a result, power consumption in the device controller 1 is minimized.
After the switching to the low power consumption is completed in step S18, the operation returns to step 12. That is, in response to a detection result (that the memory card is not inserted) of the memory card detector (the card detection controller 7a) , the device controller 1 as a whole switches to the low power consumption mode in steps S16 and S17. According to this embodiment, the USB initial response between the interface controller 2 and the host computer 10 is performed after the card detecting controller 7a detects the presence of the memory card inserted in the insertion unit. In this case, therefore, the USB initial response is not performed when the absence of the memory card is detected. As a result, power consumption for the USB initial response can be reduced when the absence of the memory card is detected. The present invention is not limited to this embodiment, and variations and modifications may be made without departing from the scope of the present invention .
According to at least one embodiment, since the memory card detector is included in the memory card controller, the detection and the control of the memory card can be integrated. As a result, a circuit size and wiring can be reduced.
According to at least one embodiment, the low power consumption mode switching unit makes the interface controller disconnect sending and receiving of data to/from the host computer to switch the memory card controller and the interface controller to the low power consumption mode. Therefore, the memory card control device can be free from the control of the host computer. As a result, power consumption required for the interface controller to send and receive data to/from the host computer can be reduced. According to at least one embodiment, the low power consumption mode switching unit makes the clock supplier stop supplying clock signals to switch the memory card controller and the interface controller to the low power consumption mode. Therefore, operations of register circuits in the memory card controller and the interface controller can be stopped. As a result, power consumption for the register circuits can be reduced.
According to at least one embodiment, a unit to output a signal to the low power consumption transfer unit is provided to switch the memory card controller and the interface controller to the low power consumption mode when the memory card detector detects absence of the memory card in the insertion unit. Therefore, the switching to the low power consumption mode can be achieved by the signal outputted by only detecting the absence of the memory card.
According to at least one embodiment, a unit to output a signal to the low power consumption mode switching unit is provided to return the memory card controller and the interface controller from the low power consumption mode to a normal operation mode when the memory card detector detects presence of the memory card inserted in the insertion unit.
Therefore, the return from the low power consumption state to the normal state can be achieved by a signal outputted by only detecting the presence of the memory card. According to at least one embodiment, the memory card control device is connected to the host computer through a USB interface. Therefore, the memory card control device of the invention can be connected to computers with a USB port, which are predominant in the market.
According to at least one embodiment, the memory card detector detects the presence or absence of the memory card in the insertion unit after the initial response between the interface controller and the host computer is completed. Therefore, the interface controller can immediately start communication with the host computer when the presence of the memory card is detected.
According to at least one embodiment, the interface controller and the host computer perform an initial response operation after the memory card detector detects the presence of the memory card inserted in the insertion unit. Therefore, since the initial response operation is not performed when the absence of the memory card is detected, power consumption can be reduced.
The present application is based on
Japanese Priority Application No .2007-296556 filed on November 15, 2007 and Japanese Priority Application No.2008-279610 filed on October 30, 2008, with the Japanese Patent Office, the entire contents of which are hereby incorporated by reference.

Claims

1. A memory card control device comprising: an insertion unit to which a memory card is inserted; a memory card controller configured to control writing and reading of data to/from the memory card inserted in the insertion unit; an interface controller configured to send and receive the data written or read to/from the memory card to/from a host computer; a clock supplier configured to supply a clock signal to the memory card controller and the interface controller; a memory card detector configured to detect presence or absence of the memory card inserted in the insertion unit; and a low power consumption mode switching unit configured to switch the memory card controller and the interface controller to a low power consumption mode in response to the absence of the memory card detected by the memory card detector.
2. The memory card control device as claimed in claim 1, wherein the memory card detector is included in the memory card controller.
3. The memory card control device as claimed in claim 1, wherein the low power consumption mode switching unit causes the interface controller to disconnect the sending and receiving of the data to/from the host computer to switch the interface controller to the low power consumption mode.
4. The memory card control device as claimed in claim 1, wherein the low power consumption mode switching unit causes the clock supplier to stop supplying the clock signal to switch the memory card controller and the interface controller to the low power consumption mode.
5. The memory card control device as claimed in claim 1, wherein the memory card control device includes a unit configured to output a signal to the low power consumption mode switching unit to switch the memory card controller and the interface controller to the low power consumption mode when the memory card detector detects absence of the memory card inserted in the insertion unit.
6. The memory card control device as claimed in claim 1, wherein the memory card control device includes a unit configured to output a signal to the low power consumption mode switching unit to return the memory card controller and the interface controller from the low power consumption mode to a normal operation mode when the memory card detector detects presence of the memory card inserted in the insertion unit.
7. The memory card control device as claimed in claim 1, wherein the interface controller is connected to the host computer through a USB interface .
8. The memory card control device as claimed in claim 1, wherein the memory card detector detects the presence or the absence of the memory card inserted in the insertion unit after the interface controller and the host computer perform an initial response operation.
9. The memory card control device as claimed in claim 1, wherein the interface controller and the host computer perform an initial response operation after the memory card detector detects the presence of the memory card inserted in the insertion unit.
10. A method for controlling a memory card control device including a memory card controller configured to control writing and reading of data to/from the memory card inserted in an insertion unit and an interface controller configured to send and receive the data written or read to/from the memory card to/from a host computer, the memory card control method comprising: detecting presence or absence of the memory card inserted in the insertion unit; and switching the memory controller and the interface controller to a low power consumption mode in response to the absence of the memory card.
PCT/JP2008/071057 2007-11-15 2008-11-13 Memory card control device and method for controlling the same WO2009064017A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200880101127.5A CN101765850B (en) 2007-11-15 2008-11-13 Storage card opertaing device and be used for the method for control store card control equipment
US12/666,541 US8549337B2 (en) 2007-11-15 2008-11-13 Memory card control device and method for controlling the same

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2007296556 2007-11-15
JP2007-296556 2007-11-15
JP2008279610A JP5386931B2 (en) 2007-11-15 2008-10-30 Memory card control device and memory card control method
JP2008-279610 2008-10-30

Publications (1)

Publication Number Publication Date
WO2009064017A1 true WO2009064017A1 (en) 2009-05-22

Family

ID=40638857

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2008/071057 WO2009064017A1 (en) 2007-11-15 2008-11-13 Memory card control device and method for controlling the same

Country Status (1)

Country Link
WO (1) WO2009064017A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096791A (en) * 2009-12-09 2011-06-15 三星电子株式会社 Apparatus and method for using multiple memories in a portable terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000293638A (en) * 1999-04-01 2000-10-20 Toshiba Corp Ic card processing system and ic card reader/writer
JP2003280775A (en) * 2002-03-22 2003-10-02 Ricoh Co Ltd Usb device and control method for usb device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000293638A (en) * 1999-04-01 2000-10-20 Toshiba Corp Ic card processing system and ic card reader/writer
JP2003280775A (en) * 2002-03-22 2003-10-02 Ricoh Co Ltd Usb device and control method for usb device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096791A (en) * 2009-12-09 2011-06-15 三星电子株式会社 Apparatus and method for using multiple memories in a portable terminal
EP2339428A3 (en) * 2009-12-09 2011-11-09 Samsung Electronics Co., Ltd. Apparatus and method for using multiple memories in a portable terminal

Similar Documents

Publication Publication Date Title
US8549337B2 (en) Memory card control device and method for controlling the same
US6062480A (en) Hot docking system and methods for detecting and managing hot docking of bus cards
US7085876B2 (en) USB controlling apparatus for data transfer between computers and method for the same
KR100748554B1 (en) Universal serial bus host, universal serial bus system and method of driving the same
US8266457B2 (en) Data processing device and method for switching states thereof
US8135944B2 (en) Selectively powered data interfaces
AU2008243700B2 (en) A docking station
EP2249227A1 (en) Interface device for host device, interface device for slave device, host device, slave device, communication system and interace voltage switching method
US20060208097A1 (en) Electronic apparatus, unit drive, and interface controlling method of the unit drive
US20150253842A1 (en) Semiconductor device, and power control method for usbotg
JP2012533106A (en) USB attachment detection
US10162402B2 (en) Serial communication method
US20120151102A1 (en) Computer system, connection controller, and method for connection controller
US20060041689A1 (en) Data transfer control system, electronic apparatus and program
US20080162957A1 (en) Selectively powering data interfaces
JP2001067156A (en) Peripheral equimenht of computer, control method therefor, image pickup device, and storage medium
US20100058085A1 (en) Power-Saving Device and Method
TWI774145B (en) Host device and memory system
JP4387493B2 (en) Computer system and method for controlling the same
WO2009064017A1 (en) Memory card control device and method for controlling the same
US11288224B2 (en) Semiconductor system and semiconductor device
US10318463B2 (en) Interface controller, external electronic device, and external electronic device control method
US20120063283A1 (en) Optical disc drive and control method thereof
JP2003030127A (en) Sdio host controller
JP2002067449A (en) Imaging apparatus having backup means

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200880101127.5

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08849133

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 12666541

Country of ref document: US

ENP Entry into the national phase

Ref document number: 20107000663

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08849133

Country of ref document: EP

Kind code of ref document: A1