I3C — No Typo — Wants To Be Your Serial Bus

Remember old hard drives with their giant ribbon cables? They went serial and now the power cables are way thicker than the data cables. We’ve seen the same thing in embedded devices. Talking between chips these days tends to use I2C or SPI or some variation of these to send and receive data over a handful of pins. But now there is I3C, a relatively new industry standard that is getting a bit of traction.

I2C and SPI are mature but they do have problems. I2C can be relatively slow and SPI usually requires extra pins for each device. Besides that, there is poor support for adding and removing devices dynamically or discovering devices automatically.

I3C, created by the MIPI Alliance, aims to fix these problems. It does use the usual two wires, SCL for the clock and SDA for data.  One device acts as a controller. Other devices can be targets or secondary controllers. It is also backward compatible with I2C target devices. Depending on how you implement it, speeds can be quite fast with a raw speed of 12.5 Mbps and using line coding techniques can go to around 33 Mbps.

Continue reading “I3C — No Typo — Wants To Be Your Serial Bus”

Everything You Didn’t Know You Need To Know About Glitching Attacks

If you’ve always been intrigued by the idea of performing hardware attacks but never knew where to start, then we’ve got the article for you: an in-depth look at the hows and whys of hardware glitching.

Attentive readers will recall that we’ve featured [Matthew Alt]’s reverse engineering exploits before, like the time he got root on a Linux-based arcade cabinet. For something a bit more challenging, he chose a Trezor One crypto wallet this time. We briefly covered a high-stakes hack (third item) on one of these wallets by [Joe Grand] a while back, but [Matthew] offers much, much more detail.

After introducing the theory of glitching attacks, which seek to force a processor into an undefined state using various methods, [Matthew] discusses the specifics of the Trezor wallet and how the attack was planned.

His target — the internal voltage regulator of the wallet’s STM32 microcontroller — required desoldering a few caps before the attack could begin, which was performed with a ChipWhisperer. After resolving a few initial timing issues, he was able to glitch the chip into dropping to the lowest level of readout protection, which gave access to the dongle’s SRAM through an ST-Link debugger.

While this summary may make the whole thing sound trivial, it’s obvious that the attack was anything but, nor was the effort that went into writing it all up. The whole thing reads a little like a techno-thriller, and there’s plenty of detail there if you’re looking for a tutorial on chip glitching. We’re looking forward to part 2, which will concentrate on electromagnetic fault-injection using a PicoEMP and what looks like a modified 3D printer.

PET Bottles Diligently Turned Into Filament

While the price of 3D printers has come down quite a lot in the past few years, filament continues to be rather pricey especially for those doing a lot of printing. This has led to some people looking to alternatives for standard filament, including recycling various forms of plastic. We’ve seen plenty of builds using various materials, but none so far have had this level of quality control in the final project.

What sets this machine apart from others is that it’s built around an Arduino Nano and includes controls that allow the user to fine-tune a PID controller during the conversion of the recycled plastic into filament. Different plastic bottles have different material qualities, so once the machine is started it can be adjusted to ensure that the filament produced has the exact specifications for the printer. The PCB is available for download, and the only thing that needs to be done by hand besides feeding the machine to start it is to cut the plastic into strips for the starter spool. There is also a separate 3D printed tool available to make this task easy, though.

Not only could this project save printing costs, but it also keeps harmful plastics out of landfills and other environments. Recycling plastic tends to be quite difficult since producing new plastic is incredibly cheap, and the recycled material can’t be used as often as other materials such as aluminum. But there are still plenty of people out there trying to reuse as much of it as they can.

Continue reading “PET Bottles Diligently Turned Into Filament”