I started to develop on photons since a week now. During 2 days, I haven’t no trouble, I could compile then flash my firmwares via the cloud. Tuesday, I was attempt to finish my work but when I pressed the button to compile in the cloud (from the web IDE and from Particle Dev), I obtained “Compile success” but then, nothing.
On Particle Dev, it shows me “Flashing via the cloud” but after 10 seconds I have “undefined” instead. From the web IDE, I get “Flash unsuccesfull”. The led on the photons isn’t changing to magenta.
Plus, from the web IDE like from the Particle Dev, when I go in “devices” it’s shows me wrong photons connected. Sometimes I get Photons A is connected and B isn’t whereas it’s the opposite. Sometimes I get my 2 photons connected whereas they are off !
So I tried almost everything :
- Changed my photon with new ones 3 times
- Reset them to factory settings
- Changed internet access for my photons or my PC
- Changed PC
I had this problems yesterday morning. Yesterday afternoon, it worked, these problems disapear for 2 hours. This morning I could flash via the cloud during 2 minutes but then problems shows up again.
I also tried to compile and flash on my photons locally in DFU Mode, but I had problems in this way too !
I installed the driver correctly, follows the instructions exactly but then when I open the CLI in administrator, I type
particle flash --usb firmware.bin (after having compiled) and I get :
Apparently I didn't find a DFU device? util said Error writing firmware...no dfu device found.
And in my Device manager I have indeed “Photon DFU Mode”
But for now, I would like at least flash via the cloud.
It could be possible that the problems come from the Spark Server ?
Sorry for my not-very-nice english and have a nice day,