Difference between revisions of "SB-SOM: HOWTO: USB Console"
(→Setting up the Compulab SBC) |
|||
Line 1: | Line 1: | ||
− | =Setting up your host PC= | + | [[Image:SB_SOM_topview2.jpg|thumb|right|alt=SB-SOM top view|<div align="center">SB-SOM top view</div>]] |
+ | [[Image:SB_SOM_bottomview2.jpg|thumb|right|alt=SB-SOM bottom view|<div align="center">SB-SOM bottom view</div>]] | ||
+ | |||
+ | = Setting up your host PC = | ||
# Connect a micro-USB cable (included with the evaluation kit) between the SBC <!-- [[SB-SOM:_Connectors:_P7|connector P7]] --> connector '''P7''' to a free USB port on your host PC. | # Connect a micro-USB cable (included with the evaluation kit) between the SBC <!-- [[SB-SOM:_Connectors:_P7|connector P7]] --> connector '''P7''' to a free USB port on your host PC. | ||
# Make sure the CP2104 driver is available with your operating system, otherwise install CP2104 driver onto the host PC from here: https://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx | # Make sure the CP2104 driver is available with your operating system, otherwise install CP2104 driver onto the host PC from here: https://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx | ||
Line 5: | Line 8: | ||
#* For Linux hosts, the serial port in most cases would be called like one of the following (where n is a positive integer): /dev/ttyUSB0, /dev/ttyUSB1 ... /dev/ttyUSBn | #* For Linux hosts, the serial port in most cases would be called like one of the following (where n is a positive integer): /dev/ttyUSB0, /dev/ttyUSB1 ... /dev/ttyUSBn | ||
#* For Windows Hosts, the serial port in most cases would be called like one of the following (where n is a positive integer): COM1, COM2 ... COMn | #* For Windows Hosts, the serial port in most cases would be called like one of the following (where n is a positive integer): COM1, COM2 ... COMn | ||
− | #Start a terminal emulation program (such as HyperTerminal on Windows or minicom on Linux). | + | # Start a terminal emulation program (such as HyperTerminal on Windows or minicom on Linux). |
− | #Within the terminal emulation program, in the serial port configuration section select the port identified in previous step | + | # Within the terminal emulation program, in the serial port configuration section select the port identified in previous step and set the following serial port parameters: |
− | + | <blockquote> | |
− | + | {{:SB-SOM: serial port parameters table}} | |
− | + | </blockquote> | |
− | |||
− | |||
− | |||
− | = Setting up the Compulab | + | = Setting up the Compulab Board = |
# Make sure jumper <!-- [[SB-SOM:_Jumpers:_E3|E3]] --> '''E3''' is not populated. | # Make sure jumper <!-- [[SB-SOM:_Jumpers:_E3|E3]] --> '''E3''' is not populated. | ||
# Start the system by enabling power through the <!-- [[SB-SOM:_Connectors:_J6_and_J8|main DC power connector]] --> main DC power connector. | # Start the system by enabling power through the <!-- [[SB-SOM:_Connectors:_J6_and_J8|main DC power connector]] --> main DC power connector. |
Revision as of 07:58, 11 May 2016
Setting up your host PC
- Connect a micro-USB cable (included with the evaluation kit) between the SBC connector P7 to a free USB port on your host PC.
- Make sure the CP2104 driver is available with your operating system, otherwise install CP2104 driver onto the host PC from here: https://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx
- Identify the host PC interface and port you will be using for communication with the SBC:
- For Linux hosts, the serial port in most cases would be called like one of the following (where n is a positive integer): /dev/ttyUSB0, /dev/ttyUSB1 ... /dev/ttyUSBn
- For Windows Hosts, the serial port in most cases would be called like one of the following (where n is a positive integer): COM1, COM2 ... COMn
- Start a terminal emulation program (such as HyperTerminal on Windows or minicom on Linux).
- Within the terminal emulation program, in the serial port configuration section select the port identified in previous step and set the following serial port parameters:
Baud Rate Data Bits Stop Bits Parity Flow Control 115200 8 1 none none
Setting up the Compulab Board
- Make sure jumper E3 is not populated.
- Start the system by enabling power through the main DC power connector.
- Make sure DS3 LED is ON while DS2 LED is OFF.
- Console messages should appear on your host PC through the terminal emulation program.