基于EJTAG的OCD調(diào)試方案的研究與實(shí)現(xiàn)
[Abstract]:With the continuous development of integrated circuit technology in China, more and more domestic SoC chips developed by our country appear in the market. The research object of this subject, SoC CPU Core, is a MIPS32 compatible processor core developed by our country, which is mainly aimed at digital TV, set-top box equipment, network equipment, storage equipment and consumer electronic product market. The successful development of the SoC CPU marks a great breakthrough in the design of microprocessors in our country, and breaks the present situation that our country relies on foreign processors for a long time. But for the SoC CPU, there are not many domestic manufacturers who choose to use the CPU. If a CPU is to be popularized on a large scale, the support of CPU vendors for its development tools should be strong enough, and CPU vendors must provide a stable development tool chain. Among them, the debugger plays a particularly important role, because in the process of designing and developing embedded SoC chip, adopting an efficient and stable debugging scheme helps to reduce the difficulty of chip development and can help developers to locate the problem quickly. Thus, the development cycle of the chip is greatly shortened. However, the domestic research on-chip debugging technology of SoC CPU is still in its infancy, so the research of this topic is of great significance. This paper first describes the concept of remote debugging in embedded development, and then introduces in detail all kinds of debugging schemes used in the embedded field: software simulation debugging scheme, software pile debugging scheme, ICE debugging scheme and on-chip debugging scheme. This paper mainly studies the implementation of on-chip debugging scheme for the SoC CPU. Therefore, the architecture characteristics of the SoC CPU are deeply studied, such as the handling of debugging exceptions by, SoC CPU, the memory mapping in debugging mode, and so on. In this paper, SoC CPU uses EJTAG to support on-chip debugging, and the implementation of on-chip debugging scheme is based on EJTAG interface, so the working principle of EJTAG is described in detail in this paper. In the selection of debugging software, GDB is used as the debugger on the debugging host side to debug the source code level. On the basis of studying GDB remote debugging protocol RSP, a debugging agent is implemented, that is, gdb server, realizes the support of GDB debugger for SoC processor EJTAG interface, thus realizing a low cost on-chip debugging scheme which supports source code level debugging.
【學(xué)位授予單位】:中國海洋大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2012
【分類號】:TN47;TP368.1
【參考文獻(xiàn)】
相關(guān)期刊論文 前4條
1 朱建培;;基于龍芯一號IP核的EJTAG調(diào)試[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2008年04期
2 龔蘭蘭;劉曉升;朱巧明;;遠(yuǎn)程調(diào)試系統(tǒng)的關(guān)鍵技術(shù)分析[J];計(jì)算機(jī)應(yīng)用與軟件;2010年10期
3 雷鴻;汪海;;基于嵌入式處理器的研究[J];軟件導(dǎo)刊;2011年08期
4 舒展;;嵌入式系統(tǒng)綜述[J];現(xiàn)代計(jì)算機(jī)(專業(yè)版);2011年05期
相關(guān)碩士學(xué)位論文 前6條
1 龔偉;基于gdb的嵌入式系統(tǒng)調(diào)試器的設(shè)計(jì)與實(shí)現(xiàn)[D];電子科技大學(xué);2006年
2 嚴(yán)明;嵌入式微處理器可測性設(shè)計(jì)與片上調(diào)試技術(shù)的研究與實(shí)現(xiàn)[D];國防科學(xué)技術(shù)大學(xué);2005年
3 朱梅;基于JTAG標(biāo)準(zhǔn)的通用交叉調(diào)試代理的設(shè)計(jì)和實(shí)現(xiàn)[D];電子科技大學(xué);2007年
4 徐宗霖;基于JTAG口的ARM編程器研究與開發(fā)[D];浙江工業(yè)大學(xué);2007年
5 周智俊;ARM調(diào)試系統(tǒng)的研究與實(shí)現(xiàn)[D];電子科技大學(xué);2008年
6 王瓊;嵌入式Linux軟件調(diào)試技術(shù)研究與實(shí)現(xiàn)[D];華中科技大學(xué);2007年
本文編號:2482671
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2482671.html