I2C Deadlock Recovery via Optical Module Isolation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing technologies fail to timely detect and recover from Inter-Integrated Circuit (I2C) bus deadlocks caused by damaged optical modules, and existing solutions require additional hardware, increasing costs and complexity.
Innovation Solution
An I2C deadlock and recovery method involving an optical module reading unit and isolation unit in a CPU, which periodically scans optical module states, isolates faulty modules, resets the I2C bus, and notifies the Baseboard Management Controller (BMC), allowing for automatic detection and recovery of faulty optical modules.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If commercial hardware I2C buffer with deadlock recovery function is imported and serially connected, then I2C deadlock recovery capability is improved, but hardware cost increases and device complexity increases
Solution Approach 1:
The patent replaces the mechanical/hardware-based I2C buffer with a software-based solution implemented in the CPU. The optical module reading unit and isolation unit are software modules that run on the existing CPU hardware, eliminating the need for additional physical I2C buffer hardware while maintaining deadlock recovery functionality.
Solution Approach 2:
The patent makes the CPU serve multiple functions by integrating the optical module reading unit and isolation unit within it. The CPU not only performs general processing but also specifically handles optical module state scanning, content reading, and I2C bus isolation control, eliminating the need for dedicated hardware components.
2Measurement precision
If optical module damage is detected by excluding other reasons one by one, then detection accuracy is improved, but detection time increases and productivity decreases
Solution Approach 1:
The patent performs preliminary actions by periodically scanning the states of optical modules and reading their contents in advance. The optical module reading unit continuously monitors module states and reads EEPROM/DOM contents, so when a deadlock occurs, the system already has pre-collected information about module states, enabling immediate fault identification without sequential exclusion.
Solution Approach 2:
The patent implements a feedback mechanism where the optical module reading unit continuously scans module states and reads contents, providing real-time information about optical module health. This feedback loop allows the system to immediately detect when a module transitions to a faulty state (in-place but reading failure) and trigger the isolation unit accordingly.
Data Source
AI summary
An Inter-Integrated Circuit (I2C) deadlock and recovery method and apparatus include the following steps: providing an optical module reading unit and an optical module isolation unit in a CPU of a switch; configuring the optical module reading unit to periodically scan the states of each optical module in the switch, reading contents of in-place optical modules, determining whether there is an optical module in which a content reading failure occurs but the state of which is in place, and if there is, determining that there is a faulty optical module; and configuring the optical module isolation unit to isolate all the optical modules of the switch, resetting an I2C bus, searching for and blocking the faulty optical module, deactivating the isolation of normal optical modules in the switch after the faulty optical module is blocked off, and notifying a BMC before and after the isolation of the optical modules.


