Coldfire MCF5282 DBug bootloader

源代码在线查看: sdram.dld

软件大小: 1019 K
上传用户: zhhw254774338
关键词: bootloader Coldfire 5282 DBug
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*
				 * File:		sdram.dld
				 * Purpose:		Linker file for the M5282EVB
				 *
				 * Notes:		dBUG running in SDRAM
				 *
				 */
				
				MEMORY
				{
					sdram		: org = 0x00000000, len = 0x01000000
					vector_ram	: org = 0x00000000, len = 0x00000400
					dbug		: org = 0x00000400, len = 0x0003FC00
					user_space	: org = 0x00040000, len = 0x00FC0000
					sram		: org = 0x20000000, len = 0x00010000
					ext_sram	: org = 0x30000000, len = 0x00080000
					ipsbar		: org = 0x40000000, len = 0x40000000
					flash		: org = 0xF0000000, len = 0x00080000
					ext_flash 	: org = 0xFFE00000, len = 0x00200000	
					params		: org = 0xFFE04000, len = 0x00002000
				}
				
				SECTIONS
				{
					.vectors :
					{
						vectors.o (.text)
					} > sdram
				
					.text :
					{
						*(.text)
					} > sdram
				
					GROUP:
					{
						.data :
						{
							___DATA_ROM 	= .;
							___DATA_RAM 	= .;
							*(.data)
							*(.code_relocation)
							___DATA_END 	= .;
						}
				
						.bss (BSS) :
						{
							___BSS_START 	= .;
							*(.bss)
							*[COMMON]
							___BSS_END 		= .;
							___HEAP_START	= .;
							.				= . + 4;
							___HEAP_END		= .;
							___PARAMS_START	= .;
							.				= . + 0x48;
							___PARAMS_END	= .;
							___SP_END		= .;
							.				= . + 0xC00;
							___SP_INIT		= .;
						}
					} > sdram
				}
				
				___IPSBAR			= ADDR(ipsbar);
				___SDRAM			= ADDR(sdram);
				___SDRAM_SIZE		= SIZEOF(sdram);
				___SRAM				= ADDR(sram);
				___SRAM_SIZE		= SIZEOF(sram);
				___EXT_SRAM			= ADDR(ext_sram);
				___EXT_SRAM_SIZE	= SIZEOF(ext_sram);
				___FLASH			= ADDR(flash);
				___FLASH_SIZE		= SIZEOF(flash);
				___EXT_FLASH		= ADDR(ext_flash);
				___EXT_FLASH_SIZE	= SIZEOF(ext_flash);
				___PARAMS			= ADDR(params);
				___PARAMS_SIZE		= ___PARAMS_END - ___PARAMS_START;
				___DBUG_ADDRESS		= ADDR(sdram);
				___DBUG_SIZE		= 0x0003FC00;
				___VECTOR_RAM		= ADDR(vector_ram);
				___USER_SPACE		= ADDR(user_space);
				___USER_SPACE_SIZE	= SIZEOF(user_space);
							

相关资源