虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

open

  • (1)测试外部数据RAM: 根据我们定义的逻辑

    (1)测试外部数据RAM: 根据我们定义的逻辑,外部RAM在数据空间中定义在0x8000-0xFFFF,共32k字,占据RAM中的低32K存储空间。提供2种测试方法,采用一种方式即可。 硬件仿真模式下,将目标板上电。 第一种方法:采用用程序测试实验 程序所在目录ex1_RAMTest。 该程序执行的功能是对外部数据RAM区0x8000-0xFFFF,从0x8000开始写并且读数据0x5555 。如果正常则写读下一个地址,直到 。如果正常则所有的地址操作完毕后,核心板的指示灯会变亮。否则,如果写入数据后,读出的不正确,则指示灯会不断闪烁。 在CCS2000中的操作如下: 1. Progect->open,打开该目录中的工程文件。 2. Progect->Rebuild All,编译链接 3. File->Program 4. Debug->Go Main 5. Debug->RUN(快捷键F5) 如果正常可以看到灯在熄灭约4秒后变亮。(说明:对整个数据RAM区的操作时间其实很短,为便于观察,本程序中加入了延时)。 打开View->Memory ,然后填入地址0x8000,然后在PAGE栏选择DATA。点击确定,即可显示0x8000地址开始的数据,用户会发现从这个地址开始往后的数据均为刚被写入的0x5555。

    标签: RAM 测试 数据 定义

    上传时间: 2013-12-08

    上传用户:www240697738

  • 程序所在目录:ex4_SCI 采用标准DB9 串口直连线将PC 串口和扩展板串口相连。打开PC 上的串口调试软件。默认设置COM1,9600N,8,1。选择按16 进制接收和发送。 然后打开

    程序所在目录:ex4_SCI 采用标准DB9 串口直连线将PC 串口和扩展板串口相连。打开PC 上的串口调试软件。默认设置COM1,9600N,8,1。选择按16 进制接收和发送。 然后打开CC2000,进行如下操作: 1.Project->open ,打开该目录中的工程文件。 2.Project->Rebuild ALL,编译链接 3.File->Load Program 4.Debug->GO Main 5.Debug->RUN (快捷键F5) 然后在串口调试助手中马上可以看到上部的接收显示区不断接收到数据57(为16 进制)。在串口助手的下部的发送区填入56,选中自动发送。数据即可通过串口发送到目标板。 查看DSP 是否收到数据,按如下操作:打开View->Watch window ,在下面刚弹出的Watch 区域中点右键,选择Insert, 出现的信息框中填入SCI_RXDATA,x 即可按十六进制方式显示出变量SCI_RXDATA 的值。如果正常,应可以看到该变量值为0x56。即说明RS232 双向通讯正常。

    标签: 9600 串口 SCI DB9

    上传时间: 2014-01-02

    上传用户:BIBI

  • 程序所在目录:ex6_AD 板上引出的两路A/D 转换对应DSP 的A/D 模块分别是通道0 和通道8

    程序所在目录:ex6_AD 板上引出的两路A/D 转换对应DSP 的A/D 模块分别是通道0 和通道8,输入电压0-5V 。 本开发板使用DA 的输出作为AD 的输入,因此需将5J2 的1-2,3-4 分别用短路子短接。 打开CC2000,进行如下操作: 1.Project->open ,打开该目录中的工程文件。 2.Project->Rebuild ALL,编译链接 3.File->Load Program 4.光标移到Que()函数的asm(" NOP ")所处的行。 5. Debug->Toggle breakpoint (快捷键F9) 6. Debug->Animate (快捷键F12) 7. View->Watch Window ,在出现的watch 窗体中点右键分别插入变量AD_SIG0,AD_SIG8,则可看到所采到的这两路信号的电压值。 如果结果稍微不精确,请不要在意,这可能是因为没有采用专用基准源,以及信号不稳定的缘故。另外,TMS320LF2407 的内置A/D 的精度并不是很高。在前面两种情况已得到保证的情况下,变化幅度仍较大。( ^_^ 呵呵,外面好一点的一片A/D 芯片就不低于100 块,所以想想能凑合着用也就可以了。)

    标签: DSP ex AD 程序

    上传时间: 2013-12-17

    上传用户:refent

  • 程序所在目录:ex7_CAN 由于调试CAN总线通讯需要外部的CAN设备。所以在没有外部CAN设备的情况下

    程序所在目录:ex7_CAN 由于调试CAN总线通讯需要外部的CAN设备。所以在没有外部CAN设备的情况下,本样例程序中采用了CAN的自测试模式通信,即使用CANBOX4发送CANBOX0接收。在定时器中断服务程序中执行发送;中断方式接收CAN信息。 打开CC2000,进行如下操作: 1. Project->open ,打开该目录中的工程文件。 2. Project->Rebuild ALL,编译链接 3. File->Load Program 4. 光标移到int1中断服务程序CANIFR=0xFFFF所处的行。 5. Debug->Toggle breakpoint (快捷键F9) 6. Debug->Animate (快捷键F12) 偏左上脚GEL Files上点右键,Load GEL,选择LF2407.gel,然后菜单栏Gel->LF2407->CAN regs,即可看到CAN寄存器的变量被显示岛Watch Window中.可以看到CANBOX0里面接收到数据0x2211,0x4433等数据,这些数据是由CANBOX4发送往总线上的. 如果用户和别的CAN设备通信,参照本例程的注释更改相关设置即可。

    标签: CAN 设备 ex 程序

    上传时间: 2014-11-15

    上传用户:zhuimenghuadie

  • The Embedded Configurable Operating System (eCos)start-to-finish guide to eCos solution building. Ad

    The Embedded Configurable Operating System (eCos)start-to-finish guide to eCos solution building. Additional open source tools are included to configure a complete embedded software development environment.

    标签: eCos start-to-finish Configurable Operating

    上传时间: 2017-04-28

    上传用户:1109003457

  • Linux系统中

    Linux系统中,设备驱动程序是操作系统内核的重要组成部分,在 与硬件设备之间建立了标准的抽象接口。通过这个接口,用户可以像处理普通文件一样,对硬件设备进行打开(open)、关闭(close)、读写(read/write)等操作。通过分析和设计设备驱动程序,可以深入理解Linux系统和进行系统开发。本文通过一个简单的例子来说明设备驱动程序的设计。

    标签: Linux

    上传时间: 2013-12-25

    上传用户:牛布牛

  • PHP

    PHP,即“PHP: Hypertext Preprocessor”,是一种广泛用于 open Source(开放源代码)的尤其适合 Web 开发并可以嵌入 HTML 的多用途脚本语言。它的语法接近 C,Java 和 Perl,而且容易学习。该语言的主要目标是让 Web 开发人员快速的书写动态生成的网页,然而,PHP 的功能并不局限于此。

    标签: PHP

    上传时间: 2013-12-15

    上传用户:Zxcvbnm

  • This is a mutlicore and cluster(of single-core,multi-core systems) matrix inversion code. Which

    This is a mutlicore and cluster(of single-core,multi-core systems) matrix inversion code. Which uses the MPI(Message Passing Interface) for communication across the compute nodes of cluster and using thread-API based openMP(open Multi Processing) between cores of intra-compute or head node.

    标签: single-core multi-core inversion mutlicore

    上传时间: 2013-12-21

    上传用户:ryb

  • Novell.Press.Linux.Kernel.Development linux内核开发的经典书籍之一 The Linux kernel is one of the most interes

    Novell.Press.Linux.Kernel.Development linux内核开发的经典书籍之一 The Linux kernel is one of the most interesting yet least understood open-source projects. It is also a basis for developing new kernel code. That is why Sams is excited to bring you the latest Linux kernel development information from a Novell insider in the second edition of Linux Kernel Development. This authoritative, practical guide will help you better understand the Linux kernel through updated coverage of all the major subsystems, new features associated with Linux 2.6 kernel and insider information on not-yet-released developments. You ll be able to take an in-depth look at Linux kernel from both a theoretical and an applied perspective as you cover a wide range of topics, including algorithms, system call interface, paging strategies and kernel synchronization. Get the top information right from the source in Linux Kernel Development

    标签: Linux Development interes Novell

    上传时间: 2017-06-06

    上传用户:songyue1991

  • 1. Download the version you want: * Version 1.3.4 (30 Aug 2007) -- this is the latest v

    1. Download the version you want: * Version 1.3.4 (30 Aug 2007) -- this is the latest version for UNIX/Linux and Windows * Previous versions 2. Unzip the file, which will create a directory called klt and place all the files there 3. Compile and run the code * On UNIX / Linux, move to the klt directory, type make. Now try some examples, by typing example1, etc. * For Microsoft Visual C++ 6.0, open the klt.dsw file, compile, and run. Change the constant in main.cpp to run the different examples. * For Microsoft Visual Studio .Net/7/8, open the klt.sln file, compile, and run. Change the constant in main.cpp to run the different examples. 4. Notice that, for your convenience, unofficial copies of the User and Reference Manuals can be found in the doc directory.

    标签: the Download Version version

    上传时间: 2014-01-25

    上传用户:nanshan