PDA

View Full Version : EPIC programmer: can program 16f877, but NOT 16f84....who has the solution?



Lucidan
- 6th February 2008, 19:22
Hi everyone,

I've been using my EPIC programmer (along with LAB-X1) for a while now.
Programming 40-pin PICs has never been a problem.

However, it cannot program 18 pin devices, such as the 16F84 and 16F628.
I get the following error:

"target device does not match selected device"

Can somebody please help me with this? I'm seriously puzzled on this one.

skimask
- 6th February 2008, 19:29
Hi everyone,
I've been using my EPIC programmer (along with LAB-X1) for a while now.
Programming 40-pin PICs has never been a problem.
However, it cannot program 18 pin devices, such as the 16F84 and 16F628.
I get the following error:
"target device does not match selected device"
Can somebody please help me with this? I'm seriously puzzled on this one.

16F84 vs. 16F84A ???

16F628 vs. 16F628A ???

PIC plugged in backwards ???

Pic_User
- 6th February 2008, 19:48
16F84 vs. 16F84A ???

16F628 vs. 16F628A ???

PIC plugged in backwards ???
or not using 18 pin socket on the board?

Darrel Taylor
- 6th February 2008, 21:21
The 16F84 is a very old chip and does not have a Device ID like the newer chips.

Turn of the "Verify Target Device ID" option in meProg, and it should program like normal.

hth,

Lucidan
- 6th February 2008, 21:40
16F84 vs. 16F84A ???

16F628 vs. 16F628A ???

PIC plugged in backwards ???

The PIC's are in the list (including the 16FxxA versions), and the notch in the PIC is at the lever end of the 40-pin ZIF socket. So that's not the problem...



or not using 18 pin socket on the board?

I'm using the 40-pin socket from my LAB-X1 (Epic is connected to it). Or are you talking about some extra hardware?



The 16F84 is a very old chip and does not have a Device ID like the newer chips.

Turn of the "Verify Target Device ID" option in meProg, and it should program like normal.

hth,

Hmmm....Now i can erase the 16F84 (I couldn't before). However, when I try to program it meProg says: "Code programming error at 0000".

Darrel Taylor
- 6th February 2008, 21:50
16F84 on a LAB-X1. (missed that the first time) :o

It can be done, but it takes some modifications.
Pretty much ruins the LAB-X1 too. :eek:



It is highly recommended that a PICmicro MCU with 40 pins, such as the
PIC16F877, be used with the LAB-X1. ... snip ...

However, it is possible to install a PICmicro MCU device with fewer pins and
then use jumpers to connect power, ground, oscillator inputs and I/O to the
proper pins for that device.

For example, to use the 18-pin PIC16F84 on the LAB-X1, first cut the traces
between the first 9 pads on headers P1 and P4 on the solder side of the
board. This will isolate the inner pads to the 40-pin ZIF socket from the
outer pads to the peripherals.

Next, solder in headers for P1 - P4. Jumper the outer Vdd, Vss, O1 and MCLR
posts to the proper inner posts to connect power, ground, the oscillator and
master clear to the PIC16F84. Refer to the PIC16F84 data sheet to determine
the correct PICmicro MCU pins.

Finally, jumper the desired peripherals to the PIC16F84 I/O pins. For
in-circuit programming through J3 to work properly, RB6 and RB7 on the
PIC16F84 must be connected to B6 and B7 on header P4.

Ugg!

Archangel
- 7th February 2008, 02:17
Hi Lucidan,
I use a JDM Clone, not an epic, BUT on my programmer, the 40 pin devices use all the places on the socket, for 18 pin devices you have to orient the chip 1 set of pins below the top of the socket and other devices similarly must be oriented differently, from the 18 pin devices, maybe your programmer is set up in a similar fashion.
JS

Lucidan
- 7th February 2008, 09:46
Thanks Darrel: "Pretty much ruins the LAB-X1 too." You're right:

"For example, to use the 18-pin PIC16F84 on the LAB-X1, first cut the traces
between the first 9 pads on headers.... "

They have got to be kidding...this is unbelievable. I'll just use Atmel devices for smaller applications. You can practically program those just by looking at them.