- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I enable watchdog like "Watchdog_1_KIT_TC375_LK" in TC397 but not reset after timeout.
Then I conf SMU like "SMU_Reset_Alarm_1_KIT_TC397_TFT" and change
```
IfxSmu_setAlarmAction(IfxSmu_Alarm_Software_Alarm0, IfxSmu_InternalAlarmAction_reset);
to
IfxSmu_setAlarmAction(IfxSmu_Alarm_SCU_CPU0_WatchdogTimeOut, IfxSmu_InternalAlarmAction_reset);
```
but nothing happen. And I found the IfxSmu_activateRunState(); return False.
Could you please tell me how to reset CPU when watchdog timeout?
Thank you
Solved! Go to Solution.
- Labels:
-
AURIX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
› There are two types of Watchdogs:
– The Safety WD provides protection against unintended writes to critical
system registers and memories. It consists of a timer that causes an
SMU alarm request if it is not serviced within a certain time interval
– The individual CPU WDs have similar functionalities as the safety
watchdog. They provide protection to CPU registers as well as to
particular system registers. The CPU individual timers, if activated, offer
the ability to monitor separate CPU execution threads. They have to be
serviced similar to the safety watchdog timer within a certain time
interval, otherwise a device reset is triggered
You can measure ESR0 pin to verify RESET status which is to control LED D106
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://www.infineon.com/dgdl?fileId=5546d4627a0b0c7b017a583fd1da244b&redirId=140316
Hi miao,
Please refer above guide.
After code compilation and flashing the device, perform the following steps:
› Check whether LED D106 (1) is off - No reset is signaled. Thus the CPU0 watchdog is well serviced periodically
› Comment out the instruction to service the CPU WD: IfxScuWdt_serviceCpuWatchdog()
› Compile, flash and run the code again
› Terminate the debug session if it is open. LED D106 (1) turns on after some timesignaling a reset. Thus the WDT is not serviced any more
dw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do not havethis board, and I try this code in my board and nothing happpen after stop service watchdog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And I ant to know why in this example if it will reset without conf SMU ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
› There are two types of Watchdogs:
– The Safety WD provides protection against unintended writes to critical
system registers and memories. It consists of a timer that causes an
SMU alarm request if it is not serviced within a certain time interval
– The individual CPU WDs have similar functionalities as the safety
watchdog. They provide protection to CPU registers as well as to
particular system registers. The CPU individual timers, if activated, offer
the ability to monitor separate CPU execution threads. They have to be
serviced similar to the safety watchdog timer within a certain time
interval, otherwise a device reset is triggered
You can measure ESR0 pin to verify RESET status which is to control LED D106
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to use cpu watchdog and ESR0 does not change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For cpu watchdog triggered reset, the ESR0 is low, and LED D106 will be ON
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not work in my board , SMU IGCS0 works but watchdog timeout does not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi miao,
You could disconnect the debugger and check the ESR0 level after Power On Reset.
dw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I had test in release version board which has not debug interface plugin.
And it could not reset and ESR0 not change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi miao,
Please check your email.
dw