3.2.3.1 DIAG_CPU_SelfTestSubset1()
diag_result_t DIAG_CPU_SelfTestSubset1 (void )
Software Requirement Reference ID: SW_CPU_SELF_TEST_LIB_01
Executes the CPU self-test Subset 1.-
MOV and MOVW instructions are tested
-
Addressing modes tested: Immediate, File Register, Register Direct and Indirect (with Pre-Increment, Post-Increment, Pre-Decrement, Post-Decrement, Literal Offset and Register Offset)
-
All bits of the program memory address bus are toggled
-
All bits of the SRAM data memory address bus are toggled
-
All bits of the SRAM data bus are toggled
-
SWAP instruction is tested
-
All bit manipulation, bit test, compare and bit-compare-skip operations are tested
-
CPU registers tested for read/write operations
| None. |
DIAG_PASS DIAG_FAIL |
