Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   .out file not building! (http://www.chiefdelphi.com/forums/showthread.php?t=92430)

Peragore 20-02-2011 15:42

Re: .out file not building!
 
Quote:

Originally Posted by tomy (Post 1027556)
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 ?

Thanks! Flipping the console out switch on fixed it for us.

Rosemount2606 20-02-2011 15:46

Re: .out file not building!
 
Quote:

Originally Posted by tomy (Post 1027572)
all you have to do to reboot is use the driverstation

make sure the code fully downloads

are you using the clam for programming?

I meant to say that we have tried both methods, mainly we have just been doing the reboot of the crio via the classmate, but since that wasn't working, we also tried the physical reset.

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!

garyk 20-02-2011 15:54

Re: .out file not building!
 
Quote:

Originally Posted by Peragore (Post 1027536)
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.

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.

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.

basicxman 20-02-2011 16:18

Re: .out file not building!
 
Quote:

Originally Posted by Rosemount2606 (Post 1027576)
The code has "fully downloaded". As in, when we say to deploy, the transfer status bar fills up.

WindRiver frequently says stuff that is incorrect :rolleyes:. Sometimes the progress bar will complete even when there is no connected target >_>

Quote:

Originally Posted by Rosemount2606 (Post 1027576)
We do not know what you mean by "the clam for programming"

I...think...he means the netbook provided in the kit of parts (reference to Clamshell netbooks?).

Rosemount2606 20-02-2011 16:18

Re: .out file not building!
 
Quote:

Originally Posted by garyk (Post 1027582)
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.

basicxman 20-02-2011 16:19

Re: .out file not building!
 
Quote:

Originally Posted by Rosemount2606 (Post 1027525)
-Im not really sure where to find a windriver update but i feel like ours should be updated.

I mean this in the most gentle way possible: This isn't satisfactory.

http://firstforge.wpi.edu/sf/frs/do/...e_for_2011_f_1

Peragore 20-02-2011 18:26

Re: .out file not building!
 
Quote:

Originally Posted by garyk (Post 1027582)
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.

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.

Thanks for the help, but we already managed to fix this. When we flipped the console dongle to "On" we were able to deploy. I hope this as well as what you wrote, can help other teams!


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