Patent ID: 7539903

Claim:
A method for monitoring program execution in at least two interconnected microcomputers in a sensor circuit sensing at least one operating parameter of a motor vehicle, comprising the steps of: generating, by one of the microcomputers in the sensor circuit, a request which is transmitted to the other microcomputer in the sensor circuit; using, by the other of the microcomputers, prescribed input data to prompt the execution of a program in response to receipt of the request; returning, by the other of the microcomputers, a response which is dependent on the input data to the one of the microcomputers; comparing, in the one of the microcomputers, the request and the response with one another; generating an error message if the request does not match the response; one of setting or changing, within the other of the microcomputers, a respective flag in a flag register following the execution of program portions of the program, and generating an error message if not all the flags have been set or changed following the execution of the program; introducing a falsification, by the other of the microcomputers, in the flag register; identifying, by the other of the microcomputers, the falsification as an error in the response provided to the one of the microcomputers; and checking, by the one of the microcomputers, for the falsification.