usb转串口在linux下显示的tttyusb0是输出端口吗,【技术】Ubuntu下USB转串口芯片驱动程序安装cp210x,pl2303...

Serial Communications from Host-PC to TLL6527M Target

Hardware

The TLL

System Design Environment (SDE) running on the host PC comes

pre-configured with the required settings for serial-UART

communications between the host PC and the TLL6527M base module.

Generally, for use with TLL6527M the settings need not to be

changed (Note: From

the SDE OS version 0.3.2, the serial terminal program Minicom is

set to open /dev/ttyUSB0 with the needed configuration as mentioned

above.).

To start serial

communication from host to the TLL6527M, open the serial

communication terminal program Minicom. Just open a terminal window

on your Linux SDE running on the host PC and type

the command "minicom" at the command prompt on your host PC

terminal console.

The TLL6527M on power-up is set by

default to the following serial-UART communication

settings:

Bits per second =

115200

Data bits =

8

Parity =

None

Stop Bits =

1

Flow control =

None

Make sure that the TLL6527M's USB-UART

port has been mapped to a ttyUSBx device node in the /dev folder on

the host PC SDE. See following example:

a4c26d1e5885305701be709a3d33442f.png

Now make sure that

this "ttyUSBx" is set as the destination port, baud rate is 115200,

and 8N1 mode for minicom, by running the command 'minicom -s'. Note

that running the "minicom -s" command as a normal user will only

apply the settings for the current session. In order to make the

settings permanent, these commands need to be run with root

privileges.See

example below:

a4c26d1e5885305701be709a3d33442f.png

The

following window will appear on your host PC terminal

window:

a4c26d1e5885305701be709a3d33442f.png

Go to ‘Serial port

setup’, following screen will appear, make sure that serial device

is set to ‘/dev/ttyUSB0’ and bps/par/bits is set to 115200

8N1:

a4c26d1e5885305701be709a3d33442f.png

Now go back to the

main menu and choose ‘save setup as dfl’. This will save the

configuration settings and from next time onwards user can directly

run ‘minicom’ command without the option ‘–s’ and it will load

settings from the saved file.

a4c26d1e5885305701be709a3d33442f.png

RESET the target by using the SDE's TLL6527M reset utility

or by pressing the RESET button on the

target.

Following messages

will be displayed on the terminal. By default, U-Boot is setup to

automatically start booting the OS after waiting for a few seconds

for the user to interrupt the automatic launch by pressing any key.

So to stop U-Boot from loading uClinux and provide U-Boot command

prompt, just hit any key. (This is assuming TLL6527M is flashed

with u-boot and uClinux. TLL6527Ms are pre-flashed with firmware

before shipping).

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值