![]() |
.out file not building!
We have been using windriver fine this whole season, when suddenly, our .out files stopped getting updated. No matter how many times we rebuilt the code, or restarted windriver, they still won't build. Has anybody else had this problem, and how did you fix it?
Thanks in advance for any help! |
Re: .out file not building!
have you changed the name of your code
ex. simple_robot -> 2011_team_3038 if so you have to open windriver go to windows on the top menu bar, preferences, first deployment and make sure you file path is directing to the write .out file |
Re: .out file not building!
no, we haven't changed the name of the code, and the .out file path is correct. When building, it doesn't update the .out file. The only solution we have seen is to restart windriver. The very first day of the build season that solved the problem, and it hasn't come up since. Now it isn't working.
|
Re: .out file not building!
ok... we have found a solution, but uncovered more problems.
first, we build the project. It does not create the .out file. To solve this, we then rebuild the project (actually using "rebuild") and it then correctly updates the .out file. When we deploy the code, it appears as if it is being deployed properly. The transferring file bar goes all the way across. There are no errors at this point. At this point, we reboot the robot. We have tried doing this both via the classmate rebooting the crio, and a manual reboot of the robot by resetting its power. Then, we reestablish comms with the robot, only to see that the new code is not on the robot. We have tried re-imaging the robot, and then repeating the above steps, all of them working fine. Now, instead of still having the same old code on the robot, we have no code on the robot. We are unable to get any code onto the robot. We have tried deploying code from another computer as well, and it didn't solve the problem. Before re-imaging the crio, we tried undeploying code from the robot, but it would not work. We are using windriver. |
Re: .out file not building!
|
Re: .out file not building!
Quote:
Quote:
|
Re: .out file not building!
when you build are you getting any errors?
|
Re: .out file not building!
negative, ghostrider.
Quote:
|
Re: .out file not building!
ok so you build it and you get no errors right?
so what is the problem? |
Re: .out file not building!
yes, we get no errors. We don't know what the problem is. We are wondering if somebody does, and can help us resolve it.
|
Re: .out file not building!
can you deploy it to the robot?
|
Re: .out file not building!
yes
Quote:
|
Re: .out file not building!
so then what is the problem??????
|
Re: .out file not building!
are you changing something in the wpilib that is not changing when you download it to the robot or what is wrong
|
Re: .out file not building!
Quote:
Quote:
|
Re: .out file not building!
Quote:
|
Re: .out file not building!
Quote:
Rosemount: Could you please post your source code? We have found WindRiver and vxWorks can do some odd things, sometimes an obscure runtime error will make the illusion of it uploading but older code is ran. EDIT: You are doing Undeploy -> Deploy -> Reboot robot correct? |
Re: .out file not building!
have you reimaged your crio?
have you updated windriver? on the crio are all dongles off but counsel out? have you done a clean build? do you have anything in your code that is not hooked up to the robot? ex: sensor, encoder.... |
Re: .out file not building!
Quote:
posting source in a second. |
Re: .out file not building!
Quote:
RJoystick is just a subclass of Joystick. Our ZomBDashboard was working before we ran into these issues. Code:
#include "WPILib.h" |
Re: .out file not building!
Quote:
-Yes we reimaged the CRIO, thats why we not have no code on or robot. - Yes the dongles are off except console out -Yes we did a clean build -No |
Re: .out file not building!
if i remember right you are missing a brace here
Code:
class RobotDemo : public SimpleRobot |
Re: .out file not building!
Quote:
|
Re: .out file not building!
I'm not sure if this helps but we tried following this(Start on p.12) guide on Debugging the robot. The "Entry Point" of FRC_UserProgram.... it tells us to use is no where to be found.
|
Re: .out file not building!
we are having the same problem with deploying our code. We have tried everything mentioned in this thread and nothing has worked. Im with team 2606 on this one. And its bizarre because it worked perfectly at the beginning of the build season for us.
|
Re: .out file not building!
If it helps, we are deploying it, so to speak. It just seemed like this may have been overlooked. It says it is deploying properly, but when we reboot the robot, it has no code on it.
|
Re: .out file not building!
That's is what is happening to me as well. Its like the code vanishes as it goes from the laptop to the cRIO
|
Re: .out file not building!
check the dongles on the crio
this happened to us in our first year. all of them should be off exept for counsel out also how are you rebooting ? |
Re: .out file not building!
Quote:
|
Re: .out file not building!
all you have to do to reboot is use the driverstation
make sure the code fully downloads are you using the clam for programming? |
Re: .out file not building!
Quote:
|
Re: .out file not building!
Quote:
The code has "fully downloaded". As in, when we say to deploy, the transfer status bar fills up. We do not know what you mean by "the clam for programming" thanks for the help! |
Re: .out file not building!
Quote:
WindRiver => Project => Clean. Click "Clean all Projects" and turn "Start A build Immediately" OFF, OK. Clean deletes the .out file and other temp files that the compile and link process creates. WRW => Project => Close for all open projects. With the robot on, etc: WindRiver => Deploy. It should fail because the .out file was removed by the clean but shouldn't complain about not connecting to the 'bot. Hit Details and check. Exit WRW and reboot your PC and the Drivers Station. Power cycle the robot. WRW => File => New => Example => VxWorks downloadable kernel module sample proj. Choose "FRC Drivers Station LCD Text" (I assume you haven't created this proj already). The project will be created and opened. WRW => Project => Build Project. There should be no errors or warnings. WRW => Window => Preferences => FIRST downloader Preferences. Your team number should be correct. Browse and select the .out file you just built. It should be (maybe broken into two lines or have a space here): C:\WindRiver\workspace\DriverStationLCDText\PPC603 gnu\DriverStationLCDText\Debug\DriverStationLCDTex t.out Don't hit OK yet. In the Browse window upper right frame are the icons: green arrow up, new folder, and the rectangle with the six dots. Click the rectangle and select Detals. Verify that the Modify timestamp on your .out matches the date and time you just did the Build Project above. Click on that .out, Open, OK. Make sure the 'bot is on and wireless is up. WRW => FIRST => Deploy. The file should download to the 'bot. Power cycle the 'bot, bring up the Drivers Station if you haven't already, and get connected. Enable the robot and the text "Hello World" and the time should appear on the Drivers Stn LCD. I HAVE NOT RUN THIS PROGRAM and I can't get to our 'bot now. I'm going to assume the program is written correctly. Let us know what happens. If it just doesn't work it's probably time to uninstall WRW and reinstall it, including the patches. |
Re: .out file not building!
Quote:
Quote:
|
Re: .out file not building!
Quote:
Quote:
Everything went according to your directions. Quote:
I will now try to put our code on the robot and post after. |
Re: .out file not building!
Quote:
http://firstforge.wpi.edu/sf/frs/do/...e_for_2011_f_1 |
Re: .out file not building!
Quote:
|
| All times are GMT -5. The time now is 12:27. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi