Can't use Segger J-link in Eclipse

时光毁灭记忆、已成空白 提交于 2019-12-13 00:29:52

问题


I installed Eclipse luna with ARM plug-in, installed Segger software, attached a J-link base to my board. Running the command line Segger software it seems to connect just fine.
But in Eclipse, it's not seeing the J-link option and can't start the debugger. For some reason it's not showing up in the debug configuration options.

On a co-worker's machine it's working fine. We're comparing setups but so far haven't found any discrepancies. We both have Windows 7.

If I try to debug it pops up a window saying it encountered a problem: Error with command: gdb --version Cannot run program "gdb": Launching failed

Thanks for any help!


回答1:


Okay, it appears that somewhere in my attempts to get this going, I had clicked on the box for the GDB SEGGER J-Link debugger in Window | Preferences | Run/Debug | Launching | Launch Configurations.

I thought that was a box to include that debug option, but it is a filter to exclude that debugger, and that is apparently why it didn't show up in the debug configuration window.



来源:https://stackoverflow.com/questions/29103317/cant-use-segger-j-link-in-eclipse

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!