2026-05-22 1:28 AM
Hello,
I wrote a project maybe 2 weeks ago, at that time, everything was ok. then i used stlink to download and debug the code yesterday, at first time, it worked ok, but later, i did download and debug again with stlink. it cannot work. the log as below.
my setting as below:
so what is the problem? how to fix it?
thanks.
Solved! Go to Solution.
2026-05-22 1:38 AM
Hello dqsh06,
Can you check that there is no ST-LINK_gdbserver.exe running with task manager ?
Maybe a previous debug did not finish well.
If it is the case, kill the process and it should be fine.
Rgds,
Laurent
2026-05-22 1:34 AM - edited 2026-05-22 1:56 AM
Clearly, something must have changed!
;)
This is probably the key:
See: Failed to bind to port 61234
(note that it's better to share this as text rather than a screenshot)
2026-05-22 1:38 AM
Hello dqsh06,
Can you check that there is no ST-LINK_gdbserver.exe running with task manager ?
Maybe a previous debug did not finish well.
If it is the case, kill the process and it should be fine.
Rgds,
Laurent
2026-05-22 1:50 AM - edited 2026-05-22 1:51 AM
@LaurentL wrote:Maybe a previous debug did not finish well.
If it is the case, kill the process and it should be fine.
That is, indeed, the solution proposed in the thread I linked earlier.
2026-05-22 1:59 AM
Hello LaurentL,
Maybe you are right, I killed the process of st-link_gdbserver running with task manager, and tried again, this time, it worked.
Thanks a lot.