Hello.
When downloading s32k118EBV sample code, the following error occurs.
Error in services launch sequence
PEmicro GDB Launch Failure : Could not bind socket. Address and port are already in use. Another GDB Server debug session may be using the same Server Port number. To run simultaneous debug sessions, please specify a unique Server Port and GDBMI Port in the Debug Configuration for each project. If another session is not running simultaneously, make sure that the chosen port is available and that pegdbserver_console and the arm-none-eabi-gdb processes have terminated.
Please check attached capture file.
How can I solve this problem???
Solved! Go to Solution.
I did check netstat, it was already using the gdb port elsewhere.
So, I did change GDB Server port Number in Debug Configuration--> GDB Server Settings
Eventually, the problem was solved.
Thank you.
myna
I've already checked, but there is no running pegdbserver_console.
Is there any other solution?
You can check if any other application isn't using gdb server's port. You can use windows commandline> netstat -a -b
Assuming that restart of your PC machine also doesn't help, correct?
Jiri
I did check netstat, it was already using the gdb port elsewhere.
So, I did change GDB Server port Number in Debug Configuration--> GDB Server Settings
Eventually, the problem was solved.
Thank you.
myna
What GDB server port number should I set for the two cores?
Hi,
check if there is no another pegdbserver_console instance running in Windows task manager (CTRL+SHIFT+ESC). If yes - end the task.
Jiri