Page 1
XDS51x Emulator Installation Guide SPNU070C February 2002 Printed on Recycled Paper...
Page 2
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.
Page 3
XDS511t emulator board. There are several XDS510 emulator controllers for use with different comput- ers. These emulator controllers are the XDS510 and XDS510PP for use with PCs, and the XDS510WSt for use with a SPARCstation or an HP workstation. This manual includes a chapter for each of the controllers and one chapter for the XDS511.
Page 4
Information About Cautions and Warnings Information About Cautions and Warnings This manual contains cautions and warnings. This is an example of a 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.
Page 5
The following books describe the C source debugger for the TMS370C8, TMS370C16, or TMS320C2xx devices and the JTAG cable. To obtain a copy of any of these TI documents, call the Texas Instruments Literature Response Center at (800) 477–8924. When ordering, please identify the book by its title and literature number.
Page 6
Trademarks 320 Hotline On-line, TI&ME, XDS510, XDS510PP, XDS510WS, XDS511, and XDS522 are trademarks of Texas Instruments Incorporated. HP-UX, HP 9000 Series 700, and PA-RISC are trademarks of Hewlett- Packard Company.
Chapter 1 Introduction This chapter provides background information to help you determine what in- formation in this manual you need to use. The systems discussed in this manu- al are described so that you can decide which ones you want to use. Additionally, this chapter contains definitions you will need to understand to install the XDS51x emulator.
XDS511 with an SE device attached to it. JTAG cable The cable that attaches the XDS510, XDS510WS, or XDS510PP to your target system. JTAG connector A 14-pin connector on the target system that is used to...
TMS320C2xx devices. 1.2.1 Selecting an XDS510 The XDS510 that you select depends on the computer you are using. Use the following table to select the device you want to use: If you are using . . . Then use the . . .
1.3 Where to Go From Here After reading this chapter, turn to the chapter that describes how to install the XDS510 that you have selected and follow the instructions in that chapter. If you are going to install the . . .
Chapter 2 Installing the XDS510 in a PC This chapter explains how to install the XDS510 emulator controller in your PC. It also describes how to use the JTAG cable to connect the XDS510 to a target system. Topic Page What You’ll Need...
What You’ll Need 2.1 What You’ll Need To install the XDS510, you will need the following hardware: host An IBM PC/AT or 100% compatible ISA/ EISA-based PC slot One 16-bit slot emulator controller XDS510 emulator controller board JTAG cable Cable that connects the XDS510 to your...
Step 1: Preparing the XDS510 for Installation 2.2 Step 1: Preparing the XDS510 for Installation The XDS510 uses 32 bytes of the PC I/O space. Before you install the XDS510, set its switches to correctly identify the I/O space that the XDS510 can use.
2) Remove the cover of your PC. 3) Remove the mounting bracket from an unused 16-bit slot. 4) Carefully but firmly push the XDS510 into a 16-bit slot (see Figure 2–2). 5) Return the mounting screw to the mounting bracket and tighten the screw (see Figure 2–2).
Connect them gently; forcing the connectors into position can damage them. 1) Turn off your target system and unplug the power cord. 2) Plug the 25-pin connector side of the JTAG cable into the XDS510 (see Figure 2–3). Note: If You Are Using the XDS511 If you are using the XDS511 emulator with or instead of a target system of your own design, stop here and turn to Chapter 6, Installing the XDS511.
Where to Go From Here 2.5 Where to Go From Here Your XDS510 is now installed. At this point, do one of the following: If you plan to install the XDS511, turn to Chapter 6, Installing the XDS511. If you are not planning to install the XDS511, install the C source debugger for your device.
Chapter 3 Installing the XDS510PP on a PC This chapter explains how to install the XDS510PP emulator controller on your Topic Page What You’ll Need ..........Step 1: Connecting the XDS510PP to Your PC .
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 limited in energy and certified by one or more of the...
Step 1: Connecting the XDS510PP to Your PC 3.2 Step 1: Connecting the XDS510PP to Your PC Follow these steps to connect the XDS510PP to your PC. Minimizing Personal Injury To minimize the risk of personal injury, always turn off the power to your PC and unplug the power cord before installing the XDS510PP.
Step 2: Connecting the XDS510PP to Your Target System 3.3 Step 2: Connecting the XDS510PP to Your Target System Note: If You Are Using the XDS511 If you are using the XDS511 emulator with or instead of a target system of your own design, stop here (that is, do not perform Step 2 or Step 3) and turn to Chapter 6, Installing the XDS511.
Step 3: Supplying Power to the XDS510PP 3.4 Step 3: Supplying Power to the XDS510PP The XDS510PP requires a power supply of 5 volts. How you supply power de- pends upon what the XDS510PP connects to. The following table describes the possibilities: Connection Scenario Power Supply Option...
Step 3: Supplying Power to the XDS510PP If you need to connect the power supply to the XDS510PP, follow these steps: 1) Connect the 2.1 mm barrel jack end of the power supply adapter cable to the power jack on the XDS510PP (see Figure 3–3). 2) Connect the 5-pin circular connector end of the power supply adapter cable to the power supply (at the circular connector of the DC power cord).
Where to Go From Here 3.5 Where to Go From Here Your XDS510PP is now installed. At this point, do one of the following: If you plan to install the XDS511, turn to Chapter 6, Installing the XDS511. If you are not planning to install the XDS511, install the C source debugger for your device.
Chapter 4 Installing the XDS510WS on a SPARCstation This chapter explains how to install the XDS510WS emulator controller on a SPARCstation running OpenWindowst under SunOSt version 5.5 (or higher). Topic Page What You’ll Need ..........Step 1: Preparing for the Installation .
Minimizing Electrical Shock and Fire Hazard 1) To minimize the risk of electric shock and fire hazard, be sure that all major components that you interface with Texas Instruments devices are limited in energy and certified by one or more of the fol- lowing agencies: UL, CSA, VDE, or TUV.
Step 1: Preparing for the Installation 4.2 Step 1: Preparing for the Installation To prepare for the installation, you must have the correct access to the host machine, and you must determine if the XDS510WS is working correctly. This section explains these requirements. 4.2.1 Access Required You must have root access to the host machine you intend to connect to the...
Step 1: Preparing for the Installation Figure 4–1. Rear View of the XDS510WS on/off switch power supply connector Figure 4–2. Front View of the XDS510WS XDS510WS LEDs...
Step 2: Connecting the XDS510WS to Your Workstation 4.3 Step 2: Connecting the XDS510WS to Your Workstation The XDS510WS is connected to your workstation using a SCSI bus. This sec- tion describes how to locate a SCSI bus to use and how to connect the XDS510WS to the SCSI bus.
Page 34
Step 2: Connecting the XDS510WS to Your Workstation 3) For SunOS 5.5 skip to step 5. For SunOS 5.6, 5.7, and 5.8 type: setenv auto–boot? false 4) After you receive the following message: auto–boot? false Reset the workstation by typing the following for SunOS 5.6 or 5.7: reset Reset the workstation by typing the following for SunOS 5.8: reset–all...
Step 2: Connecting the XDS510WS to Your Workstation 4.3.2 Setting the SCSI ID on the XDS510WS If your workstation is already using SCSI ID 4 (see subsection 4.3.1), you must change the SCSI ID on the XDS510WS. Follow these steps to change the SCSI ID: 1) Turn off the XDS510WS.
Step 2: Connecting the XDS510WS to Your Workstation 4.3.3 Adding the XDS510WS Onto the SCSI Bus The SCSI bus is a chain with two distinct ends; it is not a loop. Although there may be SCSI devices within your host, the visible chain begins at the host and ends at one of the external SCSI devices.
Step 2: Connecting the XDS510WS to Your Workstation Figure 4–4. Connecting the XDS510WS to Your Workstation workstation XDS510WS SCSI cable SCSI connector or external terminator for the SCSI bus SCSI connectors 4.3.4 Terminating the SCSI Bus You must terminate the SCSI bus at each end of its chain to reduce signal noise.
Step 3: Configuring Your Workstation to Recognize the XDS510WS 4.4 Step 3: Configuring Your Workstation to Recognize the XDS510WS This step varies, depending on which version of the operating system you are using. The following table directs you to the proper section: Operating System See Subsection SunOS 5.5...
1) Make sure that the XDS510WS is properly connected and powered up. 2) Login as root, or login as a regular user and use the su command to change to root. 3) Determine if the XDS510 driver has been previously installed on the workstation with the following command: /dev...
4.4.2 on page 4-11. At the end of the line you should also see something similar to: /xds510@4,0:character Where, in this example, the 4 following the @ is the SCSI ID chosen in section 4.3 on page 4-5, and 0 represents the lun number of the SCSI card. The lun number should be 0 unless the XDS510WS is connected to a secondary SCSI card on the workstation.
Step 4: Allowing the Debugger to Access the XDS510WS If rxds510# is listed with permissions other than lrwxrwxrwx, enter the follow- ing command: chmod 777 /dev/rxds510# To ensure that correct permissions are set on the actual device, enter the fol- lowing command: ls –lL /dev/rxds510# If rxds510# is listed with permissions other than crwxrwxrwx, enter the follow-...
Step 5: Connecting the XDS510WS to Your Target System 4.6 Step 5: Connecting the XDS510WS to Your Target System Follow these steps to connect the JTAG cable to your XDS510WS and your target system. Figure 4–5 illustrates the connection. Minimizing Equipment Damage To minimize the risk of damage, be careful with the JTAG cable connectors.
Page 43
Step 5: Connecting the XDS510WS to Your Target System If you want to change the target system connected to the JTAG cable, then fol- low these steps: 1) Power off the XDS510WS and the target systems. 2) Disconnect the 14-pin connector side of the JTAG cable from the old target system, and connect it to the new target system.
Where to Go From Here 4.7 Where to Go From Here Your XDS510WS is now installed. At this point, do one of the following: If you plan to install the XDS511, turn to Chapter 6, Installing the XDS511. If you are not planning to install the XDS511, install the C source debugger for your device.
3) Remove the dangling symbolic link rxds510# in /dev. The # sign repre- sents the SCSI ID of the XDS510WS device. 4) Remove the following line from the /etc/devlink.tab file: type=sample_driver;name=xds510;minor=character rxds510\A1 5) If the following files are present, remove them: /usr/kernel/drv/xds510 /usr/kernel/drv/xds510.conf...
Troubleshooting the XDS510WS 4.9 Troubleshooting the XDS510WS Before looking for troubleshooting help in this section, please make sure that the XDS510WS is in proper working order. Make sure that the device is prop- erly powered and all cable connections are securely attached to the XDS510WS, target, and workstation.
Troubleshooting the XDS510WS 4.9.2 Code Composer Errors on Initial Use If the attempt to execute Code Composer Studio for the first time results in one of the following error messages: Can’t Initialize Target DSP. Trouble with JTAG controller, check your Cabling and your Multiprocessing Configuration Can’t Initialize Target DSP.
Troubleshooting the XDS510WS d) The JTAG signal may not be clear enough. In order to provide high- quality signals between the emulator and the target processor, check that the unbuffered distance between the emulator header and the processor is less than 6 inches. If this distance is in excess of 6 inches, the emulation signals should be buffered.
Chapter 5 Installing the XDS510WS on an HP Workstation This chapter explains how to install the XDS510WS emulator controller on an HP 9000 Series 700t PA-RISCt computer running HP-UXt 9.0x. Topic Page What You’ll Need ..........Step 1: Preparing for the Installation .
Minimizing Electrical Shock and Fire Hazard 1) To minimize the risk of electric shock and fire hazard, be sure that all major components that you interface with Texas Instruments devices are limited in energy and certified by one or more of the fol- lowing agencies: UL, CSA, VDE, or TUV.
Step 1: Preparing for the Installation 5.2 Step 1: Preparing for the Installation To prepare for the installation, you must have the correct access to the host machine, and you must determine if the XDS510WS is working correctly. This section explains these requirements. 5.2.1 Access Required You must have root access to the host machine you intend to connect to the...
Step 1: Preparing for the Installation Figure 5–1. Rear View of the XDS510WS on/off switch power supply connector Figure 5–2. Front View of the XDS510WS XDS510WS LEDs...
Step 2: Connecting the XDS510WS to Your Workstation 5.3 Step 2: Connecting the XDS510WS to Your Workstation The XDS510WS is connected to your workstation using a SCSI bus. This sec- tion describes how to locate a SCSI bus to use and how to connect the XDS510WS to the SCSI bus.
Step 2: Connecting the XDS510WS to Your Workstation You should see a list of used SCSI IDs scroll on your screen; it should look simi- lar to the following: Path Driver Description Status ==== ====== =========== ====== 1.0.0 graph3 Graphics Subsystem 2.0.1 c700 SCSI Interface...
Step 2: Connecting the XDS510WS to Your Workstation 5.3.3 Adding the XDS510WS Onto the SCSI Bus The SCSI bus is a chain with two distinct ends; it is not a loop. Although there may be SCSI devices within your host, the visible chain begins at the host and ends at one of the external SCSI devices.
Step 2: Connecting the XDS510WS to Your Workstation 5.3.4 Terminating the SCSI Bus You must terminate the SCSI bus at each end of its chain to reduce signal noise. The device farthest from your workstation on the chain should be termi- nated.
Step 3: Setting Up Your Workstation to Recognize the XDS510WS 5.4 Step 3: Setting Up Your Workstation to Recognize the XDS510WS Ensure that the device driver exists. Look for file /dev/rdsk/cXdYs0, where X is the ID of the SCSI controller that the emulator is attached to and Y is the SCSI ID of the emulator.
Step 4: Allowing the Debugger to Access the XDS510WS 5.5 Step 4: Allowing the Debugger to Access the XDS510WS The debugger accesses the XDS510WS by reading from and writing to the de- vice driver you looked for in Section 5.4. To execute the debugger, you must ensure that any user who uses the XDS510WS has read/write privileges for the /dev/rdsk/cXdYs0 file.
Step 5: Connecting the XDS510WS to Your Target System 5.6 Step 5: Connecting the XDS510WS to Your Target System Follow these steps to connect the JTAG cable to your XDS510WS and your target system. Figure 5–5 on page 5-11 illustrates the connection. Minimizing Equipment Damage To minimize the risk of damage, be careful with the JTAG cable connectors.
Where to Go From Here 5.7 Where to Go From Here Your XDS510WS is now installed. At this point, do one of the following: If you plan to install the XDS511, turn to Chapter 6, Installing the XDS511. If you are not planning to install the XDS511, install the C source debugger for your device.
Chapter 6 Installing the XDS511 This chapter describes how to set up and install the XDS511 emulator board. If you plan to use the XDS511 as your target system, follow the instructions in this chapter. Topic Page What You’ll Need .
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 limited in energy and certified by one or more of the following agencies: UL, CSA, VDE, or TUV.
The XDS511 6.2 The XDS511 Figure 6–1 and Figure 6–2 show the top and bottom views of the XDS511 emulator and call out components that are referred to in this chapter. Figure 6–1. XDS511 Emulator Top View power jack JTAG connector pin 1 XDS511 EMULATOR device socket...
Step 1: Setting the Jumpers on the XDS511 6.3 Step 1: Setting the Jumpers on the XDS511 The XDS511 has two blocks of jumpers that must be set. The locations of the jumper blocks are shown in Figure 6–1 on page 6-3. To set a pair of jumpers, place a jumper on the pins that correspond to the jumper numbers.
Step 1: Setting the Jumpers on the XDS511 6.3.2 Jumper Settings When Using a C2xx SE Device When using the C2xx SE device, the jumper settings for the XDS511 vary de- pending upon which operating mode you use. These modes are: native The XDS511 replacement memory is disabled.
Page 66
Step 1: Setting the Jumpers on the XDS511 Table 6–1. Jumper Settings That Change for the Various Modes If you want Then set JP1 And set JP5 this mode . . . And you want . . . like this . . . like this .
Step 2: Connecting the SE Device to the XDS511 6.4 Step 2: Connecting the SE Device to the XDS511 An SE device is connected to the XDS511 by inserting the device into a socket. The XDS511 can have a lever-type socket or a screwdriver-type socket. Minimizing Equipment Damage To minimize the risk of damage, be very careful with the SE device.
Step 2: Connecting the SE Device to the XDS511 6.4.2 Inserting an SE Device Into a Screwdriver-Type Socket Follow these steps to insert your SE device into a screwdriver-type socket: 1) Insert the head of a flathead screwdriver into the slot marked OPEN on the side of the socket.
6.5 Step 3: Connecting the JTAG Cable, Power Supply, and Adapter Board Follow these steps to connect the JTAG cable to the XDS511. You should have already connected the cable to your XDS510 (see the previous chapters). Minimizing Equipment Damage To minimize the risk of damage, be very careful with the JTAG cable connectors.
Step 3: Connecting the JTAG Cable, Power Supply, and Adapter Board Figure 6–6. Connecting the JTAG Cable, Power Supply, and Adapter Board to the XDS511 JTAG cable or XDS510PP cable 14-pin keyed connector XDS511 power supply adapter cable power supply 2.1 mm barrel jack 5-pin circular connector adapter...
Step 4: Connecting a Target System to the XDS511 (Optional) 6.6 Step 4: Connecting a Target System to the XDS511 (Optional) You can use the XDS511 emulator as your target system while doing most of your testing. Then you can replace the XDS511 with your target system (see the previous chapters for information about connecting to your target system).
Step 4: Connecting a Target System to the XDS511 (Optional) 6.6.2 Target Cable Method Follow these steps to use a target cable to connect your target system to the XDS511: 1) Turn off your SCSI devices, workstation, XDS510WS, XDS511, and target system.
Step 4: Connecting a Target System to the XDS511 (Optional) Figure 6–7. Attaching the Target Cable to the XDS511 XDS511 adapter board connector position target cable target system Installing the XDS511 6-13...
The installation instructions are in the device getting started guide for your device’s C source debugger Only after installing and running the C source debugger for your device can you determine if the XDS511 and XDS510 emulator controller are installed properly. 6-14...
Page 75
Appendix A Appendix A Interpreting the XDS510WS LEDs The XDS510WS emulator controller provides status information about the op- eration of the emulator through eight LEDs. The LEDs are located on the front panel of the XDS510WS. Topic Page XDS510WS LEDs .
XDS510WS LEDs / Power Indicator: LED 1 A.1 XDS510WS LEDs On the front of the XDS510WS is a small panel of LEDs that provide status information during the operation of the emulator (refer to Figure A–1). Figure A–1. XDS510WS LEDs XDS510WS LEDs The LEDs are numbered from left to right, starting with LED 1 through LED 8.
Power-Loss Indicator: LED 2 / Emulation-Instruction Indicator: LED 3 A.3 Power-Loss Indicator: LED 2 When LED 2 is on, the XDS510WS has detected a power loss on the target system. Note After you apply power to the target, this LED remains on until you invoke the debugger and it communicates with the target system.
Error/Status Indicators: LEDs 4, 5, and 6 / SCSI-Transfer Indicators: LEDs 7 and 8 A.5 Error/Status Indicators: LEDs 4, 5, and 6 LEDs 4, 5, and 6 indicate error messages and signify the state of the emulator. LEDs State Explanation Self test When you first power up the XDS510WS and immediately after you execute an...
XDS510WS LED Interpretation A.7 XDS510WS LED Interpretation Figure A–2 shows the standard LED sequences. These patterns allow you to understand quickly the operational status of the emulator and its functions. Figure A–2. Standard LED Sequences Intermittent Key to LED Status Power-On Sequence before power-on steady state...
Page 80
Appendix B Appendix A Glossary boot mode: An operating mode of the ’C2xx SE device. In this mode, the contents of the EPROM are copied to RAM bank 2 on reset. The EPROMs are enabled continuously. Writes to RAM bank 2 occur at the end of a cycle, and one complete read/write cycle takes two clock cycles.
Page 81
Glossary JTAG cable: The cable that attaches the XDS510 or XDS510WS to your tar- get system. JTAG connector: A 14-pin connector (two rows of seven pins) on the target system that is used to connect the JTAG cable. native mode: An operating mode of the ’C2xx SE device. In this mode, the XDS511 replacement memory is disabled.
Page 82
Glossary XDS510: An emulator controller board for use in an IBM-type PC. The XDS510 is a board installed in your PC. The XDS510 enables your de- bugger to communicate with the target system. XDS510PP: An emulator controller for use with an IBM-type PC. The XDS510PP is an external piece of hardware connected to your PC using the parallel printer port.
Page 83
HP workstation 5-3 SPARCstation 4-12 SPARCstation 4-3 documentation adapter board related v illustration 6-13 installation 6-9 electrical shock minimizing XDS510 2-2 XDS510PP 3-2 boot mode definition 6-5, B-1 XDS510WS HP workstation 5-2 SPARCstation 4-2 XDS511 6-2 emulator C16 SE device...
Page 84
XDS510WS HP workstation 5-3 SPARCstation 4-3 XDS511 6-9 requirements XDS510PP 3-2 I/O address space XDS510WS avoiding conflicts for the XDS510 2-3 HP workstation 5-2 for the XDS510 2-3 SPARCstation 4-2 interface to XDS510WS XDS511 6-2 HP workstation 5-2 printer cable...
Page 85
6-7 uninstalling the XDS510WS 4-17 supported devices 1-3 XDS511 connection lever-type socket 6-7 screwdriver-type socket 6-8 XDS510 slot for XDS510 2-2 definition B-3 description 1-3 SPARCstation allowing debugger access to an electrical shock minimizing 2-2 XDS510WS 4-12 fire hazard minimizing 2-2...
Page 86
Index XDS510PP (continued) XDS510WS (continued) target system connection 3-4 recognizing what you’ll need 3-2 HP workstation 5-9 SPARCstation 4-10 XDS510WS root access debugger access to HP workstation 5-3 HP workstation 5-10 SPARCstation 4-3 SPARCstation 4-12 SCSI bus definition B-3 adding description 1-3 HP workstation 5-7 electrical shock minimizing...
Page 87
Index XDS511 (continued) SE device connection jumpers lever-type socket 6-7 how to set 6-4 screwdriver-type socket 6-8 power supply static shock minimizing 6-2 connection 6-9 target system connection 6-11 requirements 6-2 what you’ll need 6-2 Index-5...
Need help?
Do you have a question about the XDS510 and is the answer not in the manual?
Questions and answers