I tried to program my first PIC last night (yeah!) but am not sure it
was successful. Here's my setup:
JDM programmer adapted for a 40 pin 16F877 found at http://www.ucapps.de/index.html ;
IC-Prog with the NT device driver from the same site;
In the IC-Prog setup, I turned on HS, turned off write protect/code
protect and WDT, and turned on Power On Reset.
Out of curiosity, I did a blank check when I first started and IC-Prog
told me that the chip was not blank - this chip came directly from
Microchip. When I read the chip, it showed 0's in all locations, which
from what I understand, is NOT blank as all fuses should be 1's for a
When I tried to program the chip, it completed with no indication of any
problems but when I tried to verify the chip afterwards, it said that
there was an error and that address 0000h was blank.
Have I missed something in the FAQ or in the instructions for IC-Prog?
I tried several hex files created by MPLAB, created from various "Blink
an LED" sources on the Net. I don't think there is a problem with any of
the hex files but what do I know? :)
The next question someone is going to ask is "Have you tried it in the
circuit you built to test it with," and the answer is No. I wanted to
make sure it programmed properly and that I could read back what I put
in to the chip.
It certainly is a thrill to program your first PIC -- sorry you were not
able to do it right off the bat.
Someone here brought up the possibility that the JDM may not support the
'877A -- I'm not familiar with this device programmer so I'm not sure. Does
the software let you actually select a PIC16F877A or does it just list a
PIC16F877 (without the 'A' suffix).
But, if it turns out the JDM does indeed support the '877A, do you have
access to a digital storage oscilloscope?
One thing you could do if you run out of ideas is to get the latest
PIC16F877A programming specification from Microchip's web site. You could
measure the rise time of the VPP voltage on the MCLR line and compare it
against the programming spec. If you need some extra assistance just chime
back in with another post.
> Hi Rob,
> It certainly is a thrill to program your first PIC -- sorry you were not
> able to do it right off the bat.
> Someone here brought up the possibility that the JDM may not support the
> '877A -- I'm not familiar with this device programmer so I'm not sure.
> the software let you actually select a PIC16F877A or does it just list a
> PIC16F877 (without the 'A' suffix).
Well... I'm using IC-Prog version 1.05C, and it does program 87xA parts. I'm
also using an Olimex PIC-PG2C programmer which is supported under IC-Prog as
a JDM programmer, and I routinely use the combination to program 16F876A and
I'm not sure how much that information helps, but at least you know it's