嵌入式MPSoC的调试功能实现
Debug Function Implementation for Embedded MPSoC
-
摘要: 从软件角度讨论了嵌入式MPSoC的调试功能实现.在实时操作系统中设置了调试管理部分,通过构建操作系统的调试进程实现相应的调试功能,实现的调试功能模块包括相应的调试命令集规范、输入/输出模块及执行命令模块.实时操作系统驻住在MPSoC的主控芯片上,通过将执行命令模块放置到不同的处理器核上实现调试各核及核上程序的功能.为了保证操作系统自身功能正确,首先通过硬件EJTAG模块调试操作系统本身,并开发了相应的软件RDView;然后使用操作系统的调试管理部分实现调试本机及其他处理器核上应用程序的执行状况.基于软件实现的调试管理功能以较小的内存代价,方便、有效地实现了MPSoC的调试功能.Abstract: The implementation of debug function of MPSoC from the software point of view is discussed. The debug management module is set up in RTOS to implement debug function via constructing debug process. The debug management module includes the specification of debug command set, the input and output part and command execution part. RTOS hosts on the main control chip. The command execution part can be placed on the different processors to implement the debug function for the program executed on these processors. To ensure the correct execution of RTOS, the RTOS itself is debugged firstly with the help of EJTAG hardware module, and the software RDView is developed. The debug management module in RTOS can debug the execution of program on the same processor and on different processors. The software-based debug function for embedded MPSoC has been implemented at the cost of a little memory.
下载: