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)
已解决! 转到解答。
Hi @blogcin ,
I believe you want this:
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
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/
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
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.
Hi @blogcin ,
I believe you want this:
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