background image

Vpp-before-Vdd sequence. Wisp648 can do this by generating the Vpp and then (very briefly) 
shorting the 5V supply. This is done by the big transistor (TIP122) on the Wisp648 board. Some 
target chips can not be programmed when this feature is active, and power supplies do not take this 
abuse well, so this feature can be disabled. To disable it you must remove the jumper on the pins 
J1. I suggest that you leave that jumper out by default, unless you are sure that all your power 
supply(s) can handle this. Your power supply must also limit the short-circuit current to a 
reasonable value. A few Ampere or less will be OK. All supplies based on 7805, 78L05 and similar 
chips have no problem with this. The Wisp648 has an on-board 7805-based power supply which 
can handle this shorting. 

Power 

The Wisp648 is designed for programming a target PIC which uses 5V power. The Wisp648 needs 
this 5V too. There are two possibilities for powering the Wisp648 and the target circuit: 

 

The target circuit has its own 5V supply. Do not connect a wall-wart to the Wisp648; the 
programmer will take its power from the target circuit. 

 

The target circuit does not (yet?) have its own 5V. Connect a wall-wart to the Wisp648; the 
programmer will supply 5V to the target circuit. 

 
Do not mix the two situations, when both the target circuit and the Wisp648 supply 5V a small 
difference in the two voltages might damage one or both power supplies. 
 
The Wisp648 has an on-board 7805-based power supply. To use this supply you must connect an 
external wall-wart that supplies 9 .. 18V DC. An AC wall-wart might work, but only for a target 
circuit that uses very little current (< 100 mA). The wall-wart connector on the Wisp648 is a 
2.5mm centre-pin connector, which is commonly used for wall-warts. The centre pin is positive, 
which seems to be the most common polarity. Unfortunately, about 10 other connectors (and 1 
other polarity) are also commonly used for wall-warts. If you prefer a more permanent and stable 
connection (those centre-pin connectors disconnect very easily) you can use the PCB screw 
connector block. The + mark on the PCB indicates where you must connect the positive wire. 
 
The 7805 is a linear regulator, so the voltage difference between the input (from the wall-wart) and 
the output (5V under normal circumstances, but could be 0V when you accidentally short-circuit 
the power) will be dissipated as heat. The 7805 is short-circuit and thermally protected, so it should 
withstand all normal use. But it might get (very) hot when you use it to supply a large current, 
especially when combined with a high wall-wart voltage. The temperature rise can be calculated as  
 

Λ

t

 = ( V

in

 – 5.0V ) * I * R

th

 

 

Λ

t

  

= temperature rise in degrees Kelvin 

V

in

  

= Wall-Wart voltage 

R

th

  

= thermal resistance, for a bare 7805: 60 

o

K / W 

I  

= total current in A 

 
With a common 12V DC wall-wart and 100mA ( = 0.1 A) total current the temperature rise will be 
42 

o

K, which is reasonably safe. For a higher current and/or a higher input voltage you might want 

to attach a heatsink. A small heatsink might have an R

th 

of 20 

o

K / W, which rises the safe current 

by a factor of 3. For a heatsink with a still lower thermal resistance the internal thermal resistance 
of the 7805 must be taken into account (check the datasheet).  
 
The Wisp648 contains a diode (D4, 1N5819) that will short the +5V power when it is supplied by 
the target circuit but accidentally connected in reverse. This diode can handle 1A, probably more 
for a short time. You of course will never apply power in reverse (I do), but just in case, it might be 
a good idea to use a power supply that is current-limited to 1A or less. In fact 100 mA will be 

Summary of Contents for Wisp648

Page 1: ...ts target circuit There is no need to extract the chip from its circuit put it in a programmer and put it back in the circuit after programming Instead you make a connection a few wires between the pr...

Page 2: ...PIC pin functions not the pin numbers because the numbers of the pins used vary from chip to chip The table below works for most DIL chips but the chip s datasheet is the final authority Especially th...

Page 3: ...d PGD pins and the rest of the target circuit is connected via a two resistors of 1k or higher The programming mode used by Wisp648 is called HVP for High Voltage Programming because a high voltage on...

Page 4: ...onnector which is commonly used for wall warts The centre pin is positive which seems to be the most common polarity Unfortunately about 10 other connectors and 1 other polarity are also commonly used...

Page 5: ...uivalent chip is the standard way to interface between the TTL signals and the RS232 signals But some dirt cheap PIC circuits interface the PIC pins directly to the RS232 signals This violates all des...

Page 6: ...6F648A chip Remove the 16F648A chip from the Wisp648 Use that second programmer to program the new firmware into the chip Put the 16F648A chip back into the Wisp648 If you don t have a second programm...

Page 7: ...t is open drain only it can not pull itself high only low The LED can be activated permanently by closing solder jumper J2 This could be done when the PCB is mis used as 7805 power supply only The 16F...

Page 8: ...6 provide a minimal level of protection against misuse by limiting the current that could result They also damp ringing effects that could be caused by long wires Three connectors and a row of PCB pad...

Page 9: ...nse to have them all point in the same direction Trim the wires Place and solder the four 1N5819 diodes The white band on the diodes must be at the side of the white band in the PCB silkscreen white p...

Page 10: ...ader The latest version of the PCB uses a three pin header Place and solder the screw connector Place and solder the centre pin power connector I find it convenient to bend two of the pins before sold...

Page 11: ...nserted in the hole with the square copper pad and marked with a Or all electrolytic capacitors must have their white bands towards the DB15 connector The capacitor nearest to the four diodes has a ve...

Page 12: ...over the wires and the solder cups The picture shows white tubes but the color can vary Apply heat to shrink the heat shrink The fumes from the heat shrink are not healthy so do this in the open air A...

Page 13: ...ake sure that it is really 5 0 V certainly not 4 5Vor 5 5V In either case you must put a 100nF capacitor over the power pins of the target PIC A larger capacitor 22 uF or more electrolytic is OK must...

Page 14: ...in connector and screw connector wall wart The Wisp648 has two power connectors you can use the one you prefer The black 2 5 mm centre pin connector is convenient and matches the connector often found...

Page 15: ...ound 4 PGD 5 PGC 6 Not connected The Wisp648 has a PICkit2 compatible pin header connector You can use this connector connect to a target board that has a PICkit2 compatible pin header connector The t...

Page 16: ...3 26 PGM 4 25 5 24 PGM 6 23 7 22 GND 8 21 9 20 VCC 10 19 GND 11 18 12 17 13 16 14 15 28 pin skinny DIP 1 18 2 17 3 16 MCLR 4 15 GND 5 14 VCC 6 13 PGD 7 12 PGC 8 11 PGM 9 10 PGM 18 pin DIP The picture...

Page 17: ...No build in 7805 power supply No build in TIP122 circuit could be added externally as dongle No LED No ICD2 and PICkit2 compatible connectors MCLR Vpp was forced to 5V via diodes and 1k resistor The W...

Page 18: ...protection is a feature that the author of a program can enable if he chooses to do so If he did you are out of luck and you probably have no business copying that chip There are companies that will r...

Page 19: ...ftware is modified to accept the identification Wisp648 Programming 18F fuses does not work Some PIC fuses settings in particular the enabling of the PLL in 18F chips require a power up to take effect...

Page 20: ...it replaced by a corrected version 4 You could repair the PCB This requires cutting two traces and soldering one wire The pictures below show the steps This is probably best done after the board is a...

Page 21: ...cant current MCLR Master CLear and Reset The reset pin available on most PIC chips This pin also serves to enable the PIC programming mode when the pin is quickly raised from 0V to the Vpp level On mo...

Page 22: ...hip Vss Name for the negative or ground 0V power supply connection of an IC The dd part might in analogy with Vcc be derived from common source WISP Wouter s In System PIC Programmer My first PIC prog...

Page 23: ...tight fit Aat Koch 2007 12 15 FAQ added Wisp648 identifies itself as Wisp628 Fris Kieftenbelt DB15 connector on the PCB must be male Rikard Bosnjakovic 18F PLL fuse FAQ added some textual refinements...

Reviews: