Serial console/zh-hans

From Qi-Hardware
< Serial console
Revision as of 13:05, 27 December 2009 by Atommann (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

在 Ben NanoNote 的背面有 GND, TXD, 和 RXD 引脚,它们可作为 NanoNote 的串行调试口。

由于 Ben NanoNote 的串口是 TTL 电平的,要从这些引脚得到输出,你需要一条 TTL <-> RS232 转接器 (例如 FTDI TTL-232R-3V3 USB-to-TTL 线)。

引脚

See also here. If you want to know that how to soldering these test points, you can also see here.

接线

  • Connect GND on the NanoNote to GND on your TTL-to-RS232 converter.
  • Connect TXD on the NanoNote to RXD on your TTL-to-RS232 converter.
  • Connect RXD on the NanoNote to TXD on your TTL-to-RS232 converter.

软件

  • The default Baud rate is 57600, 8n1, no hardware or software flow control.
  • You can use any terminal program on the PC side, such as minicom. You can use minicom with the following sample config file:
$ cat /etc/minicom/minirc.qi
pu port             /dev/ttyUSB0
pu baudrate         57600
pu rtscts           No
$ minicom -o qi
Personal tools
Namespaces
Variants
Actions
Navigation
interactive
Toolbox
Print/export