Error in services launch sequence. PEmicro GDB Launch Failure

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Error in services launch sequence. PEmicro GDB Launch Failure

跳至解决方案
10,215 次查看
myna
Contributor III

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???

标签 (1)
1 解答
9,644 次查看
myna
Contributor III

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

在原帖中查看解决方案

5 回复数
9,644 次查看
myna
Contributor III

I've already checked, but there is no running  pegdbserver_console.

Is there any other solution?

0 项奖励
9,645 次查看
jiri_kral
NXP Employee
NXP Employee

You can check if any other application isn't using gdb server's port. You can use windows commandline> netstat -a -b 

pastedImage_1.png

Assuming that restart of your PC machine also doesn't help, correct? 

Jiri 

0 项奖励
9,645 次查看
myna
Contributor III

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

5,965 次查看
yangjinzhuang
Contributor III

What GDB server port number should I set for the two cores?

0 项奖励
9,644 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

check if there is no another pegdbserver_console instance running in Windows task manager (CTRL+SHIFT+ESC). If yes - end the task. 

Jiri

0 项奖励