天嵌 ARM开发社区

 找回密码
 注册
查看: 1652|回复: 2

串口测试程序异常

[复制链接]
yaotiger 发表于 2014-11-12 14:54:11 | 显示全部楼层 |阅读模式
我在做串口测试时。编译后将serial_test和tq2440_serial.cfg都放在指定位置,运行serial_test的时候提示:
serialread.speed is 115200
serialread.databits is 8
serialread.stopbits is 1
serialread.parity is N
Can't Open Serial Port: No such file or directory
Can't Open Serial Port!

然后我打开/dev
adc                 ptmx                tty4
audio               pts                 tty40
beep                random              tty41
bkl                 root                tty42
camera              rtc0                tty43
console             sound               tty44
controlC0           timer               tty45
cpu_dma_latency     tty                 tty46
dsp                 tty0                tty47
event0              tty1                tty48
event1              tty10               tty49
fb0                 tty11               tty5
full                tty12               tty50
i2c-0               tty13               tty51
kmsg                tty14               tty52
led                 tty15               tty53
loop0               tty16               tty54
loop1               tty17               tty55
loop2               tty18               tty56
loop3               tty19               tty57
loop4               tty2                tty58
loop5               tty20               tty59
loop6               tty21               tty6
loop7               tty22               tty60
mem                 tty23               tty61
mice                tty24               tty62
mixer               tty25               tty63
mtd0                tty26               tty7
mtd0ro              tty27               tty8
mtd1                tty28               tty9
mtd1ro              tty29               ttySAC0
mtd2                tty3                ttySAC1
mtd2ro              tty30               ttySAC2
mtdblock0           tty31               urandom
mtdblock1           tty32               usbdev1.1_ep00
mtdblock2           tty33               usbdev1.1_ep81
network_latency     tty34               vcs
network_throughput  tty35               vcs1
null                tty36               vcsa
pcmC0D0c            tty37               vcsa1
pcmC0D0p            tty38               watchdog
ppp                 tty39               zero
里面没有串口设备,我要怎么做啊?

Calvin 发表于 2014-11-12 14:59:22 | 显示全部楼层
你看下 ttySAC0 这个
或者你烧回我们的linux的出厂镜像,再在PDA里面的串口测试程序,进去设置那里查看时哪个设备节点的
回复 支持 1 反对 0

使用道具 举报

 楼主| yaotiger 发表于 2014-11-12 16:57:44 | 显示全部楼层
Calvin 发表于 2014-11-12 14:59
你看下 ttySAC0 这个
或者你烧回我们的linux的出厂镜像,再在PDA里面的串口测试程序,进去设置那里查看时 ...

问题就是在配置文件哪里,已经搞定,多谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-6-1 17:36 , Processed in 1.046875 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表