Font Size: a A A

Based Soc Chip Gnu Debugger Extension

Posted on:2009-11-17Degree:MasterType:Thesis
Country:ChinaCandidate:X M SheFull Text:PDF
GTID:2208360245460941Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the rapid development of the embeded system industry in China, the software development targeting for special DSP is attacting more and more attention.Nowadays, SOC (System on Chip) chip takes a very important role in the embeded system industry, for it is well-known for its high performance, low cost and low power consumption.The SOC Chip has been widely used in mobile telephone, digital camera, digital television and other digital products.Datang telecom has gained market success using the ZSP400 core in its COMIP platform, and now Datang telecom is augmenting its DSP processing solutions with the ZSP540, which allows immediate usability in 3G wireless designs.In order to help our company win more market share for COMIP, we should leverage extendable world-class software development tool chains for this SOC chip as soon as possible.By means of this kind of development tools chain ,the software engineer could quickly deliver related embeded software based on the latest SOC chip .But the related commercial products are very expensive and not so extendable.Then, we face the challenge on how to deliver an embeded system tool chains based on the new instruction set of the SOC chip rapidly ,which is flexible enough and easy to use .In this thesis, we analyze the issues above,and we design and implement a flexible embeded system debugger,after deep analysis and optimiztion inside the GNU debugger code.Thus,the point of this thesis is about how to port the GDB related tool chain to our new chip,in order to help our new SOC chip's promotion.The thesis is focusing on how to port the whole GDB tool chain to the new chip, taking the latest SOC chip COMIP developed by Datang telecom as the example,the thesis emphasizes how to make GDB support the new instruction set of ZSP400/ZSP540: first,the thesis has introduced the background of this industry and the software requirement,then explains the basic concepts and baisc ideas of the debugger,then it introduces the work of porting GDB.First, and discusses on the architecture of GDB and focuses on the key feature of gdbarch,then it analyzes how to port the related important GNU library like BFD,OPCODES,and how to make use of them to implement the chip related features in GDB,then it introduces the implementation of most difficult part of work-the instruction simulator based on the new chip,and then it gives the key points of the whole GDB porting ,and finally it concludes how to make an extendable complier based on our new chip.At last, the thesis gives the whole conclusion of this GDB porting work.
Keywords/Search Tags:GDB porting, chip instruction simulator, BFD, OPCODES
PDF Full Text Request
Related items