Abstract:
With Godson-1processor as the research prototype,a design scheme of on-chip debug features in embedded processor is presented in this paper.In the scheme the IEEE P1149.1JTAG TAP module is extended and some control logic is added inside the processor core to provide the following new capabilities for software and system debug:software debug breakpoint,debug interrupt,hardw are breakpoint,singlestep execution,etc.With only a JTAG debug cable,the debug host can access the internal resources and control the program running of the processor under debug.With the se on-chip debug features,the software development and system debug are facilitated greatly.