|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 BeagleBoard Hardware topic.
To open a serial connection to your board:
Connect a serial cable from your host computer to the female DB9 connector on the board.
Identify the COM port for your serial 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 DB9 serial port called "Communications Port" uses COM1. Similarly, the image shows that the USB-to-serial adapter called "Prolific USB-to-Serial Comm Port" uses COM6.
In the MATLAB® Command Window, start PuTTY by entering:
h = beagle; h.openShell('serial')
In the PuTTY dialog box that opens, select the Serial category.
Set the following values:
Serial line to connect to: If you are using your computer's built-in serial port, try COM1. Otherwise, use the Device Manager in Windows to determine the COM port number.
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.
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/