gnupic: gpsim - 16F877 - Installation Problem?
Subject:
Re: gpsim - 16F877 - Installation Problem?
From:
Ralf Forsberg ####@####.####
Date:
11 Nov 2002 21:52:43 -0000
Message-Id: <20021111214725.GA416@home.se>
On Mon, Nov 11, 2002 at 09:46:21AM -0800, Tom Alldread, VA7TA wrote:
> Greetings Folks:
>
> I have encountered so many problems trying to use 'gpsim' to
> simulate my 16F877 program which runs OK under the MicroChip simulator that
> I am starting to wonder if my installation of 'gpsim' is corrupt.
>
> The latest problem I encountered is that I could not initialize the
> TMR1H register. The 0xEC initialization value loaded into W OK with the
> 'movlw 0xEC' instruction and the following 'movwf TMR1H' instruction
> completed with a confirmation in the terminal window that the value had
> indeed been written to TMR1H. I find however that the value in the
> corresponding SFR address 0x0F remained at 0x00. As the problem came to
> light as a result of incorrect timing do to the improper initialization
> of T1 I am confident the initialization attempt did in fact fail.
Well there's a coincidence! I fixed this yesterday. It is in cvs.
/ Ralf