|
Re: Delayed Red Light of Death
You can get the red light of death if there is a branch of your code that takes too long to execute. You can also get it if you are stomping on memory (for example if you keep writing past the end of an array). You can also get it if you generate too many interrupts, take too long to process them, or forget to clear them. If you have too many printfs (writing to the serial port is slow) you can also cause one.
There's probably a lot of other things that can cause it, but those are things to look at.
One last thing to do is check the battery voltage on the OI display before and after the red light of death. There is one (supposedly fixed) bug that causes the battery voltage to display 8.2 or 8.3.
Last edited by Joe Ross : 13-02-2008 at 20:48.
|