MCUXpresso IDE Gdb Client Address Change

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

MCUXpresso IDE Gdb Client Address Change

跳至解决方案
2,675 次查看
blogcin
Contributor I


MCUXpresso's J-Link Remote debugging is run JLinkGDBServer on client environment to connect remote server.

[JLink]                 [Server]                                          [Client]
JLink <-> (JLinkRemoteServer) <-> (JLinkGDBServer) <-> Gdb

so I think In poor environment, it is too heavy.

I change "org.eclipse.cdt.debug.gdbjtag.core.ipAddress " value through text editor in "Projectname.launch" file. then I don't need run JLinkGDBServer in client environment.

Is there any method to change gdb client address in MCUXpresso? (not port)

MCUXpresso menus are available only for change port.
(Debug Configurations... -> JLink Debugger -> GDB Client Settings)

 

 

1 解答
2,626 次查看
ErichStyger
Specialist I

Hi @blogcin ,

I believe you want this:

ErichS_0-1606200339547.png

 

right? Instead launching the server locally, you want to connect to a remote server, correct?

I get the above with the MCU Eclipse CDT (Eclipse Embedded CDT (eclipse-embed-cdt.github.io), formerly GNU ARM Eclipse) plugins installed in MCUXpresso.

 

I hope this helps,

Erich

在原帖中查看解决方案

3 回复数
2,665 次查看
ErichStyger
Specialist I

Hi @blogcin 

You can edit the IP Address of the J-Link server in the launch config, see https://mcuoneclipse.com/2019/03/02/remote-debugging-with-usb-based-jtag-swd-debug-probes/

ErichS_0-1606109394474.png

 

In case you want to use IP tunneling mode, then https://mcuoneclipse.com/2017/02/05/remote-board-debugging-j-link-remote-server-with-eclipse/ is what you are looking for.

And if your remote debugging probe is USB based, then you can use this: https://mcuoneclipse.com/2019/03/02/remote-debugging-with-usb-based-jtag-swd-debug-probes/

 

I hope this helps,

Erich

0 项奖励
回复
2,638 次查看
blogcin
Contributor I

Thanks for your reply. @ErichStyger 

I already set J-Link Remote address in my MCUXpresso. (v11.2.1)
but when do debug, gdb trying to connect gdbserver from localhost, not remote address.
That is a problem what trying to connect gdb server from localhost when isn't turn on "start server" in debug option.

when I change "org.eclipse.cdt.debug.gdbjtag.core.ipAddress " in ".launch" file, gdb connect gdbserver from remote address, not localhost.

It can be nice if allow to enter gdb server address in the debug option or the gdb server's address to be synchronized to the J-Link remote address.

 

 

2,627 次查看
ErichStyger
Specialist I

Hi @blogcin ,

I believe you want this:

ErichS_0-1606200339547.png

 

right? Instead launching the server locally, you want to connect to a remote server, correct?

I get the above with the MCU Eclipse CDT (Eclipse Embedded CDT (eclipse-embed-cdt.github.io), formerly GNU ARM Eclipse) plugins installed in MCUXpresso.

 

I hope this helps,

Erich