background image

Related Documentation From Texas Instruments

vi

 

Related Documentation From Texas Instruments

Packaged with the XDS522 emulation system are:

XDS522 Emulation System Online Help (literature number SPRC003)

is an online help file that provides descriptions of the BTT software
user interface, menus, and dialog boxes.

TMS370C8 XDS522 Emulation System User’s Guide (literature num-

ber SPNU137) tells you how to use the XDS522

 emulation system

with the TMS370C8. This book describes the operation of the break-
point, tracing, and timing functionality in the XDS522 emulation sys-
tem. This book also discusses BTT software interface and includes a
tutorial that uses step-by-step instructions to demonstrate how to
use the XDS522 emulation system.

TMS370C16 XDS522 Emulation System User’s Guide (literature num-

ber SPNU147) tells you how to use the XDS522

 emulation system

with the TMS370C16. This book describes the operation of the
breakpoint, tracing, and timing functionality in the XDS522 emulation
system. This book also discusses BTT software interface and in-
cludes a tutorial that uses step-by-step instructions to demonstrate
how to use the XDS522 emulation system.

Packaged with the XDS522A emulation system are:

XDS522A Emulation System Online Help (literature number SPRC002)

is an online help file that provides descriptions of the BTT software
user interface, menus, and dialog boxes.

XDS522A Emulation System User’s Guide (literature number

SPRU169) tells you how to use the XDS522A

 emulation system.

This book describes the operation of the breakpoint, tracing, and tim-
ing functionality in the XDS522A emulation system. This book also
discusses BTT software interface and includes a tutorial that uses
step-by-step instructions to demonstrate how to use the XDS522A
emulation system.

Summary of Contents for XDS522

Page 1: ...XDS522 XDS522A Emulation System Installation Guide 1996 Microprocessor Development Systems ...

Page 2: ...Printed in U S A August 1996 D412012 9741 revision B SPRU171B ...

Page 3: ...XDS522 XDS522A Emulation System Installation Guide Printed on Recycled Paper SPRU171B August 1996 Printed on Recycled Paper ...

Page 4: ...DUCTS 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 applica...

Page 5: ...by the C source debugger This manual explains how to install the hardware and software for the XDS522 XDS522A emulation system Follow the instructions from the beginning of Chapter 1 Installing the XDS522 XDS522AHardware through the end of Chapter 2 Installing the BTT Software to install the XDS522 XDS522A hardware and software The XDS522 is used with the TMS370C8 and TMS370C16 The XDS522A is used...

Page 6: ...system prompt and a command that you might enter C edit board cfg In syntax descriptions the instruction command or directive is in a bold typeface and parameters are in an italic typeface Portions of a syntax that are in bold should be entered as shown portions of a syntax that are in italics describe the type of information that should be entered Here is an example of a command syntax bload file...

Page 7: ... caution statement A caution statement describes a situation that could potentially damage your software or equipment This is an example of a warning statement A warning statement describes a situation that could potentially cause harm to you The information in a caution or a warning is provided for your protection Please read each caution and warning carefully ...

Page 8: ...rature num ber SPNU147 tells you how to use the XDS522 emulation system with the TMS370C16 This book describes the operation of the breakpoint tracing and timing functionality in the XDS522 emulation system This book also discusses BTT software interface and in cludes a tutorial that uses step by step instructions to demonstrate how to use the XDS522 emulation system Packaged with the XDS522A emul...

Page 9: ...nstallation Guide literature number SPRU152 tells you how to install the PC version of the C2xx emu lator and C source debugger interface TMS370C8 C Source Debugger User s Guide literature number SPNU063 tells you how to invoke the TMS370C8 XDStemulator compact development tool CDT and simulator versions of the C source debugger interface This book discusses various aspects of the debugger interfa...

Page 10: ...13 274 2320 713 274 2324 33 1 3070 1032 4389750 mcimail com http www ti com dsps 713 274 2323 8 N 1 44 2 3422 3248 ftp ti com mirrors tms320bbs 192 94 94 33 Ask questions about microcon troller product operation or report suspected problems Fax Email World Wide Web BBS 713 274 2370 713 274 4203 H370 msg ti com http www ti com sc micro 713 274 3700 8 N 1 Request tool updates Software Software fax H...

Page 11: ...st radio frequency interference Operation of this equipment in other en vironments may cause interference with radio communications in which case the user at his own expense will be required to take whatever measures may be required to correct this interference Trademarks XDS XDS510 XDS510PP XDS510WS XDS511 XDS522 and XDS522A are trademarks of Texas Instruments Incorporated Microsoft is a register...

Page 12: ...x ...

Page 13: ...ep 7 Supplying Power 1 17 1 10 Step 8 Verifying the Installation 1 19 2 Installing the BTT Software 2 1 Describes how to install the software for the XDS522 XDS522A emulation system 2 1 What You Need 2 2 2 2 About the Installation Program 2 3 2 3 Step 1 Running the Installation Program 2 4 2 4 Step 2 Updating the board dat File 2 5 2 5 Step 3 Checking the Command Line Options 2 6 2 6 Step 4 Instal...

Page 14: ...ystem Kit Hardware Components 1 5 1 5 XDS511 Emulator 1 7 1 6 Target Cable Adapter Board 1 8 1 7 XDS522 Interface Adapter Pod 1 10 1 8 XDS522A Interface Adapter Pod 1 10 1 9 Interface Adapter Pod Default Dip Switch Settings 1 11 1 10 Front View of the XDS522 XDS522A 1 14 1 11 Connecting the Interface Adapter Pod 1 15 1 12 Supplying Power to the XDS522 XDS522A and XDS511 1 17 1 13 Back View of the ...

Page 15: ... 1 Installing the XDS51x Emulator Kit 1 6 1 4 Step 2 Setting Jumpers on the XDS511 1 7 1 5 Step 3 Setting Jumpers on the Target Cable Adapter Board Optional 1 8 1 6 Step 4 Setting Jumpers on the Interface Adapter Pod 1 9 1 7 Step 5 Setting Dip Switches on the Interface Adapter Pod XDS522A Only 1 11 1 8 Step 6 Installing the Interface Adapter Pod 1 14 1 9 Step 7 Supplying Power 1 17 1 10 Step 8 Ver...

Page 16: ...re 1 1 Sample XDS522A Emulation System XDS510 emulator controller To 16 bit PC slot Power supply 5 V 5 A JTAG cable XDS522 XDS522A Logic Analyzer or oscilloscope op tional Interface adapter pod Target board optional Target cable adapter board XDS511 emulator SE device 120 V ac External channel probes optional Target cable optional PC display for BTT software and debugger ...

Page 17: ...n system kit XDS522 or XDS522A BTT chassis XDS522 or XDS522A interface adapt er pod with woven cables Provided external power supply 5 V 5 A including the power supply adapter cord See Figure 1 4 on page 1 5 Minimizing Electrical Shock and Fire Hazard To minimize the risk of electric shock and fire hazard be sure that all major components that you interface with Texas Instruments devices are limit...

Page 18: ...igure 1 2 XDS51x Emulator Kit Hardware Components XDS511 emulator XDS510PP XDS510 XDS511 power supply Power supply adapter cable XDS510PP power supply Power supply adapter cable JTAG cable OR AND Printer cable Power cord ...

Page 19: ...ration Kit Hardware Components Target cable adapter board SE device Figure 1 4 XDS522 XDS522A Emulation System Kit Hardware Components XDS522 interface adapter pod XDS522A interface adapter pod Power supply Power supply adapter XDS522 or XDS522A chassis OR AND Woven cable Woven cable ...

Page 20: ...tor kit enables your debugger and your XDS522 XDS522A to communicate with your target system The XDS51x emulator kit consists of an XDS510 or XDS510PP emulator controller and the XDS511 emulator Before installing the XDS522 XDS522A hardware you must install an XDS51x emulator kit Follow the instructions in the XDS51x Emulator Installation Guide to install the XDS51x emulator kit ...

Page 21: ...e JTAG scan path XDS522A Remove the jumper from pins 3 and 4 Along with the information in your board dat file this includes the XDS522 XDS522A in the JTAG scan path Specify what to base the cycle clock on by choosing one of the following To use the XDS511 clock ensure pins 7 and 8 are connected This is the default setting To use the target clock remove the jumper from pins 7 and 8 and connect pin...

Page 22: ...ot using the target cable adapter board skip this step To configure the XDS522 XDS522A emulation system reset jumpers JP1 and JP2 on the target cable adapter board See Figure 1 6 for the location of these jumpers The settings depend on the device you are using To determine the correct set tings see the configuration information on the disk included with your device configuration kit Figure 1 6 Tar...

Page 23: ...ice with a system clock period of 50 ns pins labeled B con nected together all others open For a C16 device with a system clock period of 75 ns pins labeled C con nected together all others open For a C16 device with a system clock period of 100 ns or more pins labeled D connected together all others open XDS522A JP6 Pins connected together JP7 Pins connected together JP8 Pins labeled XTDO and ETD...

Page 24: ...mpers on the Interface Adapter Pod 1 10 Figure 1 7 XDS522 Interface Adapter Pod JP6 JP7 D C B A External channel connector E Figure 1 8 XDS522A Interface Adapter Pod JP6 JP8 JP7 XTDO ETD1 FTDO External channel connector ...

Page 25: ...igure 1 9 Interface Adapter Pod Default Dip Switch Settings S1 S3 S2 S6 S7 S8 Down Up S1 S5 S4 Table 1 3 Interface Adapter Pod Dip Switch Descriptions Switch Number Switch Label Description S1 TSCLK_INVERT Indicates whether the target clock is inverted S2 REALTIME When running in realtime mode indicates whether the code between ETRAP and ERET is visible When set to Down the code is not visible Whe...

Page 26: ...isplay Because the C2xx pipeline outputs program information in a different cycle than it outputs data the flattener aligns the instruction with the data so that they appear in the same cycle in the TRACE window You must choose one of the following modes Flat multi word shows the addresses of the first and second words in a two word instruction This produces more complete disassembly information w...

Page 27: ...ings you need S1 Down S2 Down S3 Down S4 Up S7 Down S8 Down 2 Set switches S5 and S6 for the flattener mode you want as listed in the following table Mode Switch Setting Flat multi word S5 S6 Up Down Flat first word S5 S6 Up Up Unflattened S5 S6 Down Down 3 Specify the flattener mode to the BTT software Include the rn option on the command line when you invoke the BTT software Use one of the fol l...

Page 28: ... interface adapter pod see Figure 1 11 For information about the trigger connector see one of the following For the XDS522 when using a C8 TMS370C8 XDS522 Emulation Sys tem User s Guide For the XDS522 when using a C16 TMS370C16 XDS522 Emulation Sys tem User s Guide For the XDS522A XDS522A Emulation System User s Guide Figure 1 10 Front View of the XDS522 XDS522A BTT 522 Timing Analysis System TRIG...

Page 29: ...he Interface Adapter Pod 1 15 Installing the XDS522 XDS522A Hardware Figure 1 11 Connecting the Interface Adapter Pod XDS522 XDS522A Interface adapter pod Woven cables JP5 JP4 JP3 JP1 JP2 Bottom view of the XDS511 JP3 JP2 ...

Page 30: ... the following order a Connect cable JP5 to the bottom connector b Connect cable JP4 to the middle connector c Connect cable JP3 to the top connector Note The connectors on the woven cables fit snugly Ensure that they are pushed in completely 3 Connect the interface adapter pod to the XDS511 The interface adapter pod has two 60 pin connectors labeled JP1 and JP2 Connect them to the two 60 pin conn...

Page 31: ...y from the XDS511 When us ing the XDS522 XDS522A this power supply will not provide enough am perage 2 Attach the power supply adapter cord to the new 5 V 5 A power supply provided with the XDS522 XDS522A 3 Attach the power supply jack on the 5 V 5 A power supply to the rear of the XDS522 XDS522A 4 Plug in the power supply adapter cord to your PC and your target system 5 Turn on the power for your...

Page 32: ...wer switch Power supply connector For information about the BNC connector see one of the following For the XDS522 when using a C8 TMS370C8 XDS522 Emulation Sys tem User s Guide For the XDS522 when using a C16 TMS370C16 XDS522 Emulation Sys tem User s Guide For the XDS522A XDS522A Emulation System User s Guide ...

Page 33: ... the indicator light is not illuminated check the connections If the light does not turn on turn off the XDS522 XDS522A and contact the TI DSP Hotline XDS522A or Microcontroller Hotline XDS522 The remainder of the hardware installation is validated by the verification pro cess at the end of the software installation After your system is powered correctly install the BTT software as described in Ch...

Page 34: ...1 20 ...

Page 35: ...22A emulation systems Topic Page 2 1 What You Need 2 2 2 2 About the Installation Program 2 3 2 3 Step 1 Running the Installation Program 2 4 2 4 Step 2 Updating the board dat File 2 5 2 5 Step 3 Checking the Command Line Options 2 6 2 6 Step 4 Installing the Online Help 2 7 2 7 Step 5 Verifying the Installation 2 8 Chapter 2 ...

Page 36: ...3 1 or higher Input device A keyboard a Microsoftt compatible mouse is optional but highly recom mended Output device An SVGA color monitor with a minimum 800 600 resolution 1024 768 resolu tion is highly recommended XDS522 or XDS522A emulation system kit software Disk containing the XDS522 XDS522A emulation system software C source debugger kit An installed C source debugger for the SE device you...

Page 37: ...mple program group Before completing the soft ware installation it contains the C Source Debugger and EMU Reset icons Creates one or more program icons in the group The number of icons created and their descriptions depends on the SE device you are using The basic icon looks like this For information about creating or deleting a program group or about creating or moving icons see Appendix A About ...

Page 38: ...s a number of the files that are located in the C source debugger directory including the board dat file and several dynamic link library DLL files Installing the BTT software in the C source debugger directory avoids file location problems that occur later if the BTT software were in some other directory 5 Ensure that the directory name is the name of your C source debugger directory and select O...

Page 39: ...the XDS522 XDS522A cpu_btt TI320C50 Example 2 1 and Example 2 2 show valid board cfg files see your C source debugger manual for more information about the board cfg file 3 Save and close the board cfg file 4 Using the source debugger s composer utility at a DOS prompt translate the board cfg file into a board dat file For more information about the composer utility see your C source debugger user...

Page 40: ...ard dat file n devicename Required Specifies the name of your emulation system as defined in your board dat file In Example 2 1 Example 2 2 and Example 2 3 the devicename is cpu_btt t commandfile Optional Specifies an initialization batch file to use instead of the default init cmd file rn Required Specifies the flattener mode XDS522A only You must also set the ap propriate dip switches on the int...

Page 41: ... the program group containing the icon for the BTT software 4 From the Program Manager select File New 5 Select the Program Item option Click on OK 6 Fill in the Program Item Properties dialog box fields with the following in formation Dialog Box Field BTT Software Information to Enter Description XDS522 XDS522 Online Help XDS522A XDS522A Online Help Command Line XDS522 winhelp c help_directory_na...

Page 42: ...DS522A Hardware All jumpers and dip switches are set properly see Chapter 1 Installing the XDS522 XDS522A Hardware A valid board dat file exists see Section 2 4 on page 2 5 The command line options for the BTT software are correct see Table 2 1 on page 2 6 The I O base address setting for the XDS510 emulator controller is correctly specified in the BTT software command line see Table 2 1 on page 2...

Page 43: ...mental information about specific tasks in Windows For example you might want to create an icon for your C source debugger This appendix provides information about creating and moving program icons and creating and deleting program groups Topic Page A 1 Creating a Program Icon A 2 A 2 Moving a Program Icon A 2 A 3 Creating a Program Group A 3 A 4 Deleting a Program Group A 3 Appendix A ...

Page 44: ...or the executable You can now close the File Manager 5 Click the program icon and in the Program Manager select File Prop erties This displays the Program Item Properties dialog box 6 Modify the information in the Command Line field to include the options you normally use at start up for that program A 2 Moving a Program Icon A program icon exists in a program group To move an icon from one progra...

Page 45: ...for the program group in the Description field and click OK This displays an empty program group with the name you entered A 4 Deleting a Program Group A program group contains program icons To delete a program group follow these steps 1 Minimize the program group you want to delete 2 Click on the icon to make it active 3 Click on the icon again to select it 4 From the Windows Program Manager sele...

Page 46: ...Deleting a Program Group A 4 ...

Page 47: ...d dat file by compiling a board cfg file I interface adapter pod A board and woven cables that connects the XDS511 emulator to the XDS522 XDS522A J JTAG cable The cable that attaches the XDS510 to your target system S SE device A device that connects to the XDS511 An SE special emula tion device is a specialized device that performs the same functions as your target device but includes features fo...

Page 48: ...board XDS510 An emulator controller board for use in an IBM compatible PC The XDS510 enables your debugger to communicate with the target system XDS510PP An emulator controller for use with an IBM compatible PC The XDS510PP is an external piece of hardware connected to your PC s par allel printer port The XDS510PP enables your debugger to communi cate with the target system XDS511 A board used to ...

Page 49: ...using 2 5 connector BNC 1 18 external channel 1 9 interface adapter pod 1 14 power supply 1 17 trigger 1 14 contacting Texas Instruments viii conventions iv D dip switches 1 11 directory 2 4 documentation related vi E electrical shock minimizing 1 3 external channel connector 1 9 F f command line option 2 6 FCC warning ix fire hazard minimizing 1 3 flattened mode command line option specification ...

Page 50: ...ine help installation 2 7 P p command line option 2 6 power supply connector 1 17 installing 1 17 requirements 1 3 program groups A 3 R r command line option 2 6 requirements hardware 1 3 software 2 2 S SE device defined B 1 software installation 2 4 to 2 7 requirements 2 2 verification 2 8 static shock minimizing 1 3 syntax conventions iv T t command line option 2 6 target cable adapter board def...

Page 51: ... 3 FCC ix fire hazard 1 3 window size 2 6 Windows icons A 2 program groups A 3 X x command line option 2 6 XDS510 defined B 2 XDS510PP defined B 2 XDS511 defined B 2 described 1 7 XDS51x emulator kit defined B 2 installation 1 6 XDS522 XDS522A defined B 2 ...

Page 52: ...Index 4 ...

Reviews: