ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Scheduled activity on a TS-7800

To:
Subject: Re: [ts-7000] Re: Scheduled activity on a TS-7800
From: Eddie Dawydiuk <>
Date: Wed, 25 Jun 2008 10:21:34 -0700
Hello,


> Maybe for future boards you will make this part of your development routine,
> meanwhile you'll have to live with me being the official registrar of your
> hardware...muh ha ha ha.  Downside, guess I'll be getting the whining users
> :)

I've already passed your suggestion onto the engineer who typically
develops our bootroms. More than likely all future products will have a
unique machine ID.

> I have found the 'sleep' code a bit fruity.  From what I can tell you have
> implemented your own watchdog using the Amtel mega48 chip?  Actually I could
> be talking out of my ass on that one but when I try the 'sleep' functionality
> the board seems to soft-reset roughly after the timer expires.  This however
> is:
>  * with the orion5x kernel I'm working on
>  * with the *Orion* built-in watchdog enabled
>  * using your ts7800ctl code

This is correct. Unfortunately the documentation has done been released,
I'm in the process of writing some documentation for the TS-7800. Anyway
I believe the brief paragraph should explain how the sleep functionality
works(FYI it should work like you explained).


Sleep Mode
-----------

The TS-7800 has a low power sleep mode in which the total power of the
system can be reduced to approximately 465 uW (5V at 93 uA). This is
accomplished by calling the ts7800ctl program with the –s option and the
number of seconds to sleep for. The number of seconds will be rounded up
to the nearest multiple of 8 seconds (the TS-7800 sleeps for multiples
of 8 seconds up to 524280 seconds). The ts7800ctl utility will then send
a command to the onboard microcontroller (via the I2C bus) instructing
it to enter sleep mode. The microcontroller will then disable power to
the rest of the TS-7800 and enter into low power mode. Every 8 seconds
the red LED will turn on for 700us. This is done to provide feedback
that the TS-7800 is in sleep mode while keeping the time the LED is on
for to a minimum to reduce power consumption.

Note: Seeing as though power is disabled it is recommend one remount the
file system read only prior to entering sleep mode.

Once the sleep time has expired the microcontroller will enable power to
the TS-7800. This will cause the TS-7800 to boot up normally.

The TS-7800 can be woke up prior to the sleep time expiring by grounding
DIO_04(pin 4 on the DIO header) or ISA_B32(typically ground pin on
PC/104 bus). This allows external devices or PC/104 daughter boards to
wake the TS-7800 from sleep mode.

The paragraph above is a work in progress but hopefully provides some
information on how the sleep mode should work. Also I'm in the process
of reworking the sleep code so the sleep command will be sent, then the
board can be shutdown. Once the board is shutdown the CPU will send a
signal to the micrcontroller, at which point the micrcontroller will
enter low power mode/sleep mode.

> Technically are there two watchdogs on the board, yours and the Orion one?
> I'm only guessing as it looks like the microsecond timer you added is defunct
> being that the two orion nanosecond accurate timers are there?
> A guess in
> the dark is that you were more comfortable with your own hardware
> implementations than the Mavell supplied ones?  Same applies for DMA, any
> reason the Mavell DMA engines (all four of them) could not be used on your
> NAND?  This I'm asking as one day I plan to build a driver that hooks the
> Marvell DMA engines to the DMA offloading framework (along with the crypto
> and XOR accelerators)...the FPGA based DMA thingy seems kinda out of place.

Jesse will respond to these questions, I'm not to familiar with some of
the low level details...


--
Best Regards,
________________________________________________________________
  Eddie Dawydiuk, Technologic Systems | voice:  (480) 837-5200
  16610 East Laser Drive Suite 10     | fax:    (480) 837-5300
  Fountain Hills, AZ 85268            | web: www.embeddedARM.com

------------------------------------

Yahoo! Groups 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 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