Reverse Engineering An ST-Link Programmer

We’re not sure why [lujji] would want to hack ST’s ST-Link programmer firmware, but it’s definitely cool that he did, and his writeup is a great primer in hacking embedded devices in two parts: first he unpacks and decrypts the factory firmware and verifies that he can then upload his own encrypted firmware through the bootloader, and then he dumps the bootloader, figures out where it’s locking the firmware image, and sidesteps the protection.

[lujji]’s project was greatly helped out by having the firmware’s encryption keys from previous work by [Taylor Killian]. Once able to run his own code on an intact device, [lujji] wrote a quick routine that dumped the entire flash ROM contents out over the serial port. This gave him the bootloader binary, the missing piece in the two-part puzzle.

If you’ve ever broken copy protection of the mid-1990’s, you won’t be surprised what happened next. [lujji] located the routine where the bootloader adds in the read protection, and NOPped it out. After uploading firmware with this altered bootloader, [lujji] found that it wasn’t read-protected anymore. Game over!

We glossed over a couple useful tips and tricks along the way, so if you’re into reversing firmware, give [lujji]’s blog a look. If you just want a nice ARM programmer with UART capabilities, however, there’s no reason to go to these extremes. The Black Magic Probe project gives you equal functionality and it’s open source. Or given that the official ST-Link programmers are given away nearly free with every Nucleo board, just buying one is clearly the path of least resistance. But a nice hack like this is its own reward for those who want to take that path. Thanks, [lujji] for writing it up.

Payphone Boombox Straight Out Of The 1990’s.

Due largely to the overwhelming dominance of mobile phones, payphones are a sometimes overlooked relic from the 90’s and earlier eras. While seldom seen out in the wild these days, they can however still be acquired for a moderate fee — how many of you knew that? Setting out to prove the lasting usefulness of the payphone, Instructables user [Fuzzy-Wobble] has dialed the retro spirit way past eleven to his ’90 from the ’90s’ payphone boombox.

Conspicuously mounted in the corner of his office, a rangefinder sets the phone to ringing when somebody walks by — a fantastic trap for luring the curious into a nostalgia trip. Anyone who picks up will be prompted to punch in a code from the attached mini-phone book and those who do will be treated to one of ninety hits from — well —  the 1990’s. All of the songs have been specifically downgraded to 128kbps for that authentic 90’s sound — complete with audio artifacts. There’s even a little easter egg wherein hitting the coin-return lever triggers the payphone to shout “Get a job!”

Continue reading “Payphone Boombox Straight Out Of The 1990’s.”

Craziest Pin-Saving LCD Trick Ever!

We love squeezing every last bit of silicon goodness out of a tiny chip, or at least we delight in seeing it done. Today’s analog/digital hack is one of the sweetest we’ve seen in a while. And it’s also a little bit of a puzzle, so don’t scroll down to the answer until you’ve given the schematic a good think-over.

Continue reading “Craziest Pin-Saving LCD Trick Ever!”

Learn Some Plastic Techniques With This SNES WiiMote Mod

Not all hacks have to be deeply technical. Sometimes a good show of skill is just as impressive. [lyberty5] takes two completely different hunks of plastic and somehow epoxies them into a convincing and, most impressively, reliable chimera.

While the WiiMote’s motion controls certainly caused a lot of wordy debate on the Internet when it was debuted. While everyone and their grandmother who owned a game company rushed out to copy and out-innovate it once they saw Nintendo’s hoard of dragon gold. Most game designers had other thoughts about the concept, mostly that it wouldn’t do for a platformer. So the gamer caught in the middle of it all had to rotate their grip-optimized rectangle 90 degrees and blister their thumbs on tiny buttons to play. Continue reading “Learn Some Plastic Techniques With This SNES WiiMote Mod”

Print Directly On Fabric With An Inkjet Printer

[fungus amungus] was reading online about printing directly on fabrics with a home printer. He’d read a few hopeful tutorials about printing on them with a laser printer, but he didn’t own one.

Considering that you can occasionally buy an inkjet for less than the ink, he decided to take the plunge and see if he could print on a swatch of fabric with his inkjet. The technique requires a printer, some wax paper, scissors, and an iron.

By adhering the wax paper to the fabric properly, it’s possible to run it through the printer without tears. (We’ll let you pick the heteronym.) The final step is to let the ink sit for an hour before running the iron over it again. This seems to cure the ink and it can even survive a few washings.

Being able to make any pattern of cloth on demand seems like a useful thing to keep in the toolbox!

Bake A Fresh Raspberry Pi: Never Struggle To Configure A Pi Again

[David Ferguson] has put together a nice little tool called Pi Bakery. Half MIT Scratch, half configuration utility, it puts a nice visual face on all the various start-up scripts, and kludges that the Raspberry Pi community uses to configure the popular single board computer.

Raspberry Pi’s are a little weird. They mostly get crammed into the slots microcontrollers used to live in. The nice part about microcontrollers is that they just turn on and start going. There’s no OS to boot. No file system to mount. Of course the downside to microcontrollers is often that there’s no OS to boot and file system to mount. Regardless, mostly you’ve got to spend a bit configuring a Raspbian install before a Raspberry Pi really starts to encroach on the microcontroller’s territory.

Pi Bakery abstracts all this. You can drag blocks, representing scripts, in the order you’d like them run. If you want to your Pi to boot up, connect to WiFi, and then start a VNC server it’s as easy a dragging the blocks in the right order and filling in the blanks. You can see an example of it in operation in the video after the break.

Continue reading “Bake A Fresh Raspberry Pi: Never Struggle To Configure A Pi Again”

Brew A Cup Of Coffee Without Electricity!

So, wether you’ve blown your house’s breakers while cranking up the power on your latest project or a storm has brought low the local power grid, what do you do if you desperately need coffee with no electricity to power your coffee maker? Make like [austiwawa]: crack it open and bust out the tea lights.

Removing the bottom of the coffee maker is simply done, exposing the resistance heating element. Improvising a jig to hold the coffee maker over an arrangement of five tea lights, the candle flames slowly do the work of heating the element to set the maker in motion.

It’s a solution for after the apocalypse… as long as you can find tea lights, coffee plus a grinder, and for some reason don’t want to use the quick and efficient method of brewing over an actual fire (though kitchen hearths are a rarity these days). Now we kind of want to see this adapted for all kinds of other heat sources. Reflected sunlight anyone?

Continue reading “Brew A Cup Of Coffee Without Electricity!”