liu.seSearch for publications in DiVA
Change search
ReferencesLink to record
Permanent link

Direct link
Implementation of an application debugger for software in embedded systems
The Institute of Technology, Faculty of Arts and Sciences, Linköping University, Department of Computer and Information Science.
2008 (English)Independent thesis Advanced level (degree of Master), 20 points / 30 hpStudent thesis
Abstract [en]

Debugging applications that are running in embedded systems is becoming harder and harder due to the growing complexity of the systems. This is especially true for embedded systems that are developed for the automotive market.

To aid the debugging there are tools called debuggers. Historically, debuggers have been implemented by using a debug port to connect a software debugger running at the developer machine to dedicated on-chip debugging hardware. The problem with this approach is that it is expensive and that it is not possible to use it if the debug port on the system is not available.Therefore there is a demand for user-friendly debuggers that are not as expensive and require no extra hardware.

This report presents alternatives to debugging embedded systems. From these alternatives a completely software based debugger solution called monitor-based debugging is selected and acts as a foundation for an implementation that is described in the report. The implementation uses GNU Debugger (GDB) and its remote debugging capabilities to perform debugging.

The implemented debugger is evaluated by using it to debug applications that are running in a powertrain control unit in a modern truck. It is also compared to two commercial hardware based debuggers. In the evaluation it is found that the debugger functionalities and user-friendliness are on par with the commercial alternatives, but that it lacks some in its non-intrusive capabilities when comparing it with the high-end alternatives on the market.

Place, publisher, year, edition, pages
2008. , 87 p.
Remote debugging, debugging embedded systems, monitor-based debugger, software based debugger, GNU Debugger, GDB
National Category
Computer Engineering
URN: urn:nbn:se:liu:diva-15539ISRN: LIU-IDA/LITH-EX-A--08/050--SEOAI: diva2:117514
2008-11-07, Donald Knuth, 581 83 Linköping, Hus B, 1 trappa (plan 3), Linköping, 13:15 (Swedish)
Available from: 2008-11-17 Created: 2008-11-15 Last updated: 2008-11-17Bibliographically approved

Open Access in DiVA

fulltext(824 kB)267 downloads
File information
File name FULLTEXT01.pdfFile size 824 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Markusson, Christoffer
By organisation
Department of Computer and Information Science
Computer Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 267 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 231 hits
ReferencesLink to record
Permanent link

Direct link