I'm Just "Left" To Rewind

Sept. 1, 2005
It showed up one day, and my wife quickly snarfed it up. She immediately recognized it as a left-hander's timepiece. As you might guess, we have a few left-handed devices around here, including scissors, pencils, and measuring cups. The clock was a trinke

It showed up one day, and my wife quickly snarfed it up. She immediately recognized it as a left-hander's timepiece. As you might guess, we have a few left-handed devices around here, including scissors, pencils, and measuring cups. The clock was a trinket from Texas Instruments (TI) to highlight its latest version of Code Composer Studio with Rewind Debugging (see "IDE Goes Multicore" at www.elecdesign.com, ED Online 10807).

Rewind Debugging is actually a cross between tracing and simulation that's found in a variety of debuggers. TI's implementation is very cool, and it targets DSP developers. For those new to this technique, you start by tracing an application. The feature can be used when a breakpoint is reached. At this point, you can step backward and see what the program was doing. Or you can step forward along the recorded timeline, or modify memory or register values to see how this changes execution. Essentially, you can rewind the application execution to a particular point in time, make changes, and start running. It's definitely a powerful tool for finding and fixing bugs. It comes down to a matter of delivering the right tool for DSP developers.

This form of debugging is particularly effective in a simulated environment where a developer has insights and control over all aspects of the architecture, from the instruction-set simulator to the peripheral interface. This approach has become critical as product turnaround times continue to shrink. Developers must start before hardware is available, which is where simulation steps in.

Unfortunately, not all simulation environments are created equal. One end of the spectrum takes the system down to the electrical level using EDA tools, and it's even possible to accelerate software-based solutions using FPGAs. At the other end, raw speed is essential, and applications may be compiled for the development processor instead of the target processor. This can actually lead to applications that run faster than on the target platform. In between are instruction-set simulators (ISSs) that offer a level of accuracy compared to the target while providing the performance necessary to run an application in real time or near-real time. To some, a particular simulation tool may be so foreign that it's as confusing as a left-handed clock. Sometimes, it's a matter of changing your mindset.

I now have my own silver TI timepiece sitting above my monitor. As a right-handed person, it takes a little effort to remember that the hands are running counter-clockwise. But it serves as a reminder that crafting good tools for a target audience requires the proper mindset.

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!