??? 03/10/10 15:24 Read: times |
#173974 - details Responding to: ???'s previous message |
Thanks for your answers.
The micro isn't abnormaly hot. In order to reset the micro I set /RST to Vcc. Not a power down with a power up. I've shunted the /WE with P4.0 in order to enable or disable the watchdog by soft. So, I've got the code bellow : // P4.0 definition : sbit CMSR0 = 0xC0; sfr PCON = 0x87; sfr T3 = 0xFF; // Activate Watchdog : CMSR0=0; //disactivate Watchdog : CMSR0=1; // reset Watchdog PCON=PCON|0x10; T3=0x00; /* around 512ms*/ Thanks a lot. |