|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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. |
|
#2
|
|||
|
|||
|
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
|
|
#3
|
|||
|
|||
|
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. |
|
#4
|
||||
|
||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |