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

📄 xintf_ram.cmd

📁 dsp2812存储器扩展 扩展芯片为:cy7c1041 可作为数据或程序存储器
💻 CMD
字号:

MEMORY
{
PAGE 0 :
   /* For this example, H0 is split between PAGE 0 and PAGE 1 */  
   /* BEGIN is used for the "boot to HO" 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      */
   
   RAMM0      : origin = 0x000000, length = 0x000400
   PZONE2     : origin = 0x080000, length = 0x040000
   BEGIN      : origin = 0x3F8000, length = 0x000002             
   PRAMH0     : origin = 0x3F8002, length = 0x0014FE
   RESET      : origin = 0x3FFFC0, length = 0x000002           

         
PAGE 1 : 

   /* For this example, H0 is split between PAGE 0 and PAGE 1 */

   RAMM1    : origin = 0x000400, length = 0x000400
   DZONE2   : origin = 0x0C0000, length = 0x040000
   DRAMH0   : origin = 0x3f9500, length = 0x000B00         
}
 
/* Allocate sections to memory blocks.
   Note:
         codestart user defined section in DSP28_CodeStartBranch.asm used to redirect code 
                   execution when booting to flash
         ramfuncs  user defined section to store functions that will be copied from Flash into RAM
*/ 
 
SECTIONS
{
 
   /* Allocate program areas: */
   codestart        : > BEGIN,       PAGE = 0
   ramfuncs         : > PZONE2       PAGE = 0  
   .text            : > PZONE2,      PAGE = 0
   .cinit           : > PZONE2,      PAGE = 0
   .pinit           : > PZONE2,      PAGE = 0
   .switch          : > RAMM0,       PAGE = 0
   .reset           : > RESET,       PAGE = 0, TYPE = DSECT /* not used, */
   
   .stack           : > RAMM1,       PAGE = 1
   .ebss            : > DZONE2,      PAGE = 1
   .econst          : > DZONE2,      PAGE = 1      
   .esysmem         : > DZONE2,      PAGE = 1

}

⌨️ 快捷键说明

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