Remote Debug Startup with Linux on iMX8M [message #1821081] |
Wed, 05 February 2020 10:24 |
Gordan Rancic Messages: 7 Registered: January 2020 |
Junior Member |
|
|
Hi to all,
I am new to Eclipse, so probably my question is obvious. I am about to use Eclipse to develop an application (in ANSI C) for ARM iMX8M target board where Linux is running. For that purpose, I created a new C project "Hello World", configured Eclipse to use GCC, compile my HelloWorld (it worked), copied it manually (outside from Eclipse) to my target board and executed it: I got "Hello World" on the terminal. This far is OK.
Now, I would like to debug it from Eclipse. I created a new Debug Configuration, set parameters (presume to be correct) according to the parameters from my target, but when I try to Debug, I got the message on the IDE window:
"Error during file upload.
java.io.IOException: inputstream is closed
java.io.IOException: inputstream is closed
java.io.IOException: inputstream is closed"
I checked my host firewall, and everything is enabled for Eclipse and Java regaring my target. I suppose the problem is not in firewall.
Any suggestion? Thank you in advance.
|
|
|
|
|
|
|
|
|
Re: Remote Debug Startup with Linux on iMX8M [message #1821196 is a reply to message #1821194] |
Thu, 06 February 2020 21:46 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
As I said, it works for me.
Apparently, the Eclipse parameters aren't correct despite what you believe.
You haven't told us exactly how you set up the Launcher then still
it may not be possible to diagnose the problem without even more detailed info.
You could try disabling the upload (checkbox at bottom of the Debugger tab in the launcher)
and maybe change the DSF launcher to manual remote.
If you have RSE installed you may be able to test your connection with it.
You may be able to just use the TM Terminal (if installed)
This may help but it's a little old:
https://stackoverflow.com/questions/43687189/eclipse-remote-debugging-cdt-tutorial
FWIW: in my case there are TWO firewalls: one on the host and the other on the remote.
Both had to be configured.
But since you can do this from a terminal then it's probably not an issue for you.
[Updated on: Thu, 06 February 2020 21:51] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04260 seconds