AM335X-PAC Series User Manual version 2.0.1 Page: 79
Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
Use SSH to access LinPAC and execute program
(1)
Putty
–
the free PuTTY is an SSH and telnet client. Download PuTTY tool:
(2)
Open a ‘Putty Prompt’
and type the IP Address of the LinPAC, and the connection type is set to
SSH. When prompted, type the User_Name and Password to establish a connection to the
LP-
8x2x. If the ‘
#
’
prompt character is displayed, it signifies that a connection to the telnet
server on the LP-8x2x has been successfully established. (refer to Figure 4.3.3-6)
Figure 4.3.3-6.
Establish a connection to the telnet server
(3)
Type the ‘
chmod 777 helloworld.exe
’
command to change the permissions for the
helloworld.exe file. Type the ‘
ls -l
’
command again to list all the files in the /root directory
and verify the permissions assign
ed to the ‘helloworld.exe’
file. This means that the file is
executable. Execute the ‘./helloworld.exe’
f
ile by typing and the message ‘ICPDAS hello world!’
will be displayed.
The compile, transfer and execution processes are now complete. (refer to Figure 4.3.3-7)
Figure 4.3.3-7.
Modify the permissions of files