Go to Post Who wouldn't love to see a circular FRC field, on the backs of four elephants, all riding on a gigantic turtle? - Taylor [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 29-01-2012, 13:52
adamdb adamdb is offline
Registered User
#1583
 
Join Date: Feb 2005
Location: Parker, CO
Posts: 63
adamdb has a spectacular aura aboutadamdb has a spectacular aura aboutadamdb has a spectacular aura about
Code download stops at FTP step

We have the latest Netbeans (7.1) installed and all the latest updates to the FRC plugins. We have re-imaged the cRIO with the latest Java firmware (v43). We are directly tethered to the cRIO using a crossover cable (tried 2 different ones just to make sure). We also have the latest NI Utilities update.

We were able to load a Java program into the cRIO once from Netbeans and have been unsuccessful since. We have re-imaged the cRIO twice (successfully) since we started having the issue and still no luck. The process looks normal until it gets to the "FTP to 10.15.83.2" step. The progress bar at the bottom of the screen does the Cylon raider visor thing and bounces back and forth 3 or 4 times, then goes away. At this point the process appears to hang up.

I'm sure this is probably operator error in some form or another, but need some suggestions as to what else I can try. Re-install Netbeans and the NI Utilities?

It seems like I saw this 2 years ago when we first used Java, but I don't recall what we had to do to fix it.

As always, TIA
__________________
Adam Bryant
Programming Mentor
Team 1583
Ridge View Academy Rambotics
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2012, 14:58
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
Re: Code download stops at FTP step

Quote:
Originally Posted by adamdb View Post
We have the latest Netbeans (7.1) installed and all the latest updates to the FRC plugins. We have re-imaged the cRIO with the latest Java firmware (v43). We are directly tethered to the cRIO using a crossover cable (tried 2 different ones just to make sure). We also have the latest NI Utilities update.

We were able to load a Java program into the cRIO once from Netbeans and have been unsuccessful since. We have re-imaged the cRIO twice (successfully) since we started having the issue and still no luck. The process looks normal until it gets to the "FTP to 10.15.83.2" step. The progress bar at the bottom of the screen does the Cylon raider visor thing and bounces back and forth 3 or 4 times, then goes away. At this point the process appears to hang up.

I'm sure this is probably operator error in some form or another, but need some suggestions as to what else I can try. Re-install Netbeans and the NI Utilities?

It seems like I saw this 2 years ago when we first used Java, but I don't recall what we had to do to fix it.

As always, TIA
Well in the console is there any errors?? If so what are they?
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2012, 15:00
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
Re: Code download stops at FTP step

Quote:
Originally Posted by adamdb View Post
We have the latest Netbeans (7.1) installed and all the latest updates to the FRC plugins. We have re-imaged the cRIO with the latest Java firmware (v43). We are directly tethered to the cRIO using a crossover cable (tried 2 different ones just to make sure). We also have the latest NI Utilities update.

We were able to load a Java program into the cRIO once from Netbeans and have been unsuccessful since. We have re-imaged the cRIO twice (successfully) since we started having the issue and still no luck. The process looks normal until it gets to the "FTP to 10.15.83.2" step. The progress bar at the bottom of the screen does the Cylon raider visor thing and bounces back and forth 3 or 4 times, then goes away. At this point the process appears to hang up.

I'm sure this is probably operator error in some form or another, but need some suggestions as to what else I can try. Re-install Netbeans and the NI Utilities?

It seems like I saw this 2 years ago when we first used Java, but I don't recall what we had to do to fix it.

As always, TIA
And since you are able to re-image the cRio successfully it has to be either a Netbeans issue or the plugins issue.
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2012, 16:33
Unoquadium Unoquadium is offline
The Parlor Generals
AKA: Ilya Rubnich
FRC #0334 (Tech Knights)
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Brooklyn, NY
Posts: 8
Unoquadium is an unknown quantity at this point
Re: Code download stops at FTP step

After you upgrade the cRIO you have to manually restart it to get the FTP server working.

If that doesn't work...

Use the re-imaging tool to check the IP of it, and make sure it matches the one in your Driver Station settings and Netbeans plugin settings.

And if that doesn't work...

Have the Driver Station automatically configure your network settings for you using the "Choose NIC" button.
Reply With Quote
  #5   Spotlight this post!  
Unread 30-01-2012, 10:46
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
Re: Code download stops at FTP step

Also check the firewall settings. If still stuck, please post the output - there are networking details embedded that help debug some issues.
Reply With Quote
  #6   Spotlight this post!  
Unread 30-01-2012, 20:57
adamdb adamdb is offline
Registered User
#1583
 
Join Date: Feb 2005
Location: Parker, CO
Posts: 63
adamdb has a spectacular aura aboutadamdb has a spectacular aura aboutadamdb has a spectacular aura about
Re: Code download stops at FTP step

We reinstalled NetBeans and the problem went away. It is working first time, every time now.

Thanks for all the suggestions.
__________________
Adam Bryant
Programming Mentor
Team 1583
Ridge View Academy Rambotics
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 11:45.

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