完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
我使用STVD 4.3.1与ST-LINK和Windows 7 32位。
大多数时候我尝试进入调试模式,我得到COMM tiMEOUT ERROR。单击“停止”并再次尝试只会一次又一次地导致相同的错误。 清除错误的唯一方法是从USB插拔ST_LINK,重新启动STVD并重新启动目标(不确定是否有必要)。 我看到其他帖子报告了同样的问题,但没有解决方案。 我已将ST-LINK升级到最新固件并升级了Windows驱动程序,但问题仍然存在。我认为它是在我升级STVD时开始的。 有谁见过这个问题/解决了吗? 以上来自于谷歌翻译 以下为原文 I am using STVD 4.3.1 with ST-LINK and windows 7 32bit. Most times I try to enter debug mode I get COMM TIMEOUT ERROR. Clicking STOP and trying again just results in the same error over and over again. The only way to clear the error is to unplug the ST_LINK form the USB, restart STVD and power cycle the target ( not sure if this is necessary ). I have seen other posts reporting the same problem but with no solution. I have upgraded my ST-LINK to the latest firmware and upgraded the windows driver but the problem persists. I think it started when I upgraded STVD. Anyone seen this problem / solved it ? |
|
相关推荐
3个回答
|
|
|
这解决了
当目标连接到钉床测试夹具时,原来是一个噪音问题。 以上来自于谷歌翻译 以下为原文 This is solved Turned out to be a noise problem when the target was connected to a bed of nails test jig. |
|
|
|
|
|
我一直在遭遇同样的问题。到昨天,我一直在使用ST-Link-2,IAR的EWSTM8,Win XP。从现在开始,我有Win 7,但它没有改变任何东西。
我转向IAR& ST支持这个问题,但同时我还没有得到答案。 我有一些一般性的想法可能是问题的原因,并将尝试在下一个工作周检查它们。 1.当使用任何低功率模式时,调试通道存在问题,即。如果调试器试图与MCU通信,而后者处于低功耗模式,显然,你应该得到这种错误。对于调试期间,我取消了使用Active halt模式,相反,我一直在使用一个简单的循环,模拟100msec的Halt模式。但是,除了主动暂停模式之外,我还使用等待模式短时间为20-30 us,每100毫秒。所以,我怀疑有时ST-LINK在这次尝试通信时失败了。用模拟循环替换这个代码对我来说有点困难,但如果我设法做到这一点,我肯定知道这不是问题的原因。您使用任何低功耗模式吗? 我经常使用带有十几个变量的Live watch。我不确定,但在我看来,Live Watch中的变量越多,问题就越频繁发生。 3. SWIM引脚上是否有串联电阻?如果是这样,请将其删除,以减小值。在发现板中,ST不在SWIM通道上放置任何串联电阻。电阻器的问题是因为SWIM是非常高速的通信信道并且任何电阻都会干扰它。我们有47欧姆,下周我将尝试删除它,看看问题是否存在。 如果你有一些调查结果,你会非常友好地在论坛上分享它们吗? 谢谢, E.L。 以上来自于谷歌翻译 以下为原文 I've been suffering from the same problem. By yesterday, I had been using ST-Link-2, EWSTM8 of IAR, Win XP. From now on, I have Win 7, but it haven't changed anything. I turned to both IAR & ST support with the problem, but meanwhile I haven't got an answer. I have a few general ideas what could be a reason for the problems, and will try to check them on the next working week. 1. There is a problem with debugging channel when any of Low power modes is being used,i.e. if debugger tries to communicate with MCU, while the latter is in Low power mode, apparently, you should get this kind of error. For debugging period I canceled using of Active halt mode and, instead, I have been using a simple loop, simulating 100msec of Halt mode. However, in addition to the Active Halt mode, I use also Wait mode for short periods of 20-30 us, every 100msec. So, I suspect that sometimes ST-LINK fails when tries to communicate in this time. It's a bit difficult to me to replace this code with a simulation loop,but if I manage to do that, I will know for sure that this is not the reason for the problem. Do you use any of Low power modes ? 2. I frequently use Live watch with a dozen of variables inside. I'm not sure, but it seems to me as the more variables inside Live watch, the problem happens more frequently. 3. Do you have any serial resistor on SWIM pin ? If so, remove it, to decrease to a smaller value. In the Discover board, ST do not put any serial resistor on the SWIM channel. The problem with resistor is as SWIM is very high speed communication channel and any resistance disturb to it. We have 47Ohm, and next week I will try to remove it and to see if the problem exists. If you have some findings, would you be so kind as to share them here on the forum ? Thanks, E.L. |
|
|
|
|
|
对不起,好像我是瞎了。你已经在这里发布了解决方案,但我还没有看到。
以上来自于谷歌翻译 以下为原文 Sorry, it seems as I'm blind. You already posted here the solution, but I have not seen that. |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1453 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1502 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3649 浏览 1 评论
3842 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2461 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
727浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
658浏览 5评论
710浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
940浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
745浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 21:00 , Processed in 0.754762 second(s), Total 78, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1144