📄 msp430f2618.xcl
字号:
//*****************************************************************
// XLINK command file for the MSP430 IAR C/EC++ Compiler
//
// This is the XLINK command file for the MSP430FG4618
// microprocessor.
//
// Copyright 1996-2006 IAR Systems. All rights reserved.
//
// Usage: xlink your_file(s) -f lnk430f2618 cl430xxx
//
// $Revision: 1.9 $
//
//*****************************************************************
//*****************************************************************
//
// The memory areas of the MSP430F2618 microprocessor:
//
// Peripheral units: 0 - 01FF
//
// Information memory (FLASH): 1000 - 10FF
//
// Read-write memory (RAM): 1100 - 30FF
//
// Read-only memory (FLASH): 3100 - FFBF
// 10000-1FFFF
//
//*****************************************************************
//*****************************************************************
// The following segments are defined in this linker command file:
//
// Data read/write segments (RAM)
// ==============================
//
// segment address range usage
// ------- ------------- --------------------------
// DATA16_I 1100-30FF Initialized variables
// DATA16_Z 1100-30FF Zero initialized variables
// DATA16_N 1100-30FF Uninitialized variables
// CSTACK 1100-30FF Run-time stack/auto variables
// HEAP 1100-30FF The heap used by malloc and free
//
//
// Program and non-volatile segments (FLASH)
// =========================================
//
// segment address range usage
// ------- ------------- --------------------------
// INFO 1000-10FF Information memory
// CSTART 3100-E9FF cstartup program code
// FA00-FFBF
// 10000-1FFFF
// CODE 3100-E9FF Program code
// FA00-FFBF
// 10000-1FFFF
// ISR_CODE 3100-E9FF Interrupt service routines, must be placed in 16-bit memory
// FA00-FFBF
// 10000-1FFFF
// TAIVINT 3100-E9FF Timer A interrupt vector generator support code
// FA00-FFBF
// DATA16_C 3100-E9FF Constant "const" variables AND String literals
// FA00-FFBF
// 10000-1FFFF
// DATA16_ID 3100-E9FF Initializers for DATA16_I
// FA00-FFBF
// 10000-1FFFF
// DIFUNCT 3100-E9FF Dynamic initialization vector used by C++
// FA00-FFBF
// 10000-1FFFF
// INTVEC FFC0-FFFF Interrupt vectors
//
// NOTE:
// It is not possible to pack the CSTART segment by using the XLINK -P option
// Special function registers and peripheral modules occupy addresses 0-01FFh
// Be sure to use end values for the defined addresses
//*****************************************************************
// ---------------------------------------------------------
// Define cpu.
//
-cmsp430
// ---------------------------------------------------------
// RAM memory.
//
-Z(DATA)DATA16_I,DATA16_Z,DATA16_N=1100-30FF
-Z(DATA)CSTACK+_STACK_SIZE#
// ---------------------------------------------------------
// Read only memory.
//
// -------------------------------------------------------------------
// Information memory (FLASH)
// -------------------------------------------------------------------
-Z(CODE)INFO=1000-10FF
-Z(CODE)INFOA=10C0-10FF
-Z(CODE)INFOB=1080-10BF
-Z(CODE)INFOC=1040-107F
-Z(CODE)INFOD=1000-103F
// -----------------------------------------------
// Constant data.
-Z(CONST)DATA16_C,DATA16_ID,DIFUNCT=3100-E9FF,FA00-FFBF
// -----------------------------------------------
// Code.
-Z(CODE)CSTART,ISR_CODE,IVCODE=3100-E9FF,FA00-FFBF
-P(CODE)CODE=3100-E9FF,FA00-FFBF,10000-1FFFF
// -----------------------------------------------
// Interrupt vector.
-Z(CODE)INTVEC=FFC0-FFFF
-Z(CODE)RESET=FFFE-FFFF
// ---------------------------------------------------------
// The end.
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -