hi,stcSelfCheck() is the logic for detecting STC, and cpuSelfTest() is the logic for detecting CPU. If there is a problem with the STC logic, its detection of the CPU is unreliable. Both tests are required. When the power is turned on, the STC function is first detected. After the test is completed, the CPU will reset. After the CPU is started, check that the STC is correct, and then perform the CPU self-test. Also, the CPU resets after the diagnosis is completed. Then check the diagnosis result after restarting, that is, it will reset twice, right
thanks and regards.