ST意法半导体
直播中

刘京

8年用户 207经验值
私信 关注
[问答]

无法使用STVD在STM8L-Discovery上进行调试

你好,


我无法使用STVD在STM8L-Discovery上进行调试,在尝试启动调试版本时总是遇到此错误:

连接错误(u***:// u***):游泳错误[30004]:通讯超时

我测试了STVD版本4.1.5和4.2.0,结果相同。

使用STVP对器件进行编程非常有效,因此它不应该是硬件问题。在STM8S-Discovery上进行调试也起作用,因此它似乎是STM8L-Discovery特定的问题。

有人知道解决方法吗?现在我无法使用新的发现工具包。

乔瓦尼
---
http://chibios.sourceforge.net/dokuwiki/doku.php?id=start

以上来自于谷歌翻译


以下为原文




Hello,


I am unable to debug on the STM8L-Discovery using STVD, I always get this error when trying to start a debug version:

Connection error (u***://u***): swim error [30004]: comm timeout

I tested STVD versions 4.1.5 and 4.2.0 with the same result.

Programming the device using STVP works perfectly so it should not be an hardware problem. Debugging on a STM8S-Discovery works too so it is seems to be an STM8L-Discovery specific problem.

Does anybody know a workaround? right now I am unable to use the new discovery kit.

Giovanni
---
http://chibios.sourceforge.net/dokuwiki/doku.php?id=start

回帖(6)

李童

2019-2-15 07:11:28
你好,
 
 
 关注您的问题,请检查以下几点:
 
  - 您是否在项目设置(Project  Settings)中验证了所选的MCU?
  - 您是否验证了所选目标(调试仪器目标设置)?
  - 您使用的是USB集线器吗?如果是这样,你是否用最小电缆长度检查?
  - 您是否确认在控制面板系统硬件设备管理器中检测到USB STM8L-Discovery?
  - 你有可能在另一台PC上连接它吗?
 
 谢谢。
 问候。

以上来自于谷歌翻译


以下为原文





Hello,


Following your problem, please could you check the below points:

- Did you verify the selected MCU in the project settings (Project Settings)?
- Did you verify the selected target (Debug instrument Target Settings)?
- Are you using a USB hub? If so, did you check with minimum cable length?
- Did you verify that USB STM8L-Discovery is well detected in Control PanelSystemHardwareDevice Manager?
- Have you the possibility to connect it on another PC?

Thank you.
Regards.
举报

刘京

2019-2-15 07:20:05
嗨安格斯,
 
 
 谢谢,现在它可以工作,我把它连接到一个集线器但似乎不喜欢它。一旦我移动了专用端口,系统就会重新加载驱动程序,现在它可以工作了。
 
 这有点奇怪,因为STM8S-Discovery似乎没有集线器的问题。
 
 无论如何,我现在可以继续我的项目了。
 
 谢谢,
 乔瓦尼

以上来自于谷歌翻译


以下为原文





Hi Angus,


Thank you, now it works, I had it connected to an hub but it seems to not like it. Once I moved on a dedicated port the system reloaded the drivers and now it works.

It is a bit odd because the STM8S-Discovery seems to not have problems with hubs.

Anyway, I can proceed with my project now.

thanks,
Giovanni
举报

李韵鹤

2019-2-15 07:29:53
你好安格斯,
 
 
 我确实验证了你提到的所有要点,我尝试了计算机上的所有USB端口,问题并没有解决。我下载并安装了st link u***驱动程序,仍然出现问题。
 
 我使用win7专业32位。在我的旧计算机中,使用win xp,相同的st-link可以正常工作。我的3个朋友也有同一台电脑,专业64位,调试没问题。我试过xp,win7专业32位,win7专业64位。它不会在这些操作系统上进行调试。
 
 我也试过win7家庭高级32位,它调试,但我的公司没有家庭保险费的许可证。技术支持表示没有硬件问题。
 
 问候。

以上来自于谷歌翻译


以下为原文





Hello Angus,


I did verified all of the points you mentioned, and i tried all u*** ports on the computer, the problem is not fixed. I downloaded and installed st link u*** driver, still problem occurs.

I use win7 professional 32 bit. In my old computer, with win xp, the same st-link works. Also 3 of my friends have the same computer, with professional 64 bit with no problem on debugging. I tried xp, win7 professional 32 bit, win7 professional 64 bit. It doesn't debug on these operating systems.  

I also tried win7 home premium 32 bit, it debugs, but my company does not have the licence of home premium. Technical support says there is no hardware problem.

Regards.
举报

李童

2019-2-15 07:35:30
你好,
 
 
您是否尝试过最新版本的ST工具集(升级后有适用的补丁......)?
 
如果是这样,请按照以下步骤分享输出zip文件,包括您的问题数据:
 
在STVD菜单中,选择Help  Generate Support File ...
通过浏览硬盘驱动器选择目标Zip文件,并为此文件命名。
然后正常进行调试操作,直到出现错误。
一旦出现消息,关闭stvd窗口,zip文件将收集所有环境设置。
 
然后将您的文件附加到新邮件中。
 
问候。

以上来自于谷歌翻译


以下为原文






Hello,


Did you try the latest version of ST toolset (there is a patch to apply on it after upgrade...)?

If so, please can you follow the procedure below and share the output zip file including data of your issue:

In STVD menu, choose HelpGenerate Support File...
Choose a destination Zip file by browsing your hard drive and give a name to this file.
Then proceed normally to your debug operation until the error appears.
Once the message appears, close the stvd windows, the zip file will collect all the environment settings.

Then attach your file in a new message.

Regards.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分