2013年(13)
分类: 嵌入式
2013-07-25 15:28:16
①将S2选择开关,拨到NAND位置,连接开发板的网线,上电启动开发板。
②在vmware linux中,打开shell,输入以下的命令
[root@tom demo-arm]# (输入开发板的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