Electronics (alt.electronics)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
 
Posts: n/a
Default 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.

  #2   Report Post  
Alexander
 
Posts: n/a
Default


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.


  #3   Report Post  
 
Posts: n/a
Default

nope - just checked. the CP is disabled.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
16F628 in circuit programmer [email protected] Electronics 5 December 16th 05 11:57 PM


All times are GMT +1. The time now is 02:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 DIYbanter.
The comments are property of their posters.
 

About Us

"It's about DIY & home improvement"