Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

SD card physical switch detection circuit and method, and SD card switch detection device

A technology of physical switch and detection circuit, applied in fault hardware test method, error detection/correction, detection of faulty computer hardware, etc., can solve the problem of inability to detect whether the SD card is locked, user troublesome, and user unable to write data SD Cards and other problems, to achieve the effect of shortening the R&D test cycle

Inactive Publication Date: 2017-10-17
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the testers on the factory production line test the SD card, the BIOS cannot detect whether the SD card is locked. If the tester locks the SD card, they cannot write information to the card when testing with related tools, and the test will report an error, causing the tester to fail. necessary trouble
At the same time, when the system sets the SD card to unlock and the user locks the SD card, the user cannot write data to the SD card, causing unnecessary trouble for the user

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • SD card physical switch detection circuit and method, and SD card switch detection device
  • SD card physical switch detection circuit and method, and SD card switch detection device
  • SD card physical switch detection circuit and method, and SD card switch detection device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] Please refer to figure 2 , figure 2 The circuit diagram corresponding to the function of detecting the physical switch of the SD card is realized for this embodiment.

[0037] This part of the circuit includes a PCH chip 100, an SD card connector 300 and a power supply circuit 200, wherein the GPIO port of the PCH chip 100 is connected to the WP_Switch pin of the SD card connector 300; the power supply circuit 200 is connected to the The GPIO port is connected to the connecting wire of the WP_Switch pin;

[0038] When the WP_Switch pin of the SD card connector 300 is grounded, the GPIO port on the PCH chip 100 detects a low level, and the corresponding SD card physical switch is in a closed state; when the WP_Switch pin is suspended, the GPIO port detects a high level level, when the corresponding physical switch of the SD card is in the disconnected state.

[0039] You can also set a pull up or pull down to change the level of the GPIO port, so that the GPIO port ...

Embodiment 2

[0042] like image 3 The shown SD card switch detection device includes a PCH chip, an SD card connector, an SD card control chip, a MOS tube, and a power supply circuit; wherein, the GPIO1 port of the PCH chip is connected to the WP_Switch pin of the SD card connector;

[0043] The power supply circuit is connected to the connecting line between the GPIO1 port and the WP_Switch pin;

[0044] The GPIO1 port of the PCH chip acquires the pin state of WP_Switch, and determines the physical switch state of the SD card according to the pin state.

[0045]The gate of the MOS transistor is connected to the GPIO0 port of the PCH chip, the source is connected to the WP_Switch of the SD card connector, and the drain is connected to the WP pin of the SD card control chip.

[0046] The power supply circuit includes a +3V voltage and a 10KΩ resistor, because the GPIO port of the PCH chip uses +3V power, and the power supply circuit also uses +3V power, just keep the same voltage as the GP...

Embodiment 3

[0052] Please refer to Figure 4 , Figure 4 The flowchart corresponding to this embodiment

[0053] S101: Receive an instruction to detect the physical switch of the SD card;

[0054] Receiving the instruction to detect the physical switch of the SD card includes manually sending the instruction to request the detection of the physical switch of the SD card, or the machine will automatically send the instruction to query the physical switch status of the SD card when the tester turns on the test machine to prepare for testing the SD card. Or the system issues the command when the user starts the system.

[0055] S102: Determine the state of the second GPIO port on the PCH chip; wherein, the second GPIO port is connected to the WP_Switch pin on the SD card connector;

[0056] The second GPIO port on the PCH chip is directly connected to the WP_Switch pin on the SD card connector, which can directly detect the state of the WP_Switch pin. Of course, a power supply circuit fo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an SD card physical switch detection circuit. The SD card physical switch detection circuit includes a PCH chip, an SD card connector, and a power supply circuit; a GPIO port of the PCH chip is connected to a WP_Switch pin of the SD card connector; the power supply circuit is connected to the GPIO port and a connection line of the WP_Switch pin. The detection circuit detects the WP_Switch pin corresponding to the SD card physical switch through the GPIO port, allows a BIOS to acquire the state of the SD card physical switch through the GPIO port and give an prompt to a user or a tester, facilitates the test flow and user use, and shortens the research and development test period of products. The invention also discloses an SD card physical switch detection method and the SD card switch detection device, which have the same beneficial effects as the above detection circuit.

Description

technical field [0001] The present application relates to the field of SD cards, in particular to an SD card physical switch detection circuit, method and SD card switch detection device. Background technique [0002] SD card (Secure Digital Memory Card, Chinese abbreviation: SD card) is a new generation of memory device based on semiconductor flash memory. The SD memory card is as big as a postage stamp, weighs only 2 grams, but has a high memory capacity , fast data transfer rate, great mobile flexibility and very good security. SD cards run much faster than MMC cards, and are more popular and cheaper. They are commonly used in cameras, notebooks, industrial control equipment and servers. [0003] The SD card has two states, one is readable and writable, and the other is write-protected. When using the SD card, you will encounter such a problem. When the system sets the SD card to unlock, the lock or unlock is controlled by the physical switch of the SD card itself. Whe...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/22
CPCG06F11/2221G06F11/2273
Inventor 公维迎
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products