I am setting up the particle photon. my task is to upload a simple program that toggles the D7 led on an off but not luck uploading the sketch/code to the photon. Here the situation:
- The photon is connected to my router and breathing cyan. I can see it from the build.particle.io. but I can not flash any code to it. It says timeout.
- From the console.particle.io I see the device and the changes of the status from online-offline to auto-update when I plug or unplug the photon from my computer USB.
- From the Particle Dev. desktop I am able to choose the device but again can’t flash any code to it. Time out error again. -From the command line: Particle list command it shows the photon but it says that it is offline. even though I can see it from build.particle.io.
- I tried to flash the code directly from the command line, after downloading the firmware.bin:
particle flash --serial firmware.bin
I get the error:
serial: Error writing firmware …Transfer cancelled
Thanks for you help to toggle the D& LED light.