Difference between revisions of "SB-SOM: HOWTO: USB Console"

From Compulab Mediawiki
Jump to: navigation, search
(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:
#Within the terminal emulation program, in the serial port configuration section, set the <!-- [[SB-SOM:_serial_port_parameters|serial port parameters]]. --> following serial port parameters:
+
<blockquote>
#* '''Baud Rate:''' 115200
+
{{:SB-SOM: serial port parameters table}}
#* '''Data Bits:''' 8
+
</blockquote>
#* '''Stop Bits:''' 1
 
#* '''Parity:''' none
 
#* '''Flow Control:''' none
 
  
= Setting up the Compulab SBC =
+
= 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

SB-SOM top view
SB-SOM top view
SB-SOM bottom view
SB-SOM bottom view

Setting up your host PC

  1. Connect a micro-USB cable (included with the evaluation kit) between the SBC connector P7 to a free USB port on your host PC.
  2. 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
  3. 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
  4. Start a terminal emulation program (such as HyperTerminal on Windows or minicom on Linux).
  5. 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

  1. Make sure jumper E3 is not populated.
  2. Start the system by enabling power through the main DC power connector.
  3. Make sure DS3 LED is ON while DS2 LED is OFF.
  4. Console messages should appear on your host PC through the terminal emulation program.