Re: Problems on sleep/resume in XScale and PB 4.2
From: lur (lur444_at_hotmail.com)
Date: 06/11/04
- Next message: Bruce Eitman \(eMVP\): "Re: Hide mouse pointer"
- Previous message: dan: "Re: Hide mouse pointer"
- In reply to: Cliff Brake: "Re: Problems on sleep/resume in XScale and PB 4.2"
- Next in thread: Cliff Brake: "Re: Problems on sleep/resume in XScale and PB 4.2"
- Reply: Cliff Brake: "Re: Problems on sleep/resume in XScale and PB 4.2"
- Messages sorted by: [ date ] [ thread ]
Date: 11 Jun 2004 04:48:00 -0700
Hi,
Thanks for your answer Cliff. I have looked up the PWR_EN signal and
it is working correctly: when I select the "Start->Suspend" option or
I use the power button driver, which uses the S17 switch, the system
enters in suspend sequency and when the code of the OEMPowerOff()
function is executed and the PXA255 enters in sleep mode, the PWR_EN
signal goes low and when a edge is detected in the GPIO1, the PWR_EN
signal goes high.
And what is more, the RESET_OUT signal is also selected and deselected
in this process, so is supposed that the reset is happening correctly
and that the reset handler should be entered and its code should be
executed, but it isn't happening. I am going to try to put a scope in
the rest of the signals that reach to the Flash and I am going to try
to find what is happenning.
By the way: is there any difference between the way that is followed
on suspend/resume when you select the "Start->Suspend" or when you use
the power button??
And I have another question: I'm not sure if I should define the
B_STEP_PXA2X0 flag for the PXA255 or not. In some cases I think that
this code is necessary for this microprocessor, but in other cases,
like in the first lines of the reset handler in the fwxsc1.s file, I'm
not completely sure.
Thanks in advance for your help,
Lur
Cliff Brake <cbrake_n*sp*M@bec-systems_n*sp*m.com> wrote in message news:<eUGOTWvTEHA.3528@TK2MSFTNGP12.phx.gbl>...
> Have you looked at the hardware to make sure it is getting into suspend and
> trying to resume? I would put a scope on the PXA255::PWR_EN signal. It
> should go low at the end of the suspend process and go high at the
> beginning of the resume process. This will tell you if you are making it
> into suspend properly and if it is trying to resume.
>
> Cliff Brake
> BEC Systems
>
>
> lur wrote:
>
> > Hi all,
> >
> > I'm working on the sleep/resume of an Intel's DBPXA255 based platform
> > using PB
> > 4.2.
> >
> > When I select "Start->Suspend" the execution goes to the OEMPowerOff()
> > function and it makes the PXA255 sleep correctly. I have configured
> > the GPIO1
> > like wake up source in the OEMPowerOff() function but when I use this
> > GPIO for
> > waking up from sleep, the system doesn´t wake up correctly.
> >
> > I have proved to enable the TEST_NOT_REALLY_SLEEPING flag in the
> > pmgrxsc1.s
> > file. In this way the system returns correctly but if the sleep
> > occurs, then
> > the system seems to be hanged somewhere and it doesn´t resume.
> >
> > When the wake up event happens the execution is supposed to go to the
> > reset
> > handler so I have tried to show some codes through the displays while
> > the code
> > of the reset handler is executed but that codes doesn't appear in the
> > displays
> > when I am waking up from sleep so I don't know if the reset handler is
> > entered
> > or not.
> >
> > Has anyone any idea about what would be the problem?? Any similar
> > problem?? Any help would be esteemed.
> >
> > Thanks in advance,
> >
> > Lur
- Next message: Bruce Eitman \(eMVP\): "Re: Hide mouse pointer"
- Previous message: dan: "Re: Hide mouse pointer"
- In reply to: Cliff Brake: "Re: Problems on sleep/resume in XScale and PB 4.2"
- Next in thread: Cliff Brake: "Re: Problems on sleep/resume in XScale and PB 4.2"
- Reply: Cliff Brake: "Re: Problems on sleep/resume in XScale and PB 4.2"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|