分类: LINUX
2012-04-09 09:18:09
②在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,登陆界面如下: |
主机IP就是开发板的IP地址,用户名和密码都是plg,点击快速连接,就登陆上去了,这样就实现了图形化传输了,想往开发板中传什么文件,从左边的目录中选中文件直接就可以拖到右面的
目录里了,很是方便。
大家可以从网络上下载一个,很容易就可以找到
下一步编写按键外部中断驱动