Hi: My program works on my C164CI based circuitry and it works fine for some time say, like 24 hours and then the processor resets when nothing unusual seems to have happened. I have one interrupt each going on at 50ms and at 400 micro seconds from GPT2 and GPT3 timers. We also have ASC0 configured for RS232 communication at 19200 Kbaud going on in the main loop. Can there be a reset if one of the interrupt routine some times takes more time than 50 ms or 400 micro seconds to execute ?(the WDT is always disabled) Thanks Prasad
Is it really doing a hardware reset? Another possiblity is that (usually due to stack corruption) the program jumps to a point after the last of your code. It then executes the garbage that is there and finally the program counter wraps around and executes the code at location 0. This gives gives an apperance of a reset out of nowhere.