下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、DSP Starter Kit (DSK)Quick Start GuideThe TMS320C5402 DSK conta:C5402 DSK BoardCE-Compliant 5V Universal Power Supply (UPS)AC Power Cord*C5402 DSK CD-ROMParallel Port CableCode Composer Studio Getting Started Guide* Note: TMDS320005402E kits contain both UK and European power cords.Connecting the 54
2、02 DSK to Your PC12Shut down and power off the PC.Connect the supplied parallel (printer) port cable to the board.Connect the other end of the cable to the paral- lel (printer) port of your PC.3Make sure the DIP switch settings are as shown below (default configuration); for other settings, consult
3、the online help.1. on (down)2. on (down)3. on (down)4. on (down)5. off (up)6. off (up)7. on (down)8. on (down)If you plan totall a microphone, speaker, and/ordaughter card, these must be plugged in properly before you connect power to the DSK board.Plug the power cable into the board.Before youtall
4、the DSK software, make sure the PC4parallel (printer) port is configured for ECP and EPP mode of operation.To check parallel (printer) port configuration, use the path Start menu Settings Control Panel.Display the window associated with the System icon. Choose Device Manager tab and expand the Ports
5、 listing to see all the configured ports.If ECP or EPP are displayed, your parallel (printer) port is configured correctly.If ECP or EPP are not displayed, you must restart your PC and follow the manufacturerstructions for BIOS setup. Most commonly, you will need to access peripherals to change prin
6、ter mode to ECP or EPP.5Plug AC power cord into power supply. Plug other end of AC power cord into power outlet.6Power up the PC.Functional Block DiagramThese operating platform requirements are necessary to tall the Code Composer Studio (CCS) IntegratedDevelopment Environment (IDE):MinimumTo Run a
7、Precompiled Program on the 5402 DSK1From the Code Composer Studio menus, select File Load Program. Go to the directory where you talled Code Composer Studio. The default location is C:ti. Open the folder .tiexamplesdsk5402 dspblink and double-click the file blink.out.After Code Composer Studio has c
8、ompleted loading the program and the Loading Program dialog box disappears, select the Debug menu and choose Run. The LEDs on the DSK5402 board will sequentially blink.The blink program will run continuously. The program can be terminated by selecting the Debug menu and choosing Halt.233MHz or highe
9、r Pentium-compatible CPU 600MB of free hard disk space64MB of RAMSVGA (800 x 600) displayInternet Explorer (4.0 or later) or Netscape Navigator (4.7 or later) Local CD-ROM drive2Recommended3128MB of RAM16-bit color500MHz or higher Pentium-compatible CPUSupported Operating SystemsRunning the Code Com
10、poser Studio TutorialThe interactive CCS tutorial as well as the CCS Getting Started Guide, provides an effective method to learn about the new and existing features of this tool.Windows 98Windows NT 4.0 Service Pack 4 or higher Windows 2000 Service Pack 1talling DSK Code Composer StudioIDE1CCS shou
11、ld now be running. If it is not already run- ning, double-click on the CCS 2 icon on your desk- top.From the Code Composer Studio Help menu, select Tutorial.Note: For Windows NT and Windows 2000, you must tall Code Composer Studio using administrator privileges. To run CCS on these systems requires
12、write permission on the registry. If talling hardware, follow the tructions provided with the hardware.21ert thetallation CD into the CD-ROM drive.Antall screen should appear after a few seconds; ifnot, go to Windows Explorer and run setup.exe from your CD-ROM.Using Code Composer Studio IDE to Build
13、 a ProgramTo create a new project:23Choose the option totall Code Composer Studio.Respond to the dialog boxes as thetallation pro-gram runs. After thetallation has completed, a wel-Select Project New from the menu. This opens the Project Creation dialog box. In the Project Name field, type the new p
14、roject name.In the Location field you can either type the name of the project directory where you want the project to reside or browse to that folder. A default directo- ry has been created for your convenience in the ti folder named myprojects.In the Project Type field, select library or exe- cutab
15、le, depending on the type of output you are creating.The Target field has already been configured prop- erly for the DSK to TMS320C54XX. Next, click Finish.1come panel appears and describes the program icons that will appear on your desktop. The panel conta links to product demonstrations, and the T
16、I DSPDevelopers Village.DSK CCS v2 will automatically configure your system with a preset configuration for the C5402 DSK parallel port.Unless you want to reconfigure your system, the tallation is complete and CCS is ready to run.234Before Running Code Composer StudioBefore you run Code Composer Stu
17、dio, it is a good idea to perform a software-controlled reset. Use Start Programs Texastruments Code Composer Studio DSKTo open an existing project:Tools 2 (C5000) Hardware Resets Reset TMS320C5402 Parallel PortTo start Code Composer Studio, double-click the CCS-DSK2 icon on your desktop.Select Proj
18、ect Open from the menu. The Project Open dialog box appears. Navigate to the project directory you wish to open. Highlight the project you want and choose Open.5Existing projects created with CCS v1.2 will be migrated to the latest format when they are opened with CCS v2.00.To add files to a project
19、:to develop assembly language code), assembler direc- tives, macros, common object file format, and symbol- ic debugging directives for the TMS320C54x DSP.TMS320C54x Optimizing C Compiler Users Guide (SPRU103) - provides information on the C54x C compiler. The C compiler accepts ANSI standard C sour
20、ce code and produces TMS320 assembly language source code for the TMS320C54x DSP.TMS320C54x DSP Reference Set, Vol. 1: CPU and Peripherals (SPRU131) - documents the 16-bit, fixed- point, general-purpose TMS320C54x DSP. This vol-6From the Code Composer Studio menu, select Project Add Files to Project
21、. Next, navigate to the appropriate location in the Add Files to Project dialog box, select the file, and click Open.Note: Code Generation Tools include runtime library files (e.g., rts.lib). The runtime libraries contain the Standard C Library of functions. If you are going to be using Standard C L
22、ibrary functions, you must add the target-specific runtime libraries to your project.Do not try to specify include or header files directly. These files are automatically added to the project by scanning the source files for dependencies.ume covers its architecture,truction pipeline, inter -nal regi
23、ster structure, DMS, data and program address- ing, and on-chip peripherals.TMS320C54x DSP Reference Set, Vol. 2: Mnemonic truction Set (SPRU172) - documents theBuilding and running the program:To set tool options: Select Project Build Options from the menu. You can change options for the compiler a
24、nd linker.To build the program: Choose Project Rebuild All to recompile, reassemble, and relink all the files in the project. Messages about this process are shown in a frame at the bottom of the window.To load the program: Select File Load Program to load the executable file (*.out). Select the pro
25、gram you just rebuilt and click Open.To run the program: Select Debug Run.To debug the program: Select Debug from the menu bar to access the available debugging commands.7TMS320C54x DSP individual mnemonictructions.Includes a summary of cycles.truction-set classes and8TMS320C54x DSP Reference Set, V
26、ol. 3: Algebraic truction Set (SPRU179) - documents theTMS320C54x DSP individual algebraictructions.Includes a summary of cycles.truction-set classes and9TMS320C54x DSP Reference Set, Vol. 4: Applications Guide (SPRU173) - documents the software and hard - ware applications for the TMS320C54x DSP.TM
27、S320C54x DSP Reference Set, Vol. 5: Enhanced Peripherals (SPRU302) - documents the enhanced peripherals available on the TMS320C54x DSP.Code Composer Studio Getting Started Guide (SPRU509) - provides information on setting up the CCS IDE, accessing documentation, and basic func - tionality of the CC
28、S IDE.TMS320C5000 DSP/BIOS Application Programming Interface (API) Reference Guide (SPRU404) - pro- vides information for developers of matream appli- cations on TMS320C5000 DSPs.TMS320C54x DSP Library Programmers Reference (SPRU518) - the optimized DSP Function Library for C programmers on the TMS320C54x DSP.TMS320 DSP/BIOS Users Guide (SPRU423) - pro- vides information for developers of matream appli- cations on TMS320 DSPs to develop embedded real- time software using DSP/BIOS.1011Using the Online Help To obtain help for any aspect of
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 创新黑客松活动赞助合同(2篇)
- 甘肃省部分学校2025届高三上学期第一次联考(期末)地理试卷(含答案解析)
- 2024年度四川省公共营养师之四级营养师高分通关题库A4可打印版
- 2024年度四川省公共营养师之二级营养师题库与答案
- 2025技术进口合同模板
- 新型墙体材料免烧砖可行性研究报告管理资料
- 年产6000万块粉煤灰蒸压砖生产线项目可行性研究报告书
- 年产1万吨各种规格电梯导轨项目可行性研究报告建议书
- 2024-2030年中国注射用氨磷汀行业市场深度分析及发展趋势预测报告
- 2025关于情势变更原则在建设工程施工合同中的适用
- 贝利婴幼儿发展量表(BSID)
- 护理人文关怀示范病房创建及成效14-44-16
- QGDW375.32009《电力用户用电信息采集系统型式规范第三部分:采集器型式规范》
- DB37∕T 5112-2018 村庄道路建设规范
- 牵引供电系统远动技术概述讲解课件
- 义务教育《道德与法治》课程标准(2022年版)
- 乙肝五项详解(课堂PPT)
- TD汽车维修公司管理制度和岗位职责汇编-30页
- 数字化设计与制造PPT课件
- 个人信息查询使用授权书
- 工作证明(通用)
评论
0/150
提交评论