Universal ICSPProgrammingAdapter for all PIC s in DILHousings Author: sprut Date: 08.0.2
Table of Contents TERMS OF USE:...3 2 Introduction...3 3 WireConnections...4 3. PICMicrocontroller...4 3.. PICFx in 8pinDILhousing...4 3..2 PIC2Fxxx/PIC6Fxxx in 8/4/pinDIL housing... 3..3 PIC6Fxxx in 8pinDIL housing...6 3..4 PIC6Fxxx/PIC8Fxxx in 28pinDIL housing (except PIC8F2x3) 7 3.. PIC8F2x3 in 28pinDIL housing...8 3..6 PIC6Fxxx PIC8Fxxx in pindil housing...9 3.2 dspicsignalcontroller... 3.2. dspicfxxx in 8pinDIL housing... 3.2.2 dspicfxxx in 28pinDIL housing... 3.2.3 dspicfxxx General Purpose and Sensor Family in pindilhousing 2 3.2.4 dspicfxxx Motor Control Family in pindil housing...3 4 Description of the hardware...4 4. General...4 4.2 Schematic... 4.3 Parts diagram...6 4.4 Layout (0mm x 80mm)...7 Document history...8 2
TERMS OF USE: THIS PUBLICATION CAN BE USED WITHOUT PAYING ANY LICENCE FEE FOR PRIVATE AND COMMERCIAL USE. THIS INFORMATION IS PROVIDED IN AN AS IS CONDITION. NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE AUTHOR SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. 2 Introduction This universal adapter can be used to connect any PICmicrocontroller/signalcontroller in DILhousing to a programmer. The programmer has to have an ICSP or ICDconnector. Typical programmers that can be used together with this adapter are: Brenner8 Brenner ICD2 To program a PIC inside the adapter, first...7 wireconnections have to be plugged in. This has to be done very carefully. A wire, that is plugged into a wrong terminal, can damage the target PIC. The following pages show the correct wireconnections for the PICs listed below: PICFx in 8pinDILhousing PIC2Fxxx / PIC6Fxxx in 8/4/pinDIL housing PIC6Fxxx in 8pinDIL housing PIC6Fxxx / PIC8Fxxx in 28pinDIL housing PIC8F2x3 in 28pinDIL housing PIC6Fxxx / PIC8Fxxx in pindil housing dspicfxxx in 8pinDIL housing dspicfxxx in 28pinDIL housing dspicfxxx General Purpose and Sensor Family in pindil housing dspicfxxx Motor Control Family in pindil housing All black connections are required. The gray connections are often not necessary, but suggested by microchip. The German labels in the figures can be ignored. 3
3 WireConnections 3. PICMicrocontroller 3.. PICFx in 8pinDILhousing (Example: PICF0/2/4/6) 2 PICFx im 8PinDILGehäuse 4
3..2 PIC2Fxxx/PIC6Fxxx in 8/4/pinDIL housing (Example 8Pin: PIC2F629 / PIC2F67) (Example 4Pin: PIC6F636/684/688) (Example Pin: PIC6F63/677/68/687/689/690) 2 PIC2Fxxx/PIC6Fxxx im 8/4/PinDILGehäuse
3..3 PIC6Fxxx in 8pinDIL housing (Example: PIC6F84, PIC6F628A) 2 PIC6Fxxx PIC8Fxxx im 8PinDILGehäuse 6
3..4 PIC6Fxxx/PIC8Fxxx in 28pinDIL housing (except PIC8F2x3) (Example: PIC6F876, PIC8F) 2 PIC6Fxxx PIC8Fxxx im 28PinDILGehäuse (außer PIC8F2x3) 7
3.. PIC8F2x3 in 28pinDIL housing (Example: PIC8F233/243) 2 PIC8F2x3 im 28PinDILGehäuse 8
3..6 PIC6Fxxx PIC8Fxxx in pindil housing (Example: PIC6F87, PIC6F874(A), PIC6F877(A), PIC6F74, PIC6F77) 2 PIC6Fxxx PIC8Fxxx im PinDILGehäuse 9
3.2 dspicsignalcontroller 3.2. dspicfxxx in 8pinDIL housing (Example: dspicf/2) 2 dspicfxxx im 8PinDILGehäuse
3.2.2 dspicfxxx in 28pinDIL housing (Example:dsPICF3) 2 dspicfxxx im 28PinDILGehäuse
3.2.3 dspicfxxx General Purpose and Sensor Family in pindilhousing (Example: dspicf4, dspicf3) 2 dspicfxxx General Purpose and Sensor Family im PinDILGehäuse 2
3.2.4 dspicfxxx Motor Control Family in pindil housing (Example: dspicf, dspicf) 2 dspicfxxx Motor Control Familyim PinDILGehäuse 3
4 Description of the hardware 4. General The adapter is used to make the correct connections between the programmer and the target PIC. The schematic (next page) shows the design of the adapter. IC is a pin ZIFsocked for integrated circuits for 0mil (7.mm) AND 600mil (mm) PCBrow spacing.. (e.g. Conrad 89324xx) J is a 6pin Westernjack. It can be used as interface to a microchip programmer (e.g. ICD2) SV3 is the ICSPconnector (pin 6 is not used). A wireicspcable can be soldered in directly, or a plug can be used. SV, SV2, SV4 und SV are female connectors (e.g. 3 x Conrad 734993xx) Some wires have to be used to connect some pins from SV, SV2 with pins from SV, SV4. Wire with 0. mm diameter can be used. I used a simple copperstripe universal PCB to build the prototype in less then minutes. Of course a real printed board can be made instead. My layout is 80mm x 0mm. A normal 7mm x 0mm board can be used, if the ICSPside of the layout is shortened by mm. 4
4.2 Schematic
4.3 Parts diagram 6
4.4 Layout (0mm x 80mm) 7
Document history 09..06 st version of the document 04.2.06 Change of dspicfxxx in 8pinDILhousing.0.07 English version 08.0.2 Change of dspicfxxx in 28 and 44pinDILhousing 8