Go to Post Scouting wins championships folks...not draft orders. - Andy Grady [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 13-02-2011, 15:49
Sev's Avatar
Sev Sev is offline
Lead Programmer
FRC #2393
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Knoxville
Posts: 14
Sev is an unknown quantity at this point
Question When even the experts are confused...

I have the programming done and yet the cRIO is being frustrating.
Using WindRiver and the latest version of the cRIO imaging tool, I've been able to deploy my program to the cRIO. However, when I open the driver station, it swears there are no Communications and that the Robot Code is absent. Under diagnostics, it says that the 4 Joysticks, the Robot, and the Bridge are all present.
I have had an expert come in and try and help, but he gave up. I now turn to you.

Help me Chief Delhpi, you're my only hope.
__________________
Has anyone really ever been as far as decided even to want and go to do look more like?
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2011, 17:35
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: When even the experts are confused...

In WindRiver check out the target console (or turn on serial debugging and use a terminal app with a cable). It sounds like you may be having a linker error, in which case your program will be unloaded. For best results, start the target console the second that WindRiver connects to the robot in the device view. It's also possible your code is crashing the cRio and causing it to lose comms and unload your program. Try to see if the simple template code works.

We've also had your symptoms occur with a very low battery - the code gets loaded, a motor turns, and the voltage drops so low the cRio resets.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2011, 18:13
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: When even the experts are confused...

Make sure your Driver Station has the right IP address. That would be 10.23.93.5 (or possibly 10.23.93.9 if you're connecting via wireless). The Classmate sets its address properly by default, but you can confuse it into being incorrect if you insist on configuring it manually.
Reply With Quote
  #4   Spotlight this post!  
Unread 13-02-2011, 19:21
mandrews281 mandrews281 is offline
Registered User
FRC #0281
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Greenville SC
Posts: 82
mandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to behold
Re: When even the experts are confused...

I'd also suggest turning on the netconsole in the cRio image, starting the netconsole app (as developer) on the drive station, and be logged in as developer as the cRio boots up. We've had several instances where our code had crashed or was generating a runtime error, and this was how we found out what was happening.

Good luck.
__________________
Michael Andrews
Team #281 Programming Mentor
Reply With Quote
  #5   Spotlight this post!  
Unread 13-02-2011, 19:24
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: When even the experts are confused...

Ping 10.23.93.1
if that fails, your robot radio/router/ap/whatever you wish to call it is not configured properly

If above works,
Ping 10.23.93.2
If that fails, you need to reimage your cRIO and ensure you set the team number properly on the first screen. Reimaging also assigns the proper IP to your CRIO.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
Reply With Quote
  #6   Spotlight this post!  
Unread 13-02-2011, 21:58
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: When even the experts are confused...

Quote:
Originally Posted by Mr. Lim View Post
Ping...
The Diagnostics tab on the Driver Station does the equivalent of pinging everything. Sev's original post said that the robot (cRIO) and bridge (D-Link) are responding.
Reply With Quote
  #7   Spotlight this post!  
Unread 13-02-2011, 22:02
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 494
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: When even the experts are confused...

one the crio check the dongles and make sure EVERYTHING is off BUT counsel out if safe mode is one it will not accept any code also make sure on the back of the router it is set to AP mode for wireless
Reply With Quote
  #8   Spotlight this post!  
Unread 13-02-2011, 22:07
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,183
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: When even the experts are confused...

If you are using windows 7 you can go to the networking pane and click "diagnose this connection". Sometimes it likes to turn on a firewall, which may have happened if you accidentally told it you were on a public network. It should find the driver station trying to access the robot over the network and allow you to pass it through.
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 02:35.

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