A Look At The TMC2208 Stepper Driver Die

The TMC2208 from 2018 was a pretty big leap forward for stepper drivers, bringing nice features such as silent operation. When [electronupdate] recently killed one of them due to an over-voltage accident he figured that he might as well use the opportunity to decap it to ogle its die and see all the shiny metal-and-silicon bits inside.

On the initial metal layer shot a lot of its organization is already quite obvious, with the four big MOSFET structures at the top, followed by the driver logic blocks below it. Following that there is a programmable section and finally the analog section with power management and clocks.

Removing the metal layer shows the four MOSFET drivers in their full glory, as well as various details in the analog section. This die is then compared to that of an older A4988A stepper driver, with the difference in the sheer real estate spent on MOSFET driving logic obvious.

This difference translates among other things in the ‘buzzing’ noise heard when operating a stepper motor – as demonstrated at the end of the video – which is what made these drivers such a great upgrade as you could actually occupy the same room as e.g. a 3D printer without going batty from the constant noise.

This Week In Security: Air Force Cloud Breach, 1Password Hacked, Usb2shell, Crypto Bombshells

Last week we wrapped up a bad month for federal networks, and the holiday weekend didn’t slow things down. Reuters reports that attackers have breached Cloud One, the Air Force’s flagship cloud platform. Cloud One was started in 2017 as a one-stop shop for Air Force IT, built on top of Microsoft, Amazon, Oracle, and Google’s clouds, and it hosts everything from personnel and pay systems to Cloud-Based Command and Control, which collects air defense radar feeds across North America, and the system that tracks bombs and missiles across more than 200 Air Force locations. According to Reuters’ sources, the intrusion was discovered within the past month during upgrade work, and one source says the attackers exploited a software vulnerability to reach the control plane, which they compared to “a universal remote” for the platform. Reuters couldn’t establish who did it or whether any data was taken, and the Air Force isn’t commenting. Not everyone thinks it’s serious: an anonymous source told the AP it was a “minor nuisance” that didn’t affect mission-critical or classified systems.

Cyber Command has been called in, migrations of back-office applications to Cloud One are paused, some users lost their admin rights, and updates to applications already on the platform are blocked, so nobody can apply patches in the middle of the current flood of serious vulnerabilities. In 2023, Cloud One’s leadership boasted of a “100% success rate” against intrusion attempts. I guess nobody bats a thousand forever.

Outside the government, the College Board, which runs the SAT and AP exams, says attackers got into the systems used to create accounts and to submit the CSS Profile, the financial aid application many colleges use, and could see basic account information and trigger password resets for some users. A spokesperson told NPR the incident “has the markings of being facilitated by ARTEX,” the AI attack framework we covered two weeks ago, though CyberScoop notes the FBI hasn’t confirmed the link. The College Board says it has seen no access to test scores, but both new account creation and the CSS Profile are offline in the last weeks of college application season, and every user now gets a one-time code at login. Active sessions have been signed out and users have to reset their passwords, but the December 5th SAT is going ahead on schedule.

In Chicago, the Circuit Court of Cook County has been forced back to paper. A cyber incident over Thanksgiving took down the clerk’s Enterprise Justice case management system and its online portal, and the chief judge has ordered the clerk to accept filings in person and by certified mail until further notice. CBS Chicago reports the clerk’s office has found no sign that personal information was compromised. There’s no restoration date yet. I’m surprised there’s still a procedural fallback to a paper process, and while it’s surely going to slow the process down to a crawl, at least the process can continue.

Continue reading “This Week In Security: Air Force Cloud Breach, 1Password Hacked, Usb2shell, Crypto Bombshells” →

Examining Counterfeit Micro SD Cards In Linux

As the cost of storage climbs, so to do does the likelihood that you’ll come across counterfeit hardware in the wild. Unfortunately these fake storage devices are also becoming increasingly convincing, so it will take more than a cursory examination to figure out if you’ve got the real deal.

The good news is, figuring out if that new micro SD card you just bought can actually hold as much data as it claims is relatively straightforward if you’re on Linux. [Jason Andress] has written an an article on how you can use various tools to not only verify the legitimacy of a micro SD card, but even “fix” some types of fake cards.

As a first step, [Jason] shows how the output of dmesg can give you a hint about what’s actually inside a micro SD card. Modern high-capacity cards should show up in the kernel logs as UHS (Ultra High-Speed), and despite how it might sound, a device that’s detected as “high-speed” is likely to be a disappointment. One can then look in the /sys filesystem to glean more information about the device, and even start poking at its registers. This can uncover discrepancies such as an incorrect manufacturer ID code.

Ultimately, on a fake card you’re likely to find that the actual capacity of the device is far less than what’s advertised. In such cases, it’s possible to fiddle with the partitions so the OS sees a usable volume that actually matches the capacity of the hardware. [Jason] recommends a software suite called “Fight Flash Fraud” — or f3 that can automate the process and perform other various diagnostic tests. Of course, there’s a case to be made that any card which needs this sort of intervention to work properly is probably better off in the trash than in any of your devices anyway.

On the other hand, if you have a legitimate SD card that’s physically damaged, you might be able to repair it if you’re willing to put the effort in.

Magic Cards Head To The Bottom Of The Ocean

Knowing the audience of Hackaday, we’re fairly sure a sizable percentage of our readers will have played Magic: The Gathering (MTG) at some point in their lives. Even so, we’re confident that none of you have ever played the game underwater — that is, unless you happen to be [Dan Becker] or one of his friends, as they have recently concluded what they believe to be the first game of MTG ever played on the ocean floor.

We have no reason to doubt that particular claim. Not merely because it seems unlikely that many other people in human history ever thought of attempting it, but because from the video below it’s evident that it was an exceptionally difficult thing to pull off.

Magnets were used to hold the cards down on the table.

On the surface — no pun intended — you might think the only problem would be waterproofing the cards. In actuality, that’s probably the easiest part. That was simply a matter of putting them in standard plastic sleeves and heat sealing them, although [Dan] does tell us that in the end about half the cards didn’t survive their trip to Davy Jones’ locker.

Even with (mostly) waterproof cards, literally every aspect of the game needed special consideration. From keeping the table from floating away to figuring out how to communicate with the other player, nothing is ever easy when you’re doing it in scuba gear.

Some may see such an undertaking and wonder if it was worth the time and effort put into it. Firstly, we would remind these individuals which site they’re currently on. But more to the point, it seems to us that this was an excellent exercise in problem solving, and a demonstration of how operating in an inhospitable environment can turn even the most mundane of tasks into a unique engineering challenge.

Continue reading “Magic Cards Head To The Bottom Of The Ocean” →

A Rocket Boiler With An Extra Heat Exchanger

The rocket stove, designed to burn solid fuel completely and extract heat from secondary combustion in a long flue, is central to many efficient stove and boiler designs. [Bojan Štirb] has taken the design a step further with his rocket boiler design, adding an extra heat exchanger to scavenge every scrap of heat from the fire.

The boiler is a coaxial design built around the vertical rocket stove flue. This would normally be enough, and resembles a huge Kelly Kettle, but this design adds four sets of spiral baffles on the outside of the water vessel. The flue gases are directed down them creating the second heat exchanger, with the final flue outlet being low down at the rear of the unit. He’s measured a 4.2kW heating power, with a flue outlet temperature at a surprisingly low 50 Celcius.

The whole unit is made from sturdy welded steel, something close to home for some of us from a metalworking background, and the outer cover which directs the gas down the heat exchanger is made from an old oil drum. The result is certainly effective, and fits well a prototype such as this one. It’s certainly a step up from a previous rocket stove boiler we featured.

Mainline Linux On A Mac Plus

The first Linux kernels targeted the Intel 386 platform, and while that particular CPU is no longer supported, it’s likely that many of you are using its distant descendant on one of today’s 64-bit x86 processors. The first port of Linux to a different architecture was to the Motorola 68000 series of processors, and though that’s hardly the mainstream platform it once was, unlike the 386 it’s still supported. [Action Retro] proves this with Nugget Linux — it’s mainline Linux, running on a Mac Plus.

The Plus requires the full 4 MB of memory and at least one 800k floppy drive. For networking it supports SLIP over the serial printer port, or an Asante EN/SC SCSI Ethernet adapter if you have one. There’s a minimalist one-dish version, or a two-disk version that comes with a desktop. This is custom-built for Nugget Linux, and uses nanoX with a custom window manager. There’s a small suite of apps, and even a simple web browser.

This may be hardly a Linux powerhouse, indeed as far as we know the Plus doesn’t have one of the Motorola MMUs so it’s likely to be a nommu distribution. But nevertheless it’s a significant achievement to get this much Linux running on such an aged machine, and we’re impressed.

Want more 68k Linux goodness? How about a games console?

VFD Clock and 3D Printed Mockup

Vintage VFDs Meet Vintage ICs In Modern Clock Build

Clocks: The Ultimate Hack? That might be debatable, especially depending on who you ask. But when you add VFDs and vintage silicon to the mix? Then it’s time to check out the beauty and elegance of [Joshua Coleman]’s IV-6 Vacuum Fluorescent Clock, and decide whether this clock will wind you up or not!

Central to the build are four IV-6 Vacuum Fluorescent Tubes, with the filaments running at about 1 V and the grid at 25 V. That same 25 V supply is running a National Semiconductor MM5316 clock IC, which traces its roots back to 1973. If you had a clock radio in the ’70s, ’80s, or ’90s, you will probably recognize its hard-coded 9-minute snooze.

Using the MM5316 presented [Joshua] with an interesting challenge: The MM5316 requires a 60 Hz frequency reference in order to keep time. Historically, this was derived from mains power. Why is that troublesome? Because power isn’t being supplied from an outlet- it is coming over USB-C or a 3.7 V 500 mAh lithium-ion cell, boosted up to 25 V. So instead of using mains frequency as a reference, [Joshua] had to provide the signal via a microcontroller’s synthesized output. That choice introduced its own limitations, which we’ll let you discover in his blog post.

If the warm glow of a tube and arcade games are your thing, then you’ll definitely want to check out this Space Invaders on VFD!