完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我无法使用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个回答
|
|
你好,
关注您的问题,请检查以下几点: - 您是否在项目设置(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. |
|
|
|
嗨安格斯,
谢谢,现在它可以工作,我把它连接到一个集线器但似乎不喜欢它。一旦我移动了专用端口,系统就会重新加载驱动程序,现在它可以工作了。 这有点奇怪,因为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 |
|
|
|
你好安格斯,
我确实验证了你提到的所有要点,我尝试了计算机上的所有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. |
|
|
|
你好,
您是否尝试过最新版本的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. |
|
|
|
嗨安格斯,
我创建了该错误日志并附在此处。我还添加了设备管理器的屏幕截图。我的计算机似乎只检测到stlink作为闪存设备。顺便说一下,正如你所说,我安装了4.2.1和补丁,错误发生在大约20次尝试中。但它仍然会发生。错误日志由新版本和补丁创建。 以上来自于谷歌翻译 以下为原文 Hi Angus, I created that error log and attached here. Also i added a screenshot of my device manager. It seems that my computer detects stlink only as a flash memory device. By the way, as you said, i installed 4.2.1 and the patch, error occurs one time out of about 20 tries. But still it occurs. The error log is created by that new version and the patch. |
|
|
|
你好,我们又见面了,
在ST工具集开始菜单中,您可以尝试通过W7开始菜单,所有程序,ST工具集,设置,升级STLINK升级STLINK固件。 这将验证您当前的固件版本,并在必要时进行升级。 问候。 以上来自于谷歌翻译 以下为原文 Hi again, In ST toolset start menu, you can try to upgrade your STLINK firmware by W7 start menu, All Programs, ST Toolset, Set Up, Upgrade STLINK. This will verify your current version of firmware and upgrade it if necessary. Regards. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2730 浏览 1 评论
3239 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1808 浏览 1 评论
3647 浏览 6 评论
6035 浏览 21 评论
1337浏览 4评论
197浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
273浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 22:33 , Processed in 1.390396 second(s), Total 87, Slave 70 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号