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.