1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我将ST Visual Develop IDE与Cosmic Compiler和STM8L-Discovery一起使用。 除了调试功能外,一切似乎都能正常工作。 当我尝试开始调试时,我收到以下错误消息: ''连接错误(u***:// u***):游泳错误[30200]:st-link连接错误'' 我找到了Linux用户关于这个主题的讨论,但我使用的是Windows ... 知道我是如何让这个工作的吗? 提前致谢。 以上来自于谷歌翻译 以下为原文 Hello, I use the ST Visual Develop IDE together with the Cosmic Compiler and the STM8L-Discovery. Everything seems to work fine, besides the debug function. When I try to start debugging I get the following error message: ''Connection error (u***://u***): swim error [30200]: st-link connection error'' I found discussions of Linux users about this topic, but I use Windows... Any idea how I get this to work? Thanks in advance. |
|
相关推荐
10个回答
|
|
你好,
请检查以下主题是否可以帮助您解决问题或回到论坛。 [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM8LDiscovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM8LDiscovery/Problems debugging with STVD& FolderCTID = 0x01200200770978C69A1141439FE559EB459D758000B276AC6C9F9B7A43ACF58B3CEB87C40C& TopicsView = https://my.st。 COM /公共/ STe2ecommunities / MCU /列表/ STM8LDiscovery / AllItems.aspx&安培; currentviews = 188] https://my.st.com/public/STe2ecommunities/mcu/Lists/STM8LDiscovery/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities %2fmcu%2fLists%2fSTM8LDiscovery%2fProblems%20debugging%20with%20STVD&安培; FolderCTID = 0x01200200770978C69A1141439FE559EB459D758000B276AC6C9F9B7A43ACF58B3CEB87C40C&安培; TopicsView = HTTPS%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM8LDiscovery%2FAllItems%2Easpx&安培; currentviews = 188 谢谢。 以上来自于谷歌翻译 以下为原文 Hello, Please check if below topic can help you solving your issue or comeback to the forum. [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM8LDiscovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM8LDiscovery/Problems debugging with STVD&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000B276AC6C9F9B7A43ACF58B3CEB87C40C&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM8LDiscovery/AllItems.aspx¤tviews=188]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM8LDiscovery/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTM8LDiscovery%2fProblems%20debugging%20with%20STVD&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000B276AC6C9F9B7A43ACF58B3CEB87C40C&TopicsView=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM8LDiscovery%2FAllItems%2Easpx¤tviews=188 Thanks. |
|
|
|
你好,
我根据快速入门手册选择了项目和调试设置。 我不使用u***-hub,设备在设备管理器中列为存储。 我没有尝试用另一台电脑,但尝试了另一个stm8l发现,这也不起作用...... 还有其他可行的尝试吗? 谢谢 以上来自于谷歌翻译 以下为原文 Hello, I selected the project and debug settings according to the quickstart manual. I don't use a u***-hub, the device is listed in the device manager as a storage. I didn't try it with another pc, but tried another stm8l-discovery, that doesn't work either... Any other posibilities to try? Thanks |
|
|
|
你好,
您的问题似乎与ST-link驱动程序有关,可能没有正确安装。 如果设备插入USB端口(设备插件发出声音),则必须检查控制面板/系统/设备管理器是否检测到ST-link。如果是这样,请尝试通过按DEL键删除它并确认,然后断开连接并重新插入STM8L-Discovery,这会强制重新安装驱动程序。检查此操作是否已解决问题。其他方法是尝试将设备连接到另一个USB端口并等待系统再次检测设备。 你有另一条USB电缆试试(建议最小电缆长度)?检查通信的其他方法是使用ST Visual Programmer工具集(随ST工具包提供)并可通过Windows菜单启动/所有程序/ ST工具集/开发工具/ ST Visual Programmer。打开应用程序后,选择硬件为ST-LINK,编程模式为SWIM,设备为STM8L152C6。现在尝试使用“读取”图标(绿色)或“读取”菜单然后选择“当前选项卡”来读取设备。如果程序员能够读取设备,请先尝试通过在整个存储器范围内填充FFh数据来擦除它,右键单击存储缓冲区,填充区域...,输入FF值然后确认。现在按程序图标(红色);这将使用FFh数据对器件存储器进行编程。 在这种情况下,在stvd下使用调试模式时,系统将被强制加载并再次将程序写入设备。这是一种正确重新初始化通信的方法。 请检查这些要点并告诉我们。 谢谢。 以上来自于谷歌翻译 以下为原文 Hello, It seems that your problem is related to the ST-link driver which is perhaps not properly installed. You have to check in your Control Panel/System/Device Manager if ST-link is detected once the device is plugged in your USB port (a sound is emitted at device plug-in). If so, try to remove it by pressing DEL key and confirm, then disconnect and re-plug the STM8L-Discovery, this forces the driver to be re-installed. Check if this operation has solved the issue.Other thing is to try connecting your device on another USB port and wait for the system to detect again the device. Have you another USB cable to try (minimum cable length is recommended)?Other way to check the communication is to use ST Visual Programmer toolset (delivered with ST toolset package) and available by windows menu Start/All Programs/ST Toolset/Development Tools/ST Visual Programmer. Once application opened, select Hardware as ST-LINK, Programming Mode as SWIM and Device as STM8L152C6. Try now to read the device with the Read icon (green) or by the Read menu then Current Tab. If programmer is able to read the device, try to erase it by first filling FFh data in the whole memory range, right click on the memory buffer, Fill area..., enter FF value then confirm. Now press Program icon (Red); This will program the device memory with FFh data. In this case, under stvd when using the debug mode, the system will be forced to load and write the program again into the device. This is a way to re-initialize the communication properly. Please check these points and let us know. Thanks. |
|
|
|
它很烦人...
在尝试了所有建议失败后,我决定使用不同的PC。 现在我能够使用ST Visual Programmer进行读写。 不幸的是,仍然无法使用ST Visual Develop进行调试。 但现在我收到一条不同的错误信息: 连接错误(u***:// u***):游泳错误[30004]:通讯超时 注意:我仍然没有使用USB集线器,并且已经尝试过不同长度的u***电缆。 以上来自于谷歌翻译 以下为原文 It's annoying... After unsuccessfully trying all your suggestions I decided to use a different PC. Now I'm able to read and write with the ST Visual Programmer. Unfortunately it still isn't possible to debug with the ST Visual Develop. But now I get a different error message: Connection error (u***://u***): swim error [30004]: comm timeout Note: I still don't use a u*** hub and allready tried u*** cables of different length. |
|
|
|
您确定在STVD中有正确的设置,菜单调试仪器/目标设置/目标选择是游泳ST-Link和目标端口选择是u***:// u***?
或者你尝试过另一个STM8L-Discovery? ;) 无论如何,你见过这块电路板吗?如果不是,我建议您更接近您的硬件经销商,并尝试进行董事会交换,看看...... 问候。 以上来自于谷歌翻译 以下为原文 Are you sure to have the right settings in your STVD, menu Debug instrument/Target Settings/ target to choose is Swim ST-Link and target Port Selection is u***://u***? Or did you try with another STM8L-Discovery? ;) In any case, have you ever seen this board working? If no, I advise to get closer of your hardware distributor and to try getting a board exchange and see... Regards. |
|
|
|
我有类似的问题,特别是'SWIM错误[30200]:ST-Link连接错误''尝试在IAR中开始调试时。我发现问题出在使用Alcohol 120%创建的虚拟DVD-RW驱动器中。它的信件在ST-Link之前,调试器在检查驱动器时偶然发现它。删除虚拟磁盘解决了这个问题。
以上来自于谷歌翻译 以下为原文 I had the similar problem, particulary ''SWIM error [30200]: ST-Link connection error'' while trying to start debugging in IAR. I found that the problem was in virtual DVD-RW drive created with Alcohol 120%. Its letter stood prior to ST-Link and debugger stumble on it while examining drives. Deleting virtual disk solved the problem. |
|
|
|
嗨,我已经检测到使用原始版本的st工具集ST-Link swin工作正常,但是一旦我将工具集升级到补丁1或补丁2,就会出现相同的错误。
如果我卸载所有并重新安装没有补丁的工具集,它会再次运行。 有关如何使其与补丁一起工作的任何想法? Regars 奥斯卡 以上来自于谷歌翻译 以下为原文 Hi, I've detected that with the original version of the st toolset the ST-Link swin works fine, but once I upgrade the toolset to the patch 1 or patch 2, the same error appear. If I uninstall all and reinstal the toolset without patch, it works again. Any idea of how to make it work with the patchs?. Regars Oscar |
|
|
|
从STVD 4.2.0升级到4.2.1之后也出现了同样的问题,也通过补丁1& 2但是问题仍然存在..在删除4.2.1(重启等等)并安装旧的4.2.0之后我又重新开始营业了...任何可以通过治疗查明问题的人
以上来自于谷歌翻译 以下为原文 Same problem after upgrading from STVD 4.2.0 to 4.2.1 , also did upgraded with patches 1 & 2 but problem stayed.. after removing 4.2.1(reboot etc et) and installing the older 4.2.0 back I was back in business... anyone who can pinpoint the problem with cure |
|
|
|
我今天也有同样的情况。并按照以下步骤修复它。
1.执行ST Visual Programmer并执行读取cmd。检查连接。 2.管理员执行STVD程序并再次下载。 最好的祝福 飞鸟 以上来自于谷歌翻译 以下为原文 i had the same situation today. and fix it by follow steps. 1.Execute ST Visual Programmer and execute read cmd. to check the connection. 2.Be administrator to execute the STVD program and download again. best regards Aska |
|
|
|
嗨,在使用工具集dll后,我发现了以下内容:首先我拿了stvp文件夹的副本。安装4.3并用旧版本(v4.0.1.2)替换所有stlinku***driver.dll(v4.2.2.0)。 Stangly新的V4.2.2.0仅为64Kb,而旧款V4.2.2.0的尺寸为380Kb。因此,其他一些冲突可能会随着这一变化而到来......
以上来自于谷歌翻译 以下为原文 Hi, after playing with the toolset dll, i've found out the following: first i took a copy of the stvp folder. installed 4.3 and replaces all stlinku***driver.dll (v4.2.2.0) with the old version (v4.0.1.2). Stangly the new V4.2.2.0 is only 64Kb while the old one is 380Kb in size. So it is possible that some other conflics arrive with this change... |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2730 浏览 1 评论
3239 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1808 浏览 1 评论
3647 浏览 6 评论
6035 浏览 21 评论
1339浏览 4评论
198浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
273浏览 2评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 08:28 , Processed in 1.587496 second(s), Total 94, Slave 78 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号