Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 11th May 2007, 08:23 PM   #1
Default PIC ICSP Programming Board

I recently picked up the PicKit 2 programmer and I want to make a programming board that will program DIP, SOIC, and SSOP chips of various sizes. For the DIP I will use a ZIF and for the SOIC/SSOP I will just have the outlines on a PCB and put the chip in the right spot and program.

Any tips for the design of this board? Has someone designed a board like this already?

Thanks
Fred.Amoson is offline  
Old 11th May 2007, 09:19 PM   #2
Default

yeah, skip straight to ICSP. I almost never bother with sockets. Consider what you will do, especially with SM packages, if you have to reprogram when the chip is mounted on the target board.
philba is offline  
Old 12th May 2007, 04:24 AM   #3
Default

Whenever I deal with SM, the boards are never large enough to add ICSP, and I usually have the code finalized before I actually solder the chip down. The one time I needed to make a change, I soldered 5 wires to the SM and programmed it via ICSP.
Fred.Amoson is offline  
Old 12th May 2007, 04:38 PM   #4
Default

Fred,

here is a pic of a ZIF board I made for my PicKit2...
I've made a couple of different versions, to cater for different VDD / VSS locations on the various PIC chips I use.
Currently working on making a 40pin universal (jumpered) version..
Attached Thumbnails
PIC ICSP Programming Board-pickit2-zif.jpg  
__________________
====
Shax.
====


A bus station is where a bus stops...
A train station is where a train stops...
On my desk I have a work station...
Nuff Sed!!!
Shax is offline  
Old 12th May 2007, 04:59 PM   #5
Default

You might try checking the P16PRO40 documentation?, which programs all sizes of PIC's in a single 40 pin ZIF - but uses two seperate Vpp lines switched in the software, you could do the same, but use an SPDT switch to select between them.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 12th May 2007, 05:31 PM   #6
Default

Look at Ebay item # 180112132626 , the sockets will cost you more than that!
1Steveo is offline  
Old 12th May 2007, 07:22 PM   #7
Default

When you deal with SMD and If you can't fit a ICSP socket, you may want to use a IC-CLIP like the following
http://www.picbasic.co.uk/forum/atta...1&d=1135995023

and build an adapter.

have a look at the following link.
http://www.picbasic.co.uk/forum/show...highlight=clip

HTH
__________________
Steve

Last edited by mister_e; 12th May 2007 at 07:24 PM.
mister_e is offline  
Old 12th May 2007, 11:35 PM   #8
Default

Quote:
Originally Posted by Nigel Goodwin
You might try checking the P16PRO40 documentation?, which programs all sizes of PIC's in a single 40 pin ZIF - but uses two seperate Vpp lines switched in the software, you could do the same, but use an SPDT switch to select between them.
The problem with the aging P16PRO40 (I have one) is that it's not pinned out for the 14-pin and 20-pin devices.

If it'll help, here's a layout I've used for "programming adapters" (below). You can install a ZIF socket on the 28-40 layout or use 3 inexpensive single-in-line machined pin sockets instead. The little 20 pin layout supports the 8-pin, 14-pin, 18-pin, and 20-pin devices. I have a different layout for 28-40 pin dsPIC devices.
Attached Thumbnails
PIC ICSP Programming Board-pic-programming-sockets.jpg  
Mike, K8LH is offline  
Old 12th May 2007, 11:56 PM   #9
Default

Quote:
Originally Posted by mister_e
When you deal with SMD and If you can't fit a ICSP socket, you may want to use a IC-CLIP like the following
http://www.picbasic.co.uk/forum/atta...1&d=1135995023

and build an adapter.

have a look at the following link.
http://www.picbasic.co.uk/forum/show...highlight=clip

HTH
I never put an ICSP header for soics - I use a similar clip from pomona. There really is no reason to waste the space for a header.
philba is offline  
Old 13th May 2007, 12:02 AM   #10
Default

Headers are useful if you want to be able to re-program the chip without opening up the device, perhaps via a 6 pin header in a battery compartment.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Old 13th May 2007, 09:17 PM   #11
Default

Quote:
Originally Posted by Mike, K8LH
The problem with the aging P16PRO40 (I have one) is that it's not pinned out for the 14-pin and 20-pin devices.

If it'll help, here's a layout I've used for "programming adapters" (below). You can install a ZIF socket on the 28-40 layout or use 3 inexpensive single-in-line machined pin sockets instead. The little 20 pin layout supports the 8-pin, 14-pin, 18-pin, and 20-pin devices. I have a different layout for 28-40 pin dsPIC devices.

Cheers for the layout Mike..
I know what I'll be doing this week.. laying out a PCB to hold the 2 ZIF sockets!
__________________
====
Shax.
====


A bus station is where a bus stops...
A train station is where a train stops...
On my desk I have a work station...
Nuff Sed!!!
Shax is offline  
Old 13th May 2007, 10:17 PM   #12
Default

Quote:
Originally Posted by Mike, K8LH
The problem with the aging P16PRO40 (I have one) is that it's not pinned out for the 14-pin and 20-pin devices.
I don't think I've got any 20 pin devices to try?, but certainly 14 pin ones work fine. But in any case, the P16PRO40 ZIF principle still holds, and you could easily use a three way switch to select even more devices if required.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 13th May 2007, 11:03 PM   #13
Default

Quote:
Originally Posted by Sceadwian
Headers are useful if you want to be able to re-program the chip without opening up the device, perhaps via a 6 pin header in a battery compartment.
if I need to update a box in the field, I much prefer to use a microcontroller that supports a serial boot loader. Using ICSP really limits the cable length a whereas a serial cable can be quite long.
philba is offline  
Old 14th May 2007, 02:22 PM   #14
Default

Thanks for all of the help!

I think I'll look into getting a 20 pin ZIF to program the DIPs and some various SOIC clips for SOIC programming. I'll deal with SSOPs when the time comes. I'm not sure I could even solder them in place.

Thanks!
Fred.Amoson is offline  
Old 14th May 2007, 02:28 PM   #15
Default

Quote:
Originally Posted by Shax
Fred,

here is a pic of a ZIF board I made for my PicKit2...
I've made a couple of different versions, to cater for different VDD / VSS locations on the various PIC chips I use.
Currently working on making a 40pin universal (jumpered) version..

That looks almost exactly like what I want to make for the DIPs. Would you be willing to share that board layout? If not, no problem.

Also, anyone know a good source for ZIF sockets? I usually order from Mouser, but they have very few choices. I'm in the US.

Last edited by Fred.Amoson; 14th May 2007 at 02:33 PM.
Fred.Amoson is offline  
Reply

Tags
board, icsp, pic, programming

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
ULTRA clean 9VDC Power Supply Project Peter_wadley Electronic Projects 51 13th May 2009 07:58 AM
Error messages while using PICprog4u for programming PIC ICs Divya Sunil Micro Controllers 2 24th April 2007 11:10 AM
PICprog4u for programming PIC ICs Divya Sunil Electronic Projects Design/Ideas/Reviews 0 13th April 2007 03:12 PM
Newcomers, please read! (PIC regarded) Upd. 0xD Jay.slovak Micro Controllers 0 17th April 2005 02:05 PM
JDM ICSP programming ok, but causing reset of circuit anthonybradley Micro Controllers 2 4th January 2005 12:31 PM



All times are GMT. The time now is 10:22 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker