Method for monitoring a program execution using a debug logic
First Claim
1. A method for monitoring an execution of a program that is executable on at least one microprocessor of a micro controller using a debug logic of the micro controller, comprising the steps of:
- causing the debug logic to trigger an exception upon access to a specific address range during a program execution time;
causing the at least one microprocessor to configure the debug logic; and
causing the debug logic to execute an exception routine after the exception is triggered during the program execution time.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for monitoring the execution of a program executable on at least one microprocessor of a micro controller using a debug logic of the micro controller, with an exception, particularly an interrupt of the program execution, being triggered by the debug logic upon access to a specific address range during the program execution time. In order to provide monitoring of the execution of a program, executable on a microprocessor, for faults, which is particularly reliable yet conserves resources as much as possible, it is suggested that the debug logic be configured by the microprocessor and that an exception routine be executed by the debug logic after an exception has been triggered during the program execution time. The debug logic is advantageously configured during the startup of the micro controller. Preferably, the micro controller is reset and started up again and the monitored program is initialized during the execution of the exception routine.
-
Citations
14 Claims
-
1. A method for monitoring an execution of a program that is executable on at least one microprocessor of a micro controller using a debug logic of the micro controller, comprising the steps of:
-
causing the debug logic to trigger an exception upon access to a specific address range during a program execution time;
causing the at least one microprocessor to configure the debug logic; and
causing the debug logic to execute an exception routine after the exception is triggered during the program execution time. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A control element for a micro controller, comprising:
an arrangement for storing a program, the program being executable on at least one microprocessor to perform the following;
causing a debug logic to trigger an exception upon access to a specific address range during a program execution time, causing the at least one microprocessor to configure the debug logic, and causing the debug logic to execute an exception routine after the exception is triggered during the program execution time. - View Dependent Claims (11, 12, 14)
-
13. A micro controller, comprising:
-
at least one microprocessor;
a debug logic, wherein;
a program is executable on the at least one microprocessor, the debug logic monitors an execution of the program during a program execution time and triggers an exception upon access to a specific address range, and the at least one microprocessor configures the debug logic; and
an arrangement for executing an exception routine after the exception is triggered during the program execution time.
-
Specification