|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
||||
|
||||
|
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!! |
|
#2
|
||||
|
||||
|
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).
|
|
#3
|
||||
|
||||
|
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
|
|
#4
|
||||
|
||||
|
Re: it seems there is no program in crio after downloading
Did you set the downloader preferences?
Window>Prefrences:>FIRST Download Options |
|
#5
|
||||
|
||||
|
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
|
|
#6
|
|||
|
|||
|
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. |
|
#7
|
||||
|
||||
|
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)
|
|
#8
|
||||
|
||||
|
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 ??
|
|
#9
|
|||
|
|||
|
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.
|
|
#10
|
||||
|
||||
|
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 ...
|
|
#11
|
||||
|
||||
|
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:
|
|
#12
|
|||
|
|||
|
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. |
|
#13
|
||||
|
||||
|
Re: it seems there is no program in crio after downloading
it does work after updating windriver thx all
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |