Font Size: a A A

Design And Implementation Of Kernel Debugger In Multi-Core Embedded System

Posted on:2014-09-03Degree:MasterType:Thesis
Country:ChinaCandidate:Y B PanFull Text:PDF
GTID:2268330422463447Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the coming of the information technology and the digital era, the embeddedsystem has been widely used in a lot of aspects, like military, medical, science,etc.Debugging is a very important part in the development process of embedded systems,. Agood debugger can be a great help in looking for the bugs,and thus Saving debuggingtime and shortening the development cycle. With the advent of embedded multi-coresystems, designing a good debugger is now facing some new problems.To achieve a debugging system for the Loogson multicore embedded environment, Itis a must to have a deep understanding of the Loogson platform, in particular thecharacteristics of multi-core architecture, The debugging system is divided into the twoparts.They are debugger and service program Tte debugger is mainly used to interact withthe user, and the service program is responsible for the specific target machine control.They communicate via TCP..In this paper, after analyzing the EJTAG mechanism in a detailed way., a debuggingsystem for the kernel based on the EJTAG mechanism is introduced.The debuggingsystem combines hardware part and software part.The electric circuit diagram of thehardware part is not hard.So it could be easily made. As to the software part,it includes thecodes that be used to control the target system through the EJTAG mechanism.It alsoincludes the higher layer codes that handle the commands users input.After analyzing thecommands,the high layerfinally uses the lower layer codes to execute the commands.Withthis debugging tool,user can effectively debug the kernel in a source-level way.Thedebugging tool can be used to view the Register, modifythem,view the variables, andmodify the variables, set breakpoints, single-step operation,etc.
Keywords/Search Tags:Cross-debugging, EJTAG, MIPS, Loongson system, Multi-core, Kernel-debugging
PDF Full Text Request
Related items