Go to Post I'm gonna go back to my corner and write some more code... - Kevin Watson [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 09-02-2012, 03:08
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: Java to Crio Downloading Issues

Quote:
Originally Posted by matthysen2 View Post
I have had this same problem aswell. When you say restart do you mean pressing the button on the or cutting the power off and then turning it back on? And should this be done while the code is trying to run?
It's a known bug since last year.

SOP for flashing/updating the crio:
1. Flash it
2. Upload code
3. Reboot the crio
4. Pretend nothing happened and upload code
5. Success.
Reply With Quote
  #2   Spotlight this post!  
Unread 14-01-2012, 18:11
bdbayes bdbayes is offline
Captain
FRC #2927 (Pi Rho Techs)
Team Role: Leadership
 
Join Date: Apr 2011
Rookie Year: 2009
Location: Tacoma, WA
Posts: 75
bdbayes is a jewel in the roughbdbayes is a jewel in the roughbdbayes is a jewel in the rough
Glad to hear it works. You should try some of the examples.
Reply With Quote
  #3   Spotlight this post!  
Unread 16-01-2012, 17:30
leeboy1312 leeboy1312 is offline
Registered User
FRC #4021
 
Join Date: Jan 2012
Location: Onalaska luther
Posts: 4
leeboy1312 is an unknown quantity at this point
Re: Java to Crio Downloading Issues

We are having a similiar problem when we try to deploy the code onto the CRio the program stops without a build error at

[cRIO] Default disabled() method running, consider providing your own
[cRIO] task 0x25c7a58 (System Web Services Load Thread) deleted: errno=0 (0) status=0 (0)
[cRIO] task 0x2869f70 (mDNS resolve) deleted: errno=0 (0) status=0 (0)
[cRIO] task 0x2bff0d0 (mDNS resolve) deleted: errno=0 (0) status=0 (0)


I have tried almost everything i can think of so any help would be strongly appreciated.

Thanks,
F.I.R.S.T. Team #4021
Reply With Quote
  #4   Spotlight this post!  
Unread 16-01-2012, 18:09
bdbayes bdbayes is offline
Captain
FRC #2927 (Pi Rho Techs)
Team Role: Leadership
 
Join Date: Apr 2011
Rookie Year: 2009
Location: Tacoma, WA
Posts: 75
bdbayes is a jewel in the roughbdbayes is a jewel in the roughbdbayes is a jewel in the rough
That is displayed whenever you finish deploying the code.
Reply With Quote
  #5   Spotlight this post!  
Unread 09-02-2012, 08:25
touchdownjesus4's Avatar
touchdownjesus4 touchdownjesus4 is offline
Registered User
AKA: Tyler Vonderhaar
FRC #4028 (Eagle Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Cincinnati, OH
Posts: 64
touchdownjesus4 is on a distinguished road
Quote:
Originally Posted by leeboy1312 View Post
We are having a similiar problem when we try to deploy the code onto the CRio the program stops without a build error at

[cRIO] Default disabled() method running, consider providing your own
[cRIO] task 0x25c7a58 (System Web Services Load Thread) deleted: errno=0 (0) status=0 (0)
[cRIO] task 0x2869f70 (mDNS resolve) deleted: errno=0 (0) status=0 (0)
[cRIO] task 0x2bff0d0 (mDNS resolve) deleted: errno=0 (0) status=0 (0)


I have tried almost everything i can think of so any help would be strongly appreciated.

Thanks,
F.I.R.S.T. Team #4021
This same thing happens when I deploy code to our cRIO. It gets to the mDNS resolve and hangs. I've found that if you just stop the process it deploys the code correctly, it just seems to get hung up after its finished deploying for some reason. It says that there is robot code when we switch to the driver station and any changes we make work even though it hangs.
__________________
2012 Boilermaker Regional Champions (With 1756 & 1501)
Team Captain, Programmer, Lead Driver
Reply With Quote
  #6   Spotlight this post!  
Unread 09-02-2012, 10:57
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: Apparent "hangs" in code deploy to cRIO...

The deploy process is not supposed to "finish". It stays connected to your robot in order to display any output that your robot or the cRIO prints out.

This message is printed by WPILibJ if you haven't overridden the disabled() method (which isn't a requirement by the way):
Quote:
[cRIO] Default disabled() method running, consider providing your own
If you see that message, then it's very likely that your robot code is running fine.

This message is printed by the cRIO for some reason. I think it is an ordinary status message though, not any real problem:
Quote:
[cRIO] task 0x25c7a58 (System Web Services Load Thread) deleted: errno=0 (0) status=0 (0)
[cRIO] task 0x2869f70 (mDNS resolve) deleted: errno=0 (0) status=0 (0)
[cRIO] task 0x2bff0d0 (mDNS resolve) deleted: errno=0 (0) status=0 (0)
For your own sanity and/or peace of mind, you might want to print a message at the beginning and end of your disabled(), autonomous() and operatorControl() methods - something like "entering autonomous mode", "exiting autonomous mode", etc.
Reply With Quote
  #7   Spotlight this post!  
Unread 10-02-2012, 19:57
jesusrambo jesusrambo is offline
Self-Proclaimed Programmer Messiah
AKA: JD Russo
FRC #2035 (Robo Rockin' Bots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Carmel, CA
Posts: 114
jesusrambo is an unknown quantity at this point
Correct, reimaging the cRIO should solve the versioning error.
Reply With Quote
  #8   Spotlight this post!  
Unread 10-02-2012, 20:14
austin1743 austin1743 is offline
Head Programmer - Java
FRC #1743
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Pennsylvania
Posts: 56
austin1743 is an unknown quantity at this point
Re: Java to Crio Downloading Issues

thanks, i will do this first thing before we do anything else.

i will keep you guys informed more tomorrow. Time for some sleep in this robotics season before crunch time.
__________________
Team 1743
Head Programmer
Reply With Quote
  #9   Spotlight this post!  
Unread 10-02-2012, 20:46
jesusrambo jesusrambo is offline
Self-Proclaimed Programmer Messiah
AKA: JD Russo
FRC #2035 (Robo Rockin' Bots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Carmel, CA
Posts: 114
jesusrambo is an unknown quantity at this point
Re: Java to Crio Downloading Issues

Quote:
Originally Posted by austin1743 View Post
Time for some sleep in this robotics season before crunch time.
You kidding? That's what the Mountain Dew is for
Reply With Quote
  #10   Spotlight this post!  
Unread 10-02-2012, 21:25
austin1743 austin1743 is offline
Head Programmer - Java
FRC #1743
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Pennsylvania
Posts: 56
austin1743 is an unknown quantity at this point
Re: Java to Crio Downloading Issues

no im not kidding, hehe stocking up on mountain dew now... hehe crunch time starts in the final week

how long does this cRio imaging process take? before it only took us a couple minutes...
__________________
Team 1743
Head Programmer
Reply With Quote
  #11   Spotlight this post!  
Unread 10-02-2012, 23:42
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: Java to Crio Downloading Issues

Quote:
Originally Posted by austin1743 View Post
how long does this cRio imaging process take? before it only took us a couple minutes...
Up to 5 minutes. Shouldn't take any longer than that.
Reply With Quote
  #12   Spotlight this post!  
Unread 11-02-2012, 09:20
austin1743 austin1743 is offline
Head Programmer - Java
FRC #1743
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Pennsylvania
Posts: 56
austin1743 is an unknown quantity at this point
Re: Java to Crio Downloading Issues

we have been imaging for 2 hours now.... continues to say formating cRio...

i dont think this is normal...
__________________
Team 1743
Head Programmer
Reply With Quote
  #13   Spotlight this post!  
Unread 11-02-2012, 13:35
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: Java to Crio Downloading Issues

Something is definitely wrong if it's taking more than an hour. Try connecting back to the cRio. If you can't connect back to it, then it's somewhat likely that it's bricked. If you can connect back to it, try the re-image thing again.

My only three guesses for what possibly happened is:
1. You were flashing it thru a wireless connection?
2. The cRio lost power midway through formatting?
3. The cRio was faulty?
Reply With Quote
  #14   Spotlight this post!  
Unread 11-02-2012, 20:19
austin1743 austin1743 is offline
Head Programmer - Java
FRC #1743
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Pennsylvania
Posts: 56
austin1743 is an unknown quantity at this point
Re: Java to Crio Downloading Issues

well i got it to the right image... (by doing what you said)

our next problem is no robot communication... for this is i:


cycled power
reimaged it 2 times
checked to make sure ip addresss set-up correctly (they are)
made sure ethernet cord is properly attached (wired connection entire time)

any other suggestions?
__________________
Team 1743
Head Programmer
Reply With Quote
  #15   Spotlight this post!  
Unread 11-02-2012, 20:39
jesusrambo jesusrambo is offline
Self-Proclaimed Programmer Messiah
AKA: JD Russo
FRC #2035 (Robo Rockin' Bots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Carmel, CA
Posts: 114
jesusrambo is an unknown quantity at this point
Re: Java to Crio Downloading Issues

Both IP addresses? Are you able to ping it?

Did you image it with the right IP address?

Are it and your computer on the same IP range (10.xx.yy.zz where xx and yy make your team number), with the computer's subnet set to 255.255.255.0?
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 09:42.

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