GPIO (General Purpose Input/Output) configuration detection method and device and server
A detection method and a technology of a detection device, which are applied in the direction of using configuration testing to detect faulty hardware, program control devices, and faulty computer hardware, etc., and can solve problems such as tests that cannot fully cover functional tests, error-prone, GPIO configuration errors, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Such as figure 1 As shown, the present embodiment provides a GPIO configuration detection method, comprising the following steps:
[0043] S1, initialize each GPIO and hardware;
[0044] S2, read the pin logic of each GPIO in turn;
[0045] S3, comparing the read pin logic with the standard logic in the pre-stored logic detection table, and judging whether the two are consistent;
[0046] S4, outputting the comparison result, if the two are consistent, the GPIO configuration is normal, otherwise the GPIO configuration is abnormal.
[0047] This method first pre-stores the logic detection table, which stores the pin standard logic of each GPIO. After reading the pin logic of each GPIO, the configuration of the GPIO is automatically detected by matching and comparing with the standard logic in the table. No need for manual inspection, improve detection efficiency.
[0048] The method of this embodiment is executed during the booting process of the BIOS, automatically ...
Embodiment 2
[0071] Such as image 3 As shown, on the basis of Embodiment 1, this embodiment provides a GPIO configuration detection device, which executes the method of Embodiment 1 after operation, including the following functional modules.
[0072] Initialization module 101: initialize each GPIO and hardware;
[0073] Pin logic reading module 102: read the pin logic of each GPIO in turn;
[0074] Pin logic comparison module 103: compare the read pin logic with the standard logic in the pre-stored logic detection table, and judge whether the two are consistent;
[0075] Result output module 104: output the comparison result, if the two are consistent, then the GPIO configuration is normal; otherwise, the GPIO configuration is abnormal.
[0076] The device runs during the BIOS boot process, wherein the pin logic reading module, pin logic comparison module, and result output module run in the DXE stage of the BIOS boot process, that is, the initialization of GPIO and hardware is complet...
Embodiment 3
[0081] This embodiment provides a server. When the server is started, the method in Embodiment 1 is executed, and GPIO configuration detection is implemented during the server BIOS startup process.
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com