gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: Re: gpsim & sleep
From: Scott Dattalo
Date: Fri, 28 Mar 2003 06:46:56 -0800 (PST)

On Fri, 28 Mar 2003, Ralf Forsberg wrote:

> On Thu, Mar 27, 2003 at 06:30:33PM +0100, Yann Gouy wrote:
> > Hi,
> > 
> > when debugging my app, I'm not able to go out of "sleep" when RB0 goes
> > high from low. I have configured OPTION_REG correctly (it seems)
> > I am trying to set RB0 high with the RAM window, but as it is configured
> > as input, I can't
> 
> Open the 'breadboard' or 'pins' window and click on the pin.
> 
> There is a bugs related to sleep registered at:
> http://sourceforge.net/tracker/index.php?func=detail&aid=576916&group_id=2341&atid=102341
> 
> > if someone can help me, it would be very kind.
> 
> There's probably a bp.clear_sleep() missing somewhere, probably
> around PORTB::setbit in src/ioports.cc. But don't know enough about the
> sleep mode and portb interrupts to make a reasonable patch for this.


I concur -- there is a bug in gpsim.

Scott


gnupic@linuxhacker.org