|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: No Code Error
Well i get some error codes, I suppect they are related to hardware failure, but I have to rule out the software side first.
I attached a screen copy of the errors. This error get thrown when I try to debug from Windriver following the instructions from the Getting Started with C.pdf document |
|
#2
|
|||
|
|||
|
Re: No Code Error
Does anybody know what this error is about?
|
|
#3
|
|||||
|
|||||
|
Re: No Code Error
You say you installed all the updates, but did you reimage the cRIO afterwards? I've never used C++ on an FRC robot (I'm a LabVIEW guy), but those errors make me think that you're trying to run 2010 code on a 2009 image. Make sure the cRIO is updated with v19.
|
|
#4
|
|||
|
|||
|
Re: No Code Error
Quote:
|
|
#5
|
||||
|
||||
|
Re: No Code Error
We had a similar problem, where we could load code to the robot. The driver station indicated communication, but no robot code.
We tried reimaging to v19 a second time, as well as updating the workbench a second time with no positive results. One of our programmers found that the update.cmd file, found in WorkbenchUpdate20100107.exe, only installs the update to the default filepath. You can change the install paths for the update to your actual install directory. You can change update.cmd to install to the correct directory, or you can copy the contents of the update to your Windriver directory and overwrite the old files. The first method you need to run update.cmd after you make the change. Below is the snapshot of the change we made in notepad++. |
|
#6
|
|||
|
|||
|
Re: No Code Error
Well mine is in the defualt install path, I am just going to try another computer setup and see if I can narrow the problem down (computer, cRIO, installation error, my presence) etc
|
|
#7
|
||||
|
||||
|
Re: No Code Error
I'm having exactly the same problem. I have re-installed everything at least three times and installed all updates, but the execution fails with the same error message as previously described.
Just out of curiosity, what operating system are you on? I'm on Windows 7, but I don't think that should affect anything. |
|
#8
|
|||
|
|||
|
Re: No Code Error
Well I have narrowed it down to an install error, not a Windows 7 inherent error. So check for problems caused by installation (maybe UAC or the like), i am using the classmate with a Windriver install for now.
However the only project I can build (and not all the time correctly, (random error that aren't part of the ISO C++ Standard) is the sample project, so i blame this level of malfunctioning on FIRST. |
|
#9
|
|||
|
|||
|
Re: No Code Error
Well I have narrowed it down to an install error, not a Windows 7 inherent error. So check for problems caused by installation (maybe UAC or the like), i am using the classmate with a Windriver install for now.
However the only project I can build (and not all the time correctly, (random error that aren't part of the ISO C++ Standard) is the sample project, so i blame this level of malfunctioning on FIRST. |
|
#10
|
|||
|
|||
|
Re: No Code Error
Quote:
What do you mean that it doesn't build correctly? The same code built multiple times gives errors? I don't think that the code would be compiled again if unchanged. |
|
#11
|
||||
|
||||
|
Re: No Code Error
Quote:
Less often it can be caused by other issues. You said you narrowed it to "an install error". Could you be more specific about what you found to help others that may be encountering the same issue? |
|
#12
|
||||
|
||||
|
Re: No Code Error
I have a question, does anyone have actual compiling code for this year using the ItreativeRobot class yet? While the rest of the team is building the physical robot I'm trying to figure out this years WPILib by porting the code from our 2009 bot to 2010. I've completely pulled the camera sections and updated my Dashboard/DriverStation methods to the versions used in the 2010 Vision Example. However, I still get a persistent No Code Error on the Robot when trying to use this code. I'm thinking that I may have some small thing that has been left behind not being caught by the compiler. Since I can't find a 2010 IterativeRobot example included in the WindRiver examples I'm in need of some (working) IterativeRobot based code. Thanks a bunch ^_^
|
|
#13
|
||||
|
||||
|
Re: No Code Error
There is a semi random error in the WR updater, it extracts the files to a temporary folder, but doesn't move them to the actual folder. this might be whats happening.
I think the update folder is in C:\ so look around (or search CD) |
|
#14
|
|||
|
|||
|
Re: No Code Error
You can add us to the no code error issue too.
we are running the wind river tools We tried deploying the default code and it seemed to download ok but the driver station said no robot code.. Crio has the v19 image...we updated the workbench to the latest update 20100107 . we cant check error messages via the serial port because the crio is not talking back to the laptop for some reason. Here's the catch..we also tried using a laptop with last years tools on it and we were able down load and run the default program Any Clues??? I sure didn't plan spending the first three weeks of build season getting the tools to work... Brian Team 1714 Sr Firmware Engineer Rockwell Automation |
|
#15
|
|||
|
|||
|
Re: No Code Error
Quote:
If last year's code runs on the robot, then you haven't updated the image to v19 successfully. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Code error? | niagra127 | Programming | 12 | 02-13-2008 08:35 PM |
| Code Error? | darkdwarven | Programming | 1 | 02-08-2008 12:42 AM |
| Error in code light on, trouble finding error | Bryan Herbst | Programming | 16 | 10-12-2007 09:59 PM |
| Code error on RC after downloading "bells and whistles" version of Kevins camera code | DanDon | Programming | 6 | 01-10-2006 06:07 PM |
| C++ Code Error? | Adam Shapiro | Programming | 9 | 01-20-2003 01:24 PM |