Download GU0102 TSK51x/TSK52x RTOS
Transcript
Debugging an RTOS Application 12.6 How to Debug ISRs The debugger can display information about all the ISRs in the system. 1. From the OSEK/ORTI menu select MYOSEK and ISRs A window pops up showing a list with all the ISRs in the system. Every ISR is described with a set of attributes. The debugger displays the values of these attributes. The ISR attributes are described in the next table. ISR Debug Attribute Description CATEGORY This attribute identifies the category of the ISR. NORUNS This attribute specifies how many times the interrupt service routine has executed. SERVICETRACE This attribute identifies the last entry (or exit) of a system service routine in code executed by this particular interrupt service routine. The possible ENUM values are: XxxYyyExit or XxxYyyEntry (where XxxYyy indicates the name of the system service). CPU_ISR *) This attribute specifies the time spent by the application code executing in this interrupt service routine. *) The TSK51x/TSK52x does not support these attributes. Table 12-5: ISR Debug Attributes 12-7