Font Size: a A A

Design And Realization Of Embedded Software Supports Usb Remote Debugger

Posted on:2012-12-13Degree:MasterType:Thesis
Country:ChinaCandidate:Y KuangFull Text:PDF
GTID:2218330368998292Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Firstly introduces the basic conceptions about embedded system and some relevant technologies about debugging; analysed work mechanisms of GDB loal debuging and GDB remote debugging, discussed some debugging models currently used in embedded systems by comparison of the implementation of different models, the development environment based embedded linux. it need to build the remote debugging environment when debug applications in embedded linux system in order to make the host machine can get data from the remote debugging environment to analyse and dubug. GDBserver is a lightweight debugger running on the target machine, it can be used to debug the embedded applications with GDB's cooperation on the host, this method can highly improve efficiency and reduce the developing cost.The existed debugging model for remote debugging applications in embedded linux is that carry out the GDBserver on the target machine as role of debugging stub, then connect the host and target machine by Serial port or TCP. The USB interface become the most popular peripheral interface going with the rapid development of computer. The old way for debugging is not convenient in current development.USB (Universal Serial Bus) is a high speed interface bus for data transmission. It is applied extensively by the reason of its merits like Plug-and-Play, Hot Plug, etc. USB is on its way for replacing Serial port and Parallel port as the standard peripheral interface.Linux is a popularly adopted open source system, it supported USB since linux kernel 2.2.18, USB1.1 is supported very well in 2.4.x, the new linux kernel 2.6.x supports USB 2.0 specification already.Studies the framework of USB driver on both host side and device side in linux, analyses the data structures of USB driver deeply; By use of USB device side driver, realizes the remote debugging function based GDB+GDBserver model in embedded linux via USB bus, successfully completed testing on S3C2410 developing board.
Keywords/Search Tags:Embeded linux, GDB, GDBserver, Remote Debugging, RSP protocol, USB Driver, USB host side driver, USB device side driver
PDF Full Text Request
Related items