IWR1642看门狗驱动失败问题

Other Parts Discussed in Thread: IWR1642

Watchdog_Params watchdogParams;
//ESM_Handle esmHandle;



/* Initializa the Watchdog driver */
Watchdog_init();

/* Initialize the Watchdog driver default parameters */
Watchdog_Params_init(&watchdogParams);

gWatchdogInt = 0;

watchdogParams.resetMode = Watchdog_RESET_OFF;
watchdogParams.callbackFxn = watchdogCallback;

watchdogParams.debugStallMode = Watchdog_DEBUG_STALL_ON;
watchdogParams.windowSize = Watchdog_WINDOW_100_PERCENT;

CLI_write ("1111\n");
/* texp = (DWDPRLD + 1) × 8192 / RTICLK. if RTICLK = 200MHz then 255 ≈ 10.5ms .*/
watchdogParams.preloadValue = 255;
watchdogParams.socHandle = gMmwMssMCB.socHandle;
watchdogParams.esmHandle = gMmwMssMCB.esmHandle;
//esmHandle = ESM_init(0U);
CLI_write ("2222\n");
/* Open the Watchdog driver */
watchdogHandle = Watchdog_open(0, &watchdogParams);
//CLI_write ("3334\n");
return;

看门狗 Watchdog_open函数驱动不了,一调用就会死机,用的SDK版本为mmwave_sdk_01_01_00_02