Serial terminals (CM-i.MX27): Unterschied zwischen den Versionen

Aus BECOM Systems Support
Zur Navigation springen Zur Suche springen
en>Peter
K (1 Version importiert)
 
K (1 Version importiert)
 
(kein Unterschied)

Aktuelle Version vom 31. Oktober 2023, 09:03 Uhr

The DEV-i.MX27/35 contains two UART-to-USB converters (Silabs CP2102) that connect to UART 1 and UART 2 of the CM-i.MX27. The default image uses UART 1 as the main console.

Instructions

  • Use a USB-A-to-B cable and connect the DEV board to your PC.
  • Check our description of Serial console.

Test

UART 1
In Redboot, with fconfig, add the kernel argument console=ttymxc0,115200 to the exec command. Connect a USB cable to the USB-B jack marked UART1. Then boot Linux, and you should see all output on the first console. Redboot uses UART1 only by default.
UART 2
In Redboot, with fconfig, add the kernel argument console=ttymxc1,115200 to the exec command. Connect a USB cable to the UART2 jack on the DEV board. The boot output is now visible on the second console, i.e. UART 2.