FTDI Drivers Break Fake Chips, Again

Just over a year ago, FTDI, manufacturers of the most popular USB to serial conversion chip on the market, released an update to their drivers that bricked FTDI clones. Copies of FTDI chips abound in the world of cheap consumer electronics, and if you’ve bought an Arduino for $3 from a random online seller from China, you probably have one of these fake chips somewhere in your personal stash of electronics.

After a year, we have the latest update to FTDI gate. Instead of bricking fake chips, the latest FTDI drivers will inject garbage data into a circuit. Connecting a fake FTDI serial chip to a computer running the latest Windows driver will output “NON GENUINE DEVICE FOUND!”, an undocumented functionality that may break some products.

FTDI gate mk. 1 merely bricked fake and clone chips, rendering them inoperable. Because fakes and clones of these chips are extremely common in the supply chain, and because it’s very difficult to both tell them apart and ensure you’re getting genuine chips, this driver update had the possibility to break any device using one of these chips. Cooler heads eventually prevailed, FTDI backed down from their ‘intentional bricking’ stance, and Microsoft removed the driver responsible with a Windows update. Still, the potential for medical and industrial devices to fail because of a random driver update was very real.

The newest functionality to the FTDI driver released through a Windows update merely injects unwanted but predictable data into the serial stream. Having a device spit out “NON GENUINE DEVICE FOUND!” won’t necessarily break a device, but it is an undocumented feature that could cause some devices to behave oddly. Because no one really knows if they have genuine FTDI chips or not – this undocumented feature could cause problems in everything from industrial equipment to medical devices, and of course in Arduinos whose only purpose is to blink a LED.

Right now, the only option to avoid this undocumented feature is to either use Linux or turn off Windows Update. Since the latter isn’t really a great idea, be prepared constantly roll back the FTDI driver to a known good version.

One Hoss Shay And Our Society Of Obsolescence

Legend has it that Henry Ford would send engineers out to junkyards all over the US looking for Fords. They were supposed to study each one they found and make note of any parts that had not failed. But it wasn’t so that he could start making all of those parts stronger. Instead, Ford allegedly used this data to determine where he could cut corners in future production runs so as not to waste money by making any part last longer than any other part.

Most things tend to break down rather than completely giving out. Usually it’s only one or two components that stop working and the rest of it is still serviceable. And this is a good thing. It’s what lets us repair PCBs or scavenge parts off them, drive our cars longer, and help save each other’s lives through organ donor programs. Can you imagine how different life would be if each part of every thing failed at the same time?

Continue reading “One Hoss Shay And Our Society Of Obsolescence”

Need A Nano-Ammeter? You Already Have One!

[Dannyelectronics] sometimes needs to measure tiny currents. Really tiny, like leakage currents through a capacitor. He’s built a few setups to make the measurements, but he also knew he’d sometimes want to take readings when he didn’t have his custom gear available. So he decided to see what he could do with an ordinary digital meter.

dmm-nano-ammeterAs you might expect, a common digital meter’s current scales aren’t usually up to measuring nano- or pico-amps. [Danny’s] approach was not to use the ammeter scale. Instead, he measures the voltage developed across the input impedance of the meter (which is usually very high, like one megaohm). If you know the input characteristics of the meter (or can calibrate against a known source), you can convert the voltage to a current.

For example, on a Fluke 115 meter, [Danny] found that he could read up to 60nA with a resolution of 0.01nA. A Viktor 81D could resolve down to 2.5pA–a minuscule current indeed.

We’ve looked at the difficulties involved in reading small currents before. If tiny currents aren’t your thing, maybe you’d like to try charging an iPhone with 3 KA, instead.

A Hackers Guide To Arts, Crafts, Food, And Music In Shenzhen

When you mention Shenzhen, many people think about electronic gadgets, cheap components, manufacturing, and technology. I’m there quite often and find that all of the technology and manufacturing related stress can be overwhelming at times. Sometimes I feel the need to escape it all so I go to markets and places that aren’t traditionally associated with technology so I can clear my head as well as expose myself to something different. It provides me with a constant source of new design ideas and also allows me to escape the persistent tech treadmill that Shenzhen runs on. There are a lot of places in Shenzhen that I consider hidden gems that don’t get a lot of press since mainstream media associates Shenzhen with either factories or technology. Here are my favorite places to window shop and de-stress in Shenzhen.

Continue reading “A Hackers Guide To Arts, Crafts, Food, And Music In Shenzhen”

Hackaday And Adafruit Launch The Pi Zero Contest

Hackaday and Adafruit are teaming up to bring you the Pi Zero Contest. Unless you’ve been hiding out in your workshop for the past month or so, you probably already know The Pi Zero is the $5 Linux-based computer which has been taking the world by storm. Think you have the next great project for this single-board computer? Enter it for a chance to take home one of three $100 gift certificates to the Hackaday Store. We know Zeros have been hard to find, so we’ll be giving away 10 of them before the contest is over. Even if you don’t have a Pi Zero, read on!

This is all about documenting quality projects to Hackaday.io. We’re looking for well thought out, well documented builds intended for the Pi Zero. Any project submitted to this contest can also be rolled over to the 2016 Hackaday Prize. Think of it as getting a head start.

Here are the details:

  • From February 2nd, to February 20th, Lady Ada will make 10 ‘From the Desk of Lady Ada’ broadcasts focusing on this contest. During each broadcast she will present an idea for a Pi Zero Project. You don’t have to build Lady Ada’s projects, they’re starter ideas to get your wheels turning. If you don’t have a Raspberry Pi Zero, don’t worry! You can prototype with a Raspberry Pi Model B, or a Pi 2. There are also 10 Pi Zero boards up for grabs before the contest is over.
  • The deadline for winning a Pi Zero is 12:00am PST February 25th, 2016. The judges will pick the 10 most well thought out and well documented projects.
  • On February 29th, the judges will announce the winners of 10 Raspberry Pi Zero boards.
  • The grand prize for this contest is one of three $100 gift cards to the Hackaday store. The deadline to enter is 12:00 am PST March 14th, 2016.

Entering is easy.  All you have to do is submit your project. Just click the “Submit to” drop down list on your project page. Then select Adafruit Pi Zero Contest.

So fire up your soldering irons, warm up your 3D printers, and load up your favorite code editor. It’s time to start hacking!

Rumors Of Xilinx Sale Abound

The companies that design and build the chips we all use – Atmel, Texas Instruments, Microchip, NXP, Freescale, Intel, Altera, Avago, Broadcom, and On Semi are all buying each other, merging, and slowly becoming two or three gigantic semiconductor companies. The question on everyone’s mind is, ‘which company will be next?’ The answer might be Xilinx, inventors of the FPGA and designers of some really cool parts.

The Wall Street Journal and Barron’s reported a few regulatory filings from Xilinx last week. This could signal an acquisition or merger of the company When this could happen is anyone’s guess, but rumors are flooding the Internet over who would buy Xilinx.

Until recently, Xilinx’s largest competitor in the FPGA market was Altera. That is, until Intel came by with a check for $16.7 Billion. The revenue, size, and market cap of both Xilinx and Altera aren’t too different, leading the question of who would have the money to buy Xilinx and isn’t Intel. Aren’t rumors fun?

Xilinx’s portfolio include high performance, mid-range and low-cost FPGAs as well as interesting hybrid devices. One such hybrid is Zynq, an FPGA and fast ARM Cortex A9 processor in the same package. All these chips will be made for years to come in one form or another. The only question is if Xilinx will make these chips, or will the company continue on under some new branding.

New Research Sheds Light On 3D Printing Fumes

A few years back, there were some studies on the chemical and particle emissions coming out of the hotends of 3D printers. Although they galvanized a lot of people in the community, the science wasn’t entirely conclusive — one paper made it sound like you needed a hazmat suit for 3D printing, and the other suggested that cooking a meal in a kitchen was worse for you. That’s because they were measuring different things.

This new research paper on the emissions of 3D printers covers all the bases. They examined a variety of different materials printed in different printers. They also measured both chemical emissions and Ultrafine Particles (UFP) which can be hazardous even when the material itself is not.

We read the paper (PDF) so that you don’t have to. Here’s our takeaways:

  • 3d_printer_particles.pngThere was no significant variation across brands of 3D printers. (Duh?)
  • ABS and similar materials outgas styrene at levels you should probably be worrying about if you’re running your printer for a few hours a day in an unventilated office.
  • PLA emitted significantly less overall, and most of it was a non-hazardous chemical, lactide. PLA doesn’t look like a problem.
  • All of the materials resulted in increased UFP exposure. These levels are above normal household background levels, but lower than certain “microclimates” which (if you follow the references) include principals’ offices with carpet, automobiles, restaurants, and rooms with burning candles or running hair dryers. In short, the UFP exposure doesn’t look like it’s going to be a big deal unless you’re sitting right next to the printer and running it continually.

So what would we do? It now looks like it’s prudent to print ABS only in a well-ventilated room. Or enclose the printer in a box and vent whatever you can outside — which can also help prevent breezes cooling the piece down unevenly and adding to ABS’s warping problems. Or just stick to PLA. It looks essentially harmless.

Thanks [Jim Scheitel] for the tip!