The Cyber-Spy.Com Usenet Archive Feeds Directly
From The Open And Publicly Available Newsgroup
This Group And Thousands Of Others Are Available
On Most IS NNTP News Servers On Port 119.
Cyber-Spy.Com Is NOT Responsible For Any Topic,
Opinions Or Content Posted To This Or Any Other
Newsgroup. This Web Archive Of The Newsgroup And
Posts Are For Informational Purposes Only.
From: Spehro Pefhany
Subject: Re: start a PIC16F628
X-Newsreader: Forte Agent 1.92/32.572
Date: Tue, 07 Jan 2003 14:25:48 GMT
NNTP-Posting-Date: Tue, 07 Jan 2003 09:25:48 EST
On Tue, 7 Jan 2003 14:11:09 +0100, the renowned "Bob23"
>I'm trying to start a PIC16F628 (I use picallw 0.13d beta with P16PRO
>programer, and C2C compiler).
>It seem like trouble with Watchdog or something else.
>With a simple softawre writed in C language who blink PB at high frequency.
>PB blink (24us period) during 9ms and stop during 9ms.
>After 18ms software restart (improper Reset ?).
18msec is about the typical WDT reset. What happens when you simulate
it in MPLAB? If it works there, but not on your chip, suspect the
programmer or programmer software (somehow version "0.13d beta" does
not fill me with confidence). I've heard no end of problems with
cheap/homemade programmers and their software and the config bits
A friend brought over one of the better-known ones because I said
I'd look at it *before* he finished it and not after. '-). Aside
from a bad solder joint and a mistake with a resistor value, he'd
used a 15V regulated SMPS adapter from a laptop for the the supply.
A really nice power source, and exactly what the instructions called
for voltage-wise. He had a tough time understanding that the
programming voltage was significantly out-of-spec because the
programmer needed a couple volts more to regulate, which cheap
wall-warts will usually give you. It also brought a 2N7000 gate
out directly to a connnector, which I'd never do, but..
>I don't understand.
>I have programmed config word with 0x3FB1
>(__CONFIG _BODEN_OFF &
>_CP_OFF & _DATA_CP_OFF & _WDT_OFF & _PWRTE_ON & _INTRC_OSC_CLKOUT)
>Watch dog is off.
How do you know for SURE? Insert a CLRWDT instruction perhaps.
>Power-down fault ?
>Someone has met this problem too?
>What can I controlate ?
"it's the network..." "The Journey is the reward"
firstname.lastname@example.org Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog Info for designers: http://www.speff.com
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup