最终启动序列中的错误-STM32L476的Eclipse系统工作台调试 [英] Error in Final Launch Sequence - Eclipse System Workbench Debugging for STM32L476

查看:237
本文介绍了最终启动序列中的错误-STM32L476的Eclipse系统工作台调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试调试和运行STM32L476的简单汇编代码.我已经设置了Eclipse Oxygen,在Eclipse中安装了最新版本的System Workbench插件,并安装了ST-Link驱动程序. IDE成功构建了程序,没有引发任何错误,但是,当我连接STM Discovery Board并尝试调试时,程序将引发以下错误:

最终启动顺序中的错误-未为设备通用TCP/IP"定义重置命令.

在使用完全相同的软件的Ubuntu 17.10和Windows 10上都出现此错误.阅读了其他一些与此类似的问题后,我被告知检查我是否在Eclipse中安装了OpenOCD和arm-none-eabi-gdb,并且它们已经正确设置,如下图所示. >

在解决此问题方面的任何帮助将不胜感激. 谢谢

解决方案

更新到最新版本的Eclipse时,我遇到了同样的问题.经过研究后,我在Eclipse的错误跟踪器页面上找到了一个错误报告:

错误529171-导致最近推送更新-未为设备通用TCP/IP'

这表明导致问题的模块是 C/C ++ GDB硬件调试版本9.4.0.201712051550.我进行了验证,并在发生错误时使用了相同的版本.当前的解决方案是还原到以前的版本.通过恢复到9.3.2.201709131603版本,此问题已解决,我可以使用GDB调试STM微控制器.

您可以在帮助>关于然后在安装详细信息然后在 OpenSTM32远程调试支持下找到该模块的当前版本.要恢复到上一个​​版本,您有两个选择.如果您更新了Eclipse,则在安装详细信息窗口中,会有一个安装历史记录选项卡,您可以在其中还原到以前的版本.否则,您应该删除该模块并在Eclipse安装存储库中搜索以前的版本.

I'm trying to debug and run simple assembly code for STM32L476. I've set up Eclipse Oxygen, installed the latest version of System Workbench plugin in Eclipse and installed ST-Link drivers. The IDE successfully builds the program without throwing any errors, however when I connect my STM Discovery Board and try to debug, the program throws the following error:

Error in Final Launch Sequence - Reset Command not defined for device 'Generic TCP/IP'.

,

I'm getting this error on both Ubuntu 17.10 and Windows 10 having used the exact same software. Having read a few other posts regarding issues similar to this, I was told to check whether I've OpenOCD and arm-none-eabi-gdb setup within Eclipse, and they have been set up properly as show in the image below.

Any help in resolving this issue will be much appreciated. Thanks

解决方案

I had the same issue when updating to the latest version of Eclipse. After doing some research I found a bug report on the bug tracker page of Eclipse:

Bug 529171 - Recent Pushed update causing - Reset Command not defined for device 'Generic TCP/IP'

This states that the module causing the issue is C/C++ GDB Hardware Debugging version 9.4.0.201712051550. I verified it and I had the same version when the error occured. The current solution is to revert to a previous version. By reverting to version 9.3.2.201709131603 the issue is solved and I can use GDB to debug the STM microcontrollers.

You can find the current version of this module in Help > About then Installation Details then under OpenSTM32 Remote debugging support. To revert to a previous you have two options. If you updated Eclipse then in the Installation Details window there is an Installation History tab, where you can revert to previous version. Otherwise you should delete the module and search for a previous version in the eclipse install repository.

这篇关于最终启动序列中的错误-STM32L476的Eclipse系统工作台调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆