-
-
Notifications
You must be signed in to change notification settings - Fork 132
Why isn't the 'Connect to running target' feature implemented in OpenOCD debugging? #631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The 'Connect to running target' feature was implemented in J-Link debugging because by that time I was using J-Link intensively and I knew that this feature was available with J-Link. I'm not actively using OpenOCD and my experience with it is limited, thus I don't know if this feature is available in OpenOCD. |
For general question please use Discussions, not Issues. |
For openocd, it can be archived by not send any |
Can't you achieve a similar result by not entering the elf and by not sending the reset command? |
It's a while since I've used it but it definitely used to be possible to achieve "connect to running target" functionality using Embedded CDT and OpenOCD by tweaking the GDB/OpenOCD commands and plugin configuration settings used at debug launch time so that they don't perform any reset, program load, setting the program counter etc. I don't think that any change needs to be made to the plugins themselves - just to the debug launch configuration and possibly the OpenOCD script used. There is no limitation in OpenOCD that precludes/prevents such an approach to debugging. |
Great! Good luck with your projects! |
Hi @ilg-ul, maybe we can reopen this issue, since @laomaolaile is contributing to it and want to add the |
I've noticed that the 'Connect to running target' feature is implemented in J-Link debugging and works very well. Why isn't this feature available in OpenOCD? What considerations led to not implementing this feature in OpenOCD?
If we were to implement this feature in OpenOCD, what key points or challenges should be taken into account?
Looking forward to your response. Thank you very much for your help.
The text was updated successfully, but these errors were encountered: