xintf_ram.cmd
来自「dsp2812存储器扩展 扩展芯片为:cy7c1041 可作为数据或程序存储」· CMD 代码 · 共 52 行
CMD
52 行
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 + =
减小字号Ctrl + -
显示快捷键?