Seems I painted myself into a corner
I made a simple datalogger with one of my photons and at the end of its code it goes into SLEEP_MODE_DEEP, however now I cant update its code…
Even if I press the reset button on the photon, it executes the user code and goes to sleep, even if a build tab is currently trying to send new firmware to it.
First off, whats the procedure to get it back to life, will I have to factory reset? I did the cli update with 0.4 part files, so hopefully a factory reset wont brick it ?
-Or is there a easyier way to load new firmware/reset to tinker firmware ?
Second, is it possible to see on startup why we started? on AVR you can read a register and see if the chip was freshly booted, reset by using reset pin, watchdog, sleep timer expired, etc. maybe the photon has something like it ?