|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
No code error
Our OI is reading no code. I have all the updates, I am uploading the correct .out file, I am using the default simple robot code. I am using windriver and have triple checked all the settings and it is able to undeploy the imaged code. Any help would be greatly appreciated. Thank you.
|
|
#2
|
|||
|
|||
|
Re: No code error
We had this problem before and we were trying everything to get it fixed. To get it working again we ended up having to redo the updates for the robot and windriver. So i would try that and see if that works.
|
|
#3
|
||||
|
||||
|
Re: No code error
re-flash
Then do a complete power down and power back up. |
|
#4
|
|||
|
|||
|
Re: No code error
yeah make sure you use the latest updates from wpi which you can find links for on the first control system page
|
|
#5
|
||||
|
||||
|
Re: No code error
I've often found that when I get this error its an error in the code itself - even if you dont get any compile errors or anything, something might still be wrong. In one case I didn't disable the watchdog in the autonomous portion of the code and that caused this error to appear.
Look through your code again. |
|
#6
|
||||
|
||||
|
Re: No code error
Thanks this worked
|
|
#7
|
|||
|
|||
|
Re: No code error
Today it was working fine, and then at one point my computer froze, and when it was up and running again the cRIO began to display "no code." So far I've updated the DS, reflashed the cRIO, reupdated Windriver, and double checked my code (which is exactly the same as it was when the robot was last working). After reflashing the cRIO it has code (the default code) but when I deploy code it returns to saying no code again...
Edit: I checked my code, or rather, went to the original for the code I was modifying, and re-inserted all the necessary changes I wanted. Somewhere something must have changed, because the robot stopped giving me the no code error. I have no idea what it was though... Last edited by Shira : 08-02-2009 at 22:29. |
|
#8
|
|||
|
|||
|
Re: No code error
One 'feature'
of VxWorks is that the linker will not warn you if you make a call to a function that does not exist. It assumes it will be supplied elsewhere. It won't complain, it just won't load, causing a 'No Code' error. I actually ran across this at my job two weeks ago, and then my team ran into it last week.Steve |
|
#9
|
||||
|
||||
|
Re: No code error
A way to detect that linker error is to enable terminal output. The terminal reliably tells you on startup whether or not the code has been unloaded. It's been a great, and reliable way for us to stay on top of bugs for that particular error.
|
|
#10
|
||||
|
||||
|
Re: No code error
Yes, this is the way to do it.
|
|
#11
|
||||
|
||||
|
Re: No code error
When I tried re-imaging, I get a 'code 56' error.....any idea of what that is?
|
|
#12
|
||||
|
||||
|
Re: No code error
Quote:
|
|
#13
|
||||
|
||||
|
Re: No code error
Thanks everyone for the help....a different laptop solved the problem....now I just have the blinking DSC of death.....
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Code error? | niagra127 | Programming | 12 | 13-02-2008 20:35 |
| Code Error? | darkdwarven | Programming | 1 | 08-02-2008 00:42 |
| Error in code light on, trouble finding error | Bryan Herbst | Programming | 16 | 12-10-2007 21:59 |
| Code error on RC after downloading "bells and whistles" version of Kevins camera code | DanDon | Programming | 6 | 10-01-2006 18:07 |
| C++ Code Error? | Adam Shapiro | Programming | 9 | 20-01-2003 13:24 |