Rockbox mail archiveSubject: Re: ATA - USE_POWEROFF vs USE_SLEEP
Re: ATA - USE_POWEROFF vs USE_SLEEP
From: Andrew Jamieson <ajamiesn_at_optusnet.com.au>
Date: Tue, 10 Sep 2002 23:26:50 +1000
Yep, OK. Got it. The 40 pin connector on the interface board threw me a
bit ... I must be tired :(
I will check this out on the player, but I can't remember seeing any biggish
FETs on the board; the way it's drawn on the recorder schematics I assume
its an SO8 package, which would make sense.
On another note - you mention tri-stating the ATA bus during sleep; did you
try it with the bus driven (to some idle state)? From what i understand of
the ATA interface, the bus remains active during sleep. You'd want to
tri-state it for power-off, but not sleep. Floating CMOS inputs could
explain the extra current draw.
I'll look it up tomorrow (I'm sure you've thought of this already, but you
never know :).
----- Original Message -----
From: "Nielsen Linus (ext)" <Linus.Nielsen_at_elema.siemens.se>
Sent: Tuesday, September 10, 2002 9:30 PM
Subject: RE: ATA - USE_POWEROFF vs USE_SLEEP
> Look at the Recorder schematic, the interface board. It is called T1 and
> controls the IDE_PWR signal. It is controlled with PA5 (pin 12 on the
> > -----Original Message-----
> > From: Andrew Jamieson [mailto:ajamiesn_at_optusnet.com.au]
> > Sent: den 10 september 2002 13:36
> > To: rockbox_at_cool.haxx.se
> > Subject: Re: ATA - USE_POWEROFF vs USE_SLEEP
> > Ahhh .. so you're actually talking about _cutting_ the power
> > to the HDD,
> > with a FET switch or such like, yes? Hmmm ... can't see
> > anything like that
> > on the schematics (at a cursory examination, looking at
> > Acrobate with my
> > head on its side :) - a signal on the VBatt line maybe? I'm
> > not as clued up
> > on the smaller IDE interface as perhaps I could be. But it's
> > not a command
> > to the HDD that parks the head and cuts the power internally?
> > I thought it
> > was the latter.
> > If you can confirm that it is a logic signal that does the
> > power_off, not a
> > register setting, then I will hunt for such a beast on my
> > player (new).
> > A
> > ----- Original Message -----
> > From: "Nielsen Linus (ext)" <Linus.Nielsen_at_elema.siemens.se>
> > To: <rockbox_at_cool.haxx.se>
> > Sent: Tuesday, September 10, 2002 8:59 PM
> > Subject: RE: ATA - USE_POWEROFF vs USE_SLEEP
> > > > In the code in ata.c it says poweroff only works on the
> > > > recorder, not the player. Can anyone confirm this and say why?
> > >
> > > At least the older players have no way of controlling the
> > HD power. I
> > don't
> > > know about the newer ones, they don't use the same port pin
> > at least.
> > >
> > > > Anyway, I think Linus has done these measurements already -
> > > > using the _bad_ poweroff that is undefined in the
> > > > code already :)
> > >
> > > Bad, bad me. Yeah I know that the current POWEROFF feature
> > is bad, that is
> > > why we don't use it. :-)
> > >
> > > I don't remember the current draw of the various
> > configurations...just
> > that
> > > poweroff was a lot better...
> > >
> > > /Linus
Received on 2002-09-10