⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c5410.cmd

📁 DSP 5409 plc应用程序,调试通过,是用在电力线通讯上的演示程序.
💻 CMD
字号:
/****************************************************************************
* FILENAME: $Source: /db/sds/syseng/rtdx/tutorial/c54x/sect_4/less_3/c5402.cmd,v $
* VERSION : $Revision: 1.1 $
* DATE    : $Date: 2000/01/26 18:49:42 $
* Copyright (c) 1997 Texas Instruments Incorporated
*
* COMMAND FILE FOR LINKING TMS5410 Targets
*
*   Usage:  lnk500 <obj files...>    -o <out file> -m <map file> lcf.cmd
*           cl500  <src files...> -z -o <out file> -m <map file> lcf.cmd
*
*   Description: This file is a sample command file that can be used
*                for linking programs built with the TMS54x C Compiler.   
*                Use it as a guideline; you may want to change
*                the allocation scheme according to the size of your
*                program and the memory layout of your target system.
*
*   Notes: (1)   You must specify the directory in which rts.lib is
*                located.  Either add a "-i<directory>" line to this
*                file, or use the system environment variable C_DIR to
*                specify a search path for libraries.
*
*          (2)   If the run-time support library you are using is not
*                named rts.lib, be sure to use the correct name here.
*
* Revision History:
****************************************************************************/
-c
-stack 0x0280 
-heap  0x0200

/* This symbol defines the interrupt mask to be applied to IMR inside
   RTDX Critical Code sections.

   This example masks the timer interrupt.
*/
_RTDX_interrupt_mask = ~0x0008;		/* interrupts masked by RTDX		*/

MEMORY  
{
/* Note: Assume PMST = 0xffe0
        PMST    Bit     Name   Value
        		15-7	IPTR	0xff80
                6       MP/!MC  1
                5       OVLY    1
                3       DROM    0
*/
	PAGE 0:		/* Program Space */
		RSV1	(R)		: o=00000h l=00080h	/* Reserved 				*/
  		DARAML	(RWIX)	: o=00080h l=03f80h	/* On-Chip Dual-Access RAM	*/
/* 		EXT0	(R)		: o=04000h l=0bf80h	/* External Page 0			*/
		VECS	(RWIX)	: o=0ff80h l=00080h	/* Interrupt Vector Table	*/

	PAGE 1:		/* Data Space */
		MMRS	(RW)	: o=00000h l=00060h	/* Memory-Mapped Registers	*/
		SPAD	(RW)	: o=00060h l=00020h	/* Scratch-Pad RAM			*/
  		DARAMM	(RWIX)  : o=04000h l=04000h	/* On-Chip Dual-Access RAM	*/
  		DARAMH	(RWIX)  : o=0C000h l=03F80h	/* On-Chip Dual-Access RAM	*/
  		DARAMHH	(RWIX)  : o=0B000h l=01000h	/* On-Chip Dual-Access RAM	*/
/* 		EXT0	(R)		: o=04000h l=0c000h	/* External Page 0			*/
}

SECTIONS
{


	GROUP : > DARAML	/* group sections in overlay for contiguous addresses	*/
	{	
		.vectors		/* interrupt vector table	*/
		.text    	/* User code						*/
		.rtdx_text	/* RTDX code						*/
		.cinit   	/* initialization tables		*/
		.pinit   	/* initialization functions	*/
		.switch  	/* for C-switch tables			*/
	}

/*	.vectors 	: > VECS  PAGE 0	/* interrupt vector table	*/
/*	.intvecs 	: > VECS  PAGE 0	/* interrupt vector table	*/ 

	.data			: > SPAD  PAGE 1	/* asm data area */	

	GROUP : > DARAMM	/* group sections in overlay for contiguous addresses	*/
	{	
		.cio									/* C-IO Buffer				*/
		.rtdx_data							/* RTDX data area			*/
		.const								/* C constant tables		*/
		.bss									/* global & static vars	*/
		.stack		: fill = 0xBEEF	/* system stack			*/
		.sysmem		: fill = 0xDEAD	/* dynamic heap			*/
	}
	
	bufsect		:> DARAMH	PAGE 1 

	fftsect		:> DARAMHH	PAGE 1 	
  	.sintab :	 > DARAMHH	PAGE 1	/* attempt to make FFT/iFFT work  */
	

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -