Go to Post ah, common sense, not as common as one might think... - Ansem Retort [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2010, 09:26
goodsky's Avatar
goodsky goodsky is offline
Programming Mentor
AKA: Skyler
FRC #1902 (Exploding Bacon)
Team Role: College Student
 
Join Date: Sep 2007
Rookie Year: 2005
Location: Orlando
Posts: 55
goodsky has a spectacular aura aboutgoodsky has a spectacular aura aboutgoodsky has a spectacular aura about
'No Code' after cRio Reset

Hello All,

We are programming in Windriver.

For starters, downloading the code worked perfectly fine at the beginning of the season. Very recently however, we have had an issue where after we download the code to the cRio, on restart it will come up saying there is no code (the robot comms light will be green, but the robot code light will be red).

When the robot is on we can run the program in memory just fine, but for some reason the FIRST->Download function no longer works! We have done all the required updates to the best of my knowledge. The last thing that I did was the labview update for the classmate, however I would like to add that the issue had already begun before that update.

Any ideas what would cause this issue suddenly, so late in the season?

Thanks in Advance!

-GoodSky
__________________
OINK OINK BOOM!!!
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2010, 17:04
tutkows1's Avatar
tutkows1 tutkows1 is offline
Registered User
FRC #2077
 
Join Date: Jan 2010
Location: wisconsin
Posts: 44
tutkows1 is an unknown quantity at this point
Re: 'No Code' after cRio Reset

I beleive the problem might be with the Crio not the code because i'm haveing the exact same problem programming in Java as you are in C++, and reading thought the fourms some people are haveing this problem with lab View also.
Reply With Quote
  #3   Spotlight this post!  
Unread 07-02-2010, 17:40
goodsky's Avatar
goodsky goodsky is offline
Programming Mentor
AKA: Skyler
FRC #1902 (Exploding Bacon)
Team Role: College Student
 
Join Date: Sep 2007
Rookie Year: 2005
Location: Orlando
Posts: 55
goodsky has a spectacular aura aboutgoodsky has a spectacular aura aboutgoodsky has a spectacular aura about
Re: 'No Code' after cRio Reset

I finally got the code to download! After a lot of trial and error I found out that if I used the DriverStationLCD object, then the code would not download. I have no idea why this happens (and in fact, I was able to use that object for a while in the beginning on the season). However, consistently when I try to print to the DriverStationLCD object the cRio would say it had no code and since I have removed it I have not had that problem.

If any one else has some insight into why this happened that would be good.
__________________
OINK OINK BOOM!!!
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2010, 20:37
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: 'No Code' after cRio Reset

There have been quite a few errors reported from using the DriverStationLCD object since the Feb. 3 update. Using it crashes the user code on the cRIO, causing it to report no code. Hopefully there will be a fix soon
Reply With Quote
  #5   Spotlight this post!  
Unread 08-02-2010, 22:43
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: 'No Code' after cRio Reset

There seems to have been a compiler or linker bug that was causing a static const int variable to not initialize correctly that just started happening. I posed a new version here:

http://first.wpi.edu/FRC/frccupdates.html

That seems to fix the problem. That's the only change in this version so there's no need to update if you aren't using the DriverStationLCD class.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #6   Spotlight this post!  
Unread 09-02-2010, 18:16
tutkows1's Avatar
tutkows1 tutkows1 is offline
Registered User
FRC #2077
 
Join Date: Jan 2010
Location: wisconsin
Posts: 44
tutkows1 is an unknown quantity at this point
Re: 'No Code' after cRio Reset

I'm not ignoring your posts, i just haven't been able to try anything since wiscosin is having a snow storm and after school activities have been canceled for the past two days. I hope to try the new update tomarrow.

The samething has happened to Java, you can find the Java update here:

http://first.wpi.edu/FRC/frcjava.html

Last edited by tutkows1 : 09-02-2010 at 19:33.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloading code: Netbeans does not reset cRIO ellisk Java 8 31-01-2010 19:02
cRIO registering no code after re-imaging rangerfan7 Programming 6 18-01-2010 12:16
"Battery: No Code" after uploading .out file to cRIO knine143 FRC Control System 1 20-12-2008 22:14
Code malfunction after robot reset? jgannon Programming 6 01-03-2006 14:42
Code Error after reset iplayfast Programming 2 20-02-2006 12:35


All times are GMT -5. The time now is 23:22.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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