FRC4ME
17-01-2010, 19:32
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?
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?