完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
我尝试过使用0)884。如果我将rs2323与PC断开连接,我会收到错误消息。我连接它运行的rs232电缆,但我的电脑显示器上没有任何东西。我应该在显示菜单之后设置一个断点但是它没有显示但是我确实通过了例程来显示菜单。它停在那个断点上。我在getkey例程之后放了一个断点,它永远不会得到密钥。我在UM0884中找到了一些小聚物。
有没有我不知道的技巧或错误?或者任何人都有任何问题。 #I-AM-确保-I-意志需要 - 你 - 助人为乐最未来的查尔斯 以上来自于谷歌翻译 以下为原文 I have tried using0UM)884. If I have the rs2323 disconnected from the PC i get an error. I connect the rs232 cable it runs, but I don't get anything on my computer monitor. I put a breakpoint after the menu is supposed to be displayed but it doesn't display but i t does go through the routine to display the menu. It stops on that break point. I put a breakpoint after the getkey routine and it never getkey. I have found some minomers in UM0884. Is there a trick or some error that I am unaware of? Or anyone have any suggastions. #i-am-sure-i-will-need-your-helpin-the-future-charles |
|
相关推荐
4个回答
|
|
''我尝试过使用0)884。''
你的意思是'''UM0884用户手册RS232与HyperTerminal通信使用STM8S-DISCOVERY''? http://www.st.com/stonline/products/literature/um/16898.pdf 究竟是什么意思“尝试过”? 你是否仔细遵循了所有指示? 你确定你的RS2332电平转换器电路工作正常吗? ''如果我将rs2323与PC断开连接,我会收到错误。'' 你得到什么错误? 你在哪里得到的? ''我连接它运行的rs232电缆'' 什么运行? ''它会通过例程来显示菜单。它停在那个断点上。我在getkey例程之后放了一个断点,它永远不会得到密钥。'' 你从中得出什么结论? 您是否有示波器来检查线路上是否有任何活动? 如果将PC的Tx环回到其Rx,它是否有效? “我在UM0884中找到了一些小配件。” 比如什么? “有没有我不知道的伎俩或错误?” 调试任何事情的诀窍是在每个阶段逐步进行检查。 如果某些东西不起作用,问问自己可能导致什么。 什么也不做 - 检查&验证一切。 有关调试技巧,请访问:http://www.8052.com/faqs/120313 (具体到8052!) 以上来自于谷歌翻译 以下为原文 ''I have tried using0UM)884.'' You mean, ''UM0884 User manual RS232 communications with HyperTerminal using the STM8S-DISCOVERY'' ? http://www.st.com/stonline/products/literature/um/16898.pdf What, exactly, do you mean by ''tried''? Have you carefully followed all the instructions? Are you sure that your RS2332 level converter circuit is working? ''If I have the rs2323 disconnected from the PC i get an error.'' What error do you get? Where do you get it? ''I connect the rs232 cable it runs'' What runs? ''it does go through the routine to display the menu. It stops on that break point. I put a breakpoint after the getkey routine and it never getkey.'' What do you conclude from this? Do you have an oscilloscope to check if there is any activity on the lines? If you loop-back the PC's Tx to its Rx, does it work? ''I have found some minomers in UM0884.'' Such as what?? ''Is there a trick or some error that I am unaware of?'' The trick to debugging anything is to proceed logically in a step-by-step process checking at each stage. If something isn't working, ask yourself what could cause that. Assume nothing - check & verify everything. For debugging tips, see: http://www.8052.com/faqs/120313 ( specific to 8052!) |
|
|
|
''任何人都有任何糖''''
这样的东西对于RS232测试和调试是非常宝贵的: http://www.datalinkcom.net/accessories/9PMTT.html http://uk.rs-online.com/web/search/searchBrowseAction.html?method=getProduct&R=6246347 http://www.bb-europe.com/product.asp?sku=9PMTT&TrailType=Sub&Trail=61 以上来自于谷歌翻译 以下为原文 ''anyone have any suggastions'' Something like this is invaluable for RS232 testing and debugging: http://www.datalinkcom.net/accessories/9PMTT.html http://uk.rs-online.com/web/search/searchBrowseAction.html?method=getProduct&R=6246347 http://www.bb-europe.com/product.asp?sku=9PMTT&TrailType=Sub&Trail=61 |
|
|
|
|
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2653 浏览 1 评论
3215 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1789 浏览 1 评论
3618 浏览 6 评论
5997 浏览 21 评论
945浏览 4评论
1318浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
590浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1308浏览 3评论
1368浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-29 01:17 , Processed in 1.073450 second(s), Total 83, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号