0

is there a way to programatically leave safe mode?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

is there a way to programatically leave safe mode?

by digiron on Sat Jul 24, 2021 1:42 pm

Howdy!

Our research team is running a project. We're using a
Power Timer Breakout
to cycle on a
Adafruit Feather M0 Express - ATSAMD21 Cortex M0
every 30 minutes or so.

However, we find that a majority of our feather's always ends up in safe mode after a while. We've done a tone of trials with different capacitors and fresh batteries, but the majority of our devices end up flashing yellow after being cycled on few times (or even after their first run). I am pretty sure this means they're in safe mode. Since we're deploying these in a literal field, we can't manually reset them every day once they stop running the main programming. Is there a way to get these to reboot (or write to the reset pin) if they start in safe mode?

Cheers

digiron
 
Posts: 1
Joined: Tue Apr 13, 2021 12:40 pm

Re: is there a way to programatically leave safe mode?

by franklin97355 on Sun Jul 25, 2021 6:23 pm

What are your programming and how do you have the timer connected? Paste your programming between CODE TAGS TO MAINTAIN THE SPACING. Thanks.

franklin97355
 
Posts: 22158
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: is there a way to programatically leave safe mode?

by adafruit_support_mike on Sun Aug 01, 2021 10:24 pm

The yellow LED on a Feather is connected to the buil-in LiPo charger's status pin. The LED lights when the LiPo is charging, or when the charger detects an error condition.

If no LiPo is attached, the voltage at the charger's output pin is undefined.. in practice, it will be controlled by parasitic currents in the board, static electricity, and seepage connections throug the film of humidity adsorbed to the surface of the PCB. Those conditions can change, and the LiPo charger considers some of the changes to be errors. That results in a blinking yellow LED that doesn't have any meaning related to board function.

adafruit_support_mike
 
Posts: 63701
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.