59

As far as I understand, the die of a DIP package is located at the center and the rest is just the lead frame. Given that I have unused pins, can I cut the top part of this microcontroller (ATmega16/32)? Will it still function afterwards?enter image description here

Edit: thank you for all the answers. I have realized that cutting an IC is a delicate process and there is a high risk of damaging the chip. But I've done it anyway, shear cutters worked a treat. I decided to go for the 3 lower pins instead of the upper ones since they are further away from the ISP connector. Here is a photo of the final result (My new DIP-34 package works just fine):

enter image description here

v.m.
  • 974
  • 1
  • 8
  • 15
  • 18
    This is so silly, I can't even count the ways. – Olin Lathrop Aug 02 '15 at 21:21
  • 9
    Very cool - though I'd have used a dremel rather than shear cutters for fear of shattering the package. Props for the adventuring! – Dewi Morgan Aug 02 '15 at 22:46
  • 2
    @DewiMorgan - using a Dremel was my initial intent, but I started to worry about static. Veroboard also helped to reduce the stress a bit. – v.m. Aug 03 '15 at 01:48
  • 3
    Hrm. To prevent static, a very slow, grounded hacksaw could also have worked, perhaps. But looks like the snips did a very decent job! :) – Dewi Morgan Aug 03 '15 at 01:51
  • 1
    @OlinLathrop - yes, I know. Still, I'm pretty sure this is yet another feature that PICs are lacking.. (grabs popcorn) – v.m. Aug 03 '15 at 01:55
  • 1
    http://hackaday.com/2012/01/25/custom-microcontroller-using-only-a-dremel/ is an example of it done with a dremel. They even cut the power and ground pins off and used the clamp diodes to power it. – Passerby Aug 03 '15 at 03:05
  • I'm interested why would you need to do this? – jnovacho Aug 03 '15 at 06:52
  • 5
    It didn't fit in the project box. – v.m. Aug 03 '15 at 14:09
  • 3
    Sealing against moisture is going to be a major issue. Without a low water permeability seal you can expect a short lifetime (for the IC :-) ). – Russell McMahon Aug 05 '15 at 04:54
  • You took my solution "out of my mouth." I was going to tell you that if you did not mind running the risk of loosing the chip, to go ahead and do it. The only other advice I have for you, is to seal the cut end with epoxy, that should keep any contaminants from getting in. – Guill Aug 06 '15 at 22:48
  • 1
    When I want a clear cut on a proto board, I use a tile cutting machine like this one. Works great to cut PCB's. Yet I would never use it to cut tiles. Should work great to cut ic's too. https://yaoota.com/en-ng/product/smart-electric-tiles-cutting-machine-price-from-konga-nigeria – Fredled Apr 25 '20 at 22:58

5 Answers5

25

How do you intend to do this butchery?

Unless you have very specialized tools, a Dremel cutting disk or something like that could generate a lot of static charges. Well enough to kill the chip!

Moreover, mechanical stresses could damage the internal bond wires, or even the die. Let alone you would have the bond wires to the cut-off pins protruding flush from the cut side (8 of them), maybe shorted together due to harsh mechanical stresses during the butchering action.

People needing to reverse-engineer a chip do this kind of things, but they use much more "delicate" measures. Moreover, they want to expose the die, so they "cut" off the upper part of the package.

In particular see this video showing LASER decapsulation.

Google for "chip decapsulation" and you'll find tons of references and you'll understand why it is a costly process if you want your die to survive! People pay big bucks to reverse engineer chips (both for legitimate and criminal purposes). Legitimate purposes comprise failure analysis ("Why our top notch IC failed unexpectedly?!? Let's crack it open and see what happened!") or retrieving lost designs ("OK, we acquired this little IC design house with these excellent parts. But, wait! Where are the design sheets of the groundbreaking HQC954888PXQ processor?!? Who fired the design engineers who knew?!?" - Yes these things happen!).

BTW, Did I mention all these methods are delicate?!? Side cutters are not what I could call delicate. When I was a boy I remember cutting a (dead) IC to see the die using a big side cutter: it splintered wildly!

YMMV!

andrewmh20
  • 103
  • 3
24

I've never heard of anyone trying to cut an IC package like that, but it seems very risky to me. In addition to the potential for shorting bond wires and crushing the die that Lorenzo mentioned, I would also be worried about the performance of any analog subsystems like internal oscillators and flash memory. Package stress can shift the performance of analog circuits -- even the normal deposition of the mold compound tends to shift currents and voltages.

I have worked with decapsulated ICs and wafers, and I can tell you that IC dies and bond wires are thin and delicate, and are not designed to handle trauma. I'm curious to hear whether your chip still works, but I wouldn't recommend doing this with any chip you actually care about.

EDIT: I got curious and looked up pictures of DIP lead frames. Here's a picture of some DIP-36 lead frames on a reel that I found at a wholesaler's site:

Three DIP-36 lead frames, still joined from the factory

And here's a labeled close-up of the cut side of your package:

Labeled close-up of cut DIP-40

Adam Haun
  • 21,331
  • 4
  • 50
  • 91
  • 3
    Yeap, chip seems to work just fine. Shear cutters did a good job - I've added a photo of the final result. – v.m. Jul 31 '15 at 23:09
  • Fascinating! I got curious and looked up some pictures of DIP lead frames. My answer now includes pictures showing what we're probably seeing in the cut. – Adam Haun Aug 01 '15 at 03:25
  • 2
    The center lead is connected to pin 11 (ground). Interesting observation: the resistance between pins 11 and 31 is about 2 ohms, although they should both be connected to ground. – v.m. Aug 01 '15 at 09:47
  • @v.m. 2 Ohms? Is this what your multimeter displays? Hint: Connect the two tips of your multimeter probes. If it still displays 2 ohms, it's your multimeter, not the lead you're measuring ;-) It'll just never go lower than 2 Ohms... – zebonaut Aug 05 '15 at 07:27
  • Of course I took that into account. There is a short between PIN11 and the center lead and about 2Ohms between pins 11 and 31. My guesses are: a) PIN31 is not connected to the center lead of the frame, but is routed through the die itself b) It was connected to the center lead but through the lower part of the frame (which I snapped off) – v.m. Aug 05 '15 at 16:55
  • I think a) is probably correct. – Adam Haun Aug 05 '15 at 22:37
14

Such things have been done at various times for various reasons. If one doesn't get too close to the chip cavity such techniques would be likely to short out an unknown number of adjacent pins but otherwise could work if one uses a cutting device which doesn't generate excessive voltages. There is a substantial likelihood of breaking the hermetic seal on the package exposing the chip to air and moisture, which could greatly hasten failure; I know of no means of inspecting a chip to determine if damage has occurred.

If one can accept a high likelihood of rendering a chip immediately unusable and uncertain reliability after that, such a trick might be usable if there is some particular reason you need to use a particular package which is too large for your requirements (e.g. if a part had 15 consecutive I/O pins, it might be possible to solder the legs of the chip directly to the legs of an LCD without using a PC board). Such designs tend to be rather hokey and unreliable, so cutting the chip might not make things too much worse.

supercat
  • 45,939
  • 2
  • 84
  • 143
8

There is no hermetic sealing involved like metal and ceramic packages as the plastic moulding is homogeneous and does not contain an open space that is brazed, soldered or welded closed. The thickness of plastic required for protection is very little, less than 1mm on modern thin flat packs, on a 40 pin DIP it is generous in all directions.

The biggest danger is cracking the casing close to the bonding wires and this is most likely to occur if a pincer or shear method is attempted.

Using low speeds with a coarse abrasive cutter to reduce vibration or using a fine abrasive or abrasive water jet to cut slowly there should be little chance of mechanical or thermal damage.

Using water or alcohol spray, flood or immersion would solve cooling issues in high speed cutting and mitigate possible static build up though a humid work environment might be enough.

A typical 40 pin DIP IC might tolerate 7 or 8 pin pairs removed safely from each end if the internal die size is not unusually large.

In general the plastic ICs are very robust and most static protection on mature components is quite robust.

KalleMP
  • 4,039
  • 1
  • 14
  • 32
  • 2
    It's also worth noting that sealing a chip is not necessary for functionality - they'll work just fine exposed to normal, relatively dry atmosphere. – W5VO Aug 02 '15 at 18:53
0

How barbarous! Even though it was to be expected the chip would still work (provided the surgery is done properly) why haven't you opted for a non-destructive method like a socket adapter or build yourself one using a flat-cable between 2 sockets of different sizes, for instance? While your method obviously works it irremediably damages the IC and makes replacement [almost] impossible.

  • 1
    I thought the OP was pretty clear, he had the chip already soldered into circuit and wanted to reduce one dimension. Drilling holes for LEDs into a IC is something I am going to try for sure. Building a complete circuit into a machined cavity would be very cool, a button cell or two may be the limiting factor. – KalleMP Aug 03 '15 at 14:31
  • Even then, de-soldering is still a valid option in this case. IMHO at least. –  Aug 03 '15 at 17:53
  • Your other objection could be a feature. Using a mechanically modified IC, perhaps even intricately profiled like a jigsaw puzzle piece, would force the end user to purchase spare parts from the OEM because they are not available on the open market. Cutting back programming pins would further thwart casual reverse engineering and duplication. – KalleMP Jan 19 '22 at 16:56