??? 03/11/10 13:26 Read: times |
#173988 - test suggestions Responding to: ???'s previous message |
I'll test to add a variable and set it in each function with a unique code in order to check the value after a freeze / reset.
About the watchdog : I'm sure to not feed the watchdog in an infinite loop. I activate it on the first instruction of my main() and I never disable it in my soft. I made a test with EA : I set EA to '0' just before entering a while (1), but the watchdog still works About the answer of Kai Klaas yesterday, The fact I shunt the /WE and the P4.0 PIN is not realy a problem because the micro start well. It's during execution that it freezes. The chip is used on a board that is used for a weather sensor. The board is power on and works all the time. So, I've got some board that never freeze (since 4 years) and others that freeze sometimes (about once a week). It's realy random... |