Solid state disk testing method and device and electronic equipment
A technology of a solid-state hard disk and a test method, applied in the storage field, can solve the problems of high test cost, increase test cost, poor test effect, etc., and achieve the effect of reducing test cost and improving test effect.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] An embodiment of the present disclosure provides a testing method for a solid state disk.
[0048] In this embodiment, the SSD is connected to the motherboard, please refer to figure 1 , the testing method of the solid-state hard disk provided by the embodiment of the present disclosure includes:
[0049] Step S101, read the memory address of the control register stored in the target register of the solid state disk.
[0050]In this embodiment, the solid state hard disk may be a non-volatile (Non Volatile Memory Express, NVME) solid state hard disk or a serial port hard disk (Serial Advanced Technology Attachment, SATA) type. The configuration space of the SSD stores configuration information. After the SSD is connected to the motherboard, the configuration information of the configuration space can be read using the start_memmap function by traversing the data bus (bus), device (device), and function (function). There are 6 bar registers in the configuration space, n...
Embodiment 2
[0101] An embodiment of the present disclosure provides a testing device for a solid state disk.
[0102] Specifically, see image 3, the testing device 300 of the solid-state hard disk provided by the embodiment of the present disclosure, the solid-state hard disk is connected to the motherboard, and the testing device 300 of the solid-state hard disk includes:
[0103] A reading module 301, configured to read the memory address of the control register stored in the target register of the solid-state hard disk;
[0104] The processing module 302 is configured to apply for a first virtual address to the motherboard, and write a test operation command to the solid-state hard disk at the first virtual address;
[0105] A determining module 303, configured to determine a first physical address corresponding to the first virtual address according to the pre-configured physical page file, and write the test operation command into the first physical address according to preset prot...
Embodiment 3
[0123] In addition, an embodiment of the present disclosure provides an electronic device, including a memory and a processor, the memory stores a computer program, and when the computer program runs on the processor, it executes the solid-state hard disk provided in Embodiment 1 above. testing method.
[0124] It should be understood that the electronic device provided in this embodiment can implement the solid-state disk testing method provided in Embodiment 1. For related descriptions, please refer to the content of Embodiment 1. To avoid repetition, details are not repeated here.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com