USB设备端驱动的研究及在GDB远程调试中的应用  被引量:1

Study of USB device driver and its application in GDB remote debugging

在线阅读下载全文

作  者:况阳[1] 雷航[1] 詹瑾瑜[1] 

机构地区:[1]电子科技大学嵌入式实时计算实验室,成都611731

出  处:《计算机应用研究》2011年第10期3770-3774,共5页Application Research of Computers

基  金:国家核高基重大专项项目(2009ZX01039-003-001-002)

摘  要:在嵌入式Linux软件开发中,可以通过宿主机GDB(GNU debugger)加目标机GDBserver的方式对嵌入式软件进行远程调试,GDB和GDBserver通过RSP(remote serial protocol)协议进行通信,这种方式可以显著提高开发效率;目前宿主机和目标机之间支持串口或网口方式建立连接,暂不支持USB(universal serial bus)接口。介绍了USB的相关概念及GDB远程调试原理,通过分析当前存在的调试模型,利用Linux设备端Gadget功能驱动实现了USB+GDB+GDBserver的远程调试模型。该模型弥补了现有模型的不足,USB接口的日益普及使得该模型在实际开发中带来了极大的便利。During embedded Linux software development,it can do remote debugging on embedded software by using host GDB and target GDBserver,GDB communicate with GDBserver 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调试器 GDBserver 远程调试 

分 类 号:TP311.56[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象