Log in

View Full Version : URGENT Windriver not outputting code


gyroscopeRaptor
16-10-2012, 16:45
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
Can you post what WRWB outputs when you build?

gyroscopeRaptor
16-10-2012, 17:45
I'll respond Wed. afternoon when we have access again.

gyroscopeRaptor
17-10-2012, 16:15
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
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
^

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

gyroscopeRaptor
17-10-2012, 18:31
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
If you zip up the project and post it I could look at that as well.

garyk
18-10-2012, 00:52
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/showpost.php?p=1027582&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
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
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:


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:


C:\WindRiver\workspace\PIDPrototype\PPC603gnu\Comm andBasedRobotTemplate\Debug\CommandBasedRobotTempl ate.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:


* 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