摘要 |
PURPOSE:To detect the fault of a microprocessor system under the status that the normal function is being executed, by providing a program to detect the fault of the processor and a memory to a part of a task. CONSTITUTION:Diagnozing data are previously stored in a fixed address to check the fixed address of the memory and the operation of the processor. At first, the contents #5555 of the address A1 stored in the 1st location of a register, data #AAAA of the succeeding address of A1, and then #FFFF are inputted to the processor. If it is defined that the contents of the address A1 is (A1), the contents of the succeeding address is (A1+1) and the contents of the 3rd address is (A1+2), the processor executes (A1)+(A1+1) & (A1+2)+1=0. After the address A2, the processor executes A2 X A3 divided by A4=A5 residual A6. When said formulas are not satisfied, whether the reading operation of the contents of the fixed address or the operation of the processor is defective. |