; Power Fail/Auto Restart diagnostic (DSN 101206, 24396-13601_Rev-2326) echo echo echo ------------------------------------ echo DSN 101206 - Power Fail/Auto Restart echo ------------------------------------ echo echo Loading the diagnostic. echo Expect halt 102077 if successful. deposit A 101206 deposit B 000000 reset go 120 assert T=102077 ; Verify the DSN. echo echo Verifying DSN 101206. deposit M 126 assert T=101206 ; Configure the diagnostic. set CPU ARS ; Start the diagnostic. echo echo Executing the diagnostic. deposit S 000000 reset go 100 until "H0 2100 SERIES PWR FAIL DIAGNOSTIC\r\n" ; Allow the diagnostic time to initialize before failing power. ; Program start to beginning of background loop = 936,801 instructions. go until 2 seconds ; Fail the CPU power. echo echo Failing the CPU power. echo Expect halt 102006 to wait for power decay. power fail CPU go assert T=102006 ; Restore the CPU power. echo echo Restoring the CPU power. echo Expect halt 102077 for successful completion. echo power restore CPU ; End of the diagnostic. ; ; Verify HLT 77B for a successful pass. assert T=102077