Down and dirty way to use a SMD PIC with a DIP programmer?
I want to use a couple SMD PICS for a small project.
I don't think I want to learn the ins-and-outs of in-circuit programming at this time to do this, but I do only have space for the SMD size of a 12F629.
I am wondering if this would be possible.
http://arieselec.com/products/18010.pdf
Take this adapter and temporarily stick the SMD PIC on it then put it in my programmer.
Any problems with this? Like I say, I would only be doing a couple of these as normally I can use the DIP versions for what I do.
Doable?
Thanks.
Bart
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
Quote:
Originally Posted by
Darrel Taylor
I have a project which could benefit from using SMD PICs as the space the board needs to go into my model is quite tight. I've found the 3M clip at DigiKey but I'm unclear as to which pins I need to wire to program. I have an EPIC USB MEL so I'm presuming I can just remove my ZIF for regular DIPs and plug in the Molex connectors to the programmer, but it would be a big help if someone could tell which pins go where (for the 8-pin PIC above, it looks like the wires are connected to the PIC pins 1 & 2 and 5 & 8 - is that right?
If reviving this old thread is bad manners, I'll start a new one.
1 Attachment(s)
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
There are 5 wires on that clip.
But if your circuit is powered externally, you don't need VDD.
Attachment 7272
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
Thanks Darrel! Can I assume that J3 plugs into the melabs U2 Programmer's socket and U1 is the clip?
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
That's a good assumption, yes.
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
Also note you need to lay out your board so the chip clip has room to actually clamp on the device. No decoupling caps or anything too close by. It takes more room than you think... well, more than I thought, back when they were popular. I sure didn't learn that one the hard way, no sir :)
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
Thanks Charlie! That's good advice as I'm not very good at desoldering (even with wicks) so being able to reprogram in-circuit is critical.
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
As Darrel said, make sure you design to accomodate the ICSP through switches or high resistances between PIC and load. The old PBP manual had some values of resistors but I couldn't find it in the PBP3 manual after a quick search. I've experienced thinking I could program once the PIC is installed only to find out I didn't fully think it through. Good luck.
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
What constitutes high resistances? All the outputs will be connected to 150-220 ohm resistors (for LEDs) but there won't be anything on VDD/VSS. And which of the ICSP connections on the PIC are the important ones for this?
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
If you've got a PBP2.6 manual I recollect there are hard numbers in it for isolation resistance. I thought the desired value from the old manual was several hundred kohms but I don't see it in the PBP3 manual.
If you look here http://ww1.microchip.com/downloads/e...es/_91017b.pdf it says 1kohm isn't enough. I have found an LED to ground on the PGC or PGD pins, even with current limit resistor, causes problems. I also remember that a capacitor on the MCLR pin caused a problem.
Just FYI, all these recollections may not be relevant to what you're designing. From experience I now use a switch to disconnect the PGC/PGD and depending on use the MCLR pin from the circuit for ICSP. You can get surface mount components that are very tiny.
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
Quote:
Originally Posted by
AvionicsMaster1
If you've got a PBP2.6 manual I recollect there are hard numbers in it for isolation resistance. I thought the desired value from the old manual was several hundred kohms but I don't see it in the PBP3 manual.
If you look here
http://ww1.microchip.com/downloads/e...es/_91017b.pdf it says 1kohm isn't enough. I have found an LED to ground on the PGC or PGD pins, even with current limit resistor, causes problems. I also remember that a capacitor on the MCLR pin caused a problem.
Just FYI, all these recollections may not be relevant to what you're designing. From experience I now use a switch to disconnect the PGC/PGD and depending on use the MCLR pin from the circuit for ICSP. You can get surface mount components that are very tiny.
Could you please point me to the surface mount switches you're referring to?
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
These are pretty tiny. If designed properly you will probably only need to switch PGC and PGD lines. This DPDT http://www.newark.com/knitter-switch...smd/dp/38K5668will do that.
This may not meet your needs exactly but there are thousands to choose from.
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
1 Attachment(s)
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
I wired up the 3M clip this afternoon and I successfully programmed a SOIC-8 12F683 chip. Huzzah! The only problem I encountered is the spring on the clip is strong enough to deform the chip's pins, so it won't sit flush on the PCB unless I straighten them out. Has anyone else seen this? Should I just work the clip over and over to reduce the spring tension, or is it just a question of holding the chip just right when closing the clip?
I marked pin1 with a white dot:
Attachment 7284
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
Never had that problem with my clip.
But looking at the pictures ... yours seems to have one more loop in the spring. 7 vs. 6.
hard to tell though.
Maybe you could cut some off the spring.
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
I just realized I'm using the wrong orientation of pins on the clip if I want to do ICSP. Perhaps after I switch them the pressure won't be so bad.
Re: Down and dirty way to use a SMD PIC with a DIP programmer?
I re-wired the clip this morning (flipping the orientation of pin1) and it works! It's a bit tricky seating the SMD properly to make contact but it doesn't bend the pins (because they sit over top of the clip's metal pins).