Difference between revisions of "SB-UCM-iMX8: HOWTO: USB Console"

From Compulab Mediawiki
Jump to: navigation, search
imported>Kirill.kapranov
(Setting up your host PC)
 
 
Line 3: Line 3:
  
 
== Setting up your host PC ==
 
== Setting up your host PC ==
# Connect a micro-USB cable (included with the evaluation kit) between the SBC connector '''P13''' to a free USB port on your host PC.
+
# Make sure that the micro-USB cable is properly connected between the SBC console connector to a 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 https://www.silabs.com/documents/public/software/CP210x_Windows_Drivers_with_Serial_Enumeration.zip
# Identify the host PC interface and port you will be using for communication with the SBC:
+
# Identify the host PC interface and port number that will be used 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
+
#* In most Linux PCs, the serial port will be denoted as 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
+
#* In Windows PCs, the serial port usually will be denoted as 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 and set the following serial port parameters:
 
# 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:
Line 16: Line 16:
  
 
== Setting up the Compulab Board ==
 
== Setting up the Compulab Board ==
# Make sure jumper '''E4''' is not populated.
 
 
# Start the system by enabling power through the main DC power connector.
 
# 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.
Line 22: Line 21:
 
<!--'''More Details:''' ''[[SB-iMX8:_Connector:J2|main DC power connector]]'', ''[[SB-SOM:_Jumpers:_E4|E4]]''.-->
 
<!--'''More Details:''' ''[[SB-iMX8:_Connector:J2|main DC power connector]]'', ''[[SB-SOM:_Jumpers:_E4|E4]]''.-->
  
[[Category:SB-UCM-iMX8]]
+
[[Category:UCM-iMX93]]
 +
[[Category:CL-SOM-iMX8Plus]]
 +
[[Category:UCM-iMX8M-Plus]]
 +
[[Category:UCM-iMX8M-Mini]]

Latest revision as of 14:09, 23 July 2023


Setting up your host PC

  1. Make sure that the micro-USB cable is properly connected between the SBC console connector to a 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 https://www.silabs.com/documents/public/software/CP210x_Windows_Drivers_with_Serial_Enumeration.zip
  3. Identify the host PC interface and port number that will be used for communication with the SBC:
    • In most Linux PCs, the serial port will be denoted as one of the following (where n is a positive integer): /dev/ttyUSB0, /dev/ttyUSB1 ... /dev/ttyUSBn
    • In Windows PCs, the serial port usually will be denoted as 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. Start the system by enabling power through the main DC power connector.
  2. Console messages should appear on your host PC through the terminal emulation program.