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

📄 ad1271.cmd

📁 f2812内部spi程序
💻 CMD
字号:
/*
//###########################################################################
//
// FILE:    AD1271.cmd
//
// TITLE:   DSP281x Peripheral registers linker command file 
//
// DESCRIPTION: 
// 
//          This file is for use in Non-BIOS applications.
//
//          Linker command file to place the peripheral structures 
//          used within the DSP28 headerfiles into the correct memory
//          mapped locations.
//###########################################################################
*/
-lrts2800_ml.lib       /* C and C++ run-time library support */
-stack 0x0200

MEMORY
{
	PAGE 0:    /* Program Memory */
	
		M0VECTOR   : origin = 0x000000, length = 0x000020
		SWITCHM0   : origin = 0x000020, length = 0x0000e0
		OTP        : origin = 0x3D7800, length = 0x000800
    
		/*PFLASH     : origin = 0x008000, length = 0x01000  */ 
 
		INTMOVEP   : origin = 0x3EC000, length = 0x002000   /*  8K   */

		ResFlash   : origin = 0x3EE000, length = 0x001C00
    
		SETUPFLASH : origin = 0x3EFC00, length = 0x000400   /* on-chip FLASH */

		RESETFROMFLASH : origin = 0x3F7FF6, length = 0x000002   

		POWSERWORD     : origin = 0x3F7FF8, length = 0x000008            
      
		PFLASH     : origin = 0x3F8000, length = 0x002000 /*3f8000:8K H0 SRAM for PROG*/
		
		/*   PRAMFLASH  : origin = 0x3f8000, length = 0x00400  */
    
	PAGE 1:    /* Data Memory */

		PeripheralFrame0  : origin = 0x000800, length = 0x000500  /* 2K Words for F281x.h , no used for other  */
		PeripheralFrame1  : origin = 0x006000, length = 0x001000  /* 4K Words for F281x.h , no used for other  */
		PeripheralFrame2  : origin = 0x007000, length = 0x001000  /* 4K Words for F281x.h , no used for other  */
		PIE_VECT          : origin = 0x000D00, length = 0x000100  /* 256 Words for PIE Vector Table  */
     
		DRAMM0_SYS  : origin = 0x000100, length = 0x000100  /*M0 VEC*/
		DRAMM0_SP   : origin = 0x000200, length = 0x000200  /*0.5K FOR STACK*/
          
		DRAMM1_BSS  : origin = 0x000400, length = 0x000400  /*1K M1 VEC,for .bss var*/
		L1SRAM      : origin =0x008000,  length = 0x2000        /*8K L0L1 SRAM*/
		/*DRAMH0*/ 
		EXT_RAM2    : origin =0x0080000,  length = 20000
}

SECTIONS
{
	/* Allocate program areas: */
	/*	codestart    : > RESETFROMFLASH, PAGE = 0*/
	.reset       : > M0VECTOR,    PAGE = 0
	.cinit       : > PFLASH,      PAGE = 0
	.pinit       : > PFLASH,      PAGE = 0
	.text        : > PFLASH,      PAGE = 0
   
	.switch        : > SWITCHM0,    PAGE = 0
   
	/*   secureRamFuncs   : LOAD = SETUPFLASH,  PAGE = 0  
                        RUN = PRAMFLASH, PAGE = 0 
                        LOAD_START(_secureRamFuncs_loadstart),
                        LOAD_END(_secureRamFuncs_loadend),
                        RUN_START(_secureRamFuncs_runstart)  */
 
	.stack           : > DRAMM0_SP,    PAGE = 1
	.const          : > DRAMM0_SYS,    PAGE = 1      
	.econst         : > DRAMM0_SYS,    PAGE = 1      
	.sysmem         : > DRAMM0_SYS,    PAGE = 1   /*reserved,the same esystem*/
	.esysmem        : > DRAMM0_SYS,    PAGE = 1

	.bss            : > L1SRAM,        PAGE = 1
	.ebss           : > L1SRAM,        PAGE = 1
	.m_data         : > EXT_RAM2,      PAGE = 1
}

/******************* end of file ************************/

⌨️ 快捷键说明

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