-- XianyuZhang - 22 Nov 2022

2022-11-28 - Test housekeeper timeout patch (read from MOXA) + IT8771 fix (RR modes inaccurately reported in AOS)

* People: Xianyu, Guido, Doug, Brandon * Scripts used: * Software versions used:
* sxadsec: test.20221031.hk-timeout * soul-sxwfs: stable * Software version after test: * sxadsec: stable * soul-sxwfs: stable

Background

The current housekeeper does not have a timeout for getting housekeeper values. This patch introduces a housekeeper timeout for its readout. The timer times the length of the interval during which any or all variables become unavailable, and power OFF the ASM when the timer expires. IT8771 fix (RR modes inaccurately reported in AOS).

Code changed

The commit# 4 of Github pull request #154 shows the code change. The basic design is as follows: Timer length is hard coded in the HK at the initialization of the HK the timer states are: a) timer not running
b) timer time set to now
c) timer length = 5 min (TBC) in the GetRawData loop: * if not all variables are read then the HK does the following
* * if the timer is ON then
* * * if the timer has exceeded the limit, then read the power command status from MOXA
* * * * if commanded on or status not available, command power off the ASM, put in ‘Panic’
* * * * else set the timer time to current
* * * else (if the timer is OFF) then read the power command status from MOXA
* * if the ASM is commanded ON, it set the timer ON and set the timer time to current
* else (if all variables are read) then set the timer OFF

The commit of IT8771 fix (RR modes inaccurately reported in AOS), see link.

Test

The test plan steps and results are available in the google sheets, see link1, link2.

Results

Topic revision: r2 - 09 Dec 2022, XianyuZhang
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback