|On this page…|
This topic shows you how to configure and open a command-line session with the target hardware.
This is an optional task that you can use to:
View the standard output while the board boots.
Get or set the IP address, as described in Get IP Address of Gumstix Overo Hardware topic.
To open a serial connection to your board:
Connect a USB cable from your host computer to the board.
Identify the COM port of your USB connection.
In Windows® 7, use the "search programs and files" feature in the Start menu to find "Device Manager".
Open Device Manager, and expand Ports (COM & LPT) to see the list of serial connections.
For example, the following image shows that the USB connection uses COM6.
In the MATLAB® Command Window, start PuTTY by entering:
h = overo; h.openShell('serial');
When the PuTTY dialog box opens, select the Serial category.
Set the following values:
Serial line to connect to: Enter the COM port number of the USB connection.
Speed (baud): 115200
Flow control: None
In the PuTTY dialog box, select the Session category.
Set the Connection type parameter to Serial, enter a new name for Saved Sessions, click Save, and click Open.
When a terminal window opens, press the Enter key on your keyboard. The terminal window displays the Linux® command line.
In the PuTTY window, log in by entering root twice. For example:
overo-boardname login: root Password: root
When you are finished, enter logout on the Linux command line, and close PuTTY to end the serial connection.
For more information about PuTTY, see: http://www.chiark.greenend.org.uk/~sgtatham/putty/