gnupic: Re: [gnupic] Newbie question


Previous by date: 8 Nov 2006 06:20:03 +0000 Re: [gnupic] Newbie question, Scott Dattalo
Next by date: 8 Nov 2006 06:20:03 +0000 gpsim-0.22.0-RC3 led_test questions, Maxim Wexler
Previous in thread: 8 Nov 2006 06:20:03 +0000 Re: [gnupic] Newbie question, Scott Dattalo
Next in thread:

Subject: Re: [gnupic] Newbie question
From: Mika Saari ####@####.####
Date: 8 Nov 2006 06:20:03 +0000
Message-Id: <1162966770.14952.122.camel@unicorn.unicorn.org>

Hi,

	I have been using GPSim at the start for simulating (F877) and also
used the 7-segment example code to study the behaviour of the 7-segment.
Just tried to change the code to the F690.

	I used reading the specification a quite a bit more and at last this
newbie understood that even the Program Counter is 13bit in PIC16F690
( and in others as well ), the last 8-bits are able to be used for
jumping etc.. (of course, stupid me). So the lookup table I created to
the other file was out of the 8bit space and caused all these problems.
After I specifically told to the asm to put the code to different memory
location, everything started to work.

	-Mika
	
> Robert Pearce wrote:
> > On Tue, 7 Nov 2006, ####@####.#### wrote :
> <snip>
> > By the way, are you just programming the chip and running it? Have you 
> > tried using GPSim to simulate your code and see where it gets to when 
> > single stepping?
> 
> 
> I'll further add that there already is a working example of a 7-segment 
> display in gpsim that you can try out. Look at this example:
> 
> http://gpsim.svn.sourceforge.net/viewvc/gpsim/trunk/examples/modules/led_test/
> 
> 
> Scott
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 


Previous by date: 8 Nov 2006 06:20:03 +0000 Re: [gnupic] Newbie question, Scott Dattalo
Next by date: 8 Nov 2006 06:20:03 +0000 gpsim-0.22.0-RC3 led_test questions, Maxim Wexler
Previous in thread: 8 Nov 2006 06:20:03 +0000 Re: [gnupic] Newbie question, Scott Dattalo
Next in thread:


Powered by ezmlm-browse 0.20.