ts-7000
[Top] [All Lists]

Re: [ts-7000] Power-failure risk if running Debian?

To:
Subject: Re: [ts-7000] Power-failure risk if running Debian?
From: Mark Featherston <>
Date: Thu, 27 Oct 2011 11:57:35 -0700


Mike,

The basic rule to follow is that any time you power off while a filesystem is mounted read/write you are risking disk corruption.  We have a white paper that discusses this further:
http://www.embeddedarm.com/about/resource.php?item=459

Jim's solution is the best option for these situations where power can be lost.  We already have an off the shelf product that would do this.  I would recommend the TS-BAT10.
http://www.embeddedarm.com/products/board-detail.php?product=TS-BAT10

This would show you through a register when it is running of the battery or external supply.  You could also continue to run until the voltage begins to drop below 3.3V which indicates it is a good time to shutdown.  I have sample code you can see here:
http://oz.embeddedarm.com/~mark/index.php/TS-BAT10#Example_Code
Best Regards, 
________________________________________________________________
 Mark Featherston, Technologic Systems | voice: (480) 837-5200
 16525 East Laser Drive                | fax: (480) 837-5300
 Fountain Hills, AZ 85268              | web: www.embeddedARM.com 

On 10/27/2011 11:11 AM, Jim Jackson wrote:
 



On Thu, 27 Oct 2011, doddm2001 wrote:

> I'm using a 7250 to monitor an HVAC run-times, to characterize power
> consumption. It boots into Debian over NFS from our home network server.
>
> The server is on a UPS, and if power fails, it shuts down sanely after a
> few minutes. But the 7250 is not on a UPS, so it would just die when
> power fails.
>
> In another application, I booted into TS-Linux and mounted everything
> read-only,, but I can't do this with the HVAC monitor -- it writes to
> files on the server.
>
> My program opens and closes each file for every write operation, so there
> are no continuously-open files hanging around waiting for the power to
> fail.
>
> Am I at risk of corrupting the server's file system if the 7250 dies? If
> so, what should I do to protect it?

Add your own backup supply.

On the 7260 5 or 6 AA NiMH cells, a couple of diodes, a resistor and a
spare ADC port and some code are really all that are necessary. I believe
the 7250 needs a regulated 5V supply like the 7200?

On my 7200 I have a DC-DC 1A converter provide power fed from a 12V DC wall
wart, and 6 AA NiMH cells, a couple of diodes, a resistor and a spare ADC
port and some code. When the 12V from the wall wart disappears the NiMH
cells provide power, the code sees the 12V disappear and does an orderly
shutdown.



__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU