DocumentCode :
3019315
Title :
Pinpointing interrupts in embedded real-time systems using context checksums
Author :
Sundmark, Daniel ; Thane, Henrik
Author_Institution :
MRTC, Malardalen Univ., Vasteras
fYear :
2008
fDate :
15-18 Sept. 2008
Firstpage :
774
Lastpage :
781
Abstract :
When trying to track down bugs using cyclic debugging, the ability to correctly reproduce executions is imperative. In sequential, deterministic, non-real-time software, this reproducibility is inherent. However, when the execution is affected by preemptive interrupts, this will have severe effects on the ability to reproduce program behaviors deterministically, since a reproduction requires the interrupts to hit the program at the exact same instructions. In previous methods, this problem has been solved using different kinds of instruction counters, that induce large execution time perturbations, demand for specialized hardware, or provide inexact results. This makes them highly unfit for resource-constrained embedded real-time systems. In this paper, we propose an alternative method for pinpointing interrupts in embedded real-time systems using context checksums, which is not dependent on specific hardware features or special compilers - but which rather can be applied to any system. Although context checksums in some cases also prove inexact or ambiguous, we show that they serve as a practical method for pinpointing and reproducing interrupts in embedded real-time systems. Furthermore, our method performs perfectly well with standard development tools and operating systems, requires no additional hardware support and, according to preliminary results, consumes merely a tenth of the execution time of existing software-based methods for pinpointing interrupts.
Keywords :
embedded systems; interrupts; operating systems (computers); program compilers; program debugging; software tools; compilers; context checksums; cyclic debugging; deterministic software; embedded real-time systems; interrupts pinpointing; operating systems; sequential software; standard development tools; Computer bugs; Control systems; Counting circuits; Debugging; Hardware; Operating systems; Real time systems; Reproducibility of results; Sampling methods; Standards development;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Emerging Technologies and Factory Automation, 2008. ETFA 2008. IEEE International Conference on
Conference_Location :
Hamburg
Print_ISBN :
978-1-4244-1505-2
Electronic_ISBN :
978-1-4244-1506-9
Type :
conf
DOI :
10.1109/ETFA.2008.4638487
Filename :
4638487
Link To Document :
بازگشت