View Single Post
  #2   Spotlight this post!  
Unread 20-02-2011, 16:18
Rosemount2606 Rosemount2606 is offline
Registered User
FRC #2606
 
Join Date: Jan 2011
Location: Rosemount
Posts: 23
Rosemount2606 is an unknown quantity at this point
Re: .out file not building!

Quote:
Originally Posted by garyk View Post
OK, I'm going to suggest some things you may (or some other team) has tried already:

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.
Random Information: After cleaning the project and trying to deploy, got a "IO Error while downloading program to robot"

Quote:
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.
After creating the DriverstationLCD project. I told it to build and it did not create a .out file. I restarted windriver and the rightclicked the projected and said "Rebuild." This created the .out file.

Everything went according to your directions.

Quote:
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.
Excellent. The text is up on the driverstation. Thank you.
I will now try to put our code on the robot and post after.
Reply With Quote