Implementation of an application debugger for software in embedded systems
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, debu...
Main Author: | |
---|---|
Format: | Others |
Language: | English |
Published: |
Linköpings universitet, Institutionen för datavetenskap
2008
|
Subjects: | |
Online Access: | http://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-15539 |
id |
ndltd-UPSALLA1-oai-DiVA.org-liu-15539 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-UPSALLA1-oai-DiVA.org-liu-155392018-01-14T05:13:31ZImplementation of an application debugger for software in embedded systemsengMarkusson, ChristofferLinköpings universitet, Institutionen för datavetenskap2008Remote debuggingdebugging embedded systemsmonitor-based debuggersoftware based debuggerGNU DebuggerGDBComputer EngineeringDatorteknikDebugging 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. Student thesisinfo:eu-repo/semantics/masterThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-15539application/pdfinfo:eu-repo/semantics/openAccess |
collection |
NDLTD |
language |
English |
format |
Others
|
sources |
NDLTD |
topic |
Remote debugging debugging embedded systems monitor-based debugger software based debugger GNU Debugger GDB Computer Engineering Datorteknik |
spellingShingle |
Remote debugging debugging embedded systems monitor-based debugger software based debugger GNU Debugger GDB Computer Engineering Datorteknik Markusson, Christoffer Implementation of an application debugger for software in embedded systems |
description |
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. |
author |
Markusson, Christoffer |
author_facet |
Markusson, Christoffer |
author_sort |
Markusson, Christoffer |
title |
Implementation of an application debugger for software in embedded systems |
title_short |
Implementation of an application debugger for software in embedded systems |
title_full |
Implementation of an application debugger for software in embedded systems |
title_fullStr |
Implementation of an application debugger for software in embedded systems |
title_full_unstemmed |
Implementation of an application debugger for software in embedded systems |
title_sort |
implementation of an application debugger for software in embedded systems |
publisher |
Linköpings universitet, Institutionen för datavetenskap |
publishDate |
2008 |
url |
http://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-15539 |
work_keys_str_mv |
AT markussonchristoffer implementationofanapplicationdebuggerforsoftwareinembeddedsystems |
_version_ |
1718610643365396480 |