unexpected program shutdown
I am not sure if I have·created a hardware of software problem·......
I have been reading the manual and have done all of the various blinker programs. I had only minor porblems and
thought I was on the right path.·· After loading a simply blinker (with a continous loop)·into eprom I noticed after
a few hours that the leds were no longer blinking. I pushed the reset button on the propstick and they started again,
only to shut down after a few more hours. I repeated this several times and continued to get shutdown after a few hours.
I then did the following:
1.· disconnected the serial cable from the prop, and pushed the reset button, the leds shut down after a few hours
2.·I verified the voltage of the input power supply at 5.2 VDC. Verified the 3.3V at the prop pin. Both were absolutely
··· steady at the correct voltage.
3. In order to measure how much time occured before shutdown, I incorporated· the· blinker program into an RTC
··· (ds1302) program and noticed that the time of shutdown occured 2 hours and 45 minutes after each restart.
··· The time of shut down was consistent over several test.···
··· this totally confuses me and leads me to believe it is not a cold solder connection but some other problem.
Has anyone experienced anything like this? Any suggestions about possible causes would be most appreciated.
thank you....
Larry
I have been reading the manual and have done all of the various blinker programs. I had only minor porblems and
thought I was on the right path.·· After loading a simply blinker (with a continous loop)·into eprom I noticed after
a few hours that the leds were no longer blinking. I pushed the reset button on the propstick and they started again,
only to shut down after a few more hours. I repeated this several times and continued to get shutdown after a few hours.
I then did the following:
1.· disconnected the serial cable from the prop, and pushed the reset button, the leds shut down after a few hours
2.·I verified the voltage of the input power supply at 5.2 VDC. Verified the 3.3V at the prop pin. Both were absolutely
··· steady at the correct voltage.
3. In order to measure how much time occured before shutdown, I incorporated· the· blinker program into an RTC
··· (ds1302) program and noticed that the time of shutdown occured 2 hours and 45 minutes after each restart.
··· The time of shut down was consistent over several test.···
··· this totally confuses me and leads me to believe it is not a cold solder connection but some other problem.
Has anyone experienced anything like this? Any suggestions about possible causes would be most appreciated.
thank you....
Larry
Comments
why are you assigning a 4-bit value "%1111" to a 3-bit destination "outa[noparse][[/noparse]9..7]"? (just using outa[noparse][[/noparse]9..7]~~ and outa[noparse][[/noparse]9..7]~ might be simpler)
Other than that I don't see any issues with the code.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Lunch cures all problems! have you had lunch?
Also, you don't need to set dira more than once ... so, the first line in each method could be in your startup method before the repeat loop.
What are you using for power? What board?
Try putting a waitcnt in your top loop between your method calls.
Rich
out 5.3 V. I am not driving anything else except the propstick with it.··I will use the delay you suggested and see if has any affect.
Larry