Menu
![Terminal Terminal](http://i38.photobucket.com/albums/e111/joncass1/photoshop.jpg)
Requirements
Mac's and serial TTY's. Mac's are excellent tools for accessing serial device TTY ports (to console into PBX's, switches, and routers). You just need a serial to USB adapter, the right driver, and some Terminal software. You can use screen, although Minicom (or a GUI program) offer more features and functionality.
You have assembled your Arduino* expansion board or your mini breakout expansion board, installed the appropriate drivers, and flashed the OS image (formerly called firmware).
Steps to Set Up a Serial Terminal
![Terminal Terminal](/uploads/1/2/5/8/125878341/641538252.png)
- Launch Spotlight by pressing Cmd + Space.
- Type
terminal
. - Select the Terminal app.
- In the Terminal window, enter the command:
ls /dev/cu.usbserial-*
- In the list of connected devices, look for a device that contains cu.usbserial. In the example above, the device name is /dev/cu.usbserial-A402YSYU.
Note: If your device is not in the list, verify that your board is powered on and connected to your system. Select the appropriate link below: - Assembling the Intel® Edison board with the Intel® Edison mini breakout board
- Assembling the Intel® Edison board with the Intel® Edison mini breakout board
- Connect to the USB serial device using the Terminal screen utility by entering the command:
screen /dev/xx.usbserial-XXXXXXXX 115200 –L
where/dev/xx.usbserial-XXXXXXXX
is replaced by your device unique name. Using the example above, the command would be:screen -L /dev/cu.usbserial-A402YSYU 115200 –L
Note: Adding –L to the command, as shown above, turns on output logging so you can see the results of your commands. To end a session in Screen type Ctrl + A and then Ctrl + K to kill the session. You will be prompted to end the session. - At the blank screen, press Enter twice. A login screen is displayed.
- At the login prompt, type
root
and press Enter. - Press Enter when prompted for a password. The following screen is displayed:
You have now established a serial communication with your board. You can interact with your board by entering common Linux commands. For a summary of useful commands, see Common commands for the Intel® Edison board.
For more complete information about compiler optimizations, see our Optimization Notice.