My Duo isn’t “stuck”, it’s not a firmware update gone awry… My Duo just doesn’t automatically reset after a firmware update. I’m used to hitting the reset button manually after updating the firmware (via USB or OTA), and now that I’m trying to get things in more “packaged” form, I recognize that a reset is needed automatically after an OTA firmware update. It’s just not happening - automatically or programmatically. Only manually via the button.
I’m listening to system events, including reset_pending and reset. I’m doing a “System.enableReset()” in setup() and also in the handler for the reset_pending event — as per the Particle documentation. I’ve also tried calling System.reset() explicitly in the reset handler. No reset. After an OTA firmware upload, the Duo remains idle, and within a minute, the Cloud connection goes down. Then I hit the reset button manually and get on with things.
I have the system thread enabled. I use Particle CLI exclusively (not the other Particle dev tools). I have some webhooks running, things seem fine. Nothing else terribly “unusual.” Just no system reset.
Anyone seeing this? Or can anyone confirm automatic resets after a firmware upload? Or even a programmatic reset after calling System.reset() ??