I used Particle Workbench to put a firmware and unknowingly put a debug firmware in a Particle Photon.
Now to recover the Photon, I used the Particle CLI and programmed the tinker firmware using “particle flash --usb tinker” command which went successful but now I am not able to use the online IDE to update the firmware and says “Device is running debug firmware which does not support OTA. Reflash Device OS using Workbench or CLI (particle update)”. Also, the Photon takes a lot of time to connect to WiFi and doesn’t go to OTA update mode.
Please help me to get back to a state where I can enable the OTA update mode.