WindRiver Deployment Error

Hey everyone,

Everytime we try to deploy our sample code to the cRIO, we get an error and this is what it says in the details box: “Please set your team number and file under Window->Preferences”.

Now I went to Window -> Preferences -> Team, and I haven’t been able to find anything refering to the team number and file. Any advice would be greatly appreciated.

Thanks.

The team number option will be under Preferences->FIRST Downloader Preferences.

Hi, I am the coder on the same team. Even after entering our team number here, whenever we deploy our code, nothing occurs, and no code is deployed.

I dont know how to deploy our C++ code to our robot successfully. Any advice?

Do you power cycle the robot afterwards?

In the same window you typed the team number into, you also need to tell it where the code is for your project. Assuming you started with the SimpleTemplate example, click browse and direct it to C:/windriver/workspace/<Project Name>/PPC603gnu/SimpleTemplate/Debug/SimpleTemplate.out

So after doing all of these steps and having the RIO find our file (thanks for the tip btw) It doesn’t have an error when deploying. the thing is nothing happens when I click deploy. Literally nothing, the drop down menu just goes away. I then shut off the RIO and connected it to the DS and it says there is no robot code on the brain. Any advice at this point?

You’re firewall is probably not disabled. Disable it and deployment should work.

So we haven’t got a perfect deploy. So we followed a tutorial example of using a debugger in Windriver, after the first successful run and the program terminates, I try to run again and get the following error “Download failed, possibly caused by object module already in memory”. We seem to have made progress in that the Driver Station notices we have robot code on the Rio, However the code does not function and essentially the debugger can’t even fully run. http://thinktank.wpi.edu/article/137

We temporarily resolved the previous issue by changing the advanced download options, by unchecking the do not unload existing module box, so now when the simple robot template executes we are getting an error during the startrobottaskfunctioninrobotbase.cpp the error is “default code was still running please try again”. We don’t know what this means. Help?