节点文献
嵌入式远程调试原理研究与实现
STUDY AND IMPLEMENTATION OF THE PRINCIPLE OF EMBEDDED REMOTE DEBUGGING
【摘要】 嵌入式软件调试是多个软硬件模块交互的复杂过程。研究嵌入式远程调试的原理,包括底层硬件机制、操作系统内核和编译器等模块对目标机调试代理的支持;基于新型嵌入式操作系统aCoral的基本内核功能,设计aCoral远程调试结构,提出了SWI异常处理机制的改进方法,实现了线程绑定机制和远程调试代理。采用GDB(GNU DeBugger)为宿主机调试器对系统进行功能验证,结果表明该系统具有可实现任务级调试和稳定性强等优点。
【Abstract】 Embedded software debugging is a complicated process which involves interactions of multiple hardware and software modules.In this paper we study the principle of embedded software debugging,including the support of target debugging agent by the modules of underlying hardware mechanism,the operating system kernel and the compiler.Based on the basic kernel function of aCoral,which is a novel embedded operating system,we design the remote debugging architecture of aCoral,and propose the improved method of SWI exception handling mechanism,thus implement the thread binding mechanism and the remote debugging agent.Using GDB as the host debugger,the function verification is carried out on the system.Experimental results prove that this system has the advantages of achievable debugging at task level and strong stability.
【Key words】 Embedded software; Remote debugging; aCoral; Debug agent; GDB;
- 【文献出处】 计算机应用与软件 ,Computer Applications and Software , 编辑部邮箱 ,2014年06期
- 【分类号】TP311.52
- 【被引频次】6
- 【下载频次】89