$5.40 CHARGER Doctor Makes USB Power Measurements Easy

One way to make power measurement for USB powered devices is to make your own USB cable to allow for current measurement via a multimeter, but if you think it’s just too much hassle, I’ve found and purchased a small test device called CHARGER Doctor that shows voltage and current on a 4 digit display, and sells for $5.40 on DealExtreme. The device features a USB female out port, and a USB male input port, that you can place between your USB power adapter, and the cable to your device to alternatively display voltage (4 seconds) and current (9 seconds). It can be used for power consumption measurements, to test if your charger is working normally, or finding out the power adapter that will charge your phone the fastest. It’s said to support measurement between 3.5 to 7V and 0 to 3 A, with an accuracy of +/- 1%. I’ve […]

MCU Energy Efficiency Benchmark – Freescale KL02, Microchip PIC24, TI MSP430, and STMicro STM32L

Freescale has recently uploaded a video comparison the energy efficiency of several micro-controllers: Freescale Kinetis KL02, Texas Instruments MSP430, STMicro STM32L, and  Microchip PIC24. Since it’s a Freescale video, we already know the winner, but the test they performed it still interesting, and it shows drastic performance differences between architectures. The used the following exact MCU for testing: Freescale MKL02Z32CAF4R – Cortex M0+ @ 48 MHz STMicro STM32L151RBT6 – Cortex M3 @ 32 MHz Microchip PIC24FJ128GA308 – 16-bit MCU @ 32 MHz Texas Instruments MSP430F5529 – 16-bit MCU @ 25 MHz Freescale did not really select tough competition such as NXP LPC800 Cortex M0+, but instead a Cortex M3 MCU, and older 16-bit MCUs. I don’t know if Microchip has a new generation of ultra low power 16-bit MCUs , but Texas Instruments, for example, launched MSP430 Wolverine MCUs at the end of last year. So this comparison may not be […]

LinuxCon North America 2013 Schedule

LinuxCon (North America) 2013 will take place on September 16 – 18, 2013 in New Orleans, LA. The event will be co-located with several other conferences: the Linux Plumbers Conference, the Xen Project User Summit, the OpenDaylight Mini-Summit, the Gluster Workshop 2013, the UEFI Plugfest, the Linux Wireless Summit, the Linux Security Summit, and CloudOpen 2013. LinuxCon consists of 3 days of keynotes, and legal, operations, and developers related sessions as well as tutorials and workshops. There will be around 150 sessions and keynotes during those 3 days. I’ve gone through developer sessions and selected one for each time period. Monday, September 16 10:35 – 11:25 – UEFI and Linux by Kirk Bresniker, HP UEFI has become ubiquitous on the PC client systems and is coming up on servers and ARM-based systems, it is becoming the converged firmware infrastructure. UEFI Secure Boot feature has attracted a lot of attention from […]

Linux 3.9 Release

Linus Torvalds has announced the release of Linux Kernel 3.9: So the last week was much quieter than the preceding ones, which makes me suspect that one reason -rc7 was bigger than I liked was that people were gaming the system and had timed some of their pull requests for just before the release, explaining why -rc7 was big enough that I didn’t  actually want to do a final release last week. Please don’t do that. Anyway. Whatever the reason, this week has been very quiet, which makes me much more comfortable doing the final 3.9 release, so I guess the last -rc8 ended up working. Because not only aren’t there very many commits here, even the ones that made it really are tiny and not pretty obscure and not very interesting. Also, this obviously means that the merge window is open. I won’t be merging anything today, but if […]

ARM big.LITTLE Processing Demo (HMP) on ARM TC2 Test Chip

Samsung launched Exynos 5 Octa at CES 2013. This processor comes with 8 cores: 4 Cortex A15 cores and 4 Cortex A7 cores, and it’s the first processor that’s been announced to work in big.LITTLE configuration, where the big cores (A15) handle demanding tasks, and the LITTLE cores (A7) handle simpler tasks such as audio playback or background tasks. This is all done to optimize power consumption. There are 2 big.LITTLE software implementations: In-kernel switcher (IKS) and heterogeneous multi-processing (HMP). The first one is easier to implements but can only use 4 cores (in Exynos 5 Octa) at a time, and the second is more complex, but can handle all 8 cores, and assign individual tasks to a particular core. For more technical details about big.LITTLE implementations, you can read my previous post. ARM and Samsung recently uploaded a video providing an overview of big.LITTLE (but instead of IKS and […]

Debugging Embedded Linux (Kernel) Power Management – ELCE 2012

Tero Kristo, Linux kernel developer at Texas Instruments, explains how to debug power management in Embedded Linux at ELCE 2012. Abstract: The presentation will talk about debugging various problems a kernel developer can face when working with power management. These include hardware related issues (IC / HW layout bugs, bad documentation) and software related (kernel bugs, driver problems, adding new kernel features, bad userspace behavior.) Along with presenting some of these problems, I will discuss about ways to debug these… power management typically requires specific tools to be used. I will base the discussion on my first hand experience from working with Linux PM. Target audience is (kernel) software developers interested in power management. The presentation is divided into 3 sections: Debugging tools / methods for PM Disabling kernel features Stress testing Tracing (printk / low level UART) GPIO / LED trace Debugger Buffered traces / statistics with trace-cmd & […]

PowerUSB Computer Controlled Power Strips Review

PowerUSB power strips are four outlets power strips designed to help users save power by better understanding their devices power consumption, and automatizing tasks such as power on/off using timers, printer on/off controls, and more. One outlet is always on (for the main computer) and the 3 remaining outlets can be controlled via USB and the control software installed in a Linux, Mac or Windows x86 machine. The three of the four outlets are controlled through the software.  Those power strips should allow lower electricity bills, and cover the cost of the strips ($69 to $129) within a few months. There are 4 models: PowerUSB Basic – $69.99 – The simplest model. You can control the 3 programmable outlets with on/off timers and keyboard shortcuts. PowerUSB Digital IO – $109.99 – This version adds 5 digital input/output lines for instrumentation and automation. The current model has 3 inputs and 2 […]

SoC Power Measurement with ARM Energy Probes and Linux EAP Tools

Andy Green, TI Landing Team lead at Linaro,  gave an interesting presentation entitled “How to measure SoC power” at Linaro Connect Europe 2012. This talk was specifically aimed at software engineers, so that they know how to properly measure power consumption, and take actions to optimize the software to decrease it. In the first part of the presentation, he gives an overview of electronics basics with definition of voltage, load, current and power, units used for power measurements (Clue: you need to use Watts), and how voltage, current and power can be measured with voltmeters and ammeters. When you want to measure power in a rail, you would usually insert a shun resistor, use a multimeter and derive the power from the resistance and the measured voltage (P=V2/R). He also gives details about regulator efficiency, choosing measurement sampling… There are 4 common measurements strategies: DC IN – Easiest way, gives the complete […]