AnsweredAssumed Answered

Can not enable watchdog on custom board.

Question asked by Paul Hoffmeyer on Jul 24, 2015
Latest reply on Jul 27, 2015 by Paul Hoffmeyer

I'm using an MKL26Z128 and cannot seem to enable the COP (watchdog).  I can get it to work on the FRDM board that I have by commenting out the SIM_COPC = 0x00 line in the start() function.  If I comment out the same line of code for the custom board it has no effect, COP is always disabled.  I've searched the code for any reference to SIM_COPC and the line in start() is the only one I find.  I'm using IAR Embedded Workbench.  Is there some setting in the IAR tool that I may have missed that would cause this behavior.  It acts as if the SIM_COPC register is being written to, one time write after reset, but I can't seem to locate where that might be happening.