Go to Post if your robot weighs 1-1/2 tons, you have bigger problems then the legality of that jack... - ekapalka [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2011, 16:28
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
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
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2011, 07:58
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

bump
Reply With Quote
  #3   Spotlight this post!  
Unread 05-02-2011, 08:27
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
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)?
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2011, 14:04
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
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).
Reply With Quote
  #5   Spotlight this post!  
Unread 05-02-2011, 21:25
1168Programmer 1168Programmer is offline
Head Programmer/CEO
FRC #1168
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Team 1168
Posts: 67
1168Programmer is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

Quote:
Originally Posted by RoboElite640 View Post
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).
To ping, go to command prompt, (for windows, if you see "run" on the start menu, click that and select cmd [or type it], a black window should pop up), type "ping" and the ip address of your crio. It will send data packets to your crio, if they are sent back then you are connected and the problem is something else.
Reply With Quote
  #6   Spotlight this post!  
Unread 06-02-2011, 16:44
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
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?
Reply With Quote
  #7   Spotlight this post!  
Unread 06-02-2011, 17:07
1168Programmer 1168Programmer is offline
Head Programmer/CEO
FRC #1168
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Team 1168
Posts: 67
1168Programmer is an unknown quantity at this point
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?
Reply With Quote
  #8   Spotlight this post!  
Unread 06-02-2011, 17:36
inkspell4's Avatar
inkspell4 inkspell4 is offline
Registered User
FRC #3650 (Robo Raptors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Maryland
Posts: 326
inkspell4 will become famous soon enough
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.
__________________
Chesapeake Regional : 2013, 2012, 2011
Rookie Year: 2011
2013 RoboRaptors Team 3650 Programming Team Captain
Team Website : http://www.roboraptorsfrcteam3650.com/index.html
_____________________________________________
Reply With Quote
  #9   Spotlight this post!  
Unread 06-02-2011, 19:48
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
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?
Reply With Quote
  #10   Spotlight this post!  
Unread 06-02-2011, 19:52
1168Programmer 1168Programmer is offline
Head Programmer/CEO
FRC #1168
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Team 1168
Posts: 67
1168Programmer is an unknown quantity at this point
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.
Reply With Quote
  #11   Spotlight this post!  
Unread 07-02-2011, 08:59
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
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?
Reply With Quote
  #12   Spotlight this post!  
Unread 07-02-2011, 12:12
adf0221 adf0221 is offline
Registered User
FRC #1517 (Lumberjacks)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Bow NH
Posts: 24
adf0221 is an unknown quantity at this point
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
Reply With Quote
  #13   Spotlight this post!  
Unread 07-02-2011, 13:43
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

We have the Dlink router disconnected the entire time.
Reply With Quote
  #14   Spotlight this post!  
Unread 07-02-2011, 13:56
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
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
Reply With Quote
  #15   Spotlight this post!  
Unread 07-02-2011, 15:14
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

I was also wondering if the status light is supposed to be blinking yellow.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 16:48.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi