Difference between revisions of "Serial Connections"

From wiki.emacinc.com
Jump to: navigation, search
 
(6 intermediate revisions by 4 users not shown)
Line 12: Line 12:
  
 
== Serial Terminal ==
 
== Serial Terminal ==
A serial terminal connection is most commonly the first connection that will be made to a system in its default configuration. A serial terminal application such as Minicom for Linux or [[PuTTY]] under Windows is required for this connection. The serial cable type, port, and communication parameters for each system type are listed in Table 1 below.
+
A serial terminal connection is most commonly the first connection that will be made to a system in its default configuration. A serial terminal application such as [[Getting_Started_With_Minicom | Minicom]] for Linux or [[PuTTY]] under Windows is required for this connection. The serial cable type, port, and communication parameters for each system type are listed in Table 1 below.
  
 
<br clear=all>
 
<br clear=all>
 
<div align=center>
 
<div align=center>
{| class="wikitable" style="text-align: center; margin-left: auto; margin-righ: 0px" align="center" cellpadding="5" |Table 1: Serial Communication Parameters
+
{| class="wikitable" style="text-align: center;" |Table 1: Serial Communication Parameters
 
|-
 
|-
 
! SoM !! Port !! Cable Type !! Baud Rate !! Data Bits !! Parity !! Stop Bits !! Flow Control
 
! SoM !! Port !! Cable Type !! Baud Rate !! Data Bits !! Parity !! Stop Bits !! Flow Control
 +
|-
 +
| [[ ARM_SOM | 314 Pin SoM's ]] || COMA  || NULL Modem || 115200 || 8 || None || 1 || None
 
|-
 
|-
 
| [[ ARM_SOM | 200 Pin SoM's ]] || COMB  || NULL Modem || 115200 || 8 || None || 1 || None
 
| [[ ARM_SOM | 200 Pin SoM's ]] || COMB  || NULL Modem || 115200 || 8 || None || 1 || None
Line 24: Line 26:
 
| [[ ARM_SOM | 144 Pin SoM's ]] || COME  || NULL Modem || 115200 || 8 || None || 1 || None
 
| [[ ARM_SOM | 144 Pin SoM's ]] || COME  || NULL Modem || 115200 || 8 || None || 1 || None
 
|-
 
|-
| [[ SOM-9260 ]] | || COMA  || NULL Modem || 115200 || 8 || None || 1 || None
+
| [[ SOM-9260 ]] || COMA  || NULL Modem || 115200 || 8 || None || 1 || None
 
|-
 
|-
| [[ SOM-9G20 ]] | || COMA  || NULL Modem || 115200 || 8 || None || 1 || None
+
| [[ SOM-9G20 ]] || COMA  || NULL Modem || 115200 || 8 || None || 1 || None
 
|-
 
|-
| [[ iPac-9x25 ]] | || HDR4 || NULL Modem || 115200 || 8 || None || 1 || None
+
| [[ iPac-9x25 ]] || COM1 || NULL Modem || 115200 || 8 || None || 1 || None
 
|-
 
|-
| x86 Boards               || *    || *          || *     || 8 || None || 1 || None
+
| x86 Boards     || COM1*    || NULL Modem*          || 115200     || 8 || None || 1 || None
 
|}
 
|}
 
</div>
 
</div>
  
{{mbox | type = notice | text = '''*''' : These settings vary among x86 systems. Refer to the system manual for the target board for more information. Not all x86 systems have a serial terminal connection enabled by default.}}<br clear=all>
+
{{note | '''*''' : These settings vary among x86 systems. Refer to the system manual for the target board for more information. Not all x86 systems have a serial terminal connection enabled by default.}}<br clear=all>
  
 
Follow the steps below to establish a serial connection:
 
Follow the steps below to establish a serial connection:
# Connect a serial cable between the serial port on the workstation and target board and start a terminal application.
+
# Connect a NULL Modem serial cable between the serial port on the workstation and target board and start a terminal application.
 
# Setup the communication parameters for your board according to Table 1.
 
# Setup the communication parameters for your board according to Table 1.
 
# Connect power to the target board; boot messages will begin to print within a few seconds.
 
# Connect power to the target board; boot messages will begin to print within a few seconds.
 
# When the board has finished booting a login prompt will appear.
 
# When the board has finished booting a login prompt will appear.
 
 
{{mbox | type = notice | text = Note that boards that do not have the serial device set as the default kernel console (such as the majority of headed x86 systems) will not display boot messages over the serial port during boot without further configuration. In these cases, the login prompt will appear when the board has finished booting. If a login prompt does not appear, press enter in the serial terminal application several times.}}<br clear=all>
 
 
  
  

Latest revision as of 12:31, 5 March 2021

TODO: {{#todo:SEOKWREV (11.25.13-13:05->KY+);(11.25.13-18:45->MD+);(11.26.13-21:40->MD+);(12.20.13-11:12->MW+);(03.04.14-15:20->BS-);(03.14.14-15:55->BS+)(03.14.14-15:55->BS+)(10.26.15-18:25->MG+)|Klint Youngmeyer|oe 4,oe 5,ky,SEOKWREV,md,mw,bs}}

There are several ways to connect to a system running EMAC OE Linux. The preferred connection method depends on the capabilities of the hardware. For example, headless systems (those without a graphical interface) will most likely use a serial port console, while systems with a video connection may be accessed using a keyboard and LCD or monitor. When an LCD or monitor is available, a serial connection can occasionally still be needed; usually, this need arises after a user has accidentally misconfigured the display. Other times, it may be useful to be able to use a serial console on a board that's running remotely but has had its network connection drop out. The serial console can be a very useful tool for diagnosing and debugging issues even after development has finished.

Serial Terminal

A serial terminal connection is most commonly the first connection that will be made to a system in its default configuration. A serial terminal application such as Minicom for Linux or PuTTY under Windows is required for this connection. The serial cable type, port, and communication parameters for each system type are listed in Table 1 below.


SoM Port Cable Type Baud Rate Data Bits Parity Stop Bits Flow Control
314 Pin SoM's COMA NULL Modem 115200 8 None 1 None
200 Pin SoM's COMB NULL Modem 115200 8 None 1 None
144 Pin SoM's COME NULL Modem 115200 8 None 1 None
SOM-9260 COMA NULL Modem 115200 8 None 1 None
SOM-9G20 COMA NULL Modem 115200 8 None 1 None
iPac-9x25 COM1 NULL Modem 115200 8 None 1 None
x86 Boards COM1* NULL Modem* 115200 8 None 1 None



NOTE
* : These settings vary among x86 systems. Refer to the system manual for the target board for more information. Not all x86 systems have a serial terminal connection enabled by default.


Follow the steps below to establish a serial connection:

  1. Connect a NULL Modem serial cable between the serial port on the workstation and target board and start a terminal application.
  2. Setup the communication parameters for your board according to Table 1.
  3. Connect power to the target board; boot messages will begin to print within a few seconds.
  4. When the board has finished booting a login prompt will appear.


Next Steps

After you have established a connection with your device running EMAC OE Linux, you will need to log into the system.