Method for automatically detecting system I2C address abnormity based on sequence traversal
An automatic detection and address technology, applied in error detection/correction, software testing/debugging, instruments, etc., can solve the problem of low efficiency of BMCI2C bus address anomaly detection, save manpower and material resources, improve detection efficiency, and speed up the research and development process. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] as attached figure 1 As shown in the flow chart, the embodiment of the present invention provides a method for automatically detecting system I2C address abnormality based on layer sequence traversal, including:
[0059] Step S101: Design the detection process of the current BMC I2C bus address abnormality based on layer order traversal, and automatically scan all slave devices under the BMC I2C bus layer by layer according to the detection process, and determine the actual address of the slave devices under the current BMC I2C bus ;
[0060] Step S102: Obtain a preset address table, and determine whether the current I2C address is abnormal according to the comparison between the actual address of the slave device under the current BMC I2C bus and the preset address table;
[0061] Step S103: If there is no abnormality in the I2C address, then end the detection process;
[0062] Step S104: If there is an abnormality in the I2C address, give an early warning and output...
Embodiment 2
[0066] In one embodiment, the detection flow of the current BMC I2C bus address abnormality is designed based on layer sequence traversal, and all slave devices under the BMC I2C bus are automatically scanned layer by layer according to the detection flow to determine the current BMC I2C bus. The actual address of the slave device, including:
[0067] According to the abnormal detection process of designing the current BMC I2C bus address based on layer order traversal, all devices under the BMCI2C bus are automatically scanned layer by layer; wherein,
[0068] If the scanned device has an I2C address, the current device is the effective level;
[0069] If the scanned device does not have an I2C address, the current device is an invalid level;
[0070] According to the effective hierarchy, obtain the device addresses of all effective hierarchies, and determine the actual address of the slave device under the current BMC I2C bus;
[0071] The working principle of the above-me...
Embodiment 3
[0074] In one embodiment, as attached image 3 The hierarchical order traversal topology graph and attached Figure 5 As shown in the effective hierarchy topology diagram, if the scanned device has an I2C address, the current device is the effective hierarchy, including:
[0075] Based on the I2C devices below the effective level 3, it is determined that the effective level is not greater than 3 layers;
[0076] Because the I2C address of the I2C device below the effective level 3 cannot affect the first 3 layers, it can be determined that the effective level is not greater than 3 layers;
[0077] According to the effective level is not more than 3 layers, it is determined that it is only necessary to traverse the first 2 effective layers of the scan;
[0078] The working principle of the above-mentioned technical solution is: in practical applications, the I2C topology structure can have multiple layers, but the effective layer is only 3 layers at most—that is, the device a...
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