AnsweredAssumed Answered

S32K148EVB : Cannot program or erase flash

Question asked by Chetan Aswathanarayana on Jul 31, 2018



I am using S32 Design Studio to program S32K148EVB (s32k148_lqfp176). I added Watchdog function to my application as described in the reference manual:

int main(void)

WDOG->CNT=0xD928C520; /* Unlock watchdog */
WDOG->TOVAL=0x0000FFFF; /* Maximum timeout value */
WDOG->CS = 0x00002100; /* Disable watchdog */



After programming the above , I can no longer access the MCU.  I use S32 design studio and S32K148EVB onboard debugger. Is the above Watchdog configurations to blame ?