Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nrfx none add wdt support #1712

Conversation

nordic-segl
Copy link
Contributor

Add support for wdt010 and wdt011 on nrf54h20.
Enable execution of /zephyr/samples/drivers/watchdog on nrf54h20.

…54h20

Add WDT instances no. 010, 011, 131, 132.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit 6842b8be9ff1797535320fc01a1bb4c0687172c2)
Add overlay that enables selected WDT instance on
nrf54h20 Application core.

Upstream PR: zephyrproject-rtos/zephyr#72566

Signed-off-by: Sebastian Głąb <[email protected]>
Define alias watchdog0 for nrf54h20 Application core.

Upstream PR: zephyrproject-rtos/zephyr#72566

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl
Copy link
Contributor Author

It's unstable on nrf54h20 FP1 ES2

*** Booting nRF Connect SDK v3.5.99-ncs1-4991-g4fdf0530ee5b ***
Watchdog sample application
Callback in RESET_SOC disabled for this platform
Feeding watchdog 5 times
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
Waiting for reset...
*** Booting nRF Connect SDK v3.5.99-ncs1-4991-g4fdf0530ee5b ***
Watchdog sample application
Callback in RESET_SOC disabled for this platform
Feeding watchdog 5 times
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
Waiting for reset...
*** Booting nRF Connect SDK v3.5.99-ncs1-4991-g4fdf0530ee5b ***
Watchdog sample application
Callback in RESET_SOC disabled for this platform
Feeding watchdog 5 times
*** Booting nRF Connect SDK v3.5.99-ncs1-4991-g4fdf0530ee5b ***
Watchdog sample application
watchdog@14000: device not ready.
[hangs here]

@nordic-segl
Copy link
Contributor Author

*** Booting nRF Connect SDK v3.5.99-ncs1-4991-g4fdf0530ee5b ***
Watchdog sample application
Callback in RESET_SOC disabled for this platform
Feeding watchdog 5 times
Feeding watchdog...
[00:00:06.000,369] <err> os: ***** BUS FAULT *****
[00:00:06.006,492] <err> os:   Precise data bus error
[00:00:06.012,895] <err> os:   BFAR Address: 0x828
[00:00:06.019,019] <err> os: r0/a1:  0xffffffff  r1/a2:  0x028f5c28  r2/a3:  0x0000004e
[00:00:06.028,693] <err> os: r3/a4:  0x00000000 r12/ip:  0x00000818 r14/lr:  0x0e0a8bc3
[00:00:06.038,349] <err> os:  xpsr:  0x29000000
[00:00:06.044,198] <err> os: Faulting instruction address (r15/pc): 0x0e0aae5e
[00:00:06.052,994] <err> os: >>> ZEPHYR FATAL ERROR 25: Unknown error on CPU 0
[00:00:06.061,801] <err> os: Current thread: 0x2f001198 (unknown)
[00:00:06.069,351] <err> fatal_error: Resetting system

@pdunaj pdunaj requested a review from kl-cruz May 14, 2024 16:00
@pdunaj
Copy link
Contributor

pdunaj commented May 14, 2024

@kl-cruz checked on his side too.

@carlescufi carlescufi merged commit 07150bd into nrfconnect:v3.6.99-ncs1-branch May 15, 2024
21 checks passed
@nordic-segl nordic-segl deleted the NRFX-NONE_Add-WDT-support branch May 15, 2024 08:12
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request May 15, 2024
Pull in support for watchdog on nrf54h20.
nrfconnect/sdk-zephyr#1712

Signed-off-by: Sebastian Głąb <[email protected]>
carlescufi pushed a commit to nrfconnect/sdk-nrf that referenced this pull request May 15, 2024
Pull in support for watchdog on nrf54h20.
nrfconnect/sdk-zephyr#1712

Signed-off-by: Sebastian Głąb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants