ti全系列dsk原理图 整理汇总tms320f24x dsk原理图1_h_第1页
ti全系列dsk原理图 整理汇总tms320f24x dsk原理图1_h_第2页
ti全系列dsk原理图 整理汇总tms320f24x dsk原理图1_h_第3页
ti全系列dsk原理图 整理汇总tms320f24x dsk原理图1_h_第4页
ti全系列dsk原理图 整理汇总tms320f24x dsk原理图1_h_第5页
已阅读5页,还剩15页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、F24X DSK1999DSP Development SystemsSetup andTutorialF24X DSKSetup and Tutorial504706-0001 Rev. AJuly 1999SPECTRUM DIGITAL,INC.10853 Rockley RoadHouston, TX.77099Tel: 281.561.6952Fax: 281.561.6037IMPORTANT NOTICESpectrum Digital, Inc. reserves the right

2、to make changes to its products or to discontinue any 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.Spectrum Digital, Inc. warrants performance of its

3、 products and related software to current specifications in accordance with Spectrum Digitals standard warranty. Testing and other quality control techniques are utilized to the extent deemed necessary to support this warranty.Please be aware that the products described herein are not intended for u

4、se in life-support appliances, devices, or systems. Spectrum Digital does not warrant nor is liable for the product described herein to be used in other than a development environment.Spectrum Digital, Inc. assumes no liability for applications assistance, customer product design, software performan

5、ce, or infringement of patents or services described herein. Nor does Spectrum Digital warrant or represent any license, either express or implied, is granted under any patent right, copyright, or other intellectual property right of Spectrum Digital, Inc. covering or relating to any combination, ma

6、chine, or process in which such Digital Signal Processing development products or services might be or are used.WARNINGThis equipment is intended for use in a laboratory test environment only. It generates, uses, and can radiate radio frequency energy and has not been tested for compliance with the

7、limits of computing devices pursuant to subpart J of part 15 of FCC rules, which are designed to provide reasonableprotection agat radio frequency interference. Operation of this equipment in other environmentsmay cause interference with radio communications, in which case the user at his own expens

8、e will be required to take whatever measures may be required to correct this interference.Copyright 1999 Spectrum Digital, Inc.Contents1Setup of the F24X DSK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1Provides you with a description of

9、how to setup the F24X DSK and assembler.tall the debugger and1.0Overview of the F24X DSK Development System. . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-21-21-31-3Whats In The Box. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

10、 . . . .What Youll Need. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .talling the SD24XASM Assembler and Code Explorer. . . . . . . . . . . . . . . . . . . . . . .2Code Explorer Tutorial. . . . . . . . . . . . . . . . . . . . . . . . . .

11、. . . . . . . . . . . . . . . . . . . . . . . . . . .2-1Describes how to invoke the Code Explorer Debugger, select a serial port, load a program, setbreak points, run the program in animation mode, and view memory and registers.2.0 Starting The Debugger. . . . . . . . . . . . . . . . . . . . . . . .

12、 . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.1 Selecting the Serial Port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-22-22-32-42-52-6A-12.2 Loading A Program2.3 Setting Breakpoints. . . . . . . . . . . . . . . . . . . . . . . . . . .

13、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.3.1 Running In Animation Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.4 Viewing CPU Register

14、s and Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Appendix ADSK Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .This appendix contathe possible solutions for problems that you may encounter whensetting up the

15、DSKA.1 Hardware Problems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-22-2A.2 Software Problems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .About This ManualThis document describe

16、s how totall the hardware and software that comes withF24X DSK. In addition it provides a brief tutorial on how to use the Code Explorer debugger.Notational ConventionsThis document uses the following conventions.The following will sometimes be referred to as the DSK: “TMS320F24X DSP Starter Kit”, “

17、F240 DSP Starter Kit”, “F243 DSP Starter Kit”, “F240 DSK, “F243 DSK”The “Spectrum Digital Symbolic Assembler for the F24x DSP” will sometimes be referred to as the SD24XASMProgram listings, program examples, and interactive displays are shown is a special italic typeface. Here is a sample program li

18、sting.equations!rd = !strobe&rw;Information About CautionsThis book may contain cautions.This is an example of a caution statement.A caution statement describes a situation that could potentially damage your software, or hardware, or other equipment. The information in a caution is provided for your

19、 protection. Please read each caution carefully.Related DocumentsSpectrum Digital F240 DSK Technical Reference Spectrum Digital F243 DSK Technical ReferenceSpectrum Digital Symbolic Assembler for the F24X DSPTechnical ReferenceTexas Texas Texas Texas Texastruments TMS320F240 Users Guide truments TMS

20、320F243 Users Guidetruments TMS320C2XX Fixed Point Assembly Language Users Guide truments TMS320C2XX Fixed Point C Language Users Guide truments TMS320C2XX Fixed Point C Source Debugger Users GuideChapter1Setup of the F24X DSKThis chapter provides you with a description of how to setup the F24X DSKa

21、ndtall the debugger and assembler.TopicPage1-11.0 Overview of the F24X DSK Development System1-21.1 Whats In The Box1-21.2 What Youll Need1-31.3 talling the SD24XASM Assembler and Code Explorer1-4Spectrum Digital, Inc1.0Overview of the F24X DSK Development SystemThe F24X DSK Development System is a

22、complete development system that allows engineers, programmers, students, and evaluators examine certain characteristics of the TMS320F24X Digital Signal Processor(DSP). In using this system you can: Develop and debug software algorithms Use hardware features of the DSP Prototype custom logicThis do

23、cument is intended to help you set up the DSK Development System, assembler and debugger, and provide a small tutorial.tall theFor more information on the specific components of the F24X DSK Development System refer to the following documents: Spectrum Digital F240 DSK Technical Reference Spectrum D

24、igital F243 DSK Technical Reference Spectrum Digital Symbolic Assembler for the F24X DSP Technical Reference1.1Whats In The BoxThe following items should be in the DSK F24X Development System box:F240 DSK or F243 DSK printed circuit card with TMS320F240 or TMS320F243 DSPPower Supply for F24X DSK9 Pe

25、rial port cable, F-MDiskettes containing: Documentation (manuals in .pdf format), SD24XASM Assembler, and Code Explorer Debugger, Samples programsSetuptruction sheetWarranty cardIf you did not receive all of these items contact the firm from whom your purchased the F24X DSK Development System.1-2F24

26、X DSK Setup and TutorialSpectrum Digital, Inc1.2What Youll NeedThe following checklists detail items that you will need to use the F24X DSK Development System.Hardware checklist hostAn IBM PC/AT or compatible PC or laptop with a hard-disk system, and a 1.44M floppy-disk drive memoryMinimum of 32MB,

27、additional memory may increase performance displaycolor, VGA serial portOne serial port targetAn F240 or F243 DSK printed circuit board with and power supply (in the box) pointingdeviceA Microsoft-compatible mouse miscellaneous Blank, formatted disks materialsSoftware checklist operatingsystemMicros

28、oft Windows 95/98 debuggerCode Explorer (in the box, on a diskette) assemblerSpectrum Digital SD24XASM symbolic Assembler (in the box, on a diskette)A system text editor like “Edit”, a word processing package will notwork editor1-3Spectrum Digital, Inc1.3talling the SD24XASM Assembler and Code Explo

29、rerThis section contathetructions totall the SD24XASM Symbolic Assemblerand the Code Explorer debugger. Totall this software perform the following steps:1.ert the supplied diskette labeled “DSK24X System Disk, Disk 1” into drive “A” of your PC.2.From the Windows desktop execute the program “a:Setup.

30、exe”. During the tall procedure you will be prompted toert additional diskettes, e.g.“DSK24X System Disk, Disk 2 ” into drive A.Thetall shield will create the following directories:“c:specdigdsk24x” “c:specdigdsk24xcodeexplorer24x” “c:specdigdsk24xsdasm24x”“c:specdigdsk24xmanuals”Thetall procedure w

31、ill create a program folder for Code Explorer thatcan be run from the Windows desktop by running the mouse through “start”, “Programs”, “Spectrum Digital DSK243” and then clicking on “Ce_c2xxw“.1.4Connecting the F24X DSK to Your ComputerThis section contathetructions for connecting the F24X DSK to y

32、our computer.1.Shut down your computer and turn the power off to it.2.Attach one end (female) of the 9 conductor serial cable to an available serial port on your PC (COM1, COM2, COM3, or COM4).3.Attach the other end (male) of the 9 conductor serial cable to connector P4 on the F24X DSK.4.Plug in the

33、 barrel connector on the DSK power supply to connector P3 on the DSK. The P3 connector is next to the 9 perial connector.5.Plug in the DSK power supply to a 110/220 VAC outlet. The green LED (DS1) on the F24X should come on. This indicates the DSK has power.6.Turn your computer back on. After the sy

34、stem comes up you should be able to enter Code Explorer from the Windows desktop by clicking on “Start”, running the mouse through “Programs” and “Spectrum Digital DSK24X” and then clicking on “Ce_c2xxw“.1-4F24X DSK Setup and TutorialSpectrum Digital, IncFigure 1-1 illustrates the system configurati

35、on with the DSK connected to your PC or laptop.1-59-pin female D-sub connector (Plugs into serial port on PC)Power Supply 5VDC110/220 VACF24x DSK9 Conductor Cable9-pin maleD-sub connectorFigure 1-1 Connecting The DSK To Your ComputerSpectrum Digital, Inc1-6F24X DSK Setup and TutorialChapter2Code Exp

36、lorer TutorialThis chapter provides examples on how to invoke the Code Explorer Debugger, select a serial port, load a program, set break points, run the program in animation mode, and view memory and registers.TopicPage2-12.0 Starting The Debugger2-22.1 Selecting the Serial Port2-22.2 Loading A Pro

37、gram2-32.3 Setting Breakpoints2-42.3.1 Running In Animation Mode2-52.4 Viewing CPU Registers and Memory2-6Spectrum Digital, Inc2.0 Starting The DebuggerTo start the Code Explorer debugger from the Windows desktop click on “Start”, run the mouse through “Programs” and “Spectrum Digital DSK24X”, and t

38、hen click on “Ce_c2xxw“. The Code Explorer will come up. It should look like the following figure.Code Explorer has on line documentation which means any time you require information about a feature of Code Explorer it can be found by using the “HELP” pulldown.2.1Selecting the Serial PortWhen Code E

39、xplorer first comes up it will present the prompt shown in the figure below. This allows you to select the serial port (COM1, COM2, COM3, or COM4) that you are going to use and its I/O address. After you select the COM port enter its address, then click “OK”. The I/O address for each COM port should

40、 be available from your BIOS or control Panel.2-2F24X DSK Setup and TutorialFigure 2-2, Selecting The Serial PortFigure 2-1, Code Explorer WindowSpectrum Digital, Inc2.2Loading A ProgramTo load a program you must first make sure it has been assembled by the SD24xASM.The output of the SD24XASM is a f

41、ile ending in “dsk”. Fortance a correct file namewould be “simple.dsk”. The figure below will load a file named “simple.dsk”.To load a file move the mouse over the “File” pulldown. The 1st selection is “Load Program”. If you select “Load program” the following panel will appear. Traversethe director

42、y structure until you locate your file, click on its name, then click the “OK” button.2-3Figure 2-3, Loading A ProgramSpectrum Digital, Inc2.3Setting BreakpointsTo set a breakpoint run the mouse over the “Debug” pulldown, click on the first option “Set Breakpoints”. The following panel will appear.T

43、o enter a breakpoint puts its address on the second line and then click the “Add” button. When you have selected all of your breakpoints then press the “OK” button.2-4F24X DSK Setup and TutorialFigure 2-4, Setting BreakpointsSpectrum Digital, IncFigure 2-5 shows the breakpoints set at locations 0x88

44、07 and 0x880F. These lines in the program will be highlighted in purple. The location of the program counter will be highlighted in yellow.2.3.1 Running In Animation ModeAfter breakpoints have been set the user can run the program in animation mode which basically runs from breakpoint to breakpoint.

45、 To run the animation click on the “Animation” button on the top of the screen. This is the right most selection.The pause time at each breakpoint during animation can be selected in the “Options” area.To run from breakpount to breakpoint manually the user would just click the “RUN” button at the top of the screen.2-5Program CounterBreakpointBreakpointFigure 2-5, Breakpoints Set In CodeSpectrum Digital, Inc2.4Viewing CPU Registers and MemoryTopect the CPU registers, Data memory, program memory,

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论