??? 03/01/07 21:39 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#134056 - by the way Responding to: ???'s previous message |
Dave,
Dave Brooks said:
Some systems I've written used memory based state bits in a single byte, and the state machine bases it's function choice on which bit is set. A brown out condition could change a bit, and the state machine would change the sequence of events. I`m maybe crazy man, but in critical system utilized state machine, I do not rely on state bits but sequence of three bytes at least [better with CRC]. Many things may happen but if this work-around takes me some lines of code then which is problem? It helps me to determine a failure when they are different. Oh, this is really different topic about state machines - they took my blood in past... Regards, Oleg |