| The speciality of embedded software makes its development much more complicated than the traditional general computer software's. Debugging as a critical process in the embedded development, plays a very important role. Currently, there is little domestic research in the area of embedded debugging. The developing and debugging tools are provided by foreign companies generally. So it is greatly meaning to study the embedded debugging technology deeply and develop the tools of ourselves.To ease a series of problems such as too much dependency on import tools and lacking of development documents interiorly, we aim at ColdFire CPUs which are rapidly enlarged in the national market, adopt the remote debugging method based on GDB to design and implement a ColdFire embedded debugging system including hardware debugging platform SDMCF52233EVB, debugging stub GDBStub for ColdFire and integated debugging software SD-IDE for ColdFire in the host. It provides an integated debugging platform with full function, simple operation and low price to meet the needs of both study and development for the users.The paper describes the development process of ColdFire debugging system in detail. Firstly, it analyses GDB debugging technology and shows the structure frame of ColdFire debugging system. Secondly, it shows the design of SDMCF52233EVB mininum system, the realization of each hardware module and the hardware testing process. Then, basing on the reference of GDBStub's debugging principle and working mechanism, we design and implement GDBStub for ColdFire as a debugging agent in the target to work with GDB together. At last, it discusses the realization of integated debugging software SD-IDE for ColdFire according to different modules, including adding project templates, cross compiling, downloading codes and debugging codes. The results of this research provide a reference for the development of debugging system based on other chips and similar embedded productions. |