background image

ADSP2192-12 EZ-KIT Lite Evaluation System Manual

3-11

3  USING EZ-KIT LITE SOFTWARE

3.1 Overview

The EZ-KIT Lite software contains the files necessary to perform debugging over the PCI bus.
Additionally, monitor source code and example programs are provided for use with the EZ-KIT Lite.

The monitor software is a small debug kernel that is loaded onto each core of the ADSP2192-12
DSP when the Vi+ debugger is started.  The monitor enables Vi+ running on a
host PC to communicate with the DSP over the PCI interface.  This allows you to read/write
registers, read/write memory, view hardware stacks, run, halt, step and set breakpoints among other
debug activities. Understanding how the monitor works and its limitations are essential for proper
operation of the EZ-KIT Lite when used with Vi+ over the PCI interface.  This chapter
provides information on how the monitor works and how to use the EZ-KIT Lite and Vi+
to debug custom programs.  Note that references to the monitor are relevant only when using the PCI
interface, not the optional JTAG interface to the EZ-KIT Lite.

3.2  Monitor Program Operation

As mentioned previously, the monitor is loaded onto each core when the Vi+ debugger is
first started.  The monitor performs the functions necessary to perform debugging activities through
the Vi+ debugger such as reading/writing registers, reading/writing memory, viewing
hardware stacks, running, halting, stepping and setting breakpoints.

To carry out these functions, the monitor must use DSP resources such as memory and interrupts and
set restrictions upon what you may do in code.  The monitor resources and restrictions are discussed
below.

The monitor runs transparently to the user.  From the user's point of view, each core is in a running
or halted state.  While the core is running, it executes user code, and while the core is halted it runs
monitor code.  While in the halted state, Vi+ can request information from the monitor
such as register and memory values.

The source code for the monitor is included with the EZ-KIT Lite setup.  You may find the sources
helpful in understanding the operation of the monitor and of the ADSP2192-12.

3.2.1  Monitor Resources and Restrictions

This section describes in detail what resources are used and what restrictions are set by the EZ-KIT
Lite.  Do not tamper with the resources claimed by the monitor.  Observe all specified restrictions
when using the Vi+ debugger and PCI interface with the EZ-KIT Lite.

3.2.1.1 Resources

The monitor uses two interrupts and small blocks of data and program memory on each core.  These
resources are therefore not available to user programs.

www.BDTIC.com/ADI

Summary of Contents for ADSP2192-12 EZ-KIT LITE

Page 1: ...EZ KIT LITE EVALUATION SYSTEM MANUAL Second Edition August 2002 Part Number 82 000510 01 Analog Devices Inc Digital Signal Processing Division One Technology Way Norwood MA 02062 9106 a a a a www BDT...

Page 2: ...wise under the patent rights of Analog Devices Inc Trademark and Service Mark Notice The Analog Devices logo SHARC the SHARC logo TigerSHARC the TigerSHARC logo and EZ ICE are registered trademarks an...

Page 3: ...27 GREAT ROAD Littleton MA 01460 The EZ KIT Lite evaluation board contains ESD electrostatic discharge sensitive devices Electrostatic charges readily accumulate on the human body and equipment and ca...

Page 4: ...oftware 2 10 2 4 2 3 Installing the EZ KIT Lite License Software 2 10 3 USING EZ KIT LITE SOFTWARE 3 11 3 1 OVERVIEW 3 11 3 2 MONITOR PROGRAM OPERATION 3 11 3 2 1 Monitor Resources and Restrictions 3...

Page 5: ...KIT Lite Evaluation System Manual v 4 8 SERIAL EEPROM 4 8 4 9 JTAG CONNECTOR 4 9 4 10 EXPANSION PORT CONNECTOR 4 9 4 11 BREADBOARD AREA 4 10 APPENDIX A BILL OF MATERIALS 1 APPENDIX B SCHEMATICS 2 www...

Page 6: ...Memory Map 3 15 Table 4 1 Power Connector Pin out 4 3 Table 4 2 External Power Supply Specifications 4 3 Table 4 3 BUS Pin Settings JP1 4 4 Table 4 4 USB Stand Alone Selection JP5 4 5 Table 4 5 Exter...

Page 7: ...e 2 7 Figure 2 8 Tell the wizard to search for the driver 2 8 Figure 2 9 Tell the wizard you will specify where to look for the driver 2 8 Figure 2 10 Specify the location of the device driver 2 9 Fig...

Page 8: ...12 processor is achieved via the PC through the PCI bus communicating with the debug monitor or an optional JTAG emulator The JTAG emulator allows the PC to perform in circuit emulation through the pr...

Page 9: ...ernet at www analog com The DSP Web page is directly accessible at www analog com dsp This page provides access to DSP specific technical information and documentation product overviews and product an...

Page 10: ...and development tools 1 5 Manual Contents Description This manual contains the following information Chapter 1 Introduction Provides manual information and Analog Devices contact information Chapter...

Page 11: ...SP C C Compiler and Library Manual for ADSP 219x DSPs Description of the compiler function and commands for ADSP 219x family DSPs VisualDSP Linker and Utilities Manual for ADSP 21xx DSPs Description o...

Page 12: ...in the protective shipping package Your ADSP2192 12 EZ KIT Lite evaluation board package should contain the following items If any item is missing contact the vendor where you purchased your EZ KIT L...

Page 13: ...P1 should have jumpers installed on pins 1 2 and pins 3 4 Refer to Hardware Section Section 4 5 of this manual if more information of jumper settings is required 4 To configure your board to take adva...

Page 14: ...s You must install the drivers prior to using the PCI interface with the VisualDSP debugger The next few sections will walk you through installing the proper driver for your system 2 4 2 1 1 Installin...

Page 15: ...the driver 3 The wizard will prompt you for where to search Select Specify a location and enter the drive letter of your CD ROM drive on which the driver files are located as shown in figure 2 3 then...

Page 16: ...ation file 5 5 The wizard may also prompt you for the location on the device driver as shown in figure 2 5 It is also located on the root of the CD Make sure the path is entered properly and click OK...

Page 17: ...f the EZ KIT Lite debug software No additional steps are needed to run under Windows NT 2 4 2 1 3 Installing the Windows 2000 Driver Upon rebooting your PC the Windows 2000 Add New Hardware Wizard dia...

Page 18: ...anual 2 7 Figure 2 7 Windows 2000 Found New Hardware Wizard detected the EZ KIT Lite 2 2 Select Search for a suitable driver for my device as shown in figure 2 8 Insert the CD into the CD ROM drive an...

Page 19: ...re 2 8 Tell the wizard to search for the driver 3 The wizard will prompt you for where to search as shown in figure 2 9 Specify a location and click Next to continue Figure 2 9 Tell the wizard you wil...

Page 20: ...Figure 2 10 Specify the location of the device driver 5 5 The wizard should detect the driver s information file INF as shown in figure 2 11 Click Next to continue Figure 2 11 The wizard detects the d...

Page 21: ...P 3 0 Installation option Then select Install Tools This will launch the setup wizard At the component selection screen select ADSP2192 12 EZ KIT Lite to install the EZ KIT Lite debug software Follow...

Page 22: ...itor performs the functions necessary to perform debugging activities through the VisualDSP debugger such as reading writing registers reading writing memory viewing hardware stacks running halting st...

Page 23: ...onfiguration of the DSP Disabling global interrupts will cause VisualDSP to lose all communication with the monitor Executing the DIS INT instruction will disable global interrupts on the core If user...

Page 24: ...use the debugger again For Window 2000 1 Only users with administrator privileges can add and remove devices contact the administrator if necessary 2 Right click on My Computer and select Properties 3...

Page 25: ...xample programs are included with the EZ KIT Lite These are assembly and C programs designed to help you build programs that will work properly with this EZ KIT Lite and demonstrate some of its capabi...

Page 26: ...rst time you must set up a session with the Debugger To create a new session using the EZ KIT Lite PCI interface follow these steps Press and hold down the Control CTRL key Click the Start button on t...

Page 27: ...e distribution 3 5 Example Programs The ADSP2192 12 EZ KIT Lite is shipped with four complete example projects Talkthru Dual_FIR MPTimers and Primes For more detailed information regarding these proje...

Page 28: ...T B L O C K D I A G R A M R E V 1 0 P C I U S B I N T E R F A C E A C 9 7 I N T E R F A C E E M U L A T I O N P O R T N V R A M I N T E R F A C E A D S P 2 1 9 2 1 2 D u a l D S P C o r e E X P A N S...

Page 29: ...rs isolated from one another In USB or Stand alone mode the ADSP2192 12 EZ KIT Lite uses the ADP3338 and ADP3339 parts to regulate the 5V 3 3V and 2 5V digital power and 5V analog power required by th...

Page 30: ...VOLTAGE 7 5V 5 Full Load CURRENT 2 Amps Maximum Rating RIPPLE 500 mV rms Max Full Load DC CONNECTOR Type Plug Size Polarity Switchcraft 760 style FEMALE 5 5 OD V 2 5 ID X 9 5 length millimeters Cente...

Page 31: ...Settings JP1 For more information on the ADSP2192 12 DSP bus pins refer to the ADSP2192 12 datasheet 4 5 2 USB Stand Alone Selection Jumpers JP5 The USB Stand alone Jumper selection allows a user to c...

Page 32: ...the Expansion Connector install the respective jumper The on board AD1885 codec will not be affected by these jumpers since the AD1885 uses SDI0 as a means of communication with the ADSP2192 12 DSP M...

Page 33: ...rs when connecting the emulator to the JTAG header Below is a more detailed description of the jumper setting required to set the board to the correct configuration 1 3 7 2 5 4 6 8 10 9 11 12 14 13 JT...

Page 34: ...12 DSP If the pushbuttons are asserted the respective GPIO2 and GPIO3 signals change from a logic 1 high to a logic 0 low 4 6 3 Communication Mode SW4 The Communication Mode switch SW4 located at the...

Page 35: ...diode which indicates that the board is being powered by a user provided external power supply and SW4 is set to the left position signifying Stand alone or USB operation LED3 is a green light emittin...

Page 36: ...r pod Note that one pin pin 3 is missing to provide keying The mating connector should have a plug inserted in the pin 3 location Figure 4 8 JTAG Header Pinout NOTE Apply power to the JTAG pod before...

Page 37: ...D 33 GPIO1 16 Digital GND 34 Digital GND 17 BITCLK 35 GPIO0 18 Digital GND 36 Digital GND Table 4 9 Expansion Connector Pinout 4 11 Breadboard Area The ADSP2192 12 EZ KIT Lite has a 2 5 x3 5 breadboar...

Page 38: ...13 PHILIPS 12062R104K9BB2 C17 19 C22 30 AVX 12065C104KAT1A C32 C34 C36 AVX 12065C104KAT2A 37 C39 C41 AVX 12065C104KATMA C43 56 C69 72 AVX 12065C104KATRE C78 82 KEMET C1206C104K5RAC MUR GRM42 6X7R104K0...

Page 39: ...AJB225K035R 29 7 10uF 16V 10 B CT7 CT18 23 AVX TAJB106K016R 30 1 1000 100MHZ 1 5A FER002 FER5 MURATA PLM250S40T1 31 2 2A S2A_RECT DO 214AA D1 2 GENERALSEMI S2A MICROSEMI S2A 32 7 600 100MHZ 500MA 1206...

Page 40: ...ERJ 14YJ101U DIGI KEY P100VCT ND 47 2 GREEN SMT LED001 LED2 3 PANASONIC LN1361C DIGI KEY P504CT ND DIGI KEY P504TR ND 48 2 SPST_MOMENTAR Y SWT005 SW2 3 PANASONIC EVQ QS205K 49 10 1uF 25V 20 A CT3 4 CT...

Page 41: ...ADSP2192 12 EZ KIT Lite Evaluation System Manual 2 APPENDIX B SCHEMATICS www BDTIC com ADI...

Page 42: ...www BDTIC com ADI...

Page 43: ...www BDTIC com ADI...

Page 44: ...www BDTIC com ADI...

Page 45: ...www BDTIC com ADI...

Page 46: ...www BDTIC com ADI...

Page 47: ...www BDTIC com ADI...

Page 48: ...www BDTIC com ADI...

Page 49: ...www BDTIC com ADI...

Page 50: ...9 4 10 I Installation Procedures 2 2 J JTAG 1 1 4 9 JTAG Connector 4 1 JTAG header 4 6 4 9 Jumpers 2 2 4 1 4 3 4 4 4 5 4 6 L LEDs 1 1 1 2 4 1 4 8 4 10 M memory map 3 14 Monitor 2 1 3 11 4 7 P PC Confi...

Reviews: