![]() |
Help needed for loading codes into cRIO (Java)
Error comes up while downloading java codes into cRIO. I installed the FRC plugins. Formatted the cRIO and reimaged it. Firewall is also turned off and the IP address is set to 10.6.40.5
C:\Documents and Settings\Developer\sunspotfrcsdk\build.xml:95: The following error occurred while executing this line: C:\Documents and Settings\Developer\sunspotfrcsdk\ant\upgrade.xml:4 0: java.net.ConnectExtension:Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:189) at org.apache.commons.net.DefaultSocketFactory.create Socket(DefaultSocketFactory.java:53) at org.apache.commons.net.SocketClient.connect(Socket Client.java:162) at org.apache.commons.net.SocketClient.connect(Socket Client.java:250) at com.sun.spot.sdk.tool.ftp.JakartaFtpWrapper.connec tAndLogin(JakartaFtpWrapper.java:37) at com.sun.spot.sdk.tool.ftp.UpgradeTask.execute(Upgr adeTask.java:213) at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:291) at sun.reflect.GeneratedMethodAccessor74.invoke(Unkno wn Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:39 0) at org.apache.tools.ant.Target.performTasks(Target.ja va:411) at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1397) at org.apache.tools.ant.helper.SingleCheckExecutor.ex ecuteTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Projec t.java:1249) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java :442) at org.apache.tools.ant.taskdefs.CallTarget.execute(C allTarget.java:105) at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:291) at sun.reflect.GeneratedMethodAccessor149.invoke(Unkn own Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:39 0) at org.apache.tools.ant.Target.performTasks(Target.ja va:411) at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1397) at org.apache.tools.ant.Project.executeTarget(Project .java:1366) at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Projec t.java:1249) at org.apache.tools.ant.module.bridge.impl.BridgeImpl .run(BridgeImpl.java:281) at org.apache.tools.ant.module.run.TargetExecutor.run (TargetExecutor.java:539) at org.netbeans.core.execution.RunClassThread.run(Run ClassThread.java:154) Build Failed (total time:59 seconds) HELP NEEDED |
Re: Help needed for loading codes into cRIO (Java)
bump
|
Re: Help needed for loading codes into cRIO (Java)
First off, no bumping threads.
Can you ping the cRIO from the Classmate (or whatever computer you're using to load code)? Is the ethernet cable a crossover (I've heard straight-throughs can be used, but FIRST recommends a crossover). Is the cable actually plugged in (i.e. not slipping out of anything)? |
Re: Help needed for loading codes into cRIO (Java)
sorry, didnt know about the no bumping. Being new, im not sure what you mean by ping. We're using a straight cable and its plugged in (not loose).
|
Re: Help needed for loading codes into cRIO (Java)
Quote:
|
Re: Help needed for loading codes into cRIO (Java)
Well we can't try to ping it until Monday, but if it doesn't ping then what should we do?
|
Re: Help needed for loading codes into cRIO (Java)
Try to deploy tethered, if you're not doing that already.
In your original post it says an error occurred at a certain line, I think it says line 95. So, maybe check that. Hmm, do you have the most recent plugin update? Is there anything in your code that would cause the connection to just time out? |
Re: Help needed for loading codes into cRIO (Java)
You will have to have it connected to the wireless and then make sure that the dric=ver station is deployed then build if this doesnt work follow the instructions on http://www.usfirst.org/uploadedFiles/Robotics_Programs/FRC/Game_and_Season__Info/2011_Assets/Kit_of_Parts/How_to_Build_and_Load_Programming_in_LabVIEW,_C,_a nd_Java.pdf this is supplied by first if on monday the problem still exists i will speek with one of my fellow programers. We are also a new team so we understand this situation.:)
|
Re: Help needed for loading codes into cRIO (Java)
We do have the most recent plugins for java. I dont think theres anything that would cause the connection to be timed out because i tried using simple codes and it still said connection timed out. I'll try wireless tomorrow but if the connection is interrupted then wont the cRIO be corrupted or is that only when you reimage it?
|
Re: Help needed for loading codes into cRIO (Java)
Did you reimage it to the right programming language?
Definitely try pinging it and let us know what happens. |
Re: Help needed for loading codes into cRIO (Java)
I tried pinging it and i got 4 packages sent and 4 packages received. I also tried using a crossover cable and still got the same error. I have the cRIO IP address at 10.6.40.2, but what exactly should the subnet be at 255.0.0.0?
|
Re: Help needed for loading codes into cRIO (Java)
make sure you disconnect from the radio on your robot before you attempt to download or else you will receive that error
|
Re: Help needed for loading codes into cRIO (Java)
We have the Dlink router disconnected the entire time.
|
Re: Help needed for loading codes into cRIO (Java)
we also have it saying waiting to connect to OTA command server of 10.6.40.2:8001
|
Re: Help needed for loading codes into cRIO (Java)
I was also wondering if the status light is supposed to be blinking yellow.
|
| All times are GMT -5. The time now is 05:24. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi