DE1-SOC调试linux应用程序

参考http://www.alterawiki.com/wiki/SoCEDSGettingStarted#Getting_Started_with_Linux_Application_Debugging

http://blog.csdn.net/mmg_sysu/article/details/41839277

电脑主机要与开发板用网线连接

电脑主机的IP地址和板子的IP地址必须在同一字段(可以通过ping命令检查是否连接成功)

用passwd root命令修改root密码

1.首先建立工程(目前还不知道怎么建立工程)

2.编译通过之后,再eclipse里面选择Window=>open perspective=>other=>remote system explorer

3.在Remote System Explorer view, 右键点击Local选择New > Connection=>SSH only

4.在host name一栏里面填写开发板的IP地址,点finish即可

5.点击sftp files里面的root,然后输入密码即可连接成功

 

debug:

点run => debug configuration

右键点击DS-5 Debugger选new

connection一栏

  选linux app debug => app debug => connection via gdbserver => download and debug app

  RSE connection选择刚刚建立的连接

files一栏

  点workspace选择可执行文件

  target download directory里面填/home/root

点debug即可进行调试

 

posted on 2016-11-21 18:48  yiyedada  阅读(530)  评论(0编辑  收藏  举报

导航