Go to Post This is a high-energy sporting event, not a piano recital. :) - Alan Anderson [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 06-02-2011, 17:06
SCarlos SCarlos is offline
Registered User
FRC #2815
 
Join Date: Feb 2011
Location: Columbia, SC
Posts: 4
SCarlos is an unknown quantity at this point
Uploading Code

I'm with Team 2815 and we've been having trouble deploying our code to the robot. When we deploy the code to the robot we get communication but no robot code. Can anyone help us out?
Reply With Quote
  #2   Spotlight this post!  
Unread 07-02-2011, 07:57
kws4000's Avatar
kws4000 kws4000 is offline
Team Mentor - Programming
AKA: Krazy Karl
FRC #2405 (Divided by Zero)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Fruitport, MI
Posts: 164
kws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the rough
Re: Uploading Code

A) Reboot the Robot (worked for us)
B) Reflash the cRIO to v27
C) ???
Reply With Quote
  #3   Spotlight this post!  
Unread 07-02-2011, 20:23
Arjun Namineni Arjun Namineni is offline
Registered User
FRC #4384
Team Role: Coach
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Troy, MI
Posts: 27
Arjun Namineni is an unknown quantity at this point
Re: Uploading Code

The same EXACT thing happened to me the other day and I racked my brain for 5 hours trying to figure it out. As it turns out, all you need to do is re-image the cRio to this year's image.
__________________
2009-2013: FRC 226 - Student
2014-Present: FRC 4384 - Mentor
Reply With Quote
  #4   Spotlight this post!  
Unread 08-02-2011, 19:10
SCarlos SCarlos is offline
Registered User
FRC #2815
 
Join Date: Feb 2011
Location: Columbia, SC
Posts: 4
SCarlos is an unknown quantity at this point
Re: Uploading Code

We have reimaged the crio several times and got all the updates and we still got no code. We decided to use virtual box to try to deploy the code, but now we can't see the crio under network connections. Please could you tell us step by step exactly what you did?
Reply With Quote
  #5   Spotlight this post!  
Unread 08-02-2011, 20:20
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 671
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Uploading Code

There are many possibilities why your code doesn't deploy. To really find out what's wrong. You need to hook up the debug console through RS232 cable or use the netconsole app. But once you have a debug console, you will see the spew from the cRio while it boots. This will tell you exactly what failed. In our case last year, it was saying our code exceeds the call distance so we need to add a "-mlongcall" to our linker option.
__________________
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 03:05.

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