CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 5367|回复: 1

使用uart3死机问题

[复制链接]
发表于 2013-5-4 19:44:54 | 显示全部楼层 |阅读模式
在script.fex 中加入如下配置,
[uart_para3]
uart_used = 1
uart_port = 3
uart_type = 2
uart_tx = portG06<4><1><default><default>
uart_rx = portG07<4><1><default><default>

编译加载后能检查到ttyS2, 将对应的PG06,PG07接到arduino的RX,TX接口后,在命令行输入echo 123456>/dev/ttyS2, 在arduino的串口框能收到内容,但cubieboard死机了,ping不通,用ttl连接也没有响应。
把线从arduino断开后就不死机了,请问是什么原因?谢谢。

回复

使用道具 举报

发表于 2013-7-16 12:47:08 | 显示全部楼层
不是死机,只是console处于阻塞状态,你无法操作,通过程序控制就不会出现echo这样的问题。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-5-20 20:24 , Processed in 0.020625 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部