Printed in U.S.A., November, 1995
M418017-9741 revision
*
SPRU154
TMS320C80 to TMS320C82
Software Compatibility
User’s Guide
SPRU154
November 1995
Printed on Recycled Paper
IMPORTANT NOTICE
T exas Instruments (TI) reserves the right to make changes to its products or to discontinue any
semiconductor product or service without notice, and advises its customers to obtain the latest
version of relevant information to verify , before placing orders, that the information being relied
on is current.
TI warrants performance of its semiconductor products and related software to the specifications
applicable at the time of sale in accordance with TI’s standard warranty . T esting and other quality
control techniques are utilized to the extent TI deems necessary to support this warranty.
Specific testing of all parameters of each device is not necessarily performed, except those
mandated by government requirements.
Certain applications using semiconductor products may involve potential risks of death,
personal injury , or severe property or environmental damage (“Critical Applications”).
TI SEMICONDUCTOR PRODUCTS ARE NOT DESIGNED, INTENDED, AUTHORIZED, OR
WARRANTED TO BE SUITABLE FOR USE IN LIFE-SUPPORT APPLICATIONS, DEVICES
OR SYSTEMS OR OTHER CRITICAL APPLICATIONS.
Inclusion of TI products in such applications is understood to be fully at the risk of the customer.
Use of TI products in such applications requires the written approval of an appropriate TI officer .
Questions concerning potential risk applications should be directed to TI through a local SC
sales office.
In order to minimize risks associated with the customer’s applications, adequate design and
operating safeguards should be provided by the customer to minimize inherent or procedural
hazards.
TI assumes no liability for applications assistance, customer product design, software
performance, or infringement of patents or services described herein. Nor does TI warrant or
represent that any license, either express or implied, is granted under any patent right, copyright,
mask work right, or other intellectual property right of TI covering or relating to any combination,
machine, or process in which such semiconductor products or services might be or are used.
Copyright 1995, Texas Instruments Incorporated
About This Manual
The TMS320C80 and the TMS320C82 are the first two members
of the ’C8x family of high-performance DSP devices. This guide
explains how to port software developed for one of these devices
to the other . It also presents a set of software compatibility guidelines for developing software that will run on either device.
How to Use This Manual
Preface
Read This First
How to Use This Manual
This document contains three chapters that deal with different issues related to compatibility:
-
Chapter 1 discusses software-related differences between
the ’C80 and the ’C82.
-
Chapter 2 discusses guidelines and techniques for developing software that can run on both the ’C80 and the ’C82.
-
Chapter 3 discusses guidelines and techniques for prototyping ’C82 software using a ’C80.
If you need background information about the differences between the ’C80 and the ’C82, read Chapter 1 before going on to
Chapter 2 and Chapter 3.
If you already understand the differences between the ’C80 and
the ’C82, then you can go directly to Chapter 2 and use Chapter 1
as reference material.
This user’s guide contains information at a general level to guide
you in completing programs. It does not discuss all issues related
to the ’C80 and the ’C82; use your best judgement in applying the
methods discussed in Chapter 2 and Chapter 3 to your application.
Related Documentation From Texas Instruments
Related Documentation From Texas Instruments
The following books describe the TMS320C8x and related support
tools. T o obtain a copy of any of these TI documents, call the T exas Instruments Literature Response Center at (800) 477–8924.
When ordering, please identify the book by its title and literature
number.
TMS320C80 Multimedia Video Processor Data Sheet
(literature number SPRS023) describes the features of the
’C80 device and provides pinouts, electrical specifications,
and timings for the device.
TMS320C8x System-Level Synopsis
(literature number
SPRU113) describes the ’C8x features, development
environment, architecture, memory organization, and
communication network (the crossbar).
TMS320C80 C Source Debugger User’s Guide
(literature
number SPRU107) describes the ’C8x master processor
and parallel processor C source debuggers. This manual
provides information about the features and operation of the
debuggers and the parallel debug manager; it also includes
basic information about C expressions and a description of
progress and error messages.
TMS320C80 Code Generation Tools User’s Guide
number SPRU108) describes the ’C8x code generation
tools. This manual provides information about the features
and operation of the linker, the master processor (MP) C
compiler and assembler, and the parallel processor (PP) C
compiler and assembler. It also describes the common
object file format (COFF) and shows you how to link MP and
PP code.
(literature
TMS320C80 Master Processor User’s Guide
number SPRU109) describes the ’C8x master processor
(MP). This manual provides information about the MP
features, architecture, operation, and assembly language
instruction set; it also includes sample applications that
illustrate various MP operations.
TMS320C80 Multitasking Executive User’s Guide
number SPRU112) describes the ’C8x multitasking executive software. This manual provides information about the
multitasking executive’s software features, operation, and
interprocessor communications. It also includes a list of task
error codes.
iv
TMS320C80 to TMS320C82 Software Compatibility User’s Guide
(literature
(literature
Related Documentation From Texas Instruments / If You Need Assistance
TMS320C80 Parallel Processor User’s Guide
ber SPRU110) describes the ’C8x parallel processor (PP).
This manual provides information about the PP features, architecture, operation, and assembly language instruction
set. It also includes software applications and optimizations.
TMS320C80 Transfer Controller User’s Guide
ber SPRU105) describes the ’C80 transfer controller (TC).
This manual provides information about the TC features,
functional blocks, and operation. It also includes examples
of block-write operations for big- and little-endian modes.
TMS320C80 Video Controller User’s Guide
SPRU111) describes the ’C80 video controller (VC). This
manual provides information about the VC features, architecture, and operation. It also includes procedures and examples for programming the serial register transfer (SRT)
controller and the frame timer registers.
If You Need Assistance. . .
If you want to. . .Do this. . .
Request more information
about Texas Instruments
Digital Signal Processing
(DSP) products
Order Texas Instruments
documentation
Ask questions about product
operation or report suspected
problems
Report mistakes in this
document or any other TI
documentation
†
Texas Instruments Customer Response Center
(literature num-
(literature num-
(literature number
Call the CRC† hotline:
(800) 336–5236
Or write to:
Texas Instruments Incorporated
Market Communications Manager, MS 736
P.O. Box 1443
Houston, Texas 77251–1443
Call the CRC† hotline:
(800) 336–5236
Call the DSP hotline:
(713) 274–2320
Fill out and return the reader response
card at the end of this book, or send your
comments to:
Texas Instruments Incorporated
Technical Publications Manager, MS 702
P.O. Box 1443
Houston, Texas 77251–1443
Read This First
v
vi
TMS320C80 to TMS320C82 Software Compatibility User’s Guide
TMS320C80 to TMS320C82 Software Compatibility User’s Guide
Chapter 1
Comparison of the ’C80 and ’C82
There are several differences between the ’C80 and the ’C82. As
a programmer, you must be aware of these dif ferences to ef fectively write code that runs on both the ’C80 and the ’C82. This
chapter describes important differences to prepare you for the
software-related discussions in Chapter 2 and Chapter 3.
In this chapter, you will find information that will help you:
-
Understand general differences between the ’C80 and ’C82.
-
Understand memory differences between the ’C80 and ’C82.
-
Understand the basis for the information in Chapter 2 and
Chapter 3.
Topics
1.1Overview of ’C80 and ’C82 Features1-2. . . . . . . . . . . . . .
The ’C80 offers processing power equivalent to up to 2 billion
RISC operations/second. The ’C82 is a low-cost implementation
of the ’C8x architecture that provides high levels of processing
power for cost-sensitive applications.
The ’C80 and the ’C82 are very similar in design. They have several features in common, including a crossbar network, parallel
processors, a master processor, a transfer controller, and onchip RAM. The processors are binary compatible and can run
each other’s software if the software is written for compatibility.
Four main differences relate to compatibility:
-
The ’C80 has four parallel processors; the ’C82 has two.
-
The on-chip RAM of the ’C80 is divided into 25 2-KB blocks;
the on-chip RAM of the ’C82 is divided into 11 4-KB blocks.
-
The ’C80 transfer controller has 7 externally initiated packet
transfer (XPT) requests; the ’C82 transfer controller has 15.
-
The ’C80 has an on-chip video controller; the ’C82 has none.
Table 1–1 compares the features of the ’C80 and the ’C82.
Table 1–1.’C80 and ’C82 Features
Feature’C80’C82
Number of PPs42
On-chip video controllers1None
Total on-chip RAM50 KB44 KB
Local data RAM per PP6 KB8 KB
Parameter RAM per PP2 KB4 KB
PP instruction cache size2 KB4 KB
MP parameter RAM size2 KB4 KB
MP data cache size4 KB4 KB
MP instruction cache size
4 KB4 KB
1-2
TMS320C80 to TMS320C82 Software Compatibility User’s Guide
1.2 Parallel Processor Differences
The most important difference related to the parallel processors
(PPs) is the number of PPs per chip: the ’C80 has four PPs and
the ’C82 has two.
Since the ’C82 has two PPs, software written to execute on both
the ’C80 and ’C82 must not require more than two PPs. Software
that can use up to four PPs but that requires only two PPs will run
on both devices.
The number of PPs on a chip can be counted through software.
This allows you to optimize your software’s use of available PPs.
See subsection 2.2.4,
tion of how your software can determine the number of available
PPs.
Counting the Number of PPs
Parallel Processor Differences
, for a descrip-
Comparison of the ’C80 and the ’C82
1-3
Transfer Controller Differences
1.3 Transfer Controller Differences
The differences between the transfer controllers (TCs) on the
’C80 and ’C82 are hardware differences. Generally , these differences have a negligible impact on how you write your software.
The ’C82 and ’C80 TCs differ in two main ways:
-
The ’C80 TC supports 7 XPT requests, but the ’C82 TC supports 15 XPT requests.
-
The ’C80 TC uses dedicated pins for obtaining memory configuration information, but the ’C82 TC uses a configuration
cache.
1.3.1 Number of Externally Initiated Packet Transfer Requests
The number of XPT requests handled by the ’C80 and ’C82 is different. However, because XPT requests are driven by external
devices, the seven XPT requests shared by the ’C80 and ’C82
generally aren’t used to emulate each other in different systems
with different peripherals. For example, the likelihood is small
that the peripheral connected to XPT1 on the ’C80 software development board (SDB) is the same as the peripheral connected
to XPT1 on a target ’C82 board. XPTs are normally handled
through software drivers that are written for each application. The
drivers for the SDB will almost always differ from the drivers used
in an actual application.
1.3.2 RAM Bank Configuration Mechanisms
The special RAM bank configuration pins on the ’C80 and the
configuration cache on the ’C82 are hardware features that have
a negligible impact on software.
1-4
TMS320C80 to TMS320C82 Software Compatibility User’s Guide
Loading...
+ 44 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.