Go to Post The FIRST World has your back. - MishraArtificer [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 Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 10-01-2009, 18:23
mahmosh's Avatar
mahmosh mahmosh is offline
Registered User
FRC #1946
 
Join Date: Jan 2008
Location: israel
Posts: 125
mahmosh is an unknown quantity at this point
it seems there is no program in crio after downloading

hello ...
we tryed to download the project (simple template that comes with windriver) it succeed but it seems there is no program in the crio and the control system flashing... the driverstation show battery: "no code" ... we restarted the crio and the driver station .. so the problem dosen't change.

please need ur help!!
Reply With Quote
  #2   Spotlight this post!  
Unread 10-01-2009, 21:08
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,031
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: it seems there is no program in crio after downloading

Make sure you have (a) undeployed the default code, and (b) You have clicked "Automatically attach spawned kernel tasks" in the debug options. You can check the kernel task list to see if there is already an FRC_RobotTask in there (which happens to be the task that gets started by default).
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
  #3   Spotlight this post!  
Unread 11-01-2009, 07:50
mahmosh's Avatar
mahmosh mahmosh is offline
Registered User
FRC #1946
 
Join Date: Jan 2008
Location: israel
Posts: 125
mahmosh is an unknown quantity at this point
Re: it seems there is no program in crio after downloading

i will try this when debuging .... but when i download the project by FIRST downloader why it doesn't success
Reply With Quote
  #4   Spotlight this post!  
Unread 11-01-2009, 08:54
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: it seems there is no program in crio after downloading

Did you set the downloader preferences?
Window>Prefrences:>FIRST Download Options
Reply With Quote
  #5   Spotlight this post!  
Unread 11-01-2009, 09:02
mahmosh's Avatar
mahmosh mahmosh is offline
Registered User
FRC #1946
 
Join Date: Jan 2008
Location: israel
Posts: 125
mahmosh is an unknown quantity at this point
Re: it seems there is no program in crio after downloading

no .. we didn't ... i don't have the program here .. could u send me a picture for that windows and what options should i make
Reply With Quote
  #6   Spotlight this post!  
Unread 11-01-2009, 09:30
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 586
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: it seems there is no program in crio after downloading

Look at the menu: Window / Prefences, then the FIRST Downloader Preferences tab. Fill in your team number (that sets the IP address) and the .OUT file name. The .OUT file will be in the c:\windriver\workspace\<project-name>\PPC603gnu_debug directory. After that you should be able to download the project.

Remember, you only have to download it when you want it to start at power up of the cRIO. If you are debugging use the "Debug Kernel Task" option.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #7   Spotlight this post!  
Unread 11-01-2009, 09:32
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: it seems there is no program in crio after downloading

I dont have it here either, but attached is a quick rendering of what it should look like (yes, i just did it in Visual Studio Designer)
Attached Thumbnails
Click image for larger version

Name:	FRC dowload demo.PNG
Views:	83
Size:	18.2 KB
ID:	7126  
Reply With Quote
  #8   Spotlight this post!  
Unread 11-01-2009, 10:33
mahmosh's Avatar
mahmosh mahmosh is offline
Registered User
FRC #1946
 
Join Date: Jan 2008
Location: israel
Posts: 125
mahmosh is an unknown quantity at this point
Re: it seems there is no program in crio after downloading

thank you alot i will try it ... do u think it may fix the problem ??
Reply With Quote
  #9   Spotlight this post!  
Unread 11-01-2009, 17:58
Adamsmasher23 Adamsmasher23 is offline
Registered User
FRC #1646 (Precision Guessworks)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Stoughton
Posts: 4
Adamsmasher23 is an unknown quantity at this point
Re: it seems there is no program in crio after downloading

We had this same issue, and resolved it by specifically pointing to the WPILib.a file in the project Build Options.
Reply With Quote
  #10   Spotlight this post!  
Unread 11-01-2009, 18:28
mahmosh's Avatar
mahmosh mahmosh is offline
Registered User
FRC #1946
 
Join Date: Jan 2008
Location: israel
Posts: 125
mahmosh is an unknown quantity at this point
Re: it seems there is no program in crio after downloading

can u give me a picture for the project build options that u mean .... cuase i don't remember how to get it ...
Reply With Quote
  #11   Spotlight this post!  
Unread 12-01-2009, 11:46
heydowns's Avatar
heydowns heydowns is offline
Registered User
AKA: Jeff Downs
FRC #1511 (Rolling Thunder)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Ra-Cha-Cha
Posts: 142
heydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond repute
Re: it seems there is no program in crio after downloading

You will also get "No Code" when you load a program that has unresolved symbols. You can see if this is your problem by hooking up the serial console and watching the cRIO load your program as it boots up. It will print messages telling you which symbols remain unresolved.

Unresolved symbols occur when your program calls out to some function or variable that is not defined in your code (for example, saying a class has some member function in its definition, but then never actually implementing the function).

The serial console has proved extremely helpful for us in resolving most code download issues.


Quote:
Originally Posted by mahmosh View Post
hello ...
we tryed to download the project (simple template that comes with windriver) it succeed but it seems there is no program in the crio and the control system flashing... the driverstation show battery: "no code" ... we restarted the crio and the driver station .. so the problem dosen't change.

please need ur help!!
Reply With Quote
  #12   Spotlight this post!  
Unread 12-01-2009, 17:27
Adamsmasher23 Adamsmasher23 is offline
Registered User
FRC #1646 (Precision Guessworks)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Stoughton
Posts: 4
Adamsmasher23 is an unknown quantity at this point
Re: it seems there is no program in crio after downloading

I don't have the development computer available to me right now, but from memory:
Project menu>Preferences
then click on (I think) Build Preferences
Then click on the Libraries tab
and add WPILib.a as a fully qualified library file

Or at least that was what fixed our problem.
And yeah this is related to unresolved symbols.
Reply With Quote
  #13   Spotlight this post!  
Unread 12-01-2009, 18:53
mahmosh's Avatar
mahmosh mahmosh is offline
Registered User
FRC #1946
 
Join Date: Jan 2008
Location: israel
Posts: 125
mahmosh is an unknown quantity at this point
Re: it seems there is no program in crio after downloading

it does work after updating windriver thx all
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
Problem Downloading Program from WindRiver to Driver Station The_Laughing_ManMII C/C++ 10 09-01-2009 20:03
Help with 2009 wiring/program downloading programmr FRC Control System 5 17-12-2008 21:57
KOP Gyro seems to run-on after turn stops PhilBot Control System 8 05-03-2007 12:43
Downloading the DEfault program gjibben Programming 1 11-02-2004 21:20
I Need Help with downloading Basic Stamp Program archiver 1999 2 23-06-2002 21:57


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

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