Thread: FRC FPGA usage
View Single Post
  #7   Spotlight this post!  
Unread 06-10-2011, 13:43
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: FRC FPGA usage

Quote:
Originally Posted by Al Skierkiewicz View Post
Is there a way to store a value in non-volatile memory somewhere.
The entire cRIO filesystem is non-volatile memory. To store a value for later inspection, just write it to a file.

Quote:
It might be a great diagnostic tool to know what command might have executed just prior to a shutdown.
A cheap way to do that sort of diagnostics might be to write the value to the Driver Station display. Each new value will overwrite the previous one, and the last value to be displayed will remain there until the DS is shut down. The "value" that gets printed can be a nicely-formatted, easily-understood text string.
Reply With Quote