Hi,
I am currently working on a project that involves a 24/7 running arduino nano rp2040 board. The board monitors vibrations on a machine and writes to a database about 4 times per second via WiFi. I've run into a problem where the sketch stops working at random intervals (sometimes 2 hours sometimes 30...) and after checking for multiple problems like memory leaks and programming problems I have not been able to find any that could cause this behaviour. My question is, is it posible to implement a software based "hard" reset like the one from the board button? I have only found one way to "reset" the board and it doesn't seem like it does the same as pressing the button (NVIC_SystemReset();).
Thanks in advance.