Texas Instruments SPRAA56 - Manual

Texas Instruments SPRAA56

Texas Instruments SPRAA56 – Manual, read for free online in PDF format. We hope this helps you resolve any issues you may have. If you have further questions, please contact us through the contact form.

1 Page 1
2 Page 2
3 Page 3
4 Page 4
5 Page 5
6 Page 6
7 Page 7
8 Page 8
9 Page 9
10 Page 10
11 Page 11
12 Page 12
13 Page 13
14 Page 14
15 Page 15
16 Page 16
17 Page 17
18 Page 18
19 Page 19
20 Page 20
21 Page 21
22 Page 22
23 Page 23
24 Page 24
25 Page 25
26 Page 26
27 Page 27
28 Page 28
29 Page 29
Page: / 29

Table of Contents:

  • Page 2 – Important Benchmarks for Video Applications; Frame rate
  • Page 3 – Base Application Overview; xDAIS-compliant algorithms
  • Page 4 – Figure 1. Basic Data Flow of the Video Application; Developer’s Guide; tskVideoProcess; tskInput
  • Page 7 – Requirements for Viewing RTA Benchmarks; Modifications to the Base Example
  • Page 8 – Figure 2. Detailed Application Data Flow Showing Memory Buffers; Splitting the Encode and Decode CELLs
  • Page 9 – ts k P r o c e s s; ts k In p u t; Querying the H.263 Encoder for Status
  • Page 10 – Controlling the Frame Rate
  • Page 11 – RTA Techniques for Performance Measurement; Measuring Function Execution Time with the UTL Module; “sts” + task pseudonym + function benchmarked
  • Page 12 – Measuring Task Scheduling Latencies; Scheduling latency
  • Page 13 – Measuring the Frame Rate
  • Page 14 – Programmatic Measurement of Total CPU Load
  • Page 15 – Figure 4. CPU Load Measurement at Run-Time; To use the LOAD module in a project, follow these steps:; Memory Bus Utilization; memory bus
  • Page 16 – internal L2; Cb; Cb; scratch
  • Page 17 – Bitrate and Frame Type; Bitrate
  • Page 18 – Methods for Transmitting Measured Performance Data
  • Page 19 – Application-Specific Control via GEL Scripts in CCStudio; Viewing Benchmarks in the Instrumented Application; DM642 EVM and Board Support Package
  • Page 20 – Running the Application
  • Page 22 – Figure 6. Workspace Including RTA Windows; Interpreting the Benchmarks
  • Page 23 – Figure 7. Statistics View Showing Benchmark Measurements; Expected Values for the STS Objects
  • Page 24 – Expected and Measured STS Benchmarks
  • Page 25 – Expected Values Delivered to the Message Log; Expected and Measured Logged Benchmarks; Controlling the Run-Time Parameters Dynamically; passthroughReference.; Mode
  • Page 26 – Capture and Display Task Benchmarking; References; Reference Frameworks for eXpressDSP Software: API Reference
  • Page 27 – Appendix A. Performance Impact; A.1 Overhead of Performance Measurement Techniques; Measured Performance of Benchmarking Techniques; A.2 RTA Effects on CPU Load
  • Page 28 – A.3 Memory Footprint; Requirements; Memory Footprint Details
Loading the manual

Application Report

SPRAA56 – September 2004

1

DSP/BIOS Real-Time Analysis (RTA) and Debugging

Applied to a Video Application

Brian Jeff

DSP Field Software Applications

Arnie Reynoso

Software Development Systems

ABSTRACT

DSP/BIOS and the Reference Frameworks allow developers to non-intrusively instrument
real-time applications. The software provided with this application note applies real-time
analysis (RTA) services to a working application—a H.263 encode/decode loopback
example for the TMS320DM642 evaluation module. The software demonstrates
techniques for benchmarking and controlling video software. It also introduces a service to
programmatically measure CPU and TSK loading. Debugging and troubleshooting
techniques for real-time applications, using Code Composer Studio, is also discussed.

Contents

1

Important Benchmarks for Video Applications .......................................................................... 2

2

Base Application Overview ......................................................................................................... 3

2.1

DSP/BIOS and RF5 Components Used.................................................................................. 5

2.2

Requirements for Viewing RTA Benchmarks .......................................................................... 7

3

Modifications to the Base Example............................................................................................. 7

3.1

Splitting the Encode and Decode CELLs ................................................................................ 8

3.2

Adding the Control TSK and MBX Communication ................................................................. 8

3.3

Querying the H.263 Encoder for Status .................................................................................. 9

3.4

Controlling the Frame Rate................................................................................................... 10

4

RTA Techniques for Performance Measurement ..................................................................... 11

4.1

Measuring Function Execution Time with the UTL Module ................................................... 11

4.2

Measuring Task Scheduling Latencies ................................................................................. 12

4.3

Measuring End-to-End Latencies.......................................................................................... 12

4.4

Measuring the Frame Rate ................................................................................................... 13

4.5

Simulating High CPU Load Stress Conditions with Dummy NOP Loads ............................... 14

4.6

Programmatic Measurement of Total CPU Load................................................................... 14

4.7

Memory Bus Utilization ......................................................................................................... 15

4.8

Bitrate and Frame Type ........................................................................................................ 17

4.9

Methods for Transmitting Measured Performance Data ........................................................ 18

4.10

Application-Specific Control via GEL Scripts in CCStudio ..................................................... 19

5

Viewing Benchmarks in the Instrumented Application ........................................................... 19

5.1

Requirements ....................................................................................................................... 19

5.2

Running the Application ........................................................................................................ 20

5.3

Interpreting the Benchmarks ................................................................................................. 22

5.4

Controlling the Run-Time Parameters Dynamically............................................................... 25

6

References.................................................................................................................................. 26

Appendix A. Performance Impact ..................................................................................................... 27

A.1

Overhead of Performance Measurement Techniques........................................................... 27

A.2

RTA Effects on CPU Load .................................................................................................... 27

A.3

Memory Footprint ................................................................................................................. 28

"Loading the manual" means you need to wait until the file loads and becomes available for online reading. Some manuals are very large, and the time they take to appear depends on your internet speed.

Summary

Page 2 - Important Benchmarks for Video Applications; Frame rate

SPRAA56 2 DSP/BIOS Real-Time Analysis (RTA) and Debugging Applied to a Video Application Figures Figure 1. Basic Data Flow of the Video Application...................................................................... 4 Figure 2. Detailed Application Data Flow Showing Memory Buffers ...................

Page 3 - Base Application Overview; xDAIS-compliant algorithms

SPRAA56 DSP/BIOS Real-Time Analysis (RTA) and Debugging Applied to a Video Application 3 Quantization is the process of dividing a continuous range of input values into a finite number of subranges. Each subrange is assigned a specific output value. The Q factor, or quantization factor, describes th...

Page 4 - Figure 1. Basic Data Flow of the Video Application; Developer’s Guide; tskVideoProcess; tskInput

SPRAA56 4 DSP/BIOS Real-Time Analysis (RTA) and Debugging Applied to a Video Application Figure 1 shows a simplified view of the sequential flow of capture, processing, and display tasks in the application. Figure 1. Basic Data Flow of the Video Application Before video data reaches the first stage,...

Other Texas Instruments Models

All Texas Instruments Other