S32K148EVB : Cannot program or erase flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K148EVB : Cannot program or erase flash

706 Views
chethan_rmit
Contributor I

Hello,

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 ?

  


Regards,
Chetan

Tags (2)
0 Kudos
Reply
0 Replies