What does it mean when the RGB led is solid red?


#1

What does it mean when the RGB led is solid red?

It only happens when I flash firmware with a recursive function and I am able to boot into safe mode and flash other firmware afterwards

Any better way to debug other than print statements?


#2

I guess this should actually end in a red SOS pattern, but maybe your recursion has gobbled up the stack space that not even this is possible anymore.

Can you post your code and also tell how long it takes before it dies?


#3

Managed to get it off constant red by putting in some print statements. SOS blink is indicating hard fault.
Turns out my recursion was never terminating and its fixed now.

Thanks for your quick response.


split this topic #4

A post was merged into an existing topic: Photon Solid Red LED?