Go to Post It's not GP, its not un-GP, its just a strategy. - AndyB [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 24-01-2009, 13:06
tgwicklund tgwicklund is offline
Registered User
AKA: Thomas Wicklund
FRC #2261 (CASA MESA)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Longmont, CO
Posts: 4
tgwicklund is an unknown quantity at this point
Help getting C++ program to load

I have been trying to get the SimpleTemplate example project to run on the cRio with no luck. I can ping and connect to the cRio and see a list of running tasks, so it's out there. However, when I attempt to debug the program it gives a LONG list of unresolved symbols (about 40 visible on screen of nFPGA methods, the window truncates so I have no idea how many more). Something isn't setup correctly.

I'm told the cRio has been updated properly, but have also been unable to verify this. So specific questions:
  1. I tried undeploy on the chance something was loaded and is interfering. I get an immediate error message:

    "Unable to delete the UserProgram from the robot."

    Does this mean there's nothing loaded or that it isn't talking correctly?
  2. Is there a way to tell what version of cRio software is running and whether it is set for C++ or Labview?
  3. I have tried to re-image the cRio to make sure the correct image is loaded, but the re-image utility cannot find the cRio. It's at the correct 10.22.61.2 address I can ping it, and my firewall is off. Does the re-image utility require that the cRio be set to the default IP address or is there something else I need to do?

Thomas Wicklund
Team 2261
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2009, 13:27
KRibordy KRibordy is offline
Registered User
FRC #1000 (Cybearcats)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2006
Location: Valparaiso, IN
Posts: 36
KRibordy is an unknown quantity at this point
Re: Help getting C++ program to load

Make sure that the cRIO is updated. If it was imaged after you got the kit, it should be fine. Make sure that you have the right file set in Window->Preferences->FIRST Downloader.

If you can connect to the cRIO in WindRiver, then it should be updated correctly. Make sure your computer has the right Static IP (10.22.61.6).

That should work. Are you getting the errors when trying to build the program?
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2009, 13:32
tgwicklund tgwicklund is offline
Registered User
AKA: Thomas Wicklund
FRC #2261 (CASA MESA)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Longmont, CO
Posts: 4
tgwicklund is an unknown quantity at this point
Re: Help getting C++ program to load

How do I make sure the cRio is updated? The re-image utility can't find it and I don't see anything saying the version of code when I connect in WindRiver.

I don't get errors compiling, only when trying to run it via "debug kernel task". I'm not worried about deploying at this point.

Thomas Wicklund
Reply With Quote
  #4   Spotlight this post!  
Unread 24-01-2009, 18:19
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,817
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Help getting C++ program to load

A couple of ways to check your cRIO software version.

1) Hookup a null modem cable to the cRIO serial port, turn on the cRIO dip switch for "Console out", and use Hyperterminal or similar tool to watch the cRIO console dump when it boots up. You'll see these lines buried in all the others:
FRC_NetworkCommunication was compiled from SVN revision 1510
FPGA Hardware Version: 2009
FPGA Software Version: 2009
FPGA Hardware Revision: 0.1.11
FPGA Software Revision: 0.1.11
2) use the LabVIEW program at: http://thinktank.wpi.edu/article/138
On the far right of this screen are displayed the cRIO version numbers.
The latest v7 version numbers are:
FPGA Firmware Revision: 0.1.11
Network Comm Version: 1510
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 24-01-2009 at 18:22.
Reply With Quote
  #5   Spotlight this post!  
Unread 02-02-2009, 23:24
tgwicklund tgwicklund is offline
Registered User
AKA: Thomas Wicklund
FRC #2261 (CASA MESA)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Longmont, CO
Posts: 4
tgwicklund is an unknown quantity at this point
Re: Help getting C++ program to load

This seems resolved, finally got the cRIO imaging tool to recognize the cRIO through the wireless interface.

The WindRiver environment still seems fragile and it doesn't always operate as I'd expect, but at least I can load code.
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
**FIRST EMAIL**/Important Pit Load In and Load Out Information Mark McLeod FIRST E-Mail Blast Archive 7 11-04-2008 08:16
HELP!!!!! Taigene motor load DPTeam270Driver Motors 40 12-02-2008 10:53
**FIRST EMAIL**/Championship Updates - Load In and Load Out and Finale Ticket Inform AmyPrib FIRST E-Mail Blast Archive 3 21-04-2006 11:08
Best Way To Insert Autonomous Code Into Default then load help.? :-)? gemccnp Programming 2 05-02-2005 18:58
Getting program from RC PhatalEphekt Programming 4 18-02-2003 17:44


All times are GMT -5. The time now is 13:58.

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