Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   URGENT Windriver not outputting code (http://www.chiefdelphi.com/forums/showthread.php?t=109169)

gyroscopeRaptor 16-10-2012 16:45

URGENT Windriver not outputting code
 
We have been having problems with a no robot code light on the driver station and have tracked it down to Windriver not downloading the correct file in FRC Downlaoder Settings. However, when we try to navigate to the directory where the code is, there is no .out file. We try building the program, but we cannot find the file.

connor.worley 16-10-2012 17:01

Re: URGENT Windriver not outputting code
 
Can you post what WRWB outputs when you build?

gyroscopeRaptor 16-10-2012 17:45

Re: URGENT Windriver not outputting code
 
I'll respond Wed. afternoon when we have access again.

gyroscopeRaptor 17-10-2012 16:15

Re: URGENT Windriver not outputting code
 
The sidebar is not telling us where the file is being built. Whenever we build anything, no .out files are created in any folders on the computer. We need serious help for an offseason in a few weeks and if we do not recieve help we will switch to Labview.

BigJ 17-10-2012 16:24

Re: URGENT Windriver not outputting code
 
I have not used Windriver in a few years, but I think Connor wanted to inspect a dump of all the stuff it prints into the console/output area. It would probably give clues as to better understand what is happening during/at the end of the build process.

connor.worley 17-10-2012 17:32

Re: URGENT Windriver not outputting code
 
^

Seeing the build output will be helpful to see whether the build is failing or not.

gyroscopeRaptor 17-10-2012 18:31

Re: URGENT Windriver not outputting code
 
I can't respond until Monday, but on the sidebar panel there was nothing that jumped out at me. I will have the full text copy-pasted for you then. Is there any other output you will require?

connor.worley 17-10-2012 23:18

Re: URGENT Windriver not outputting code
 
If you zip up the project and post it I could look at that as well.

garyk 18-10-2012 00:52

Re: URGENT Windriver not outputting code
 
Quote:

Originally Posted by gyroscopeRaptor (Post 1190602)
We have been having problems with a no robot code light on the driver station and have tracked it down to Windriver not downloading the correct file in FRC Downlaoder Settings. However, when we try to navigate to the directory where the code is, there is no .out file. We try building the program, but we cannot find the file.

Please see http://www.chiefdelphi.com/forums/sh...p;postcount=33. You may also have to turn on the display of file extensions. In the folder display in which you are looking for the .out file, Tools => Folder Options => View, uncheck "Hide extensions for known file types, OK.

gyroscopeRaptor 23-10-2012 16:46

Re: URGENT Windriver not outputting code
 
Garyk, I did every step in your list. The driver station LED panel connected, downloaded, and showed the robot code light, but my existing code project did not show a robot code green light. I uplaoded it http://www.ge.tt/7uIL06Q/v/0?c so someone can attempt to find a problem, but we may have to recode everything.

MrRoboSteve 24-10-2012 09:39

Re: URGENT Windriver not outputting code
 
So you're seeing nothing in the directory where you expect output?

When you build, the last few lines in the Build console will be:

Code:

building CommandBasedRobotTemplate/Debug/CommandBasedRobotTemplate.out
make: built targets of C:/WindRiver/workspace/PIDPrototype/PPC603gnu

If you combine those two strings together, it identifies the full path to the file the linker is creating:

Code:

C:\WindRiver\workspace\PIDPrototype\PPC603gnu\CommandBasedRobotTemplate\Debug\CommandBasedRobotTemplate.out
This is the path that should be set in the FIRST Downloader Preferences -> The file to download to the Robot field.

Do you have some NetConsole output that you could share? In particular, do you see this line:

Code:

* Loading FRC_UserProgram.out: FRC_UserProgram

inkspell4 01-11-2012 21:34

At this point some well taken screenshots or copy and pasting of errors may be helpful
another thing you might want to do is create a mew project and copy your code into it then use it instead


All times are GMT -5. The time now is 12:21.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi