View Single Post
  #4   Spotlight this post!  
Unread 12-12-2008, 18:23
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: Team 103 Control System Powerpoint

Quote:
Originally Posted by EricVanWyk View Post
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
Reply With Quote