CPLD Indicator State Recovery After Server Board Refresh
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
After updating the complex programmable logic device (CPLD) on a server board, the indicating apparatus reverts to a default state, leading to incorrect determination or inability to determine the operating state of the device by a user.
Innovation Solution
A method and apparatus for controlling an indicating apparatus, involving acquiring the current and previous refresh states of the CPLD, determining the update completion, and writing data to maintain the indicating apparatus in its pre-update state through the CPLD.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the CPLD is updated to add new functions, then the adaptability of the system is improved, but the indicating apparatus reverts to default state causing loss of information about device operating state
Solution Approach 1:
The patent applies preliminary action by saving the original register values of the CPLD before updating it. The BMC records the pending setting state of indicating apparatuses in advance, and after the CPLD update completes, it restores these saved values to maintain the correct device state information.
Solution Approach 2:
The patent implements discarding and recovering by temporarily discarding the default values that appear after CPLD update, then recovering the original state information by writing back the saved register values from before the update occurred.
2Adaptability or versatility
If the CPLD is updated, then new functions are enabled, but all register lists revert to default values causing device control functions to return to default states
Solution Approach 1:
The patent applies preliminary action by preemptively saving the register values that control device states before the CPLD update. The BMC stores these values and uses them to restore device control states after the update, ensuring reliability is maintained despite the update process.
3Adaptability or versatility
If the indicating apparatus is in default state after CPLD update, then the system operates with new CPLD functions, but users cannot accurately determine device operating states
Solution Approach 1:
The patent implements feedback by having the BMC continuously monitor the state of indicating apparatuses and compare it with the saved pending setting state. When a mismatch is detected after CPLD update, the BMC restores the correct state, providing feedback control to ensure accurate device state information is maintained.
Data Source
AI summary
A method and apparatus for controlling an indicating apparatus, a server, and a medium is provided. The method includes acquiring a current pending setting state of the indicating apparatus corresponding to a target device. Acquiring a current refresh state and a previous refresh state prior to the current time of a programmable logic device on a target board. The target board is connected to the indicating apparatus, and the target device is arranged on the target board. Determining the update of the logic device on the target board is complete when the current refresh state and the previous refresh state meet preset requirements. Writing data correspondingly representing the current pending setting state into the logic device on the target board, when a baseboard management controller is operational, to control a state of the indicating apparatus to the current pending setting state through the logic device on the target board.


