买了一根PL2303TA的线,只能从minicom接收的log, 但是不能发送数据,无法login。
有经验的同学可否告知能通过UART从host发送数据到开发板的线的芯片,我再买一根。CH340,FT232,PL2303HX?
买了一根PL2303TA的线,只能从minicom接收的log, 但是不能发送数据,无法login。
有经验的同学可否告知能通过UART从host发送数据到开发板的线的芯片,我再买一根。CH340,FT232,PL2303HX?
最好是Linux Host可以用的
普通的ch340就可以 实测
个人建议是ft232r/ch343,ch340的驱动兼容性一直问题很大。如果想顺便玩玩裸机开发可以搞一个ft2232h
我用 PL2303TA 连 VisionFive v1 没有问题(虽然,有时候需要在 picocom
中按 Ctrl + C 退出重试好几次),但我用的是 picocom
,没有用 minicom
。
lsusb
信息Bus 001 Device 008: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port / Mobile Action MA-8910P
$ picocom -b 115200 /dev/ttyUSB0
picocom v3.1
port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
hangup is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv -E
imap is :
omap is :
emap is : crcrlf,delbs,
logfile is : none
initstring : none
exit_after is : not set
exit is : no
Type [C-a] [C-h] to see available commands
Terminal ready
;��[ OK ] Finished Create Volatile Files and Directories.
Starting Security Auditing Service...
[ OK ] Started Security Auditing Service.
Starting Record System Boot/Shutdown in UTMP...
[ OK ] Finished Record System Boot/Shutdown in UTMP.
[ OK ] Reached target System Initialization.
...
...
...
[ OK ] Started Daily rotation of log files.
[ OK ] Started Timeline of Snapper Snapshots.
[ OK ] Reached target Timer Units.
Starting Postfix Mail Transport Agent...
[ OK ] Started Network Manager Script Dispatcher Service.
Starting WPA Supplicant daemon...
[ OK ] Started WPA Supplicant daemon.
[ OK ] Reached target Preparation for Network.
Welcome to openSUSE Tumbleweed 20230130 - Kernel 6.2.0-rc7-67-default (ttyS0).
eth0:
wlan0: 10.0.0.10 fe80::ff11:7573:d5e7:fb9a
vision-five-1 login: root
Password:
Have a lot of fun...
Last login: Tue Jan 24 08:00:44 from 10.0.0.1
vision-five-1:~ # uname -a
Linux vision-five-1.domain.tld 6.2.0-rc7-67-default #1 SMP Sun Feb 5 23:03:04 UTC 2023 (225bfb7) riscv64 riscv64 riscv64 GNU/Linux
vision-five-1:~ # logout
Welcome to openSUSE Tumbleweed 20230130 - Kernel 6.2.0-rc7-67-default (ttyS0).
eth0:
wlan0: 10.0.0.10 fe80::ff11:7573:d5e7:fb9a
vision-five-1 login: