S32K148EVB : Cannot program or erase flash

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K148EVB : Cannot program or erase flash

1,021 次查看
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

标记 (2)
0 项奖励
回复
0 回复数