[go: up one dir, main page]

CN116414470A - Memory card starting method, memory device and computer device - Google Patents

Memory card starting method, memory device and computer device Download PDF

Info

Publication number
CN116414470A
CN116414470A CN202210006495.3A CN202210006495A CN116414470A CN 116414470 A CN116414470 A CN 116414470A CN 202210006495 A CN202210006495 A CN 202210006495A CN 116414470 A CN116414470 A CN 116414470A
Authority
CN
China
Prior art keywords
memory card
voltage
emmc interface
consistent
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210006495.3A
Other languages
Chinese (zh)
Inventor
亢少将
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Longsys Electronics Co Ltd
Original Assignee
Shenzhen Longsys Electronics Co 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
Application filed by Shenzhen Longsys Electronics Co Ltd filed Critical Shenzhen Longsys Electronics Co Ltd
Priority to CN202210006495.3A priority Critical patent/CN116414470A/en
Publication of CN116414470A publication Critical patent/CN116414470A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The application discloses a starting method of a memory card, a memory device and a computer device. Wherein the memory card is connected to an eMMC interface, the method comprising: receiving an initialization command; and initializing the memory card according to the initialization command, and setting the working voltage of the memory card to be consistent with the voltage configuration of the eMMC interface in the initialization operation process. By means of the method, the working voltage of the memory card can be switched to be consistent with the working voltage of the eMMC interface in the initializing process, and data communication between the memory card and the host equipment through the eMMC interface is achieved.

Description

Memory card starting method, memory device and computer device
Technical Field
The present invention relates to the field of storage devices, and in particular, to a method for starting a memory card, a storage device, and a computer device.
Background
In general, terminals such as mobile phones and tablet computers use eMMC as a storage device, but communication connection with other storage devices cannot be achieved through an eMMC interface, and data storage of the terminals is limited.
Disclosure of Invention
The application mainly provides a starting method of a memory card, a memory device and a computer device, and solves the problem that the memory card cannot be in data communication with a host device through an eMMC interface in the prior art.
In order to solve the above technical problem, a first aspect of the present application provides a method for starting a memory card, where the memory card is connected to an eMMC interface, the method includes: receiving an initialization command; and initializing the memory card according to the initialization command, and setting IO working voltage of the memory card to be consistent with voltage configuration of the eMMC interface in the initialization operation process.
Optionally, the CMD, CLK, D, D1, D2, D3, VDD, VSS interfaces of the memory card are respectively connected with CMD, CLK, D, D1, D2, D3, VCC, VSS interfaces of the eMMC interface.
Optionally, the initialization command is a CMD0 command.
Optionally, during the initializing operation, setting the IO operating voltage of the memory card to be consistent with the voltage configuration of the eMMC interface includes: and switching the IO working voltage of the memory card to 1.8V.
Optionally, the method further comprises: identifying the memory card, and determining whether IO working voltage of the memory card is consistent with voltage configuration of the eMMC interface; and when the IO working voltage of the memory card is consistent with the voltage configuration of the eMMC interface, completing the configuration of the memory card.
Optionally, the identifying the memory card, determining whether the IO operating voltage of the memory card is consistent with the voltage configuration of the eMMC interface, includes: and receiving an ACMD41 command, determining whether the IO working voltage of the memory card is consistent with the voltage configuration of the eMMC interface, and returning response information.
Optionally, when the S18A bit of the response information is 0, indicating that the IO operating voltage of the memory card is consistent with the voltage configuration of the eMMC interface; and when the S18A bit of the response information is 1, indicating that the IO working voltage of the memory card is inconsistent with the voltage configuration of the eMMC interface, and determining that the memory card identification fails.
To solve the above technical problem, a second aspect of the present application provides a computer device, where the computer device is provided with an eMMC interface and is capable of being communicatively connected to a memory card through the eMMC interface, and the computer device includes: the command sending module is used for sending an initialization command to the memory card so as to initialize the memory card; and the feedback information receiving module is used for receiving the initialization result of the memory card so as to determine whether the initialization operation is finished.
To solve the above technical problem, a third aspect of the present application provides a storage device, where the storage device is configured to connect to an eMMC interface, and the storage device is configured to implement the method for starting a memory card provided in the first aspect.
The beneficial effects of this application are: in contrast to the situation of the prior art, the memory card of the application is connected to the eMMC interface, firstly receives the initialization command, then performs the initialization operation on the memory card according to the initialization command, and sets the IO operating voltage of the memory card to be consistent with the voltage configuration of the eMMC interface in the initialization operation process, so that the memory card can realize communication with the host device through the eMMC interface.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an embodiment of establishing a connection between a memory card and an eMMC interface of the present application;
FIG. 2 is a schematic block diagram illustrating one embodiment of a method for booting a memory card of the present application;
FIG. 3 is a schematic block flow chart diagram of another embodiment of a method for booting a memory card of the present application;
FIG. 4 is a schematic block diagram of a flow chart of an embodiment of step S13 of the present application;
fig. 5 is a block diagram illustrating a structure of an embodiment of a computer device of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The terms "first," "second," and the like in this application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.
The application provides a memory card starting method, wherein a memory card is connected to an eMMC interface, the eMMC interface is arranged on a host device, and the memory card can be in communication connection with the host device through the eMMC interface.
The host device is, for example, a mobile phone, a tablet computer and other devices, and the memory card is an independent memory applicable to the mobile phone, the tablet computer and other devices.
The eMMC (Embedded Multi Media Card ) is an MMC association, and mainly aims at standard specifications of embedded memories of products such as mobile phones or tablet computers, wherein a controller is integrated in a package, and provides a standard interface and manages flash memories. And, the interface speed of eMMC is as high as 400MBytes per second, so eMMC has the capability of high-speed communication with the host device.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an embodiment of establishing a connection between a memory card and an eMMC interface of the present application. The memory card 300 of this embodiment is, for example, a SD (Secure Digital) card, the host device 100 is provided with an eMMC interface 200, the host device 100 supports the SD protocol, and the memory card 300 includes CMD, CLK, D, D1, D2, D3, VDD, and VSS interfaces, and a communication connection is between the memory card 300 and the eMMC interface 200, so as to implement data communication between the memory card 300 and the host device 100 through the eMMC interface 200.
The CMD, CLK, D, D1, D2, D3, VCC, and VSS interfaces of the memory card 300 are respectively connected to CMD, CLK, D, D1, D2, D3, VDD, and VSS interfaces of the eMMC interface 200.
Referring to fig. 2, fig. 2 is a schematic block flow diagram illustrating an embodiment of a method for booting a memory card according to the present application. It should be noted that, if there are substantially the same results, the embodiment is not limited to the flow sequence shown in fig. 2. The embodiment comprises the following steps:
step S11: an initialization command is received.
In the process of power-on reset of the memory card, the step receives an initialization command to initialize the memory card.
The initialization command is, for example, a CMD0 command. The CMD0 command is a reset command for resetting the memory card so that the memory card enters an Idle state.
Step S12: and initializing the memory card according to the initialization command, and setting the IO working voltage of the memory card to be consistent with the voltage configuration of the eMMC interface in the initialization operation process.
IO working voltage, namely input and output voltage of the memory card. The step is to initialize the memory card according to the initialization command, on the other hand, in the initialization process, IO working voltage of the memory card is configured.
In an embodiment, the IO operating voltage of the memory card is set to be consistent with the IO voltage configuration of the eMMC interface, specifically, the IO operating voltage of the memory card is switched to 1.8V. Specifically, the default operating voltage of the eMMC interface is 1.8V, and in order to make the IO operating voltage of the memory card coincide with the operating voltage of the eMMC interface, the IO operating voltage of the memory card is switched to 1.8V.
After the working voltages of the memory card and the eMMC interface of the host device are adjusted to be consistent through the steps, the memory card can realize data communication with the host device. In general, for the SD card, the default IO operating voltage is 3.3V, only low-speed data communication can be achieved, and after switching to 1.8V, high-speed data communication with the host device can be achieved through the eMMC interface, which cannot be matched with the operating voltage of the eMMC interface.
Referring to fig. 3, fig. 3 is a schematic block flow diagram illustrating another embodiment of a method for booting a memory card according to the present application. It should be noted that, if there are substantially the same results, the embodiment is not limited to the flow sequence shown in fig. 3. After step S12, the following steps may be further included:
step S13: and identifying the memory card, and determining whether the IO working voltage of the memory card is consistent with the voltage configuration of the eMMC interface.
In the card identification process, the type of the memory card and IO working voltage are confirmed. If the IO working voltage of the memory card is consistent with the voltage configuration of the eMMC interface, the IO working voltage configuration of the memory card in the initialization stage is successful; if the IO working voltage of the memory card is inconsistent with the voltage configuration of the eMMC interface, the failure of the IO working voltage configuration of the memory card in the initialization stage is indicated.
Referring to fig. 4, fig. 4 is a schematic block flow diagram of an embodiment of step S13 of the present application. It should be noted that, if there are substantially the same results, the embodiment is not limited to the flow sequence shown in fig. 4. The embodiment can comprise the following steps:
step S131: a CMD8 command is received.
Step S132: it is determined whether the memory card can operate under the voltage range of the host device according to the CMD8 command.
The host device sends a CMD8 command to the memory card, the memory card receives the CMD8 command and determines whether feedback information is returned, if the feedback information is returned, the type of the memory card is determined to be in accordance with the requirements, the memory card can work in the voltage range of the host device, and the step S133 is performed; otherwise, go to step S136 to determine that card identification has failed.
Step S133: an ACMD41 command is received.
Step S134: and determining whether the IO working voltage of the memory card is consistent with the voltage configuration of the eMMC interface, and returning response information.
The host device sends an ACMD41 command to the memory card, and the memory card receives the ACMD41 command and feeds back response information to the host device according to its own voltage configuration.
When the S18A bit of the response information is 0, the IO working voltage of the memory card is consistent with the voltage configuration of the eMMC interface, and the step S135 is carried out to determine that the card identification is successful; when the S18A bit of the response information is 1, it indicates that the IO operating voltage of the memory card does not meet the requirement of the host device, and the process goes to step S136 to determine that the card identification fails.
Step S135: and determining that the IO working voltage of the memory card is consistent with the voltage configuration of the eMMC interface.
Step S136: and determining that the card identification fails.
If the card identification fails after receiving the ACMD41 command, in an embodiment, the host device may resend the CMD0 reset command multiple times, the memory card receives the CMD0 reset command, and repeats the operation of switching the IO voltage of the memory card, and if the card identification fails after resetting for the set number of times, the memory card start-up procedure may be exited.
Step S14: and when the IO working voltage of the memory card is consistent with the voltage configuration of the eMMC interface, completing the configuration of the memory card.
And if the IO working voltage of the memory card is finally determined to be consistent with the voltage configuration of the eMMC interface, completing the configuration of the rest memory card.
In contrast to the prior art, the method and the device are different from the prior art, the memory card is connected to the eMMC interface, the IO working voltage of the memory card is adjusted to be consistent with the voltage configuration of the eMMC interface in the initialization stage, the memory card and the eMMC device can share the physical interface, multiplexing of the eMMC interface is achieved, the memory card can be in high-speed data communication with the host device, the host device can select the eMMC device or the memory card as the memory device, and data reading and writing are highly flexible.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an embodiment of a computer device of the present application. The computer device 400 supports SD protocol, is provided with eMMC interface, and can be in communication connection with the memory card through eMMC interface, and the computer device 400 includes: a command transmitting module 410 and a feedback information receiving module 420.
The command sending module 410 is configured to send an initialization command to the memory card, so as to perform an initialization operation on the memory card; the feedback information receiving module 420 is configured to receive an initialization result of the memory card, so as to determine whether the initialization operation is finished.
The command sending module 410 is further configured to send a CMD8 command to the memory card after the initialization operation of the memory card is completed, to determine whether the memory card can operate in the voltage range of the computer device 400, and the feedback information receiving module 420 is further configured to receive feedback information of the memory card, to determine whether the memory card can operate in the voltage range of the computer device 400.
The command sending module 410 is further configured to send an ACMD41 command to the memory card in response to the memory card being able to operate under the voltage range of the computer device 400, so as to determine whether the IO operating voltage of the memory card is consistent with the voltage configuration of the eMMC interface, and the feedback information receiving module 420 is further configured to receive response information of the memory card, and determine whether the card identification is successful or not according to the S18A bit of the response information.
For a specific manner of each step executed by each process, please refer to the description of each step of the host device in the above-mentioned embodiment of the method for starting the memory card of the present application, which is not repeated here.
Unlike the prior art, the above-mentioned computer device 400 supports communication connection with the memory card through the eMMC interface, supports the SD protocol, and can sequentially send the initialization command, the CMD8 command, and the ACMD41 command to the memory card, so as to complete identification on the memory card, realize communication connection with the memory card and the eMMC interface, realize high-speed data communication with the memory card, and flexibly read and write data through two connected storage elements.
In the embodiments of the present application, the disclosed method and apparatus may be implemented in other manners. For example, the various embodiments of computer device 400 described above are merely illustrative, e.g., the division of modules or elements is merely a logical functional division, and may be implemented in alternative ways, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or partly contributing to the prior art or in whole or in part in the form of a software product, which is stored in a storage medium.
The foregoing description is only exemplary embodiments of the present application and is not intended to limit the scope of the present application, and all equivalent structures or equivalent processes using the descriptions and the drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the present application.

Claims (10)

1. A method of booting a memory card, the memory card being connected to an eMMC interface, the method comprising:
receiving an initialization command;
and initializing the memory card according to the initialization command, and setting IO working voltage of the memory card to be consistent with voltage configuration of the eMMC interface in the initialization operation process.
2. The method of claim 1, wherein CMD, CLK, D, D1, D2, D3, VDD, VSS interfaces of the memory card are respectively connected with CMD, CLK, D, D1, D2, D3, VCC, VSS interfaces of the eMMC interface.
3. The method of claim 1, wherein the initialization command is a CMD0 command.
4. The method of claim 3, wherein setting the IO operating voltage of the memory card to be consistent with the voltage configuration of the eMMC interface during the initializing operation includes:
and switching the IO working voltage of the memory card to 1.8V.
5. The method according to claim 1, wherein the method further comprises:
identifying the memory card, and determining whether IO working voltage of the memory card is consistent with voltage configuration of the eMMC interface;
and when the IO working voltage of the memory card is consistent with the voltage configuration of the eMMC interface, completing the configuration of the memory card.
6. The method of claim 5, wherein the identifying the memory card to determine whether the IO operating voltage of the memory card is consistent with the voltage configuration of the eMMC interface comprises:
and receiving an ACMD41 command, determining whether the IO working voltage of the memory card is consistent with the voltage configuration of the eMMC interface, and returning response information.
7. The method of claim 6, wherein when S18A bit of the response information is 0, indicating that the IO operating voltage of the memory card is consistent with the voltage configuration of the eMMC interface; and when the S18A bit of the response information is 1, indicating that the IO working voltage of the memory card is inconsistent with the voltage configuration of the eMMC interface, and determining that the memory card identification fails.
8. The method of claim 6, wherein prior to receiving ACMD41 commands to determine whether the IO operating voltage of the memory card is consistent with the voltage configuration of the eMMC interface, comprising:
and receiving a CMD8 command, and determining whether the memory card can work under the voltage range of the host equipment according to the CMD8 command.
9. A computer device supporting SD protocol, provided with an eMMC interface, and being communicably connected with a memory card through the eMMC interface, characterized in that the computer device comprises:
the command sending module is used for sending an initialization command to the memory card so as to initialize the memory card;
and the feedback information receiving module is used for receiving the initialization result of the memory card so as to determine whether the initialization operation is finished.
10. A storage device for connecting an eMMC interface, the storage device being adapted to implement the method of any of claims 1-8.
CN202210006495.3A 2022-01-05 2022-01-05 Memory card starting method, memory device and computer device Pending CN116414470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210006495.3A CN116414470A (en) 2022-01-05 2022-01-05 Memory card starting method, memory device and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210006495.3A CN116414470A (en) 2022-01-05 2022-01-05 Memory card starting method, memory device and computer device

Publications (1)

Publication Number Publication Date
CN116414470A true CN116414470A (en) 2023-07-11

Family

ID=87058656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210006495.3A Pending CN116414470A (en) 2022-01-05 2022-01-05 Memory card starting method, memory device and computer device

Country Status (1)

Country Link
CN (1) CN116414470A (en)

Similar Documents

Publication Publication Date Title
USRE49643E1 (en) Card and host device
TWI813792B (en) Memory card, memory card adapter and terminal
US20050038956A1 (en) Method and an apparatus of flash cards access
US20090172279A1 (en) System For Accessing A Removable Non-Volatile Memory Card
US20070145154A1 (en) Interface for a removable electrical card
JP4896450B2 (en) Storage device
JP2009099528A (en) Receptacle for removable electrical interface devices
US7219846B2 (en) Circuit module and memory card kit compliant with various access protocols
KR20180077727A (en) Semiconductor integrated circuit card and communication system having the same
US7600060B2 (en) Memory system and method for setting data transmission speed between host and memory card
JPWO2018186456A1 (en) Host device and removable system
CN116414470A (en) Memory card starting method, memory device and computer device
CN112069108A (en) Flexible server configuration system and method based on PCIE Switch
US12174768B2 (en) PCI-E bus standard compliant multifunctional interface board
US20060027654A1 (en) Card reader and data transmission method therefor
US9015360B2 (en) Method of programming a USB device
EP1639378A1 (en) Memory bus checking procedure
CN116010315A (en) Hard disk backboard identification system, method, equipment and storage medium
KR101547465B1 (en) Multi embedded multimedia card
CN111918277A (en) Data storage management
JP2008242601A (en) Memory card control device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination