After running about 4 years my code controlling an observatory dome began creating dome move direction errors. The problem appeared when the Master Controller (PC) begin sending some corrupted data. I thought I had error checking on the control protocol. I caught the bad data, entered a routine to send back an error message. But instead I caught the error and proceeded to run the command parser. The problem? I had failed to initialize a variable. For four years the bad code has run. I'm glad it was not on it's way to the moon or some such. I claim to use PC-Lint faithfully but in this case I guess I lied to myself. Bradford
View all questions in Keil forum