track22
所属分类:DSP编程
开发工具:Visual C++
文件大小:7KB
下载次数:4
上传日期:2015-07-26 17:34:55
上 传 者:
fu1899
说明: TI公司C6000的DSP BIOS TRACE管理例程,对做TI C6000开发有特别重要的作用
(C6000 DSP BIOS TRACE TI management routines, the development of C6000 TI to do a particularly important role)
文件列表:
track\evm5509A\makefile (2356, 2006-11-15)
track\evm5509A\track.pjt (1384, 2006-11-15)
track\evm5509A\track.tcf (884, 2006-11-15)
track\evm5509A\trackcfg.cmd (9547, 2006-11-15)
track\track.c (1848, 2006-11-15)
track\track.tci (664, 2006-11-15)
track\evm5509A (0, 2015-07-26)
track (0, 2015-07-26)
Purpose:
This example demonstrates basic usage of the PWRM device initialization and
resource tracking features. The message log output is shown in the
'Expected output' section below:
Design:
The design of this example can easily be described based on the output
shown in the 'Expected output' section below. The initial dependency
counts are those as established during PWRM device initialization:
1) there is a default dependency on the CLKOUT signal as this may be
required on the development board, 2) there are no registered dependencies
on McBSP0, and 3) there are no registered dependencies on the DMA domain.
The new dependency counts reflect the set and release dependency calls:
5) the CLKOUT dependency has been released, and CLKOUT has been turned
OFF, 6) there is now a dependency on McBSP0, and 7) there is now a
dependency on the DMA domain.
Expected output:
0 Initial dependencies:
1 CLKOUT count = 1
2 McBSP0 count = 0
3 DMA domain count = 0
4
New dependencies:
5 CLKOUT count = 0
6 McBSP0 count = 1
7 DMA domain count = 1
To see the effects via the C5509A registers, do a Debug->Reset CPU,
File->Reload Program, and Debug->Go Main. While sitting at the entry
to main() look at the ST3 register contents to see that: CLKOUT is ON,
in PCR0 of McBSP0 the IDLEEN bit has been set during device initialization,
and in the ISTR register that the DMA domain is idled. Then run the program
to the end of main() and halt. Look again at ST3 and see that: CLKOUT is now
OFF, the IDLEEN bit is now "0" in PCR0, and that the DMA domain is now awake.
Some sample register values are:
ST3 PCR0 ISTR
Before 0x1C02 0x4000 0xE
After 0x1C06 0x0000 0xC
近期下载者:
相关文件:
收藏者: