Font Size: a A A

Research And Implementation Of Embedded Linux Software Debugging Technology

Posted on:2008-10-10Degree:MasterType:Thesis
Country:ChinaCandidate:Q WangFull Text:PDF
GTID:2178360272967118Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Recently years, with the rapid development of the embedded technology, embedded system has been widely used in our daily lives. The debug of embedded system plays an important role during the development of embedded software as its indispensability.After analyzing various methods and technologies of embedded software debugging, an embedded debug system based on JTAG is designed. The design includes three parts: user interface, downloading file to the target, debugging embedded software.The first part is to realize a graphical user interface, it provides graphical debugging interface for users in the host. An interpreter is designed to parse commands that users enter, and transform valid commands to the representations specified by given format.The second part is realization of downloading file to the target. It is based on the communication between the debugger in the host and the bootloader in the target. The remote communication protocol between them is introduced in detail. The protocol is devided into three levels. It prescribes the message fomats and interactive processes between debugger and bootloader, and make sure the communication is efficient and accurate.The last part is to perform the function of dynamic debug and static debug. It is based on JTAG and the Embedded ICE in ARM kernel. Attention is concentrated on the debugging of ARM Linux kernel. The contents of memory and registers are sent to debugger through JTAG. The process state and function call sequences are tracked after analyzing the stack and the contents of memory.
Keywords/Search Tags:Embedded System, Remote Debugging, Boundary Scan Test
PDF Full Text Request
Related items