How does CDT determine whether OpenOCD has been successfully started? [message #1861516] |
Tue, 17 October 2023 07:03 |
fei wang 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!
-
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)
|
|
|
Powered by
FUDForum. Page generated in 0.03673 seconds