__ __ __ ___ / // /__ _____/ /__ ___ _ / _ \___ ___ __ / _ / _ `/ __/ '_/ / _ `/ / // / _ `/ // / /_//_/\_,_/\__/_/\_\ \_,_/ /____/\_,_/\_, / retro edition /___/Now optimized for embedded devices!
|About||Successes||Retrocomputing guide||Email Hackaday|
Some hard work has gone into making it possible to develop for the STM32 Discovery board using a Linux system. The board boasts an ARM Cortex-M3 processor, which can be programmed via the mini-USB port on the side. But the company only supports development through their IDE’s which don’t run natively on Linux. The stlink project aims to solve this, providing a toolchain, and making it possible to flash the microcontroller via the USB connection.
The github project linked above also includes a tutorial to get you started (pdf). In addition to a walk through on compiling the software packages, it includes a simple blink program that you can use to test out your hardware. GDB, the familiar open-source debugger, is used to flash the chip. This is a bare-bones tutorial so if you end up posting about your experiences using this toolchain with the Discovery boards we’d love to hear about it.
This art display system was created by [Peter Sand]. It is called Plant Fasting and is comprised of a giant robot with interchangeable tools for various gardening tasks. Though the system is mostly automated, it can be controlled via a game pad. It has an Arduino as its brain and it looks like he’s done a completely custom setup for powering the interchangeable pieces.
The Linksys router seen about is a WRT54G version 1. It famously runs Linux and was the source of much hacking back in the heyday, leading to popular alternative firmware packages such as DD-WRT and Tomato. But the company went away from a Linux-based firmware starting with version 8 of the hardware. Now they are using a proprietary Real Time Operating System called VxWorks.
[Craig] recently put together a reverse engineering guide for WRT54Gv8 and newer routers. His approach is purely firmware based since he doesn’t actually own a router that runs VxWorks. A bit of poking around in the hex dump lets him identify different parts of the files, leading to an ELF header that really starts to unlock the secrets within. From there he carries out a rather lengthy process of accurately disassembling the code into something that makes sense. The tool of choice used for this is IDA Pro diassembler and debugger. We weren’t previously familiar with it, but having seen what it can do we’re quite impressed.
[Image via Wikimedia Commons]
Thailand is dealing with horrible flooding right now. Despite the hardship, people still need to get around and go on with life so many have come up with clever hacks to make this disaster more manageable. [Jan] wrote in to let us know about this collection of flood-related hacks which he’s put together. They are wide-ranging, and many brought a smile to our faces, starting this the plastic-bag enclosed cars (not pictured).
We pulled out three of them to highlight above. On the top left is a canine life vest fashioned out of empty drinking bottles mounted on some type of harness. We hope the pets can stay out of the flood waters but this is a nice precaution. Speaking of precautions, the rubber-ducky to the right of that image is an electrical hazard detector. Float it in the water and an alarm and LED will go off if AC current is detected. Finally, the image on the bottom shows a bridge constructed in front of a shopping center by turning carts on their backs and lining the pathway with wooden pallets.
There are several floating and amphibious vehicle hacks in the collection. So far we haven’t seen any drill-powered trolling motors though.
Documenting your build process can sometimes be an incredible pain, as it’s quite difficult to take pictures or video while you are in the middle of soldering. Professionals who demonstrate things on TV for a living have the benefit of a camera crew and special rigs to catch the action from every angle – the rest of us don’t have that luxury.
[Steve] felt the same frustrations as many of us do, and decided to do something about it. He built a movable camera dolly that can be suspended from the ceiling above his work surface for less than $30. The bulk of his camera dolly is built from PVC piping, with assorted bolts and washers holding things together. Skateboard bearings were used as rollers to provide smooth 2-axis motion for the entire rig, then he hung the entire apparatus from the ceiling joists over his workspace.
According to [Steve], the build process seems relatively easy and should take no more than an hour or so, and it can support pretty much any full-size DSLR camera you can find.
Stick around for a quick video tour of his camera dolly build.