A Hacker’s Guide To JTAG

If you’re reading Hackaday, you’ve almost certainly heard of JTAG. There’s an excellent chance you’ve even used it once or twice to reflash an unruly piece of hardware. But how well do you actually know JTAG? More specifically, do you know how useful it can be when reverse engineering hardware?

Whether you’re a JTAG veteran or a novice, this phenomenal guide written by [wrongbaud] is sure to teach you a thing or two. Starting with a low-level explanation of how the interface actually works, the guide takes you though discovering JTAG ports on unknown targets, the current state-of-the-art in open source tools to interact with the device, and finally shows a real-world example of pulling and analyzing a gadget’s firmware.

There’s no way to do his write-up justice with a breakdown or a summary, so we won’t even try. Just get comfortable, maybe grab a drink, and dive in. It’s certainly not a short read, but there isn’t a wasted word on the page. Every piece of the puzzle, from how to figure out an unlabeled pinout to determining the instruction length, is explained in exactly the amount of detail you’re looking for. This is a guide for hackers written by a hacker, and it shows.

It will probably come as no surprise to find this isn’t the first time [wrongbaud] has done a deep dive like this. Over the last few months we’ve been covering his series of practical reverse engineering guides, and each one has been an invaluable resource. Perfect study guides for when a global pandemic has you stuck in the house.

BINA-VIEW: A Fascinating Mechanical Interference Display

[Fran Blanche] tears down this fascinating display in a video teardown, embedded below.

These displays can support up to 64 characters of the buyer’s choosing which is controlled by 6 bits, surprisingly only requiring 128 mW per bit to control; pretty power-light for its day and age. Aside from alphanumeric combinations the display also supported “color plates” which we found quite fascinating. The fully decked model would only cost you $1,206 US dollars per unit in today’s money or five rolls of toilet paper at latest street price. And that’s just one digit.

If you dig through the documents linked here, and watch her video you can get an idea of how this display works. There are six solenoids attached to rods at the rear of the device. A lamp shines through a lens onto the back of a plate assembly. Each plate is a strategically perforated grid. When the solenoids activate the selected plates tilt interfering with a stationary grid. This causes the light to be blocked in some regions only.

It seems clear why this never took off. Aligning these seems like a production nightmare compared to things like flip displays and Nixie tubes. Still, the characters have quite a lot of charm to them. We wouldn’t mind seeing a 3D printable/laser cut version of this display type. Get working!

Continue reading “BINA-VIEW: A Fascinating Mechanical Interference Display”

Magnets Turn Flexible PCB Into Electric Grasshopper

Just because something doesn’t seem to have an apparent purpose, that doesn’t mean we shouldn’t try making it anyway. As flexible PCBs become cheaper and easier to order from low-scale fab houses, we’re seeing hobbyists experiment with new uses for them such as [Carl Bugeja]’s jumping circuit.

The circuit is based a coil printed on the flexible PCB itself acting as an electromagnet, but unlike other designs which use the same trick, in this one the coil is made to be the static side of an actuator. Attached to the circuit with folding arms is a stack of two permanent magnets, which work as the moving part. Since the magnets make up most of the mass of the circuit, as they’re pushed down and sprung back up, it causes the whole thing to leap around just under one centimeter off the table like a little electric grasshopper.

This is far from [Carl]’s first appearance here on Hackaday, and he’s been clearly busy exploring new uses for flexible PCBs with their properties as electromagnets, from making POV displays with them to small robots that move around through vibration. We’re excited to see what else he can come up with, and you can see this one in action after the break.

Continue reading “Magnets Turn Flexible PCB Into Electric Grasshopper”

Dissecting China-Sourced Vintage HP 1970s ICs: Genuine Or Not?

While repairing a real-time clock module for a 1970s HP computer that had been damaged by its leaky internal battery, [CuriousMarc] began to suspect that maybe the replacement clock chips which he had sourced from a seller in China were the reason why the module still wasn’t working after the repairs. This led him down the only obvious path: to decap and inspect both the failed original Ti chip and the replacement chip.

The IC in question is the Texas Instruments AC5948N (along with the AC5954N on other boards), which originally saw use in LED watches in the 1970s. HP used this IC in its RTC module, despite it never having been sold publicly. This makes it even more remarkable that a Chinese seller had the parts in stock. As some comments on the YouTube video mention, back then there wasn’t as much secrecy around designs, and it’s possible someone walked out of the factory with one of the masks for this chip.

Whether true or not, as the video (also included after the break) shows, both the original 1970s chip and the China-sourced one look identical. Are they original stock, or later produced from masks that made their way to Asia? We’ll probably never know for sure, but it does provide an exciting opportunity for folk who try to repair vintage equipment.

Continue reading “Dissecting China-Sourced Vintage HP 1970s ICs: Genuine Or Not?”

The Hacker Hotel 2020 Badge

The art of the electronic conference badge has evolved over the last decade or more, such that for an individual example to be of note it now has to include some exceptional features. Perhaps a function that might previously have been considered impossible in a badge, or maybe an unusually beautiful design, an entertaining and compelling functionality, or it simply pushes the capabilities of an otherwise limited device in an unusually ingenious way. The badge from the recent Hacker Hotel 2020 comes from the same badge team that created the software platform derived from the SHA 2017 badge, and it ticks many of these boxes by combining a genuine work of art with a set of delightfully intricate puzzles at enough levels to interest all participants in the event.

Continue reading “The Hacker Hotel 2020 Badge”

Surviving The Apocalypse With A Briefcase Full Of Pi

Let’s imagine that you’ve spent most of your life indoors tinkering with electronic gadgets and that you don’t have a lot of practical survival experience. Since you’re currently reading Hackaday, it shouldn’t be much of a stretch for you. Let’s further imagine that our entire civilization gets upended by an ecological disaster, nuclear war, invaders from Zeta Reticuli, that sort of thing. What do you do?

If you’re [Evan Meaney], you might start by retrieving the Crash Recovery Device from its EMP shielded storage nook. This mobile digital library is designed to serve as a backup copy of all the information we’d lose in a post-Internet world. It holds detailed geological maps, a library of survival manuals, agriculture guides, and should you get bored, the entirety of Wikipedia.

Of course, having all that information in a digital format is no good if you can’t access it. Rather than designing a device from scratch, [Evan] based his rugged command center on the Raspberry Pi Recovery Kit by [Jay Doscher].

He deleted the more esoteric components such as the mil-spec connectors on the front panel, and improved the ability to switch between different power sources with a capacitor bank big enough to smooth out any momentary interruptions. There’s also added circuitry so the device can be run on a wider range of voltages, allowing the use of whatever batteries or power sources can be scrounged up. [Evan] even thought to use automotive style fuses that could be pilfered from abandoned vehicles if necessary.

We know what you’re probably thinking; a better way to hone your survival skills and prepare for a disaster would be to just go camping a few times a year. Fair enough. But if you’re a city dweller who might not have the option, it’s hard to argue that you wouldn’t be better off having a mobile repository of survival information to consult should you need it. Doubly so if it looks this cool.

Continue reading “Surviving The Apocalypse With A Briefcase Full Of Pi”

Bus Sniffing Leads To New Display For Vintage Casio

Despite his best efforts to repair the LCD on his Casio FX-702P, it soon became clear to [Andrew Menadue] that it was a dead-end. Rather than toss this relatively valuable device in the trash, he wondered if would be possible to replace the LCD with a more modern display. Knowing that reverse engineering the LCD panel itself would be quite a challenge, he decided instead to focus his efforts on decoding the communications between the calculator’s processor and display controller.

With his logic analyzer connected to the Casio’s four bit bus [Andrew] was able to capture a sequence of bytes during startup that looked promising, although it didn’t quite make sense at first. He had to reverse the order of each nibble, pair them back up into bytes, and then consult the FX-702P’s character map as the device doesn’t use ASCII. This allowed him to decode the message “READY”, and proved the concept was viable.

Of course a calculator with a logic analyzer permanently attached to it isn’t exactly ideal, so he started work on something a bit more compact. Armed with plenty of display controller data dumps, [Andrew] wrote some code for a STM32 “Blue Pill” ARM Cortex M3 microcontroller that would sniff and decode the data in near real-time. In the video after the break you can see there’s a slight delay between when he pushes a button and when the corresponding character comes up on the LCD below, but it’s certainly usable.

Unfortunately, the hardware he’s created for this hack is just slightly too large to fit inside the calculator proper. The new LCD is also nowhere near the size and shape that would be required to replace the original one. But none of that really matters. While [Andrew] says he could certainly make the electronics smaller, the goal was never to restore the calculator to like-new condition. Sometimes it’s more about the journey than the destination.

Continue reading “Bus Sniffing Leads To New Display For Vintage Casio”