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

📄 car.cmd

📁 2407的一些源代码
💻 CMD
字号:
/******************************************************************************/
/* File Name: 2407_PM.cmd */
/* Description: Linker command file to place user code (vectors & .text) */
/* sections beginning at 0000h of external program memory (in MP mode). */
/* This file should be modified if it is desired to load code in B0 memory or */
/* if onchip SARAM is to be used. This example file is applicable for 2407A. */
/* It needs to be modified to make it suitable for other devices. */
/******************************************************************************/
MEMORY
{
	PAGE 0: 				/* PROGRAM MEMORY */
	VECT	:ORIGIN=00H, 	LENGTH=0040H 	/* 32K On chip flash memory */
	PM		:ORIGIN=40H,	LENGTH=40C0H
	SARAM_P :ORIGIN=08000H, LENGTH=0800H 	/* 2K SARAM in program space */
	EX1_PM 	:ORIGIN=08800H, LENGTH=07600H 	/* External RAM */
	B0_PM 	:ORIGIN=0FF00h, LENGTH=0100h 	/* On chip DARAM if CNF=1, else */
						    /* external */
						    /* B0 = FF00 to FFFF */
	PAGE 1:					/* DATA MEMORY */
	REGS 	:ORIGIN=0H , 	LENGTH=60H   	/* Memory mapped regs & reservd address*/
	BLK_B2 	:ORIGIN=60H , 	LENGTH=20H 	    /* Block B2 */
	BLK_B0 	:ORIGIN=200H , 	LENGTH=100H 	/* Block B0, On chip DARAM if CNF=0 */
	BLK_B1 	:ORIGIN=300H ,	LENGTH=100H 	/* Block B1 */
	SARAM_D :ORIGIN=0800H , LENGTH=0800H 	/* 2K SARAM in data space */
	PERIPH 	:ORIGIN=7000h , LENGTH=1000h 	/* Peripheral register space */
	EX2_DM 	:ORIGIN=8000h , LENGTH=8000h 	/* External data RAM */
	PAGE 2: 				/* I/O MEMORY */
	IO_EX 	:ORIGIN=0000h , LENGTH=0FFF0h 	/* External I/O mapped peripherals */
	IO_IN 	:ORIGIN=0FFF0h, LENGTH=0Fh   	/* On chip I/O mapped peripherals */
}
SECTIONS
{
	vectors :{} > VECT  PAGE 0
	.text 	:{} > PM    PAGE 0
	.bss 	:{} > BLK_B1 PAGE 1
	.data 	:{} > PM	 PAGE 0  
	.blk0   :{} > BLK_B0   PAGE 1
	.blk3   :{} > SARAM_D  	PAGE 1   

}

⌨️ 快捷键说明

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