1.1 CPU Register Reset State Check

Test Name: CPU_REGISTER_RESET_STATE_CHECK

Software Requirement ID: SW_CPU_REGISTER_RESET_STATE_CHECK_01

Purpose of test: Check of registers at start-up.

Description: This diagnostic API performs an initialization-time check of the default value (expected Reset state) of all CPU control and status registers.

It helps detect incorrect reset or default states of individual bits or registers. If the Reset state of any register is found incorrect, the function re-initializes the register with its correct default value. The return value is a simple PASS/FAIL result.

  • CPU registers considered for RESET state check are:
    1. STATUS
    2. WREG
    3. FSR0H
    4. FSR0L
    5. FSR1H
    6. FSR1L
    7. INTCON

API Documentation: SW_CPU_REGISTER_RESET_STATE_CHECK_01