| With the development of hardware technologies, embedded software development becomes the key tache of embedded development. Debugging is an important phase in embedded software development process, which becoming more prominent in embedded development, the relevant researches and technologies are also constantly updated. However, with the impact of processor and operating system, embedded debugging technologies have specificity. Therefore, research and implementation of debugging technologies before embedded system development have a great significance. The main task of this thesis is to research and implement Target Monitor debugging technology and On-chip debugging technology, which are the current mainstream debugging technologies.In the Target Monitor debugging technology, the implementation of several major components according to the architecture of Windows CE Target Monitor debugging technology is explained in detail. Windows CE Target Monitor debugging technology includes operating system debugging and application debugging. The operating system debugging uses KITL debugging technology which supports debugging on multiple communication ports. With the widely use of USB interface in embedded platform, the USB-based RNDIS driver was developed on Windows CE5.0 operating system and integrated in the KITL, the RNDIS KITL is realized. In the application debugging, the host uses the ActiveSync Software, and the target achieves the ActiveSync support in Windows CE operating system.In the On-chip debugging technology, the components according to the architecture of JTAG-based On-chip Debugging technology are realized. JTAG-based On-chip debugging technology works by using GDB debugging system and debugging agent server to control the debugging modules, including the implemention of JTAG debugging support for GDB debugging system, JTAG Server, JTAG debugging interface module and debugging unit of OR1200 processor.Target Monitor debugging technology and On-chip debugging technology can work stable separately on the PXA270 and OR1200 processor embedded platform. They will provide the debugging basis for the follow-up development of embedded platform. |