Community
cancel
Showing results for 
Search instead for 
Did you mean: 
KMill10
Valued Contributor II
1,216 Views

Protecting Edison from power-off

Jump to solution

I'm working on a product design with Edison.

The product could be switched off by the user at any time, without a chance to "tell" Edison that the power will go off. Or the mains power might just fail at anytime.

When we did a power-off test during a prototype testing stage yesterday, Edison wouldn't boot again afterwards. It would get to "press any key to stop autoboot" but then would crash and re-start, so I can only assume that the OS partition got corrupted during the power-off. I restored the OS using "flashall.sh" and copied the applications back on and it all worked again, so no permanent damage.

So, what are my options for protecting Edison for being corrupted during a power-off event?

I know I could use the "poweroff" command from the shell - but we won't always have the opportunity, occasionally the power may just go off without warning.

I could add a couple of large capacitors to give us a few seconds of runtime, but what's the best way to detect that the power is going off, and what's the best action to take?

I'm thinking some kind of ADC with a system kernel driver that just does a processor "halt" - would that work? I'b be worried that it gets triggered by transients though.

Any suggestions? The design goal here is commercial grade prevention of corruption to the OS during a power off event.

I don't care about preventing damage to the application data, it's never gets persisted anyway.

Thanks everyone!

Kenny.

Tags (1)
0 Kudos
1 Solution
idata
Community Manager
35 Views

Hello Kenny,

Thank you for interest in the Intel® Edison Breakout Board.

Have you checked this thread /thread/94196 https://communities.intel.com/thread/94196? In it, community members Vicenze and shopen provide a couple of suggestions on how to detect a power-off and safely shutting down the Edison board.

Please let me know if you find that information useful.

I'll be waiting for your response.

 

 

Regards,

 

Andres V.

View solution in original post

2 Replies
idata
Community Manager
36 Views

Hello Kenny,

Thank you for interest in the Intel® Edison Breakout Board.

Have you checked this thread /thread/94196 https://communities.intel.com/thread/94196? In it, community members Vicenze and shopen provide a couple of suggestions on how to detect a power-off and safely shutting down the Edison board.

Please let me know if you find that information useful.

I'll be waiting for your response.

 

 

Regards,

 

Andres V.

View solution in original post

KMill10
Valued Contributor II
35 Views

Thanks Andres!

There is some good stuff on that thread with a couple of ideas that I can work on.

Reply