Hello Daniel and Hello Kef,
Thanks for the quick reply.refering to the above mail.
I am presently using codewarior 4.6 for the implementation of the COP.
1. Now I have called _Startup in my COP ISR in interrupt vector table.
2. But I observe that WCOP,CR2,CR1and CR0 does not get reloaded after call of _Startup in COP ISR, is it because it is mentioned in the data sheet under chapter Clock and Reset Generator that these bit can be wriiten once in normal mode.
so COPCTL register remain as 0x00 (COP Disable)and so next timeout in 4seconds after the first timeout is not observed.
3.So is _Startup code a hardware reset or a software reset ? and so the COPCTL register cannot be re-initialised to 4 seconds after it has been reset once.
4. and my next query is when I remove the debugger and give a external reset on the board, and try to run the code it does not give me an watchdog timeout. - So does this mean that on external reset the COP is written 0xxxx000 and it takes this as write once which disables the COP.
Thanks,
Seema