gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: Re: pulse counting using timer1
From: Phil
Date: Wed, 7 Apr 2004 14:31:35 +1000

On Tue, 6 Apr 2004 22:32, Pete Harlow wrote:
> I had some spurious behaviour on one 16F877 design that turned out to be
> that I had not disabled Low Voltage Programming. Make sure this is off
> in your configuration word.
>

Thanks for the reply Pete,

This is my configuration word:

__CONFIG _WDT_OFF & _XT_OSC & _CP_OFF & _LVP_OFF

However, I'm not sure that LVP is actually turned off. I'm using pikdev and 
it's programming window shows that code protection is turned on even though 
my config word sets code protection to off. The way that I understand it, the 
configuration panel shows LVP as off.

Perhaps pikdev's programming window doesn't reflect the contents on the config 
word. I found pikdev's config settings confusing when I first began 
experimenting with PICs; I'll experiment with the config settings a little 
more.

-- 
Regards,
Phil.



gnupic@linuxhacker.org