Hi all,
We are building a product with the P1 and having some issues getting our first run of boards up and running. We set up our board to be similar to the Photon; we have the RGB LED, blue LED, momentary switches and USB just like the Photon.
I powered up the board for the first time today and the P1 went into blinking blue: check.
I connected to the P1 over USB and set the WiFi credentials using a serial port terminal app. After rebooting, the P1 connected to the cloud and started breathing cyan: check.
Shortly after that, it started flashing magenta as it pulled down the OTA firmware update: check.
Here’s where things went weird. Before it was finished with the OTA update (it was only flashing magenta for a few sec, the OTA update took 10-20 sec on the Photons we’ve used in the past), it stopped flashing magenta and started breathing white.
Is that bad? What does breathing white mean?
I was able to get the P1 into DFU mode so I flashed v0.4.4 over usb to make sure it had the latest system FW. I could then get back to a breathing cyan. However, whenever I try to flash an OTA firmware, it does a similar behavior as the first OTA update: it blinks magenta for a few seconds then goes to breathing white. If I reboot, I get breathing magenta. Does that mean there’s a problem with the firmware that’s putting the device into safe mode?
I then tried flashing firmware that I’ve compiled locally. I have three firmwares that I’m trying, one is our prototype product firmware (communicates with an SPI peripheral, works fine on Photon), another is a simple test firmware that just dumps text out the serial port every 500 ms, and I also tried the “Blink an LED” sample firmware.
When I flash the firmware over USB, it goes to breathing white. Then if I reboot, it goes to breathing magenta. So same behavior as OTA.
Hopefully this post is comprehensible to someone. In summary, I’m unable to flash any firmware to our new P1 board. I’ve tried loading with the OTA tools and command line tools. Any tips would be greatly appreciated!
Andrew