Go to Post Don't worry so much about the wording of the rules but the intent of the rules. - Greg Needel [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 15-01-2012, 15:47
conwill345's Avatar
conwill345 conwill345 is offline
Student Programmer
AKA: Connor Willison
FRC #0708 (Hardwired Fusion)
Team Role: Programmer
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Hatboro-Horsham High School
Posts: 11
conwill345 is an unknown quantity at this point
Downloading Java Code 2012 Problem

We've used java in previous years but can't seem to download code with this year's updates. We installed all the updates, re-imaged the crio and installed netbeans plugins, but the download stops at the following message:

Waiting to connect to OTA command server of 10.7.8.2:8001 for past 11s

The rest of the output is attached.
Attached Files
File Type: txt ota command server problem.txt (2.2 KB, 20 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 15-01-2012, 16:18
That Canadian That Canadian is offline
Registered User
FRC #0346 (RoboHawks)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Chesterfield
Posts: 13
That Canadian is an unknown quantity at this point
Re: Downloading Java Code 2012 Problem

My team had this problem earlier as well. Make sure your wireless connection is disabled and then make sure your Ethernet connection is configured as follows. IP: 10.7.8.5 Subnet Mask: 255.255.255.0 Everything else left BLANK. Now these settings assume you are using the classmate to build code to the robot. If you're using a different computer make the IP 10.7.8.6 instead. If that doesn't work you can try changing the default gateway from blank to 10.7.8.2 (robots ip). If none of that works post back here.
Reply With Quote
  #3   Spotlight this post!  
Unread 15-01-2012, 16:19
That Canadian That Canadian is offline
Registered User
FRC #0346 (RoboHawks)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Chesterfield
Posts: 13
That Canadian is an unknown quantity at this point
Re: Downloading Java Code 2012 Problem

Also how are you uploading the code? Directly attached to the cRIO or through a modem/router on the robot?
Reply With Quote
  #4   Spotlight this post!  
Unread 15-01-2012, 18:27
conwill345's Avatar
conwill345 conwill345 is offline
Student Programmer
AKA: Connor Willison
FRC #0708 (Hardwired Fusion)
Team Role: Programmer
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Hatboro-Horsham High School
Posts: 11
conwill345 is an unknown quantity at this point
Re: Downloading Java Code 2012 Problem

We use a router.
IP addresses were set up as you said.
We ran the NI NetConsole utility for the cRIO. Then we tried to deploy code and got a socket bind error - already in use. After that, we closed netconsole and deployed again with no problems - go figure!

If anybody has an idea what happened, we'd like to know!
Reply With Quote
  #5   Spotlight this post!  
Unread 17-01-2012, 02:20
hzuo hzuo is offline
Registered User
FRC #3274
 
Join Date: Jan 2012
Location: Harrisonburg, Virginia
Posts: 3
hzuo is an unknown quantity at this point
Re: Downloading Java Code 2012 Problem

Earlier today, I had this exact same problem (or an exact manifestation of a different problem), and after some googling, I found the solution here. Basically, all you have to do is to reset the cRIO.

Last edited by hzuo : 17-01-2012 at 02:26.
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 00:41.

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