ts-7000
[Top] [All Lists]

Re: [ts-7000] Implementing Shutdown Button from XDIO

To:
Subject: Re: [ts-7000] Implementing Shutdown Button from XDIO
From: ApOgEE <>
Date: Tue, 20 Oct 2009 08:39:40 +0800


I'm booting from SD card where in some case, when the system experience improper shutdown, it will cause the SD card kernel corrupted and won't boot anymore. It happen sometimes where I have to dd the fresh system image to the SD card again when the board is powered on and off many times.

Does anyone experience the same problem? How did you solve the issue?

On Mon, Oct 19, 2009 at 9:33 PM, Jim Jackson <> wrote:
On Mon, 19 Oct 2009, ApOgEE wrote:

> Hi all,
>
> I've been searching on how to make Shutdown button on my TS-7260 using the
> DIO2 but I can't find any clues.
>
> As I can see in the ts-7260 manual, Pin 6 on DIO2 is for shutdown. Can
> anyone help me on how can I do it? or point me to the right direction. I
> have no formal electronic background. I'm just good at programming. But I
> like electronic and would like to learn from all of you.
>
> I've tried to short pin 2 (GND) and Pin 6 (SHD), but it cause the board
> reset. And if i short it before turn the power on, the board won't boot.

So it's working then :-) I'd guess it is shutting down the board, which is
not the same thing as shutting down the operating system!

> I'm thinking, if I can use this to properly shutdown the board like using
> the command # shutdown -h now

Something like. So you simply need to use an unused DIO input connected to
a switch (NOT Pin6 on dio2 !). Then you need to write a small program that
continually (well maybe every second or 2) monitors the switch.
If it is pressed for longer than say 4 secs (whatever) then your program
executes the relevant shutdown command to stop the Operating System.


Actually, I have already done that shutdown program via DIO and watchdog. It's just I'm thinking if I could use the shutdown function in other way without using the DIO input. Anyway, if you also said like that, then I should stick with my DIO shutdown and watchdog program.

 
With a bit more electronics you could get this program to shutdown the
power to the board too.


I wish someone would love to share their experience with this electronics because I don't have any idea on how to do it yet. ;D.


Thank you


--
Best Wishes,

ApOgEE


__._,_.___


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