检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.40