View Single Post
  #1   Spotlight this post!  
Unread 01-17-2010, 07:32 PM
FRC4ME FRC4ME is offline
Registered User
FRC #0339
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Fredericksburg, VA
Posts: 324
FRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant future
Need to manually reboot cRIO to download code

Team 619 is having a problem downloading code from NetBeans. We find that code will not download unless we manually reboot the cRIO every time we make changes.

We turn on the cRIO, click Run, and NetBeans does its thing. The code compiles, the FTP connection to the cRIO is established, it reboots itself and waits twenty seconds, the connection is reestablished, Squawk starts, and we begin to see console output messages. This works fine.

Then we change something in the code. We stop the run (click the red stop button in NetBeans) and rebuild the code; it compiles just fine. We then click Run again. This time, after the FTP connection is established, NetBeans skips a bunch of steps: the cRIO never reboots, we don't see Squawk messages, and no code is downloaded. It just skips straight to console output again, with the previous code still running. Whatever changes we made are not downloaded.

If we manually reboot the cRIO, clicking Run will download the latest code. The annoying thing is that the build script will still reboot the cRIO again automatically. After this, clicking run will no longer download new code until we manually reboot. So we effectively have to reboot the cRIO twice every time we download now.

I'm fairly certain this isn't normal operation. Anyone have any ideas on how to solve this problem?
__________________
Go directly to queue. Do not pass pit.
Reply With Quote