Difference between revisions of "Serial Connections"

From wiki.emacinc.com
Jump to: navigation, search
(This page is done.)
Line 1: Line 1:
 
{{todo|Complete (11.25.13-13:05->KY+);(11.25.13-18:45->MD+);(11.26.13-21:40->MD+);(12.20.13-11:12->MW+)|Klint Youngmeyer|project=oe 4,oe 5,ky,Complete,md,mw}}
 
{{todo|Complete (11.25.13-13:05->KY+);(11.25.13-18:45->MD+);(11.26.13-21:40->MD+);(12.20.13-11:12->MW+)|Klint Youngmeyer|project=oe 4,oe 5,ky,Complete,md,mw}}
  
<!--'''THIS PAGE NEEDS: 1. To be split into two pages: "Serial Connections"  and  "Network Connections". This is because the table listing serial connection information is very important, but has been very difficult to find. We need the page to have the most obvious name possible for this.  We also should try to find other pages which mention using a serial connection, and refer them to this page to find out the connection information they need for their board.'''-->
+
<!--'''THIS PAGE NEEDS: 1. To be split into two pages: "Serial Connections"  and  "Network Connections". This is because the table listing serial connection information is very important, but has been very difficult to find. We need the page to have the most obvious name possible for this.  We also should try to find other pages which mention using a serial connection, and refer them to this page to find out the connection information they need for their board.'''-->
  
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.
+
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. This may be the case 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 ==
 
== Serial Terminal ==
Line 37: Line 37:
  
  
{{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>
+
{{mbox | type = notice | text = '''*''' : These settings vary among x86 systems. Refer to the system manual for the target board for more information. }}<br clear=all>
  
 
Follow the steps below to establish a serial connection:
 
Follow the steps below to establish a serial connection:
Line 46: Line 46:
  
  
{{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>
+
{{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.}}
 
 
  
  

Revision as of 20:25, 30 December 2013

TODO: {{#todo:Complete (11.25.13-13:05->KY+);(11.25.13-18:45->MD+);(11.26.13-21:40->MD+);(12.20.13-11:12->MW+)|Klint Youngmeyer|oe 4,oe 5,ky,Complete,md,mw}}


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. This may be the case 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.

Table 1: Serial Communication Parameters
Board Port Cable Type Baud Rate Data Bits Parity Stop Bits Flow Control
iPac-9302 HDR6 NULL Modem 57600 8 None 1 None
PPC-E7 CN1 NULL Modem 57600 8 None 1 None
SoM-200ES with SoM-9307M CN1 NULL Modem 57600 8 None 1 None
SoM-200ES with SoM-9G45M COMB NULL Modem 115200 8 None 1 None
SoM-200ES with SoM-9M10M COMB NULL Modem 115200 8 None 1 None
SoM-210ES with SoM-9307M COMA NULL Modem 57600 8 None 1 None
SoM-210ES with SoM-9G45M COMB NULL Modem 115200 8 None 1 None
SoM-210ES with SoM-9M10M COMB NULL Modem 115200 8 None 1 None
SoM-150ES HDR11 NULL Modem 115200 8 None 1 None
PPC-E10 with SoM-3517M HDR3 NULL Modem 115200 8 None 1 None
x86 Boards * * * 8 None 1 None



Follow the steps below to establish a serial connection:

  1. Connect a 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.