Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » GDB debugging with OpenOCD in Eclipse Mars on Windows Machine
GDB debugging with OpenOCD in Eclipse Mars on Windows Machine [message #1756023] Fri, 10 March 2017 08:22 Go to next message
Radhika Raghavendran is currently offline Radhika RaghavendranFriend
Messages: 3
Registered: March 2017
Junior Member
I have setup openOCD debugging plugin from GNU ARM eclipse website. I have made all the necessary changes in the openOCD Debug configuration. My project builds fine using a makefile. I have a problem launching the debug configuration.
The error says "openOCD failed with code (-1073741515)". Error log displays the command which was run in the debug configuration. When I copy and paste the command used in debug configuration on a Windows command prompt, it throws an error saying "error in procedure echo".
When I remove the part of command "-c echo "Started by GNU ARM Eclipse"" on the command prompt, I am able to run openOCD and debug the application using command line.
However, I would like to use eclipse to debug the application, and it looks as if the "echo" option is the one causing the problem.
Can you please tell me how I can remove the echo command in the debug configuration launch file?
Here are the snapshots of the errors.
Re: GDB debugging with OpenOCD in Eclipse Mars on Windows Machine [message #1756091 is a reply to message #1756023] Fri, 10 March 2017 20:18 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
-1073741515 is the decimal representation of Windows error 0xC0000135 (STATUS_DLL_NOT_FOUND).
It means that a DLL couldn't be found.
https://msdn.microsoft.com/en-us/library/cc704588.aspx
Don't use openOCD myself but that should get you started.

This isn't a CDT issue per se.
You might want to try the GNU ARM Eclipse pages:
General: http://gnuarmeclipse.github.io/
OpenOCD: http://gnuarmeclipse.github.io/openocd/
Debug: http://gnuarmeclipse.github.io/debug/openocd/
Support: http://gnuarmeclipse.github.io/support/
Forum: http://gnuarmeclipse.github.io/support/forum/

HTH


[Updated on: Fri, 10 March 2017 20:51]

Report message to a moderator

Previous Topic:Eclipse CDT preprocessor get statement under condition
Next Topic:Neon: Arduino losses connection with target
Goto Forum:
  


Current Time: Tue Mar 19 04:06:35 GMT 2024

Powered by FUDForum. Page generated in 0.01994 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top