Skip to content

Is there any way to restart a dead device automatically #2169

Closed Answered by fpistm
CJT1111 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @CJT1111
you can have a look to this library:
https://github.com/stm32duino/Arduino_Core_STM32/tree/main/libraries/IWatchdog

Or redefine this to call NVIC_SystemReset();

#if !defined(Error_Handler)
#define Error_Handler() \
while (1) {\
}
#endif

Or redefine some exception handler example for a STM32G4:

/*******************************************************************************
*
* Provide weak aliases for each Excep…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by fpistm
Comment options

You must be logged in to vote
1 reply
@fpistm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants