The code works wierdly when the code is loaded in the controller and let run in standalone mode. SOme times it works fine sometimes it crashes. But the same code work fine with the JTAG Emulation.
Please can someone suggest where i am doing the mistake.
The interrupt routine is short and runs with in a smaller duration than timer configured value. The timer is configured for 200ms interrupt and the processor runs at 125nsec (8Mhz).