hi friends,
i am using 8051 micro-controller for scrolling dot matrix display unit.
my controller is going into hanging mode.why is that so?is there any specific reason for it. will all the micro-controller,will go into hang state.
please help me out
thank you
Double check your software, the microcontroller is probably executing a fatal endless loop, which is practically equivalent to a crash ..
In such a loop, the processor is in a state that it cannot exit under its own power, with the only means of escape being a reset ..
And any other microcontroller would do the same, if that's the problem ..
Also, look in Common Problems with Interrupts .. **broken link removed**
Apart from other ICs which are designed for a specific task, the Microcontroller (or Micrprocessor, ASIC or FPGA, etc.) is an integrated circuit programmed for an specific task. So if you program it wrong, it can freeze (go into a hang state).
Why don't u use the external watchdog IC like ADM1232..??:?:
If by any chance means by due to software or hardware its going in hand state...
then this IC will try to reset ur controller.... which will help in come out of hang loop and will avoid manual reset...
most of the controller get hang in noisy environment almost all....
check for the power supply noise or ripple..
if it is driving dot matrix led look for power consumption at worst condition means when all LEDs are ON at that time do ur controller is getting enough power, current to operate....