|
Re: Problem connecting to the CRIO
Just as an FYI, FRC418 practically NEVER updates code via the deployment method. On a 4-slot cRIO, it's just a major pain in the butt to get the device into Safe Mode to be able to upload code.
We only FTP file updates. Assuming you don't try to run code "interactively" via the "run" button from within "Robot Main" (which disables the "Run as Startup"), we just FTP the startup.rtexe file created by the build process. It is 100% effective, and "deployment" takes seconds - instead of minutes. Remember you have a full file system under the hood, and the "deployment" phase merely uploads the startup.rtexe file (via mechanisms that seem to always be thwarted by bad robot code) and sets a token within ni-rt.ini that tells the system to load the file. If you do that manually, it always works.
-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
|