Can't get watchdog to refresh

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

Can't get watchdog to refresh

跳至解决方案
324 次查看
Farnam
Contributor II

Using the S32K146 MCU with DS for ARM v2.2.

After I initialize my WDOG, I can confirm that it is working to reset the system... but I cannot seem to successfully kick the WDOG.

Screenshots attached of my wdog config and wdog init + refresh functions.

My application is FreeRTOS based. I inserted the wdog init call in main along with my other initializations.
I have a UART print in main that shows me when the system is reset.

The issue is that regardless of where I call `refresh_watchdog`, I cannot get the WDOG to reset.
Currently, I enabled `#define configUSE_IDLE_HOOK 1` in FreeRTOS config so I can use the idle task with `void vApplicationIdleHook(void)` to call the wdog kick. Still no luck.

Wdog is working, I just need to know how I can successfully kick the thing.

Please help.

标记 (2)
0 项奖励
1 解答
284 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

I’m sorry to say that we currently do not have resources to support FreeRTOS issues. FreeRTOS is open source and the user is expected to use rather generic FreeRTOS support if needed:
https://www.freertos.org/RTOS-contact-and-support.html
We apologize for any inconvenience.

Please refer to https://github.com/GreyZhang/g_s32k144/tree/master/S32K144_024_WatchDog

Hope it helps.

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
2 回复数
285 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

I’m sorry to say that we currently do not have resources to support FreeRTOS issues. FreeRTOS is open source and the user is expected to use rather generic FreeRTOS support if needed:
https://www.freertos.org/RTOS-contact-and-support.html
We apologize for any inconvenience.

Please refer to https://github.com/GreyZhang/g_s32k144/tree/master/S32K144_024_WatchDog

Hope it helps.

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
211 次查看
Farnam
Contributor II
Hi @Robin_Shen,
Ok, thank you. This issue has since been resolved.
0 项奖励