版本: Pico Ultra 无WIFI
烧录镜像:ultra-w-buildroot
现象: 串口一直输出乱码
[root@luckfox root]# ls /dev | grep ttyS
ttyS1
系统中有ttyS1
连接68(TX)/69(RX) GND
串口部分截取:
[16:02:20.287] d$;L1$((7 &!T
[16:02:21.205] B
[16:02:21.479] h]€eLa 80 %
[16:02:22.508] ma€`79
[16:02:22.856] !18"0LK80i
[16:02:23.484] pz#b`02#qX;DH€€D€<B €" c* |( a= CG=Sb1T'aH'2C`&7
[16:02:26.718] #R@*
[16:02:27.136] p,` oQ '!0,`,;<3H*J-JAcy,|,4
[16:02:28.604] h4y
[16:02:28.807]
[16:02:28.835]
[16:02:28.953] `"1€p
[16:02:29.187] <$L€
[16:02:29.441] B 79H$(h(<B
[16:02:30.440] x0.<-8
[16:02:30.788] @` q
[16:02:30.910] ^d h2<
[16:02:31.262] D'$
[16:02:31.720] 0}2
[16:02:32.187] ">|1
Pico Ultra版本串口使用问题
您好,首先可以查看下波特率是否正确(115200),其次同时请检测一下系统是否可以正常运行(使用ADB),排除有硬件可能出现的问题,如果有硬件问题,可以尝试更换串口调试工具解决。alexdou wrote: ↑2024-10-14 8:03 版本: Pico Ultra 无WIFI
烧录镜像:ultra-w-buildroot
现象: 串口一直输出乱码
[root@luckfox root]# ls /dev | grep ttyS
ttyS1
系统中有ttyS1
连接68(TX)/69(RX) GND
串口部分截取:
[16:02:20.287] d$;L1$((7 &!T
[16:02:21.205] B
[16:02:21.479] h]€eLa 80 %
[16:02:22.508] ma€`79
[16:02:22.856] !18"0LK80i
[16:02:23.484] pz#b`02#qX;DH€€D€<B €" c* |( a= CG=Sb1T'aH'2C`&7
[16:02:26.718] #R@*
[16:02:27.136] p,` oQ '!0,`,;<3H*J-JAcy,|,4
[16:02:28.604] h4y
[16:02:28.807]
[16:02:28.835]
[16:02:28.953] `"1€p
[16:02:29.187] <$L€
[16:02:29.441] B 79H$(h(<B
[16:02:30.440] x0.<-8
[16:02:30.788] @` q
[16:02:30.910] ^d h2<
[16:02:31.262] D'$
[16:02:31.720] 0}2
[16:02:32.187] ">|1
[root@luckfox etc]# stty -F /dev/ttyS1
speed 9600 baud; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-brkint -imaxbel
[root@luckfox etc]#
串口工具连接也是9600, 不是115200, 并没有启动任何程序, 但是串口在输出, 另外ttyS1的引脚连接正确吗
speed 9600 baud; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-brkint -imaxbel
[root@luckfox etc]#
串口工具连接也是9600, 不是115200, 并没有启动任何程序, 但是串口在输出, 另外ttyS1的引脚连接正确吗
你使用的是CP2102串口工具吗?alexdou wrote: ↑2024-10-14 8:24 [root@luckfox etc]# stty -F /dev/ttyS1
speed 9600 baud; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-brkint -imaxbel
[root@luckfox etc]#
串口工具连接也是9600, 不是115200, 并没有启动任何程序, 但是串口在输出, 另外ttyS1的引脚连接正确吗