1.4.1. Open Target Board using Minicom
Open the terminal using minicom-
# sudo
minicom
-D /dev/ttyXX
Note
where XX is the Node Number.In case of USB-to-Serial converter it will be USB*.
Enter user name
root
and press Enter then type
ls
to see all the file.
# ls
Run
./myHelloWorld
to start the application
#
./myHelloWorld
Hello World
Welcome to the World of the Rana-AM335x! (serial)
close
minicom.
In this section we had changed an existing application. We had also learned
how to access the serial interface. First we called the function
open()
on the
device /dev/console. The return value of this function was a file descriptor. With
the file descriptor you called the function
write()
to send n bytes to the
device /dev/console. After that, the file descriptor was closed with the function
close().
1.5. Remote System Access using Eclipse
For Windows :
You have to set the address manually
connect ethernet cable
Go to
network connections
right click on "
Local area connection
" ►
properties
► under
general tab
double click on "
Internet Protocol(TCP/IP)
"
change the parameters
For above settings, refer section
1.2.1
PHYTEC Embedded Pvt. Ltd 2014
17