Can't get watchdog to refresh

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can't get watchdog to refresh

ソリューションへジャンプ
322件の閲覧回数
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 解決策
282件の閲覧回数
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 返答(返信)
283件の閲覧回数
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 件の賞賛
209件の閲覧回数
Farnam
Contributor II
Hi @Robin_Shen,
Ok, thank you. This issue has since been resolved.
0 件の賞賛