Translations:WB Debug Console/104/en: различия между версиями

Материал из Wiren Board
Строка 2: Строка 2:
[[File:USBA-MICROUSBB.png|250px|thumb|right|USB — Micro-USB cable]]
[[File:USBA-MICROUSBB.png|250px|thumb|right|USB — Micro-USB cable]]
You will need a standard USB (A) — Micro-USB (B) cable to connect the console port to your PC. Please attach the USB (A) plug to the PC and the Micro-USB (B) to your Wirenboard controller. [[Файл:Debugusb58.png|250px|thumb|right|'''Debug USB''' socket]]
You will need a standard USB (A) — Micro-USB (B) cable to connect the console port to your PC. Please attach the USB (A) plug to the PC and the Micro-USB (B) to your Wirenboard controller. [[Файл:Debugusb58.png|250px|thumb|right|'''Debug USB''' socket]]
You can see the Debug Console writing under the appropriate debug socket.
You can see the Debug Console writing under the appropriate debug socket.
New Wirenboard controllers use USB-Serial CH340/CH341 serial-to-USB adapter. Linux should automatically detect these chips: see the output of the <code>dmesg</code> command after connection: the following line should appear in the end of the output: <code>usb 1-1: ch341-uart converter now attached to ttyUSB0</code>.
New Wirenboard controllers use USB-Serial CH340/CH341 serial-to-USB adapter. Linux should automatically detect these chips: see the output of the <code>dmesg</code> command after connection: the following line should appear in the end of the output: <code>usb 1-1: ch341-uart converter now attached to ttyUSB0</code>.
The number of the ttyUSB may vary upon the number of devices connected previously.
The number of the ttyUSB may vary upon the number of devices connected previously.
Windows users should install the driver for the integrated adapter chip. You can find it on the [http://www.winchiphead.com/download/CH341/CH341SER.ZIP official site] or somewhere else.  
Windows users should install the driver for the integrated adapter chip. You can find it on the [http://www.winchiphead.com/download/CH341/CH341SER.ZIP official site] or somewhere else.  
The connection setting are the same as for the old models: '''115200 8N1''' (115200 kbit/s, 8 data bits, no parity bit, one stop bit). You can find the serial port number in the Windows Device Manager.
The connection setting are the same as for the old models: '''115200 8N1''' (115200 kbit/s, 8 data bits, no parity bit, one stop bit). You can find the serial port number in the Windows Device Manager.

Версия 15:08, 10 мая 2017

Connecting to the debug port of new Wirenboard controllers (since 5.8 revision)

USB — Micro-USB cable

You will need a standard USB (A) — Micro-USB (B) cable to connect the console port to your PC. Please attach the USB (A) plug to the PC and the Micro-USB (B) to your Wirenboard controller.

Debug USB socket

You can see the Debug Console writing under the appropriate debug socket.

New Wirenboard controllers use USB-Serial CH340/CH341 serial-to-USB adapter. Linux should automatically detect these chips: see the output of the dmesg command after connection: the following line should appear in the end of the output: usb 1-1: ch341-uart converter now attached to ttyUSB0.

The number of the ttyUSB may vary upon the number of devices connected previously.

Windows users should install the driver for the integrated adapter chip. You can find it on the official site or somewhere else.

The connection setting are the same as for the old models: 115200 8N1 (115200 kbit/s, 8 data bits, no parity bit, one stop bit). You can find the serial port number in the Windows Device Manager.