Incorrect hardware reset cause sets for watchdog reset on stm32h743zi #53002
Labels
area: HWINFO
Hardware Information Driver
bug
The issue is a bug, or the PR is fixing a bug
platform: STM32
ST Micro STM32
priority: low
Low impact/importance bug
Incorrect hardware reset cause sets for watchdog reset on stm32h743zi
Received reset cause = 0x01 (i.e., Bit 0 : Reset via external user defined pin)
In case of watchdog reset, 2 bits should be set (i.e., watchdog and reset pin) and cause id value should be "17".
Note : STM32 SoCs implement various reset types by pulling the reset pin low. Therefore, these reset types set
the PINRST flag, even if the reset was not caused by an actual pin reset event. Which means the Reset pin bit
will be set every time the system gets reset along with the actual reset cause
git issue links : #43319 #37524
Target used : stm32h743zi
Zephyr version : v3.1.0-
To Reproduce
case 1 : watchdog reset
Enable the hardware info and watchdog in proj.conf of the project.
proj.conf-
Code:
main.cpp-
Expected behavior
Impact
Environment
Windows OS
IDE Used : Platform IO and Eclipse
The text was updated successfully, but these errors were encountered: