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

📄 epower_28x_ram.cmd

📁 在TI的TMSF2812平台上
💻 CMD
字号:
MEMORY
{
PAGE 0 :
   /* For this example, ZONE6 is split between PAGE 0 and PAGE 1 */  
   /* BEGIN is used for the "boot to ZONE6" bootloader mode      */
   /* RESET is loaded with the reset vector only if           */
   /* the boot is from XINTF Zone 7.  Otherwise reset vector  */
   /* is fetched from boot ROM. See .reset section below      */
   
   BEGIN      : origin = 0x3F8000, length = 0x000002
   PRAMH0     : origin = 0x3F8002, length = 0x001FFE   
   RESET      : origin = 0x3FFFC0, length = 0x000002
   /* XINTF zone 2 allocated for code */
   ZONE2      : origin = 0x080000, length = 0x004000
   ZONE6	  : origin = 0x100000, length = 0x010000

         
PAGE 1 : 

   /* For this example, ZONE6 is split between PAGE 0 and PAGE 1 */
   
   RAMM0M1  : origin = 0x000000, length = 0x000700
   RAML0L1  : origin = 0x008000, length = 0x002000
   
   /* Sumuizone */
   Sumuizone	: origin = 0x000700, length = 0x000010
   /* Zuizone */
   Zuizone      : origin = 0x000710, length = 0x000010
   /* Uptoldzone */
   Uptoldzone   : origin = 0x000720, length = 0x000004
   /* Rtimezone */
   Rtimezone    : origin = 0x000724, length = 0x000004
   /* Xxuaoldzone */
   Xxuaoldzone  : origin = 0x000728, length = 0x000002
   /* FftnIzone */
   FftnIzone    : origin = 0x00072A, length = 0x000002
   /* TimenIzone */
   TimenIzone   : origin = 0x00072C, length = 0x000002
   /* TempnIzone */
   TempnIzone   : origin = 0x00072E, length = 0x000002
   /* SamplenIzone */
   SamplenIzone : origin = 0x000730, length = 0x000002
   /* DcycIzone */
   DcycIzone    : origin = 0x000732, length = 0x000002
   /* CyclenIzone */
   CyclenIzone  : origin = 0x000734, length = 0x000002
   /* PhazeIzone */
   PhazeIzone	: origin = 0x000736, length = 0x000002
   /* Samcapzone */
   Samcapzone	: origin = 0x000738, length = 0x000002
   /* FftsIzone */
   FftsIzone	: origin = 0x00073A, length = 0x000002
   /* AdcfIzone */
   AdcfIzone	: origin = 0x00073C, length = 0x000002
   /* Samplen1Izone */
   Samplen1Izone: origin = 0x00073E, length = 0x000002
   /* SamplentIzone */
   SamplentIzone: origin = 0x000740, length = 0x000002
   /* Samplen2Izone */
   Samplen2Izone: origin = 0x000742, length = 0x000002
   /* ArcIzone */
   ArcIzone		: origin = 0x000744, length = 0x000002
   /* Fftfzone */
   Fftfzone		: origin = 0x000746, length = 0x000002
   /* Powerfzone */
   Powerfzone	: origin = 0x000748, length = 0x000002
   /* Powersfzone */
   Powersfzone	: origin = 0x00074A, length = 0x000002
   /* Capfzone */
   Capfzone		: origin = 0x00074C, length = 0x000002
   /* Samplefzone */
   Samplefzone	: origin = 0x00074E, length = 0x000002
   /* Adctimefzone */
   Adctimefzone	: origin = 0x000750, length = 0x000004
   /* Coefuazone */
   Coefuazone	: origin = 0x000754, length = 0x000002
   /* Coefubzone */
   Coefubzone	: origin = 0x000756, length = 0x000002
   /* Coefuczone */
   Coefuczone	: origin = 0x000758, length = 0x000002

   /* XINTF zone 2 allocated for data */
   /* ADCzone */
   ADCzone		: origin = 0x084000, length = 0x000100
   /* ADCdatazone */
   ADCdatazone	: origin = 0x085000, length = 0x000800
   /* ADCdatatimezone */
   ADCtimezone  : origin = 0x085800, length = 0x000800
   /* FFTdatazone */
   FFTdatazone  : origin = 0x086000, length = 0x001800
   /* FFTzone */
   FFTzone		: origin = 0x08B000, length = 0x000500
   /* MAGzone */
   MAGzone		: origin = 0x08B500, length = 0x000500
   /* Pzone */
   Pzone		: origin = 0x08BA00, length = 0x000200
   /* Qzone */
   Qzone		: origin = 0x08BC00, length = 0x000200
   /* Sumpzone */
   Sumpzone		: origin = 0x08BE00, length = 0x000010
   /* Sumqzone */
   Sumqzone		: origin = 0x08BE10, length = 0x000010
   /* Uuabczone */
   Uuabczone	: origin = 0x08BE20, length = 0x009000
   
   ZONE2    : origin = 0x0B0000, length = 0x050000
   ZONE6    : origin = 0x110000, length = 0x070000

}



SECTIONS
{
   /* Setup for "boot to H0" mode: 
      The codestart section (found in DSP28_CodeStartBranch.asm)
      re-directs execution to the start of user code.  
      Place this section at the start of H0  */

   codestart        : > BEGIN,       PAGE = 0
   ramfuncs         : > PRAMH0,      PAGE = 0
   .text            : > PRAMH0,      PAGE = 0
   .cinit           : > PRAMH0,      PAGE = 0
   .pinit           : > PRAMH0,      PAGE = 0
   .switch          : > PRAMH0,      PAGE = 0
   .reset           : > RESET,       PAGE = 0, TYPE = DSECT /* not used, */
   
   FFTtf	          >	ZONE2, 		 PAGE = 0 
   FFTipcb	 ALIGN(2048)  : { } >    RAML0L1	PAGE 1
   FFTmag           >	RAML0L1	     PAGE 1
   SINTBL	        : > RAML0L1,     PAGE =	1
   
   .stack           : > RAMM0M1,     PAGE = 1
   
   /* RAMM0M1 */
   /* Sumui */
   Sumui			: > Sumuizone,	 PAGE = 1
   /* Xui */
   Zui				: > Zuizone,	 PAGE = 1
   /* Uptold */
   Uptold			: > Uptoldzone,	 PAGE = 1
   /* Realtime */
   Rtime			: > Rtimezone,	 PAGE = 1
   /* Xxuaold */
   Xxuaold			: > Xxuaoldzone, PAGE = 1
   /* Adctimef */
   Adctimef			: > Adctimefzone,PAGE = 1
   /* FftnI */
   FftnI			: > FftnIzone,	 PAGE = 1
   /* TimenI */
   TimenI			: > TimenIzone,	 PAGE = 1
   /* TempnI */
   TempnI			: > TempnIzone,	 PAGE = 1
   /* SamplenI */
   SamplenI			: > SamplenIzone,PAGE = 1
   /* CyclenI */
   CyclenI			: > CyclenIzone, PAGE = 1
   /* PhazeI */
   PhazeI			: > PhazeIzone,	 PAGE = 1
   /* Samcap */
   Samcap			: > Samcapzone,	 PAGE = 1
   /* FftstartI */
   FftstartI		: > FftsIzone,	 PAGE = 1
   /* AdcflagI */
   AdcflagI			: > AdcfIzone,	 PAGE = 1
   /* Samplen1I */
   Samplen1I		: > Samplen1Izone,	 PAGE = 1
   /* SamplentI */
   SamplentI		: > SamplentIzone,	 PAGE = 1
   /* Samplen2I */
   Samplen2I		: > Samplen2Izone,	 PAGE = 1
   /* ArcI */
   ArcI				: > ArcIzone,		 PAGE = 1
   /* Fftf */
   Fftf				: > Fftfzone,		 PAGE = 1
   /* Powerf */
   Powerf			: > Powerfzone,		 PAGE = 1
   /* Powersf */
   Powersf			: > Powersfzone,	 PAGE = 1
   /* Capf */
   Capf				: > Capfzone,		 PAGE = 1
   /* Samplef */
   Samplef			: > Samplefzone,	 PAGE = 1
   /* Coefua */
   Coefua			: > Coefuazone,		 PAGE = 1
   /* Coefub */
   Coefub			: > Coefubzone,		 PAGE = 1
   /* Coefuc */
   Coefuc			: > Coefuczone,		 PAGE = 1
   
   /* ADC */
   ADCua			: > ADCzone,	 PAGE = 1
   ADCub			: > ADCzone,	 PAGE = 1
   ADCuc			: > ADCzone,	 PAGE = 1
   ADCia			: > ADCzone,	 PAGE = 1
   ADCib			: > ADCzone,	 PAGE = 1
   ADCic			: > ADCzone,	 PAGE = 1
   
   /* ADCdata */
   ADCdataua		: > ADCdatazone, PAGE = 1
   ADCdataub		: > ADCdatazone, PAGE = 1
   ADCdatauc		: > ADCdatazone, PAGE = 1
   ADCdataia		: > ADCdatazone, PAGE = 1
   ADCdataib		: > ADCdatazone, PAGE = 1
   ADCdataic		: > ADCdatazone, PAGE = 1
   
   /* ADCdata_time */
   ADCdatatime		: > ADCtimezone, PAGE = 1
   
   /* FFTdata */
   FFTdataua ALIGN(1024)  : { } > FFTdatazone,	 PAGE = 1
   FFTdataub ALIGN(1024)  : { } > FFTdatazone,	 PAGE = 1
   FFTdatauc ALIGN(1024)  : { } > FFTdatazone,	 PAGE = 1
   FFTdataia ALIGN(1024)  : { } > FFTdatazone,	 PAGE = 1
   FFTdataib ALIGN(1024)  : { } > FFTdatazone,	 PAGE = 1
   FFTdataic ALIGN(1024)  : { } > FFTdatazone,	 PAGE = 1
   
   /* FFT */
   FFTua			: > FFTzone,		 PAGE = 1
   FFTub			: > FFTzone,		 PAGE = 1
   FFTuc			: > FFTzone,		 PAGE = 1
   FFTia			: > FFTzone,		 PAGE = 1
   FFTib			: > FFTzone,		 PAGE = 1
   FFTic			: > FFTzone,		 PAGE = 1
   
   /* MAG */
   MAGua			: > MAGzone,		 PAGE = 1
   MAGub			: > MAGzone,		 PAGE = 1
   MAGuc			: > MAGzone,		 PAGE = 1
   MAGia			: > MAGzone,		 PAGE = 1
   MAGib			: > MAGzone,		 PAGE = 1
   MAGic			: > MAGzone,		 PAGE = 1
   
   /* P */
   Pa				: > Pzone,			 PAGE = 1
   Pb				: > Pzone,			 PAGE = 1
   Pc				: > Pzone,			 PAGE = 1
   
   /* Q */
   Qa				: > Qzone,			 PAGE = 1
   Qb				: > Qzone,			 PAGE = 1
   Qc				: > Qzone,			 PAGE = 1
   
   /* Sump */
   Sump				: > Sumpzone,		 PAGE = 1
   
   /* Sumq */
   Sumq				: > Sumqzone,		 PAGE = 1
   
   /* Uuabc */
   Uua				: > Uuabczone,		 PAGE = 1
   Uub				: > Uuabczone,		 PAGE = 1
   Uuc				: > Uuabczone,		 PAGE = 1
   
   /* 32-bit data sections */
   .ebss            : > RAML0L1,       PAGE = 1
   .econst          : > RAML0L1,       PAGE = 1
   .esysmem         : > RAMM0M1,     PAGE = 1
   
   csm_rsvd         : > CSM_RSVD,    PAGE = 1
}

⌨️ 快捷键说明

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