I have a .1" header with a bit of correction fluid on the mating half of the PK3 where the arrow is so I know which pin is MCLR, this goes to a Molex keyed connector which the mating half goes on the board, Microclasp or Milligrid usually, I have cables for both.
Hm, so, adapter cable?
As for ESD, I have never fried a chip programming it before, it's usually the slip of the probe on the TQFP's that do it when shorting two pins together whilst debugging with the ICD3!
Worried about handling. Belt and braces, and all that. It's a teensy risk, but it should be a zero risk!
I never put 0.1'' debug headers on my boards. I will either use tag-connect solutions or create my own pogo pin pattern.
So my solution: use tag-connect pads on your target board, then just buy a PicKit to tag-connect adapter cable from their website.
Ah...yeah. I wonder how the customer would approve of them...
We've used them before, and found them reasonable to use, the Tag-Connect thingys I mean.
It's another bit of kit, but it's nice having the zero-incremental-cost, no-profile footprint.
Doesn't fix the cable-to-PICkit3 ambiguity problem, but I suppose one could simply tape the two together...
ESD diodes are not a big issue as long as you use low capacitance variants. If ESD events may only happen in manufacturing process, not in user application, then small MOVs may also be used to save cost.
Are the programming pins really that sensitive to loading capacitance, or leakage current? (Also, I'd be kind of surprised if MOVs helped much; the pins in question aren't 5V tolerant, so the internal clamp diodes should fry first.)
Doesn't need ESD protection, AFAIC. Why put schottky on the pins? Did you mean in series or clamping to VCC or what? I don't get what purpose BAT54 serves. I find out everyday how dumb I am... please explain what this does?
To clamp input surges (namely, ESD) to VCC/GND, diverting it away from the MCU pins.
BAT54S is a common part, very cheap, reasonably low Vf, and being two series diodes, can be conveniently strung between GND-pin-VCC to solve this kind of problem.
Clamp diodes work better than zener diodes, because the IC has internal clamp diodes already. Most likely, when ESD is applied, it would be while the board is unpowered, so, if VCC is near 0V, the chip's clamp diodes will do their business in the 1-2V (above GND) range, long before a zener sinks much current (>7V?). (That does work well for "5V tolerant" pins, though -- those are protected with on-chip zener or snap-back diodes, so the breakdown voltage is independent of supply.) Using external clamp diodes, means a lower clamping voltage (maybe 1V above VCC), and diverting the energy away from the chip, preventing damage.
I highly prefer standard 0.1" pins. But if you prefer doing it backwards... take out the pin header and put in the socket/female header on your board? Problem solved? 90 degree pin header might also solve your problem?
Hmm, maybe. There are
double-ended, ah erm,
headers, that fit regular socket strip in both directions. Solves finger-touch and finger-poke problems. Doesn't solve polarity or offset, and does need an additional part (though, it's at least the cheapest of possible adapters!).
Tim