Hardware Reference
In-Depth Information
learned how to connect over the network via
Telnet. This appendix will show you how to con-
nect to the command line using a serial cable.
This method lets you run Linux commands without any networking, which
will come in handy if you're trying to debug a networking problem. It also lets
you see the debug messages that Galileo outputs while it's booting up. That
information might be helpful in case there's some other problem with the
board.
While this connection is made via serial, it's different than the
connection that's made in the serial monitor of the Arduino
development environment. Arduino's serial monitor is for
viewing output from your Arduino code and not for command
line use.
To connect to the command line via serial, you'll need:
• DB9 Female to 3.5mm serial cable, such as this one from Amazon .
• USB to RS-232 DB9 serial cable if your computer doesn't already have
a DB9 serial port (and many don't nowadays). This cable from Ama-
zon will work.
CoolTerm , which is a free, cross-platform terminal utility. You could also
use the built-in screen command-line utility on Linux or OS X (for exam-
ple, screen /dev/tty.usbserial 115200 ).
To connect via serial:
1. Make sure your Galileo is powered properly.
2. Connect the DB9 to 3.5mm cable to the DB9 port on your computer or
USB adapter cable.
3. Connect the 3.5mm side of the cable to the 3.5mm jack on Galileo.
4. Launch CoolTerm and click Options.
5. If you're using the USB adapter cable:
a. Open the port listing to check the available serial ports.
b. Insert the USB cable into your computer (see Figure H-1 ) and then
click Re-Scan Serial Ports.
c. If there's a new port available in the port listing, select that port. If
nothing appears, you may have to install drivers for your particular
adapter cable.
 
Search WWH ::




Custom Search