News for hackers. Stuff that matters.
Re:Here be dragons: Preventing static damage, latchup, and m... by kens on Sunday August 17, 2025 @11:44AM (#44932419)
Author here if you have questions about some obscure circuitry in the 386.
Re:Here be dragons: Preventing static damage, latchup, and m... by symaxian on Sunday August 17, 2025 @12:53PM (#44932987)
Are the techniques described in the article still in use today or have they been superseded?
Re:Here be dragons: Preventing static damage, latchup, and m... by kens on Sunday August 17, 2025 @01:08PM (#44933105)
My understanding is that modern techniques are similar, but the tradeoffs have changed as chip voltages become lower and transistors become smaller. (Admittedly, I don't know a lot about modern techniques.)

This article, from a company that designs ESD circuits, describes various modern techniques: https://monthly-pulse.com/2022/03/29/introduction-esd-protec...

Re:Here be dragons: Preventing static damage, latchup, and m... by lpribis on Monday August 18, 2025 @03:49AM (#44938318)
Yes, using 2 or three flip flops in series to prevent metastability is still common practice today. As is using diodes in that configuration for esd protection.
Re:Here be dragons: Preventing static damage, latchup, and m... by Taniwha on Sunday August 17, 2025 @08:01PM (#44936019)
I think the metastability can't destroy a chip thing is not true, you can get a flop into a state where it's oscillating at whatever freq the internal feedback path is (maybe up to GHz) rather than resolving to a stable 1 or 0. That can propagate to adjacent flops resulting in a bunch of flops pulling too much current.

Like anything to do with metastability this is a statistical thing - it can do this, but it's highly unlikely.

I worked on a chip in the mid 90s where we were very careful about our clock crossings, dropped in special high-gain anti-metastability flops, designed logic to reduce synchronised signal frequencies etc etc all the good stuff - we calculated that we'd see a failure (and mostly that would be a pixel burble on the screen) every year or so - at the time Win95 couldn't stay up a week so management decided to ship it

Re:Here be dragons: Preventing static damage, latchup, and m... by kens on Sunday August 17, 2025 @09:01PM (#44936367)
Fair enough. I changed the text to "probably won't destroy".
Re:Here be dragons: Preventing static damage, latchup, and m... by ronsor on Sunday August 17, 2025 @09:19PM (#44936467)
Windows 95 could stay up for a maximum of 49.7 days, provided that no horribly-written driver or application took down the system sooner.
Re:Here be dragons: Preventing static damage, latchup, and m... by burnt-resistor on Monday August 18, 2025 @04:24AM (#44938481)
In the late 90's, I administered the software test lab including UNIX workstations and Windows beige boxes I had build in addition to some servers, the LAN, and WAN for a nuclear engineering consultancy. There were a few Windows 95/98 boxes that were imaged for testing and contained 4 handy-dandy clones that could be copied (prior to widespread usage of Ghost). It would regularly stay running for a month at a time when disused, but I believed it was set to simply reboot to the first primary partition on BSOD. I bet at least one of event logs probably contained entries like these because centralized syslog/log shipping and monitoring weren't set up.
Re:Here be dragons: Preventing static damage, latchup, and m... by burnt-resistor on Monday August 18, 2025 @04:33AM (#44938518)
CS/EE here. Malfunction still leads to dragons overall. The problems of sequential logic looping to itself and talking to the outside world under various conditions include (but aren't limited to): getting predictable initialization, predictable durability, matching input impedance, and creating chips with characterizable and reliable setup/hold/delay/etc. times.

These days, I leave chip design to chip designers and barely do silly things like create seven (7) total 4 pin to 3 pin Arduino PWM fan controllers with MOSFETs, MOSFET protection and noise reduction circuitry. See, I have to keep the fans fed with over 4 volts so the tach signal continues and the storage array's BMC doesn't freak out. (The fans characteristics I needed aren't/weren't available in 4 pin PWM.) I try not shock myself like ElectroBOOM or release too much magic smoke from gear or vintage gear that might not be replaceable.

Re:Here be dragons: Preventing static damage, latchup, and m... by mabster on Sunday August 17, 2025 @11:03PM (#44936984)
Just a big thanks from someone lurking on your blog for a while now. Every article has been fascinating deep insights!