|
发表于 31-5-2010 09:33 AM
|
显示全部楼层
回复 20# RudeRabbit
compiler是什么?
用什么mcu?
receive program是什么?
receive program有没有enable echo?
loopback testing做了吗? |
|
|
|
|
|
|
|

楼主 |
发表于 31-5-2010 10:34 AM
|
显示全部楼层
回复 21# fritlizt
Complier是Hi-Tech。。。
MCU是PIC16F887
我用hyper terminal testing。。。。
不好意思,什么是echo?。。。然后loopback testing是指?。。。
|
|
|
|
|
|
|
|
发表于 31-5-2010 06:02 PM
|
显示全部楼层
你有enable echo的话,打1个y就出2个y。
loppback testing我也忘了,max 232 datasheet有写,very simple 。 |
|
|
|
|
|
|
|

楼主 |
发表于 9-6-2010 10:19 PM
|
显示全部楼层
你有enable echo的话,打1个y就出2个y。
loppback testing我也忘了,max 232 datasheet有写,very simple ...
~Lucifer~ 发表于 31-5-2010 06:02 PM 
我没有写输入的。。。只有输出而已。。。。
max232 datasheet哦。。。好的。。谢谢。。。我会去研究下。。。 |
|
|
|
|
|
|
|
发表于 16-6-2010 08:59 AM
|
显示全部楼层
回复 24# RudeRabbit
一般上hyper terminal是显示你 ”收“ 到了什么。 而不是你send了什么。
所以比如说你写的progam, 当microcontroller收到"A",就会回"B"。
那么,当你在hyper terminal type "A",你会看到"B".
如果你有enable echo,那就会显示你send 什么 + 你收到什么。
所以同样的case. 当你在hyper terminal type "A",你会看到"AB".
loopback testing就是指send 什么,收到什么。也就是把rx tx short起来就可以了。
enable echo, send "A"看到"AA", send "B"看到 "BB".
就这样。 |
|
|
|
|
|
|
|
发表于 17-8-2010 08:00 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 14-11-2010 08:31 PM
|
显示全部楼层
|
|
|
|
|
|
|

楼主 |
发表于 7-12-2010 09:26 AM
|
显示全部楼层
|
|
|
|
|
|
| |
本周最热论坛帖子
|