pgd is data and pgc is clock.
pins are wrong. pgd is data and pgc is clock. so is like this: 3-4.7k-4, 5--5, 4-4.7k-13, 8---13, 7-4.7k-12. sorry for formatting, am on my phone. also, if code protect is on, it will fail verify as it will not be able to read the code back from the pic (protected).
Stolz LVP cable didn't work for me, but this one did!
Like Ramonetnet, I tried to use the Stolz LVP cable design with no success, and then I rooted around the Internet to find a way to get a PIC programmed quick and easy. Luckily, I found this thread. I am going to construct the Stolz ICD2 clone, and I didn't have any type of programmer before I found this thread and without a programmed PIC16F876A I wouldn't be able to construct the ICD2 clone (obviously ;) ). I read through this thread about five times to make sure that I did not confuse any information, and then I breadboarded this simple programmer (using the setup below, exactly how Squibcakes illustrated in the first post) and everything works great!
I made sure to test the levels on my serial port to make sure that they were within the range that seemed to be working for everyone (~11.25V), and they checked out fine. I am using Win98 as the OS because I have an old (but still good) Packard Bell 880, and I am very pleased to say that IC-Prog seems to program much faster under Win98 than under XP. For some reason, I was getting an error from WinPic800 (similar to the one that charudatt was getting from IC-Prog), but I switched to IC-Prog and used the recommended settings and it worked great. Hmm, don't really know what is going on with that but IC-Prog works for me so I will worry about it at a latter date (i.e. I will never think about it again after tonight :D ).
I was able to program the PIC16F876A, verify the programming, and then just to be thorough I closed down IC-Prog and restarted it and read the data back and it all worked flawlessly. Thanks Squibcakes!
TXD (3) ------[4.7k]-------VPP (PIN 1)
GND (5) --------------------VSS (PIN 8 or 19)
DTR (4) -------[4.7k]------DATA (PIN 28)
CTS (8) ------------------DATA (PIN 28)
RTS (7) -------[4.7k]------CLK (PIN 27)
+ (5V power supply) -------VDD (PIN 20)
- (5V power supply) -------VSS (PIN 8 or 19)
P.S. sandeep, when I programmed this PIC16F876A I left PGM unconnected (floating), and I had no problems at all programming, verifying, and reading back the programming inside the PIC. Others could probably help more on the PGM pin than I could (I am still a newbie at this). Hope this helps someone. :D
Need help for schematic diagram for this one for 16f877a
Guyz I need help for the schematic diagram of this simple ICSP does it really work for 16f877a can you post the schematic diagram for this one.
Im a newbie in PIC and I'm using microcode studio but there are many problems like I build the required circuit but the software says reset the target microcontroller .. and some part of the threads here that I need a bootloader like tinybootloader
http://www.etc.ugal.ro/cchiculita/so...bootloader.htm
but what is the circuit requirements for this one in order to program a 16f877a
Pls reply guyz ASAP
Thanks alot
hi boss help me can i use ur circuit (3 resistor ckt) for 16f877a and wats it pin num
Quote:
Originally Posted by
Squibcakes
Hi guys,
I have been using this simple programmer.. why pay big bucks for a PIC programmer when this one costs just cents! In fact I have stopped using my 'other programmer' all together now.
All you need is:
three 4.7k Resistors,
a few wires (1m)
9 pin d-connector (female),
and a 5 volt dc supply.
I have used it on 16F84, 16F62X, 16F87X chips without problems.
To make it:
TXD (3) ------[4.7k]-------VPP
GND (5) --------------------VSS
DTR (4) -------[4.7k]------DATA
CTS (8) ------------------DATA
RTS (7) -------[4.7k]------CLK
Numbers in Bracket are the connections on the 9-Pin D-Connector.
I have made up a small PCB to mount the resistors on but... you could just solder them in line to go cheap.. Just be carefull they dont short out. If anyone wants the PCB footprint I can post it.
Then just put your PIC into a breadboard, connect your 5 volt supply to VDD/VSS, and away you go.
then other prob is i how to modify this circuit for LVP ratings coz i'm much fear abt using 13v directly coz uC i hear tat works ly on 5v also flash is not sutable for 13v
hey also tell me that resistor for just droping tat 13v to 5v if so can i use a
MAX 232 for tat coz i'm much fear on ic damages...
Re: Very Simple ICSP Programmer
Hi jow17301. I am new here. I want to use that very simple cheap (3 register) programmer. With this I want program 18f2550. Do I need to supply +5v?
Re: Very Simple ICSP Programmer
Yes indeed! This programmer may works well on Win98 or some XP installation, but I doubt it will ever work on Vista or Win7.
If you're using a USb to Serial adapter, then high likely you'll be out of luck even with XP.
Good luck tough...