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

📄 f206.cmd

📁 TI TMS320F206中使用芯片内部定时器例子以及CMD文件的编写。
💻 CMD
字号:
/****************************************************************************/
/*   TMS320F206.cmd - Sample linker command file for F206 devices            */
/*                                                                          */
/*   Description: This file is a sample F206 linker command file that can  */
/*                be used for linking programs built with the TMS320C24xx   */
/*                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.      */
/*         EX1_PM:    origin=0040h,length=7fc0h
/****************************************************************************/
-stack 40 

MEMORY 
{
 	PAGE 0: 

        	VECS			origin = 0000h, length = 0040h
        	PROG			origin=0040h,length=7FC0h
        	
    PAGE 1:
        	REGS            origin=0000h, length=5Fh
        	B2          	origin=0060h, length=20h
        	B0        		origin=0200h, length=0100h
        	B1              origin=0300h, length=0100h
       		SARAM           origin=0800h, length=1000h 
            
            EX_RAM          origin=1800h, length=800h
            
           /*               
        	RAM_STA         origin=01800h, length=500h
         	RAM_SYS         origin=01d00h, length=0500h
         	RAM_CON         origin=02200h, length=0800h
         	RAM_BSS         origin=02a00h, length=4000h
           */     
                 
    PAGE 2:
        	IO_REGS          origin=0FF10h, length=0EFh
} 
     
SECTIONS
{
        .reset:          {}>VECS             PAGE 0
        .vectors:        {}>VECS             PAGE 0
        .text:           {}>PROG             PAGE 0
        .cinit:          {}>PROG             PAGE 0
        /*.switch:         {}>PROG             PAGE 0
        .const: 		 {}>PROG		     PAGE 0*/
                            
        .bss:            {}>SARAM            PAGE 1 
        .const:          {}>SARAM            PAGE 1   
        .stack:          {}>B1      		 PAGE 1
        /*.sysmem:         {}>BLK_B0B1         PAGE 1
                
        .set:            {}>IO_REGS	         PAGE 2
          */
       /* .const : load = PROG PAGE 0, run = SARAM PAGE 1
        { 
     		__const_run = .;
     		*(.c_mark)
     		*(.const)
     		__const_length = . - __const_run;
   		}
   	    */
}

⌨️ 快捷键说明

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