Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   No code error (http://www.chiefdelphi.com/forums/showthread.php?t=73691)

Fricke 05-02-2009 19:13

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.

Fatality 05-02-2009 19:46

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.

Analog 05-02-2009 21:13

Re: No code error
 
re-flash

Then do a complete power down and power back up.

programMORT11 05-02-2009 22:13

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

3DWolf 06-02-2009 13:36

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.

Fricke 06-02-2009 18:58

Re: No code error
 
Quote:

Originally Posted by Fatality (Post 814948)
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.

Thanks this worked

Shira 08-02-2009 21:37

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...

Kruuzr 10-02-2009 13:09

Re: No code error
 
One 'feature' :rolleyes: 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

Blair Frank 10-02-2009 14:18

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.

Analog 10-02-2009 21:03

Re: No code error
 
Quote:

Originally Posted by Blair Frank (Post 817971)
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.

Yes, this is the way to do it.

Jon236 10-02-2009 22:07

Re: No code error
 
When I tried re-imaging, I get a 'code 56' error.....any idea of what that is?

Joohoo 11-02-2009 11:23

Re: No code error
 
Quote:

Originally Posted by 3DWolf (Post 815363)
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.

Does anyone know whether enabling the watchdog in autonomous mode will cause the no-code error?

Jon236 11-02-2009 19:39

Re: No code error
 
Thanks everyone for the help....a different laptop solved the problem....now I just have the blinking DSC of death.....


All times are GMT -5. The time now is 02:39.

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