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

📄 主程序1链接.cmd.txt

📁 异步电机变频调速控制程序
💻 TXT
字号:
/*---------------------------------------------------------------*/
/* Memory Specifications                                             	*/
/*---------------------------------------------------------------*/
MEMORY
{
	PAGE 0:	VECS:	o=0000h,	l=0040h		/* reset&int vectors */
			/*PROG:	o=0040h,	l=07fc0h	/* 32K prog space*/
			/*PROG:	o=0040h,	l=03fc0h	/* 16K prog space*/
			/*PROG:	o=0040h,	l=01FC0h	/* 8K prog space*/
			PROG:	o=0040h,	l=00FC0h	/* 4K prog space*/
			B0: 		o=0FF00h,	l=0100h		/* when CNF=1   */

	PAGE 1:	MMRS:	o=0000h,	l=005Fh		/* MMRS */
			B2:	    	o=0060h,	l=0020h		/* DARAM B2 */
			B0B1:	o=0200h,	l=0200h		/* DARAM B0+B1 */
}

/*----------------------------------------------------------------*/
/* SECTIONS ALLOCATION                                            */
/*----------------------------------------------------------------*/
SECTIONS
{
	/* Program sections */
	vectors:					{ } > VECS	PAGE 0	/* Res/int vectors */
		.text:			    		{ } > PROG	PAGE 0	/* Code */
		.data:		    			{ } > PROG	PAGE 0	/* Init tables */

	/* Variable sections */
	.mmrs:			        	{ } > MMRS	PAGE 1	/* Memory Mapped Regs */
	.bss block(0x80)		{ } > B0B1	PAGE 1	/* .bss variables */
	stack                   	{ } > B0B1	PAGE 1	/* .bss variables */
  	rampgen block(0x80)	    	{ } > B0B1	PAGE 1	/* rampgen variables */
	ileg2drv block(0x80)	{ } > B0B1	PAGE 1	/*ileg2drv variables */
	clarke block(0x80)	    	{ } > B0B1	PAGE 1	/* clarke variables */
	park block(0x80)		{ } > B0B1	PAGE 1	/* park variables */
	I_park block(0x80)	    	{ } > B0B1	PAGE 1	/* I_park variables */
	svgen_dq block(0x80)	{ } > B0B1	PAGE 1	/* svgen_dq variables */
	pwm_drv block(0x80)	    	{ } > B0B1	PAGE 1	/* pwm_drv variables */
	qep_drv block(0x80)	    	{ } > B0B1	PAGE 1	/* qep_drv variables */
	pid block(0x80)		    	{ } > B0B1	PAGE 1	/* pid regulators */
	cur_mod                 	{ } > B0B1	PAGE 1	
  	speed_fr block(0x80)	{ } > B0B1	PAGE 1	  
  	pid_spd                 	{ } > B0B1	PAGE 1
}

⌨️ 快捷键说明

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