ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-7260 with TS-BAT3: waking up after extended sleep

To:
Subject: [ts-7000] Re: TS-7260 with TS-BAT3: waking up after extended sleep
From: "wimpunk" <>
Date: Fri, 23 Feb 2007 14:37:44 -0000
Eddie,

--- In  Eddie Dawydiuk <> wrote:
> 
> I looked into this further and was able to reproduce the problem you
> reported. The TS-Bat3 has a default threshold voltage(as you found it
> is approx. 3.25V). If the battery voltage drops below the threshold
> voltage softJP3 will be set. Other than explicitly putting the board
> into low power mode, the TS-Bat3 will enter low power mode if JP3
> or softJP3 is set and the board is running off batteries. I found
> there is a bug in the firmware of the TS-Bat3. The problem being
> once softJP3 is set due to the battery voltage falling below the
> threshold voltage the IRQ to read the ADC is being masked. As a
> result the board will not awake from low power mode once the
> battery voltage drops below the threshold voltage unless the
> AVR is reset via the ISP pins as you have reported. There is a
> workaround for this though, the threshold voltage is store in the
> e2 of the AVR at location 0x80 and 0x81. If you set the threshold
> voltage to 0V this code path will be avoided. You can do this with
> the following undocumented commands.
> 
> bat3 --eeval 0 --eew 128
> bat3 --eeval 0 --eew 129
> 
> At this point the threshold is set to 0V. To verify this is true reset
> the AVR using the ISP header run the following commands.
> 
> $ ./bat3 --eer 128 | head -n 1
> 80:00
> $ ./bat3 --eer 129 | head -n 1
> 81:00
> 
> The return values shown above indicate the threshold voltage has been
> succesfully changed to 0V.
> 
> Please let me know if you have any problems or questions.
> 
> //Eddie
>

Your suggestion works.  We can wake up our ts by putting the power back.
I've forgot to save it: what's the original value of byte 0x80 and 0x81?

Kind regards,

wimpunk.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups - Join or create groups, clubs, forums &amp; communities. Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups - Join or create groups, clubs, forums &amp; 
communities. is subject to:
    http://docs.yahoo.com/info/terms/
 

<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