Go to Post Courtesy and kindness should be the words for the weekend. - IndySam [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 18-02-2010, 18:16
nikRbokRz nikRbokRz is offline
Registered User
FRC #1683
 
Join Date: Jan 2010
Location: Atlanta, GA
Posts: 14
nikRbokRz is an unknown quantity at this point
Exclamation Waiting for cRIO to reboot

Hi,

I've gone through the recent required updates for the FRC Squawk.

However, I now have an unusual problem. When I upload code, the message "Waiting for cRIO to reboot (XXXs)" appears. It never goes away (and the time keeps increasing). As a result, I can no longer view any System.out.println()'s.

It's interesting, because another programming team member has also updated the FRC Squawk stuff, but he is only getting to "Waiting for cRIO to reboot (10s)" - which is what I used get - and then is able to view the print statements.

Any ideas on why this is happening, and how I could fix this?
Reply With Quote
  #2   Spotlight this post!  
Unread 18-02-2010, 18:19
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: Waiting for cRIO to reboot

Does restarting the Driver Station/Dashboard when it's waiting help?
Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2010, 18:29
nikRbokRz nikRbokRz is offline
Registered User
FRC #1683
 
Join Date: Jan 2010
Location: Atlanta, GA
Posts: 14
nikRbokRz is an unknown quantity at this point
Re: Waiting for cRIO to reboot

How exactly would I restart my Dashboard/DS? I have my ClassmatePC on at all times.
Reply With Quote
  #4   Spotlight this post!  
Unread 18-02-2010, 18:39
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: Waiting for cRIO to reboot

What's your driver station / developing setup? Are you uploading code from another computer?
Reply With Quote
  #5   Spotlight this post!  
Unread 18-02-2010, 18:56
nikRbokRz nikRbokRz is offline
Registered User
FRC #1683
 
Join Date: Jan 2010
Location: Atlanta, GA
Posts: 14
nikRbokRz is an unknown quantity at this point
Re: Waiting for cRIO to reboot

Yeah, we're all programming from our own laptops, and then uploading code wirelessly, using the bridge.

It used to work before the update, but since then it's not working (and only for me, it works fine for my teammate).
Reply With Quote
  #6   Spotlight this post!  
Unread 18-02-2010, 19:49
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: Waiting for cRIO to reboot

Try running the driver station and dashboard on your laptops. We used to have a problem where we got a similar problem. We fixed it by closing the dashboard and opening it while the code deploys.
Reply With Quote
  #7   Spotlight this post!  
Unread 19-02-2010, 16:26
nikRbokRz nikRbokRz is offline
Registered User
FRC #1683
 
Join Date: Jan 2010
Location: Atlanta, GA
Posts: 14
nikRbokRz is an unknown quantity at this point
Re: Waiting for cRIO to reboot

But it's not really "laptops". It's just my laptop that doesn't work correctly. It deploys code, it's just that I can't get print statements.
Reply With Quote
  #8   Spotlight this post!  
Unread 20-02-2010, 17:17
ygd ygd is offline
Registered User
FRC #3341 (Manhattan Project)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: San Diego
Posts: 26
ygd is an unknown quantity at this point
Re: Waiting for cRIO to reboot

Make sure the subnet/netmask is set to 255.0.0.0. We had this problem too until we changed it.
Reply With Quote
  #9   Spotlight this post!  
Unread 22-02-2010, 17:07
ericarseneau ericarseneau is offline
Registered User
no team
 
Join Date: Jan 2010
Location: San Diego
Posts: 30
ericarseneau is an unknown quantity at this point
Re: Waiting for cRIO to reboot

One test that you should try is to run the "echo" target on the build.xml of your project in NetBeans. Then reboot the cRIO. If you get output after a while that is the console out of the cRIO then you know you are getting good communication from the cRIO. If not, then you may have the mask issue pointed out.
Reply With Quote
  #10   Spotlight this post!  
Unread 25-02-2010, 15:28
michael714's Avatar
michael714 michael714 is offline
Registered User
FRC #3863 (Pantherbotics)
Team Role: Teacher
 
Join Date: Apr 2006
Rookie Year: 2007
Location: Newbury Park, CA
Posts: 46
michael714 is on a distinguished road
Re: Waiting for cRIO to reboot

I've got one for you. The other day, after installing every imaginable update, we were getting "Waiting for cRio to reboot" scrolling indefinitely on the console. After some experimentation, I realized that code was loading on the robot and the reboot was occurring, but we just weren't getting the appropriate console output. So, I checked the IP settings for the network card on my PC and discovered that we were using DHCP. So, I changed it by manually setting the IP to 10.22.72.6 (team 2272) and the console update correctly and I no longer received indefinite waiting to reboot. FYI.
Reply With Quote
  #11   Spotlight this post!  
Unread 09-06-2010, 15:11
Phoenix.14's Avatar
Phoenix.14 Phoenix.14 is offline
Registered User
AKA: Thomas
FRC #1757 (The Wolverines)
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Westwood, MA
Posts: 12
Phoenix.14 is an unknown quantity at this point
Re: Waiting for cRIO to reboot

We're having this same problem when we try to load code onto our cRIO. We have the laptop hooked into the wireless bridge, although we've also tried a direct cable into the cRIO. We use java with netbeans, and we're trying to load a new project onto the cRIO; unfortunately, whenever we select Run Main Project, the output scrolls indefinitely on "Waiting for cRIO to reboot (<x> s)". After 15 or 16 seconds, the Classmate driver's station regains comms with the robot, but continues to read "No Robot Code". When we reset the robot, it still has no code. Does anybody have any other tips on how to solve this problem?
Reply With Quote
  #12   Spotlight this post!  
Unread 10-06-2010, 08:47
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: Waiting for cRIO to reboot

It sounds like you have a laptop and a classmate. The classmate seems to be running correctly (at least the driver station is getting some comms from the robot), but the laptop is only getting part of the job done.

If you got to "Waiting for cRIO to reboot", then the ftp phase should have completed, so the laptop also has some communication to the cRIO.

The most likely issue is that the netmask of the laptop is not set to 255.0.0.0. The DHCP on the wireless router really wants to change you netmask to 255.255.255.0, but don't let it!

Another thing to try, as Eric pointed out, is to watch the cRIO output from the command line. So on your laptop, open up a command/terminal window. Do a "cd" to your project's directory, and type "ant echo". Then manually reboot the cRIO. You should now start seeing the cRIO's boot messages etc.

If none of this works, please post the output of your "Run Project" command.
Reply With Quote
  #13   Spotlight this post!  
Unread 14-06-2010, 10:01
Phoenix.14's Avatar
Phoenix.14 Phoenix.14 is offline
Registered User
AKA: Thomas
FRC #1757 (The Wolverines)
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Westwood, MA
Posts: 12
Phoenix.14 is an unknown quantity at this point
Re: Waiting for cRIO to reboot

The subnet mask was already set to 255.0.0.0, and for some reason I couldn't get the 'ant echo' command to work.

However, I tried making a new robot project and copy-pasting everything into the new project, and for some reason it works now.
Reply With Quote
  #14   Spotlight this post!  
Unread 15-12-2010, 21:22
ksanger's Avatar
ksanger ksanger is offline
Registered User
FRC #0211 (MaK)
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Rochester NY
Posts: 62
ksanger is on a distinguished road
Re: Waiting for cRIO to reboot

We have Java running on two computers. One with Win7 sees the cRIO boot. The other running WinXP waits forever. Subnet mask is set to 255.0.0.0. We have tried with the Classmate turned off, with the Classmate on and logged off, and with the Classmate on with driver station running.

On the XP laptop we have turned firewalls off. IP is set to 10.2.11.6. Also tried 10.2.11.11. We use a Linksys router between the classmate, laptops, and the robot. The XP laptop may ping the router and the cRIO, however it fails to ping the Classmate. I don't have the Netbeans and Java versions handy. We loaded from the web, then added the pluggins from the update site.

I'ld really like to get the XP Laptop running as that is the laptop that belongs to the team. Any other ideas to try? Note the XP Laptop is a school laptop so the account type may be an issue? Plus permissions are set by the school district?
Reply With Quote
  #15   Spotlight this post!  
Unread 27-01-2011, 18:15
gordo161101 gordo161101 is offline
Registered User
AKA: G. Lange
FRC #2439 (BHS Robotics)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Hawaii
Posts: 4
gordo161101 is an unknown quantity at this point
Re: Waiting for cRIO to reboot

We have a similar problem, two laptops with Java installed, one Windows 7, the other Windows XP. Code uploading from XP hangs with message "Waiting for cRIO to reboot". Run the same code on Windows 7 with expected result.

Is there a problem with Windows XP? Is there a work around? Thanks.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Waiting for Prompt" in Netbeans from cRIO joshholat Control System 6 26-01-2010 10:33
Need to manually reboot cRIO to download code FRC4ME Java 6 24-01-2010 15:59
cRIO loses code on reboot? boris FRC Control System 1 30-01-2009 10:42
Waiting lists for FLL teams Woe Lego Mindstorm Discussion 5 21-08-2005 00:58
Waiting for Kick Off archiver 2000 4 23-06-2002 22:03


All times are GMT -5. The time now is 12:10.

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