Difference between revisions of "SB-SOM: HOWTO: RS-232 Console"

From Compulab Mediawiki
Jump to: navigation, search
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Image:SB_SOM_topview2.jpg|thumb|right|alt=SB-SOM top view|<div align="center">SB-SOM top view</div>]]
 
[[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>]]
 
[[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 =
+
== Setting up your host PC ==
# Connect the RS-232 cable (included with the evaluation kit) between the SBC <!-- [[SB-SOM:_Connectors:_P8|connector P8]] --> connector '''P8''' and a free RS-232 port on your host PC.
+
# Connect the RS-232 cable (included with the evaluation kit) between the SBC connector '''P8''' and a free RS-232 port on your host PC.
 
# Identify the host PC interface and port you will be using for communication with the SBC:
 
# 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/ttyS0, /dev/ttyS1 ... /dev/ttySn
 
#* For Linux hosts, the serial port in most cases would be called like one of the following (where n is a positive integer): /dev/ttyS0, /dev/ttyS1 ... /dev/ttySn
 
#* 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 =
+
'''More Details:''' ''[[SB-SOM:_Connectors:_P8|connector P8]]''.
# Make sure <!-- [[SB-SOM:_LEDS:_DS2|DS3 LED]] --> '''DS3''' LED is '''OFF''' while <!-- [[SB-SOM:_LEDS:_DS2|DS2 LED]] --> '''DS2''' LED is '''ON'''. If this is not the case, populate jumper <!-- [[SB-SOM:_Jumpers:_E3|E3]] --> '''E3'''.
+
 
# Start the system by enabling power through the <!-- [[SB-SOM:_Connectors:_J6_and_J8|main DC power connector]] --> main DC power connector.
+
== Setting up the Compulab Board ==
 +
# Make sure '''DS3''' LED is '''OFF''' while '''DS2''' LED is '''ON'''. If this is not the case, populate jumper '''E3'''.
 +
# Start the system by enabling power through the main DC power connector.
 
# Console messages should appear on your host PC through the terminal emulation program.
 
# Console messages should appear on your host PC through the terminal emulation program.
 +
 +
'''More Details:''' ''[[SB-SOM:_Connectors:_J6_and_J8|main DC power connector]]''<!--, ''[[SB-SOM:_Jumpers:_E3|E3]]'', [[SB-SOM: LEDS: DS2 and DS3|DS3 LED]], [[SB-SOM: LEDS: DS2 and DS3|DS2 LED]]-->.
  
 
[[Category:SB-SOM]]
 
[[Category:SB-SOM]]

Latest revision as of 06:50, 25 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 the RS-232 cable (included with the evaluation kit) between the SBC connector P8 and a free RS-232 port on your host PC.
  2. 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/ttyS0, /dev/ttyS1 ... /dev/ttySn
    • 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
  3. Start a terminal emulation program (such as HyperTerminal on Windows or minicom on Linux).
  4. 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

More Details: connector P8.

Setting up the Compulab Board

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

More Details: main DC power connector.