📄 pmsm3_1.cmd
字号:
/*----------------------------------------------------------------------------*/
/* LINKER COMMAND FILE - MEMORY SPECIFICATION for C240 */
/* Last update 24 Sep 99 */
/*----------------------------------------------------------------------------*/
MEMORY
{
PAGE 0 : VECS: origin = 0000h, length = 0040h /* PROGRAM */
PROG: origin = 0040h, length = 00FC0h /* 4K prog space*/
B0 : origin = 0FF00h, length = 0100h /* CNF=1 */
PAGE 1 : MMRS: origin = 0000h, length = 005Fh /* MMRS */
B2 : origin = 0060h, length = 0020h /* DARAM */
B0B1: origin = 0200h, length = 01F0h /* DARAM B0+B1 */
DATA: origin = 4000h, length = 4000h /* EMIF */
}
/*--------------------------------------------------------------------------*/
/* SECTIONS ALLOCATION */
/*--------------------------------------------------------------------------*/
SECTIONS
{
/* Program sections */
vectors : { } > VECS PAGE 0 /* INTERRUPT VECTOR TABLE */
.text : { } > PROG PAGE 0 /* User's code */
.data : { } > PROG PAGE 0 /* INITIALIZATION DATA TABLES */
/* Variable sections */
.mmrs : { } > MMRS PAGE 1 /* Memory Mapped Regs */
.bss block(0x80) : { } > B0B1 PAGE 1 /* User RAM - page 4 */
stack block(0x80) : { } > B0B1 PAGE 1
rmp_cntl block(0x80) : { } > B0B1 PAGE 1
pwm_drv block(0x80) : { } > B0B1 PAGE 1
clarke block(0x80) : { } > B0B1 PAGE 1
i2vd_drv block(0x80) : { } > B0B1 PAGE 1
dac_view block(0x80) : { } > B0B1 PAGE 1
svgen_dq block(0x80) : { } > B0B1 PAGE 1
I_park block(0x80) : { } > B0B1 PAGE 1
park block(0x80) : { } > B0B1 PAGE 1
rampgen block(0x80) : { } > B0B1 PAGE 1
pid block(0x80) : { } > B0B1 PAGE 1
qep_drv block(0x80) : { } > B0B1 PAGE 1
speed_fr block(0x80) : { } > B0B1 PAGE 1
/* Program and variable sections for real time monitor */
mon_main : { } > PROG PAGE 0 /* Main Monitor program */
mon_pge0 : { } > B2 PAGE 1 /* Used by RT monitor */
mon_rgst : { } > B2 PAGE 1 /* Used by RT monitor */
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -