Hi. I was experiencing the function SYSTEM_MODE(MANUAL) , and I uploaded a code only with this line, and effectly the Photon is in Manual Mode. But, I don’t know how to flash again another program. I tried CLI commands, but it didn’t make an effect.
There may be an easier way that I am not thinking of, but here is one way.
Set up Particle Workbench on Visual Studio, put the device into DFU mode and flash new code over USB.
The easiest way is to put the Photon into Safe Mode, this way you can flash OTA again.
Another easy way is via CLI in DFU Mode
particle flash --usb tinker.
Safe Mode and OTA was the solution. Thanks!