Quote:
Originally Posted by EricVanWyk
Your interpretation of the slide is correct. You can temporarily store a program in RAM without over-writing the existing program in flash. Very useful for debugging and tweaking. The cRIO has several cool features that allow you to debug faster stronger better.
|
We seem to have found one "gotcha" to this scenario.
If you have a "REAL" program in flash that is set to Run On Startup (ROS) and then you "debug" a different program (which has never been set to "Run on Startup") then the debugging process clears the ROS flag.
This means that if you power down or reset, although your REAL program is still in flash, it won't run. You will see a "No Code" warning on the DS.
The trick seems to be to pull up your REAL program after debugging, and just right=click on the RT node, and select "Connect". This will quickly re-establish the ROS flag so it's safe to reset.
Phil.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org
FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor