View Single Post
  #6   Spotlight this post!  
Unread 02-02-2004, 15:51
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: programs being erased

Quote:
Originally Posted by doy
okay, so we compile the program and load it onto the controller, and it runs the program fine. if we power down the controller and power it back up, though, the robot controller program light flashes alternately red and green, and the program wont run unless i reload the .hex file onto the controller. is this normal, or are we doing something wrong, or is it a problem with the controller?
The fact that the program LED is flashing green then red probably means that your code starts running, but fails to communicate with the master processor soon enough, so the master processor resets it. Since it works after downloading, you might start by looking carefully at your initialization code. Also, the suggestion of trying the default code again would be a good idea to confirm that the RC is OK (which I imagine it is). Assuming the default code works, then the fault almost certainly lies with a bug in your software.