AM335X-PAC Series User Manual version 2.0.4 Page: 78
Copyright © 2021 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
4.3.3.
Execute Demo- helloworld.exe
The user can refer to below steps to transfer and execute helloworld.exe.
Use ‘Dos Command Prompt’ and ‘FTP’ tools to transfer program
Two methods can be used to transfer files to the LinPAC AM335x PAC, with LP-8x21 as an
example:
<
Method one
>
Using the ‘DOS Command Prompt’
(1)
Open a ‘DOS Command Prompt’ or double-click the shortcut icon for the ‘
LinPAC_AM335x
Build Environment
’ and type the ftp IP Address of the LP-8x21 for example,
ftp 192.168.0.200
to establish a connection to the FTP Server on the LP-8x21. When prompted, type the
User_Name (default value is ‘root’)
and
Password (default value is ‘icpdas’)
to establish a
connection to the LP-8x21.
(2)
Before transferring the files to the LP-8x21, type the ‘bin’ command to ensure that the file is
transferred to the LP-8x21 in
binary mode
.
(3)
Type the command ‘
put helloworld.exe
’ to transfer the helloworld.exe file to the LP-8x21.
(4)
Once the message ‘
Transfer complete
’ is displayed, then transfer process has been completed.
To disconnect from the LP-8x21, type the ‘
bye
’ command to return to the PC console. (Refer to
Figure 4.3.3-1)
Figure 4.3.3-1.
Transfer the helloworld.exe file to the LP-8x21