gnupic: gpsim CVS


Previous by date: 7 Aug 2002 09:49:49 -0000 Wide source browser window in gpsim, Dave Dribin
Next by date: 7 Aug 2002 09:49:49 -0000 Re: Wide source browser window in gpsim, Ralf Forsberg
Previous in thread: 7 Aug 2002 09:49:49 -0000 gpsim CVS, Scott Dattalo
Next in thread: 7 Aug 2002 09:49:49 -0000 Re: Gpsim CVS, Scott Dattalo

Subject: Gpsim CVS
From: Brad Campbell ####@####.####
Date: 7 Aug 2002 09:49:49 -0000
Message-Id: <3D50E9C9.13824B56@seme.com.au>

G'day all,
Just trying Gpsim for the first time in a while.
Compiled and installed fine on a Debian Woody system,
simply had to apt-get install libpopt-dev.

Is there a known bug with the uart emulation regarding
fast baud rates?
With a Pic 16f877
I'm emulating a crystal speed of 12.228Mhz with
BRGH=1 and SPBRG=2. This should give me about 255kBaud

Gpsim reports about 188uS for a byte, when it should be
about 43uS.
SPBRG=1 give me about 118uS which is way high..

I have a breakpoint set on the tx Isr and stopwatch between
breakpoints.

Is there anyway to watch the internal state of the uart, 
or breakpoint on it's output pin changing?
I tried setting a break on portc writes, and port c values
but no joy. I tried looping the tx pin to a portd pin and
setting a breakpoint on that also. No go..

Great work BTW. The combo of gpasm/gpsim/picp has just about
obsoleted mplab for me. Just need to add a 16f876 to gpsim :p)

I may look at that if I can find some time.

-- 
Brad....
                   /"\
Save the Forests   \ /     ASCII RIBBON CAMPAIGN
Burn a Greenie.     X      AGAINST HTML MAIL
                   / \

Previous by date: 7 Aug 2002 09:49:49 -0000 Wide source browser window in gpsim, Dave Dribin
Next by date: 7 Aug 2002 09:49:49 -0000 Re: Wide source browser window in gpsim, Ralf Forsberg
Previous in thread: 7 Aug 2002 09:49:49 -0000 gpsim CVS, Scott Dattalo
Next in thread: 7 Aug 2002 09:49:49 -0000 Re: Gpsim CVS, Scott Dattalo


Powered by ezmlm-browse 0.20.