1 Introduction
Test Name: CPU Register Test
Purpose of Test: Detect stuck bits in the CPU registers.
Description: CPU registers are tested for stuck bits and coupling Faults between each of the bits inside the individual registers but not between registers.
The basic algorithm works as below:
The test is implemented by successively performing a write, read and check of 0x55 and 0xAA values into the CPU registers. The register is saved into RAM before the test is performed and restored after the test is done.
-
Registers must be tested in the following order:
-
WREG
-
TBLPTRL
-
TBLPTRH
-
TBLPTRU
-
TABLAT
-
PRODH
-
PRODL
-
FSR0L
-
FSR0H
-
FSR1L
-
FSR1H
-
FSR2L
-
FSR2H
-
STKPTR
-
INTCON0
-
STATUS
-
API Documentation: CPU Register Diagnostic Test