Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How does CDT determine whether OpenOCD has been successfully started?
How does CDT determine whether OpenOCD has been successfully started? [message #1861516] Tue, 17 October 2023 07:03
fei wang is currently offline fei wangFriend
Messages: 2
Registered: October 2023
Junior Member
I used a modified openocd and tried to start openocd for debugging through CDT, but I received a timeout error and the console did not provide any output. But it can be started in the shell with the same commands and parameters. And when I intentionally pass in the wrong parameters to cause my OpenOCD to exit abnormally, the console can output a complete log.

My OpenOCD will eventually run to the server_loop(), blocked by select(), which is consistent with the official openocd. In my testing, after the CDT called openocd, my openocd did indeed run to the server_loop().

So how does CDT determine whether OpenOCD has been successfully started? Where may the problem be?
Thank you in advance for any comments on this issue!

index.php/fa/43585/0/
index.php/fa/43586/0/
index.php/fa/43587/0/
  • Attachment: 1.png
    (Size: 95.46KB, Downloaded 169 times)
  • Attachment: 2.png
    (Size: 32.02KB, Downloaded 162 times)
  • Attachment: 3.png
    (Size: 153.57KB, Downloaded 157 times)
Previous Topic:Properties error for Eclipse IDE into Nios 2 EDS
Next Topic:Eclipse C Indexer Troubleshooting Tips.
Goto Forum:
  


Current Time: Wed Feb 05 14:01:51 GMT 2025

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

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

Back to the top