f2812test.cmd

来自「AD7888的调试程序,串行模式」· CMD 代码 · 共 43 行

CMD
43
字号
/****************************************************************************/
/*   F2812.cmd - Sample linker command file for F28xx devices               */
/*                                                                          */
/*   Description: This file is a sample F2812 linker command file that can  */
/*                be used for linking programs built with the TMS320C2000   */
/*                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.      */
/****************************************************************************/

MEMORY
{
   PAGE 0: 

      RESET       : origin = 0x000000, length = 0x000002     /* part of boot ROM (MP/MCn=0) or XINTF zone 7 (MP/MCn=1) */
      ZONE6       : origin = 0x100000, length = 0x006000     /* XINTF zone 6 */
      RAMH0       : origin = 0x3F8004, length = 0x001FFC     /* on-chip RAM block H0 */
      
   PAGE 1:
   
      RAMM0       : origin = 0x000000, length = 0x000400     /* on-chip RAM block M0 */
      RAMM1       : origin = 0x000400, length = 0x000400     /* on-chip RAM block M1 */
      BEGIN       : origin = 0x3F8000, length = 0x000002     /* Part of FLASHA.  Used for "boot to Flash" bootloader mode. */
      L0RAM       : origin = 0x008000, length = 0x001D00
}
 
SECTIONS
{
   .reset    : > RESET      PAGE = 0
   .pinit    : > ZONE6      PAGE = 0
   .cinit    : > ZONE6      PAGE = 0
   .text     : > ZONE6      PAGE = 0
   .econst   : > ZONE6      PAGE = 0
   .switch   : > ZONE6      PAGE = 0

    codestart: > BEGIN      PAGE = 1

   .stack    : > RAMM1      PAGE = 1
   .ebss     : > L0RAM      PAGE = 1
   .esysmem  : > RAMH0      PAGE = 0 

}

⌨️ 快捷键说明

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