Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

LPT Programmer, please help ...

Status
Not open for further replies.

X4ce

New Member
Hello,

This is my first programmer, i got this link from that sticky post

**broken link removed**

I soldered this programmer on vero-board.

Im using WinXP, Dell's Latitude C600 laptop & (Winpicprog, Winpic, progpic ...)

I can do Erase, Read (it gives 3FFF at every location) but i cant write my program it gives VERIFY ERROR at location 0000, expecting XXXX

By using that programmer schematic, my 7805 is producing 5.01V and 7812 around 13.5V

Please help this is my first programmer, is this issue related to programmer or WinXP ??

Thanks in Advance ...

X4ce
 
Thanks for reply

Im using PS Adapter ... OUTPUT 3, 4.5, 6, 7.5, 9 & 12V (300mA). On 12V it gives 17.5V on meter (is that PS faulty ?).

im using 16F84A, in WinPIC\Devices i copied pic16f84a.dev from MPLAB, then i had a try again it successfully wrote the program but verification failed. Aftter that i dont know what happened it didnt write the code successfully again & i got the same verification errors on writing.

But even though program writing fails but even then it writes on PIC, i can send erased & programmed memory logs

Please reply soon

Regards
 
That's an unregulated supply, and is most probably the reason it doesn't work, there's too much ripple on the supply. Try feeding your programmer from two 9V batteries in series (18V smooth DC).
 
WinPic programs & verifys successfully but no other software, here's the log

THIS IS THE PROGRAM

000000: 0185 0186 2003 200A 200F 0833 2032 2054
000008: 2054 2804 2029 0008 1586 1186 0008 1186
000010: 01B3 3008 00B2 1A06 1403 1E06 1003 1686
000018: 1286 0DB3 0BB2 2813 0008 30FF 00B4 0834
000020: 2032 2054 0BB4 281F 0008 3046 2032 2058
000028: 0008 1683 3078 0085 3017 0086 1283 1706
000030: 1485 0008 00AE 3008 00B0 1085 2048 0CAE
000038: 1C03 1085 1803 1485 2048 0BB0 2837 1485
000040: 2048 0008 300C 00B1 0000 0BB1 2844 0008
000048: 3018 00B1 0000 0BB1 284A 0008 205D 0008
000050: 2067 0008 2061 0008 205D 205D 205D 0008
000058: 205D 205D 205D 205D 0008 30FF 286A 3064
000060: 286A 3032 286A 3014 286A 300A 286A 3001
000068: 286A 3005 00A7 30C7 00A8 3001 00A9 0BA8
000070: 2872 0BA9 286F 0BA7 286B 3400 3FFF 3FFF

000078: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000080: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000088: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000090: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000098: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0000A0: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0000A8: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0000B0: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0000B8: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0000C0: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0000C8: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0000D0: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0000D8: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0000E0: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0000E8: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0000F0: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0000F8: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000100: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000108: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 0185
000110: 0186 2003 200A 200F 0833 2032 2054 2054
000118: 2804 2029 0008 1586 1186 0008 1186 01B3
000120: 3008 00B2 1A06 1403 1E06 1003 1686 1286
000128: 0DB3 0BB2 2813 0008 30FF 00B4 0834 2032
000130: 2054 0BB4 281F 0008 3046 2032 2058 0008
000138: 1683 3078 0085 3017 0086 1283 1706 1485
000140: 0008 00AE 3008 00B0 1085 2048 0CAE 1C03
000148: 1085 1803 1485 2048 0BB0 2837 1485 2048
000150: 0008 300C 00B1 0000 0BB1 2844 0008 3018
000158: 00B1 0000 0BB1 284A 0008 205D 0008 2067
000160: 0008 2061 0008 205D 205D 205D 0008 205D
000168: 205D 205D 205D 0008 30FF 286A 3064 286A
000170: 3032 286A 3014 286A 300A 286A 3001 286A
000178: 3005 00A7 30C7 00A8 3001 00A9 0BA8 2872
000180: 0BA9 286F 0BA7 286B 3400 3FFF 3FFF 3FFF

000188: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000190: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000198: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0001A0: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0001A8: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF

After successfull writing, it gives on reading

000000: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 0560 3FF1
000008: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000010: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000018: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000020: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000028: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000030: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000038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 3FFF
0000F0: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0000F8: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000100: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000108: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 0185
000110: 0186 2003 200A 200F 0833 2032 2054 2054
000118: 2804 2029 0008 1586 1186 0008 1186 01B3
000120: 3008 00B2 1A06 1403 1E06 1003 1686 1286
000128: 0DB3 0BB2 2813 0008 30FF 00B4 0834 2032
000130: 2054 0BB4 281F 0008 3046 2032 2058 0008
000138: 1683 3078 0085 3017 0086 1283 1706 1485
000140: 0008 00AE 3008 00B0 1085 2048 0CAE 1C03
000148: 1085 1803 1485 2048 0BB0 2837 1485 2048
000150: 0008 300C 00B1 0000 0BB1 2844 0008 3018
000158: 00B1 0000 0BB1 284A 0008 205D 0008 2067
000160: 0008 2061 0008 205D 205D 205D 0008 205D
000168: 205D 205D 205D 0008 30FF 286A 3064 286A
000170: 3032 286A 3014 286A 300A 286A 3001 286A
000178: 3005 00A7 30C7 00A8 3001 00A9 0BA8 2872
000180: 0BA9 286F 0BA7 286B 3400 3FFF 3FFF 3FFF

000188: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000190: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
000198: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0001A0: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF
0001A8: 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF

This is WinPic Messages Log

Programming...
Erasing ("bulk" or "chip") ...
Programming CODE, 0x000000..0x000184
Programming CONFIG, 0x002000..0x002007
Programming finished, no errors.
Reading 0x000000 - 0x0003FF ...
Reading 0x002100 - 0x00213F ...
Reading 0x002000 - 0x002007 ...
Reading PIC ok.
Cannot verify at different voltages with this hardware.
Verifying...
Verifying CODE, 0x000000..0x000384
Verifying 0x000000..0x000384
No DATA MEMORY in buffer to verify.
Verifying CONFIG, 0x002000..0x002007
Verifying 0x002000..0x002007
Verify finished, no errors.

does Above READ code look fine ??

For power supply regulation im using 7805, 7812 besides that PS Adapter, even then i have to use regulated PS?

Regards
 
Last edited:
X4ce said:
does Above READ code look fine ??

How can it?, the first part is completely different!.

For power supply regulation im using 7805, 7812 besides that PS Adapter, even then i have to use regulated PS?

A 7812 requires an input voltage considerably higher than it's output voltage, or it ceases to regulate - your input supply is only rated at 12V, so it's far too low. Off load it may read 17.5V, but under load that will drop, even worse though the ripple will increase, causing the regulator to lose regulation as it does so. You don't have to use a regulated supply, but you need one of sufficient quality, and of high enough voltage - 12V is much too low!.
 
Now i will give it a try by using 2 9V batteries (small ones which we use in FM transmitters or toys).

Thanks
 
X4ce said:
Now i will give it a try by using 2 9V batteries (small ones which we use in FM transmitters or toys).

Make sure they aren't flat! - I've been using two 9V batteries for years, and you get the same errors as they start to go flat and you drop below the 7812 regulation.
 
hi Nigel,

I get the same error when i use brand new 9V batteries, even i checked with my Laptop's 20V battery i get the same error.

What would be the main cause ?

You can check circuit diagram here
**broken link removed**

Please help

Thanks
 
I would like to thank Nigel for his excelent website........... Very usefull to us newbes
 
oooh guys it's not working even on increasing programming delay :(

I've 84A pin 10 grounded ?

I think my PIC is malfunctioning, bcz i cant program 000000 & 000008 but all other locations get programmed
 
The software you are using (Winpic set to Tait 7407 PNP I assume) says that it has programmed it OK. This suggests that it is working. Have you tried running the code? It could be that when you read back the chip it is not working correctly.

Have you had a good read of the Winpic help file.

Mike.
 
I found this

Q:
I get verify errors at location 000.

A:
You probably have the software initialized for the wrong polarity. I suggested a 7407 chip, it’s non-inverting, but a 7406 chip could also be used, and the software may think that’s what you used and set itself to that type of inverting buffer.

in the FAQ part of that web site. Is your problem maybe a polarity thing??
 
hi,

i had that same problem before, with so many errors, try to test your 7407 buffer, if it is good, check the IC socket maybe it's not fit well on your 7407

have a nice day!
 
In winpicprog & winpic programmer configurations are given wid 7407 & PNP, and i have checked that manually as well but it fails ...

Im thinking thinking to replace my 7407, anybody knows what voltages should i get on standby (i mean supply applied but no writing/reading)
 
X4ce said:
In winpicprog & winpic programmer configurations are given wid 7407 & PNP, and i have checked that manually as well but it fails ...

Im thinking thinking to replace my 7407, anybody knows what voltages should i get on standby (i mean supply applied but no writing/reading)

WinPicProg provides manual toggle buttons, so you can manually switch the output lines high and low, you can then simply measure voltages on the actual PIC pins. Essentially it's just TTL/CMOS levels, roughly 0V for low and 5V for high. Vdd should be 5V and Vpp about 13V.
 
WoW! At last i got it working, i replaced the 7407 n there was a short circuit on vero-board (due to careless soldering).

Now WinPicProg, IC-Prog & ProgPic can program & verify. I got it confirmed by programming in WinPicProg & then verifying it by IC-Prog.

But WinPic is giving verify error while programming, i think it's due to some interface problem.

By the way i got it working thanks 2 all of you, specially Nigel Goodwin.

I will certainly be using WinPicProg its gr8, thanks to Nigel

Regards
 
X4ce said:
WoW! At last i got it working, i replaced the 7407 n there was a short circuit on vero-board (due to careless soldering).

Now WinPicProg, IC-Prog & ProgPic can program & verify. I got it confirmed by programming in WinPicProg & then verifying it by IC-Prog.

But WinPic is giving verify error while programming, i think it's due to some interface problem.

By the way i got it working thanks 2 all of you, specially Nigel Goodwin.

I will certainly be using WinPicProg its gr8, thanks to Nigel

Thank you, I'm pleased you find it useful :rolleyes:
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top