?? f2812_ezdsp_ram_lnk.cmd
字號:
/*
//###########################################################################
//
// FILE: F2812_EzDSP_RAM_lnk.cmd
//
// TITLE: Linker Command File For F2812 eZdsp examples that run out of RAM
// This linker file assumes the user is booting up in Jump to H0 mode
//
//###########################################################################
//
// Ver | dd mmm yyyy | Who | Description of changes
// =====|=============|======|===============================================
// 1.00| 11 Sep 2003 | L.H. | Changes since previous version (v.58 Alpha)
// | | | Added BEGIN section to the start of H0
// | | | Removed .bss, .const and .sysmem
// | | | These are for a small memory model. All examples
// | | | use the large model.
// | | | Added .esysmem section
// | | | Changed ramfuncs section to load and run from RAM
// | | | (previously this was type DSECT)
// | | | Moved peripheral register files to DSP28_Headers_BIOS.cmd
// | | | and DSP28_Headers_nonBIOS.cmd
// | | | Added CSM_RSVD memory section in FLASHA - this region
// | | | should be programmed with all 0x0000 when using the CSM
// -----|-------------|------|-----------------------------------------------
//###########################################################################
*/
/* ======================================================
// For Code Composer Studio V2.2 and later
// ---------------------------------------
// In addition to this memory linker command file,
// add the header linker command file directly to the project.
// The header linker command file is required to link the
// peripheral structures to the proper locations within
// the memory map.
//
// The header linker files are found in <base>\DSP281x_Headers\cmd
//
// For BIOS applications add: DSP281x_Headers_nonBIOS.cmd
// For nonBIOS applications add: DSP281x_Headers_nonBIOS.cmd
========================================================= */
/* ======================================================
// For Code Composer Studio prior to V2.2
// --------------------------------------
// 1) Use one of the following -l statements to include the
// header linker command file in the project. The header linker
// file is required to link the peripheral structures to the proper
// locations within the memory map */
/* Uncomment this line to include file only for non-BIOS applications */
/* -l DSP281x_Headers_nonBIOS.cmd */
/* Uncomment this line to include file only for BIOS applications */
/* -l DSP281x_Headers_BIOS.cmd */
/* 2) In your project add the path to <base>\DSP281x_headers\cmd to the
library search path under project->build options, linker tab,
library search path (-i).
/*========================================================= */
MEMORY
{
PAGE 0 :
/* 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 */
BOOTROM : origin = 0x3FF000, length = 0x000FC0 /* boot ROM availabel if MP/MCn=0 */
RESET : origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM (MP/MCn=0) or XINTF zone 7 (MP/MCn=1) */
VECTORS : origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM (MP/MCn=0) or XINTF zone 7 (MP/MCn=1) */
RAMH0 : origin = 0x3F8000, length = 0x002000
/* RAML0L1 : origin = 0x008000, length = 0x002000 */
EXTROM : origin = 0x17B000, length = 0x001000
PAGE 1 :
RAMM0 : origin = 0x000000, length = 0x000400
RAMM1 : origin = 0x000400, length = 0x000400
EXTRAM : origin = 0x170000, length = 0x00b000
}
SECTIONS
{
/* Setup for "boot to external ram" mode:
The codestart section (found in DSP28_CodeStartBranch.asm)
re-directs execution to the start of user code. */
codestart : load = RESET, PAGE = 0
ramfuncs : load = EXTROM, PAGE = 0 /* initialize flash */
.text : load = RAMH0, PAGE = 0
.cinit : load = EXTROM, PAGE = 0
.pinit : load = EXTROM, PAGE = 0
.switch : load = EXTROM, PAGE = 0
.econst : load = EXTROM, PAGE = 0
/*
.reset : load = RESET, PAGE = 0, TYPE = DSECT
*/
IQmathTables : load = BOOTROM, PAGE = 0, TYPE = NOLOAD
IQmath : load = EXTROM, PAGE = 0
.stack : load = RAMM1, PAGE = 1
.cio : load = RAMM0, PAGE = 1
.bss : load = RAMM0, PAGE = 1 /* Should be empty with large memory model */
.ebss : load = EXTRAM, PAGE = 1
.sysmem : load = RAMM0, PAGE = 1 /* Should be empty with large memory model */
.esysmem : load = RAMM0, PAGE = 1
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -