首页> 中文期刊> 《计算机应用研究 》 >USB设备端驱动的研究及在GDB远程调试中的应用

USB设备端驱动的研究及在GDB远程调试中的应用

             

摘要

During embedded Linux software development, it can do remote debugging on embedded software by using host CDB and target GDBserver, GDB communicate with CDBserver via RSP protocol, this method can improve efficiency effectively. The host machine and target machine can build connection with serial port or Ethernet but, not support USB connection so far. This paper introduced some USB related conceptions and the fundamental of GDB remote debugging, by analysing debugging model existed now, used Gadget drvier on the Linux device side to realize USB + GDB + GDBserver remote debugging model. This model is a supplement for the debugging models existed so far, USB interface is becoming more and more popular, making this model to be very convenient for engineers in the actual development.%在嵌入式Linux软件开发中,可以通过宿主机GDB( GNU debugger)加目标机GDBserver的方式对嵌入式软件进行远程调试,GDB和GDBserver通过RSP( remote serial protocol)协议进行通信,这种方式可以显著提高开发效率;目前宿主机和目标机之间支持串口或网口方式建立连接,暂不支持USB( universal serial bus)接口.介绍了USB的相关概念及GDB远程调试原理,通过分析当前存在的调试模型,利用Linux设备端Gadget功能驱动实现了USB+ GDB+ GDBserver的远程调试模型.该模型弥补了现有模型的不足,USB接口的日益普及使得该模型在实际开发中带来了极大的便利.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号