Image

Power Debugger Finds Hot Spots

May 4, 2010
IAR Systems' latest debugger tracks applications and power usage allowing developers to find code that uses a lot or a little power.

1 of Enlarge image
 

IAR's Workbench now shows power usage linked to code

IAR captures power information via the JTAG interface

IAR Systems combines its program trace tool with voltage capture via is JTAG probe. This allows real time tracing of both the application and the power consumed by the system. Essentially it delivers basic logic analyzer features in one compact package.

IAR Systems demonstrated its IAR Embedded Workbench working with one of its Cortex-M3 development kits at the 2010 Embedded Systems Conference in San Jose. ARM's Cortex-M3 JTAG interface allows real time tracing of the program counter. IAR's JTAG interface also captures the current operating voltage and records that along with the program counter in its trace log.

The IAR Embedded Workbench provides a real time display. It also allows developers to set thresholds so there are color changes in the display. In one instance, the IAR representative was able to highlight overvoltage in red. Displaying the matching code is as simple as double clicking the red bar.

Trace results are already used to find bugs such as deadlock and race conditions. The addition of power information allows developers to detect hot spots in power usage as well as determine where optimum low power code is working properly.

In the future, expect to be able to set breakpoints based on power consumption. This will allow tricks like stopping or flaggin an application that consumes too much power in some routine when the system is in a particular state. The ability to save the trace results could allow more sophisticated power analysis.

IAR Systems

About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!