Mar 29, 2019
12:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 29, 2019
12:40 AM
Hi All,
I trigger the sotware reset or WDT reset when running, the system working abnormally. But when debugging, it is right. How to solve this problem?
I trigger the sotware reset or WDT reset when running, the system working abnormally. But when debugging, it is right. How to solve this problem?
Labels
- Labels:
-
ispn:8004:1:0
-
l1:408:1:0
-
l2:146:1:0
-
l3:921:1:0
6 Replies
Mar 30, 2019
02:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 30, 2019
02:44 PM
Hi jacko,
you have to service the WDT accordingly.
Best regards
you have to service the WDT accordingly.
bool WDT1_Service(void)
{
bool bResult;
bResult = false;
/* check if Window Counter is beyond 70% of WDT1 period *
* or if a SOW service has been done before */
if ((WD_Counter > (uint32)SCUPM_WDT1_TRIGGER) || (bSOWactive == true))
{
/* service WDT1 */
SCUPM->WDT1_TRIG.reg = (uint8) SCUPM_WDT1_TRIG;
/* reset window counter */
WD_Counter = 0u;
/* reset "short open window" active flag */
bSOWactive = false;
bResult = true;
}
return (bResult);
}
Best regards
Apr 02, 2019
08:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 02, 2019
08:02 PM
Lykaon wrote:
Hi jacko,
you have to service the WDT accordingly.
Best regards
Hi Lykaon,
I should use the software reset after some operation, but after excuted the instruction, the system work abnormally.
Best regards!
Apr 21, 2019
07:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 21, 2019
07:07 AM
Hello;
I want to configure both the internal and external watchdog timer:
I configured the external watchdog timer to 16 msec and refresh it , and it's working OK
but when i configured the internal watchdog beside the external watchdog and configured it to work on 16 msec also, and refresh/not refresh the ECU will not reset
But when i use it alone without External Refresh/not refresh cause the ECU to reset and indepeneded than the time i configured
could you please let me know how i configure both (Internal and external) to work together and how/when can i refresh the internal
is their any required scenario be taken into consideration to refresh the internal watchdog
I want to configure both the internal and external watchdog timer:
I configured the external watchdog timer to 16 msec and refresh it , and it's working OK
but when i configured the internal watchdog beside the external watchdog and configured it to work on 16 msec also, and refresh/not refresh the ECU will not reset
But when i use it alone without External Refresh/not refresh cause the ECU to reset and indepeneded than the time i configured
could you please let me know how i configure both (Internal and external) to work together and how/when can i refresh the internal
is their any required scenario be taken into consideration to refresh the internal watchdog
Apr 26, 2019
05:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 26, 2019
05:37 AM
Hi Ambitious,
in debug mode, the WDT is default suspended and stops counting. Are you aware of this fact?
For me it looks like there is a miss-configuration. I will try to write a small example.
Best regards
in debug mode, the WDT is default suspended and stops counting. Are you aware of this fact?
For me it looks like there is a miss-configuration. I will try to write a small example.
Best regards
May 04, 2019
08:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 04, 2019
08:45 PM
Lykaon wrote:
Hi Ambitious,
in debug mode, the WDT is default suspended and stops counting. Are you aware of this fact?
For me it looks like there is a miss-configuration. I will try to write a small example.
Best regards
Hi Lykaon,
I should use the software reset after some flash-operations, but after excuted the soft-reset instruction, the system work abnormally.
Best regards!
Jun 24, 2019
11:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 24, 2019
11:27 PM
Hi jacko,
please be aware that the software reset is a specific reset type. So the "startup" behavior is different compared to an power on reset. For further support you can contact https://www.infineon.com/cms/en/about-infineon/company/contacts/product-support-form/?redirId=56193
Best regards
please be aware that the software reset is a specific reset type. So the "startup" behavior is different compared to an power on reset. For further support you can contact https://www.infineon.com/cms/en/about-infineon/company/contacts/product-support-form/?redirId=56193
Best regards