DIYbanter

DIYbanter (https://www.diybanter.com/)
-   Electronics (https://www.diybanter.com/electronics/)
-   -   Error programming 16F628 (https://www.diybanter.com/electronics/117610-error-programming-16f628.html)

[email protected] August 19th 05 10:14 PM

Error programming 16F628
 
I have just build the P16PRO40 and am using WinICProg to program my
PIC.

I tried posting this message on the winicprog site but there seems to
be a problem with the registration process.

I have tried toggling the button in the hardware setting and I get the
following:

vpp on: MCLR = 12.85V
clock high: PGC = 4.9V
output high: PGD = 4.5V

I'm using the circuit from www.olimex.com/dev/pdf/pic-pg3b.pdf

When I program the chip it fails on a verify. It does seem to program
something as the first few bytes are written although incorrect values.
I can then erase the device and reprogram it, and different bytes get
written to the start.

any idea where I can start looking? I've checked the supply voltage
with a scope and its stable.


Alexander August 19th 05 10:32 PM


schreef in bericht
oups.com...
I have just build the P16PRO40 and am using WinICProg to program my
PIC.

I tried posting this message on the winicprog site but there seems to
be a problem with the registration process.

I have tried toggling the button in the hardware setting and I get the
following:

vpp on: MCLR = 12.85V
clock high: PGC = 4.9V
output high: PGD = 4.5V

I'm using the circuit from www.olimex.com/dev/pdf/pic-pg3b.pdf

When I program the chip it fails on a verify. It does seem to program
something as the first few bytes are written although incorrect values.
I can then erase the device and reprogram it, and different bytes get
written to the start.

any idea where I can start looking? I've checked the supply voltage
with a scope and its stable.

Perhaps a stupid question, but did you enable the cp (code protect) bit if
so there is no verify possible.



[email protected] August 20th 05 06:36 AM

nope - just checked. the CP is disabled.



All times are GMT +1. The time now is 09:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2014 DIYbanter