Cortex errors? easyC bugs? HELP!

Our autonomous was just finished and tested 3 times in a row. the 4th time we tested it, the last turn was really really off. The only change in the program was to add 3 more while loops at the end of the program. They were supposed to back up, turn and go forward. They worked just fine.

We tried it again and at the beginning of our autonomous mode in the first step, it went about 3 feet too far and then continued the program.

I have already built an autonomous program that worked fine at a competition.

Perhaps our robot is randomly extending or decreasing the number of repetitions it is doing on it’s while loops. Or skipping parts of code?

Our Win 7 64 bit laptop is having blue screen’s of death about every other download. I have already re-installed the driver and updated easyC. We have switched to a Win XP computer, but it is not a laptop and we cannot take it to the world competition.

Any ideas what our problem is?
Thanks,
jjpProgrammer and Coach Peterson

Most likely, you have some weird program control flow problem. Your program is not executing in the exact order or for the number of iterations you think it is. Without seeing the source code it’s hard to say much else.

Some people don’t respond to threads with “HELP!” in the title,
(and others wish that I was one of them.)
http://www.catb.org/~esr/faqs/smart-questions.html

If you are using open-loop aka “timed driving”,
it is only grace that allows your robot to do similar actions each time.
http://en.wikipedia.org/wiki/Open-loop_controller

Several previously reported “programming” problems were root-caused as mechanical issues instead, so this may also be an XY posting.
http://meta.stackoverflow.com/questions/66377/what-is-the-xy-problem