DIY编程器网

标题: NOPPP, the "No-Parts" PIC Programmer [打印本页]

作者: liyf    时间: 2011-11-1 21:15
标题: NOPPP, the "No-Parts" PIC Programmer

NOPPP is a simple programmer for PIC16C84, PIC16F83, and PIC16F84(A) microcontrollers. It attaches to the parallel port of a PC. Plans were published in Electronics Now Magazine, September, 1998, and are included in shorter form in the downloadable ZIP file. An article about this programmer also appeared in Silicon Chip (Australia), March, 1999. Download NOPPP.ZIP now
YES! NOPPP programs the PIC 16F84A, which is 100% compatible with the 16F84. But you must use .HEX files that were assembled for the right one (16F84 or 16F84A); the files are not identical.
NOPPP en español
Kits available!
Updated software!
Updated circuit!

Want to program a chip other than PIC16C84, 'F83, 'F84, or 'F84A? Don't look here. Instead, look at the low-cost programmers and kits from Dontronics. Larry Fischer reports that he has programmed a PC16F628A with an unmodified NOPPP. He didn't say what software he used.

NOPPP news - October 2004 I'm glad NOPPP remains so popular, but please remember that it's a finished project - I am no longer adding to it in any way. However, other people are still writing software that works with NOPPP: Since these are not my products, I can't help you with them. But I'm happy to refer you to them. Thanks for your interest,
Michael Covington


No e-mail please... Thank you for your interest in NOPPP. After corresponding with over 500 people who have built NOPPP, I'm confident that it works reliably. I do not get any continuing income from the NOPPP project, so as far as I'm concerned, it's a finished project and I can't devote time to unpaid user support. Please get help locally if you can't get your NOPPP to work, since almost all inoperative NOPPPs are due to wiring errors. (Mixing up the leads of Q1 is the most common error; cheap assorted transistors often do not have the pins in the arrangement described on the box!) If you are having problems with the Ramsey or Oatley kit, you should contact the kit manufacturer for help, and have them contact me if there is a problem they cannot resolve. I regret that I cannot design circuits free of charge, nor can I give free programming assistance to anyone other than my own students at the University of Georgia. If needed, I can do custom design work for US $100 to $250 per hour. Thanks again for your interest! Overwhelmedly yours,
Michael Covington


Having problems learning to use MPLAB? See these brief notes (or these older ones) For further assistance contact Microchip; MPLAB is their product, not mine.
Other bits of news... (from 2000)
Although not precisely "no parts," NOPPP is unusually simple and uses no hard-to-find parts. You can probably build it using parts you already have on hand. Here's the circuit (revised somewhat from the original design, for greater reliability):
Pin numbers are those of the 25-pin connector on the PC. Capacitors are in microfarads. Circuit description: On the PIC, pin MCLR is +5V for normal operation (not used here), +12V for writing, and 0V for resetting. Crucially, the +12V supply does not actually "burn an EPROM" -- the higher voltage is merely a signal to activate the internal flash memory programming circuit. It must be greater than 12.0 volts. The D0 output of from the PC controls this signal. No harm results from applying it at inopportune times. The PIC communicates by means of a two-wire (plus ground) synchronous serial protocol. Pin B6 is the strobe signal; pulses on it tell the PIC when to accept or transmit each next bit of data. Pin B7 is both an input and an output. When the PIC is receiving from the PC, SLCTIN is held low and D2 does not conduct; D1 and R1 are effectively out of the circuit, and the PIC receives data from AUTOFD. When the PIC is sending, SLCTIN and AUTOFD are high, D1 does not conduct, and D2 and R1 provide pull-up. Some additional pull-up is provided by R2 plus the pull-up resistor on AUTOFD inside the PC's parallel port (nominally 4.7k, sometimes much lower in newer CMOS parallel ports). The PC reads the data on the BUSY pin, which is 0.6 volt higher than the output of the PIC because of D2. The PC parallel port has (or should have) CMOS or Schmitt inputs and should not require true TTL logic levels. R2 and R3 help to reduce cable crosstalk by isolating the input capacitance of the PIC so that less current flows during sudden transitions. The PIC has Schmitt inputs and does not object to the resulting reduction in rise time. R4 protects the base of Q1. Revised circuit: The circuit originally published in Electronics Now and software are quite reliable. However, for greater compatibility with a few PC parallel ports that had trouble with the original, I made some slight changes and additions: If you have the original circuit working, there is no need to make these changes. However, a very few PCs with nonstandard parallel ports or poor-quality cables benefit from them. Parts Substitutions1N914 = 1N4148
1N34 = OA76
2N2222 = MPS2222 = 2N3904 = MPS3904
Frequently asked questions about NOPPP
Alternative NOPPP circuitFor those of you who are uneasy with the use of diodes in NOPPP, here's an alternative NOPPP circuit that uses logic gates. The inputs and outputs are modeled on those of the original IBM PC printer port; the capacitors reduce cable reflections. This NOPPP may give superior performance with long cables and with finicky parallel ports. I thank Glenn Hudson of SUNY, Stony Brook, for suggesting replacing the diodes with gates. Note that this is an experimental circuit and may or may not work with your PC. Most people have found it less reliable than the circuit with the 1N34 diodes shown above. However, Yves Oesch has written to tell me that it works just fine after adding an 0.1-microfarad capacitor across the +5V and ground pins of each IC. He also suggests that instead of tying together the two inputs of the AND gates, we should use one input and tie the other one to V+. That way there is less of a capacitive load on the incoming signal. Please note that the voltage checks in the NOPPP software do not apply to this circuit. I do not support this circuit; if you need troubleshooting assistance, please build the circuit that I support, the one with the 1N34's.

作者: hdzl    时间: 2011-11-2 08:20
怎么全都是外文的,难道老外很厉害,咱国人就弄不出来?
作者: liyf    时间: 2011-11-2 08:50
呵呵,国人也有能人,只是没人家开源精神




欢迎光临 DIY编程器网 (http://diybcq.com/) Powered by Discuz! X3.2