How does CDT determine whether OpenOCD has been successfully started? [message #1861516] |
Tue, 17 October 2023 07:03 |
fei wang![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=fei.wang%40telink-semi.com) 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/43585/0/)
![index.php/fa/43586/0/](index.php/fa/43586/0/)
![index.php/fa/43587/0/](index.php/fa/43587/0/)
Attachment: 1.png
(Size: 95.46KB, Downloaded 167 times)
Attachment: 2.png
(Size: 32.02KB, Downloaded 158 times)
Attachment: 3.png
(Size: 153.57KB, Downloaded 153 times)
|
|
|
Powered by
FUDForum. Page generated in 0.03332 seconds