skmdmasud
Member
Hi..
My circuit around 10% of the time hangs when powering up by connecting the transformer at 220ac wall outlet or when the wall plug is loose.
The sequence of my uC start up:
1. Shows greeting message
2. Shows time from RTC
3. Turns on a relay
4. LOOP (show time and wait for button press)
As my uC starts some time i see the greetings message in the LCD display and some times there is no display but the relay starts operating and some times there is nothing.
90% of the time it works fine.
How to solve this behavior. Once it reaches step 4 it keeps on functioning as expected.
My circuit around 10% of the time hangs when powering up by connecting the transformer at 220ac wall outlet or when the wall plug is loose.
The sequence of my uC start up:
1. Shows greeting message
2. Shows time from RTC
3. Turns on a relay
4. LOOP (show time and wait for button press)
As my uC starts some time i see the greetings message in the LCD display and some times there is no display but the relay starts operating and some times there is nothing.
90% of the time it works fine.
How to solve this behavior. Once it reaches step 4 it keeps on functioning as expected.
Last edited: