Yes This is how it’s supposed to go… I’m glad you have all of these tools.
Yeah the programmer shield v2 is fairly involved to setup… we’re working on making it easier, but most of us are still on yosemite because of various support issues with el capitan thus far. We’ll get there though when things catch up.
Aight signing off have a good one and thanks for doing work!
I set the photon to deep sleep when the percentage of battery remaining is bellow 30%… But then the battery get’s drained during the deep sleep, or during the attempts to awake from deepsleep…
Then the battery goes bellow the level where it can power the photon and keep it in deep sleep or running… After the solar cell puts a little charge in the battery… it re-boots… But it’s too little power to sustain use and then it drains quickly… And then it goes dead after booting because the battery can’t afford to give enough power to sustain the boot or photon…
And then the whole cycle goes on and on on a loop… Causing it to eventually lock or screw up the boot loader… I guess because of the repetitive attempts to boot and then the low power condition.
So I guess this is not a photon issue. It is more an implementation issue… I guess I have to give separate power sources to vVolt from another battery just to keep up with the behavior of deep sleeps… And shutdown the photon completely (have to figure out a way doing this) when the power goes bellow a threshold…
And rebooted when the power is recovered… So instead of deep sleep I need a feasible way to shutdown completely… and restart when there’s enough power.
I have the same problem with one of my Photons. My code works well on Core. I flashed the same code to 2 new Photons. One’s worked till now. The second worked for 3-4 days and suddenly stopped. Now when power on blue LED at D7 pin comes on, RGB is off. Voltage on 3.3V pin: 3.32V, on RST pin 3.29V and 0.0V when pressed. When I put it in Safe mode it flashes magenta but more rapidly than usual. Because I have neither St link nor JTAG is there a chance to find out is my Photon dead or not?
Il wait for better brains to comment… But I am thinking a factory reset is in order if you can’t get it to go to safe mode. But I saw elsewhere that factory reset was not recommended so… Il wait for better brains.
My guess is that as long as it is flashing or doing something with the RGB there’s hope
I tried. After magenta the Photon starts flashing yellow for 2 sec., after that 2 sec off, and it’s repeated. Because I am afraid it isn’t DFU mode so didn’t try any thing.
Connect it to USB try to put it in DFU mode and try flashing it using the cli tool in the command line…
It is weird… The modes you are describing are unfamiliar to me… However the fact that it is responding to some input it is reassuring that the device might be restored.
Noticing that the people from Particle hasn’t shown up here… I would send an e-mail to support.