4.1.4.2.1 DIAG_CPU_Registers()
diag_cpu_registers_status_t DIAG_CPU_Registers (void )
Software Requirement Reference ID : CPU_Registers_Test implements functional test H.2.16.5, as defined by the IEC 60730 standard.
This API validates CPU Registers for Stuck Bits and Coupling Faults. Description : The registers are tested in the following order:
WREG
TBLPTRL
TBLPTRH
TBLPTRU
TABLAT
PRODH
PRODL
FSR0L
FSR0H
FSR1L
FSR1H
FSR2L
FSR2H
STKPTR
INTCON0
STATUS
This test checks the integrity of the registers by testing for stuck at faults, insuring that the bits in the registers are not stuck at a value. The test can be done successively doing a write, read and check of 0x55 and 0xAA value into the CPU registers. The register is saved into RAM before the test is performed and restored after the test is done.
|
