00007-----连接mini2440开发板FTP

原文地址:http://blog.chinaunix.net/uid-20780360-id-3167383.html

说明:测试通过!帐户密码都可以,下边的图形化的方式登录没有测试!filezilla也有linux版本的RHEL6.3测试成功 下载地址

一.从虚拟机LINUX访问mini2440的FTP方法(本人不推荐,因为太繁琐)
     转载网络中的访问ftp方法:
      ①将S2选择开关,拨到NAND位置,连接开发板的网线,上电启动开发板。

②在vmware linux中,打开shell,输入以下的命令

[root@tom demo-arm]# ftp 192.168.1.230                             (输入开发板的ip地址)

Connected to 192.168.1.230 (192.168.1.230).

220 FriendlyARM FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17) ready.

Name (192.168.1.230:root): plg                                            (输入要登录的开发板的用户名)

331 Password required for plg.

Password:                                                                           (输入密码,plg)

230 User plg logged in.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> bin                                                                               (采用二进制方式发送文件)

200 Type set to I.

ftp> put demo                                                                             (传送可执行文件demo)

local: demo remote: demo

227 Entering Passive Mode (192,168,1,230,152,195)

150 Opening BINARY mode data connection for 'demo'.

226 Transfer complete.

1359567 bytes sent in 0.829 secs (1640.19 Kbytes/sec)

ftp> put demo.desktop                                                           (传送demo.desktop文件)

local: demo.desktop remote: demo.desktop

227 Entering Passive Mode (192,168,1,230,181,152)

150 Opening BINARY mode data connection for 'demo.desktop'.

226 Transfer complete.

95 bytes sent in 5e-05 secs (1900.00 Kbytes/sec)

ftp> put yana4.JPG                                                                      (传送程序所需要的图片文件)

local: yana4.JPG remote: yana4.JPG

227 Entering Passive Mode (192,168,1,230,147,239)

150 Opening BINARY mode data connection for 'yana4.JPG'.

226 Transfer complete.

23041 bytes sent in 0.0297 secs (775.03 Kbytes/sec)

ftp> put yana5.JPG                                                                      (传送程序所需要的图片文件)

local: yana5.JPG remote: yana5.JPG

227 Entering Passive Mode (192,168,1,230,232,35)

150 Opening BINARY mode data connection for 'yana5.JPG'.

226 Transfer complete.

22516 bytes sent in 0.00481 secs (4678.16 Kbytes/sec)

ftp>bye                                                                               (推出ftp)

221 Goodbye.

[root@tom demo-arm]# pwd

/root/xinlan/demo-arm



二。从windows访问mini2440的FTP

在XP系统中使用filezilla软件登陆开发板的FTP,登陆界面如下:

00007-----连接mini2440开发板FTP_第1张图片

 

 

主机IP就是开发板的IP地址,用户名和密码都是plg,点击快速连接,就登陆上去了,这样就实现了图形化传输了,想往开发板中传什么文件,从左边的目录中选中文件直接就可以拖到右面的

目录里了,很是方便。

 

 

大家可以从网络上下载一个,很容易就可以找到

 

 

下一步编写按键外部中断驱动

目标:1.实现按键中断
           2.开发板有四个LED灯,暂用四个按键控制LED灯,不同的按键亮不同的灯
           这样就将前面LED灯实验跟按键实验的程序结合起来了。

你可能感兴趣的:(00007-----连接mini2440开发板FTP)