Difference between revisions of "ETRA SOM/ETRA Evaluation Kit/Interfaces and Connectors/Console"

From DAVE Developer's Wiki
Jump to: navigation, search
(Device mapping)
Line 64: Line 64:
  
 
=== Device mapping ===
 
=== Device mapping ===
{| style="color:#000000; border:solid 2px #73B2C7; background-color:#ededed;font-size:95%; vertical-align:middle;"
 
| [[File:TBD.png|30px]]
 
| '''Section not completed yet'''
 
|}
 
  
USART1 is mapped to <code>/dev/ttyxxx</code> device in Linux. The peripheral is used as the default serial console, both for the bootloader and the kernel.
+
USART1 is mapped to <code>/dev/ttySTM0</code> device in Linux. The peripheral is used as the default serial console, both for the bootloader and the kernel.
  
 
=== Device usage ===
 
=== Device usage ===

Revision as of 15:36, 30 August 2023

History
Version Issue Date Notes
1.0.0 Dec 2020 First Release


Console interface[edit | edit source]

Description[edit | edit source]

The Console interface available on the Evaluation Kit at the connector J2.

J2 is a 4 pin (4x1x2.54mm) header connector for the two-wires USART1 port, used for debug purposes (bootloader and operating system serial console).


Console connector

Signals[edit | edit source]

The following table describes the interface signals:

Pin# SOM Pin# Pin name Pin function Pin Notes
1 J18.187 UART TX Transmit line
2 J18.189 UART RX Receive line
3 - 3V3_CB Power output This pin can be used to power an RS232 transceiver
4 - DGND Ground

Device mapping[edit | edit source]

USART1 is mapped to /dev/ttySTM0 device in Linux. The peripheral is used as the default serial console, both for the bootloader and the kernel.

Device usage[edit | edit source]

To connect to the debug serial port:

  1. connect the UART to USB transceiver to J2 connector
  2. start your favorite terminal emulator software on PC (eg: PuTTY); communication parameters are: 115200,N,8,1