Testing and Debugging of DSP Systems www.industrialcontrols.eetchina.com Testing and Debugging of DSP Systems (I) Author: Rob Oshana, Texas Instruments (TI) In the field of software development, the most critical but also the most unpredictable stage is the debugging stage. There are many factors that play a role in the process of software debugging, and the most important one is time. The time required to set up and debug software has a huge impact on the time to market and whether the software meets customer expectations. It also affects the sales performance of a good product that is successful in the market. The integration of an application must go through a process consisting of multiple stages such as building, loading, debugging/tuning, and changing, as shown in Figure 1. Figure 1: Integration and debugging cycle. Our goal is to minimize the number of cycles and the time spent on each part. Debugging embedded real-time systems is both an art and a science. The tools and techniques used to debug and integrate these systems have a significant impact on the length of time required in the debugging, integration and testing stages. The more we know about the running system, the faster we can find and correct defects. One of the most traditional and simple ways to understand the system is to add messages at certain points in the software to output information about the system status. These messages can be \"print\" commands to the display or flashing LEDs or groups of LEDs to indicate the system status and health. Each function or task can start by outputting a status message to indicate that the system has arranged it to a certain point in the program. If the system fails at a certain point, the diagnosis of this output information can help engineers understand the last good state of the system and confirm the problem. Of course, this method will cause system overload, which will affect system performance. Therefore, engineers must clear this data after testing the system and re-verify the system before selling it, or sell the system with the code tested in the system. They must ensure that all systems pass testing before selling. Engineers can use more advanced debugging methods to reduce the time of integration and testing phases. One of these methods is to use a \"debug monitor\". A debug monitor is a software embedded in the target application or integrated...
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore