Hey all, I am using mcu AT89c5130A , and its just generate auto reset (I think its happend becasue of watchdog). How can I disable it ? I want that the micro will execute the code only one time. when reset occurs its always starts from the beginig ! please help. thank you
... a not uncommon problem is the WD running during program startup. Startup.a51 and the auto-generated code that initializes variables do not feed the puppy.
THUS if your WD is enabled by reset you need to disable it at the top of startup.a51, and do not enable it before the top of main()
Erik