OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [MSP430X_MSP430F5438_IAR/] [lnk430F5438A_mod.xcl] - Blame information for rev 584

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 584 jeremybenn
// ************************************************
2
//
3
// XLINK configuration file for MSP430F5438A
4
//
5
// Copyright 1996-2010 IAR Systems AB
6
//
7
// $Revision: 2 $
8
//
9
// ************************************************
10
 
11
// ---------------------------------------------------------
12
// Description
13
//
14
 
15
//
16
// Usage:
17
//
18
//   xlink [file file ...] -f lnk430f5438a.xcl
19
//
20
// -----------------------------------------------
21
// Device summary
22
//
23
 
24
//
25
// Core:                           MSP430X
26
//
27
// Interrupt vectors:              64
28
//
29
// Peripheral units:                   0-001FF
30
//
31
// Information memory (FLASH):     01800-019FF
32
//
33
// Read/write memory (RAM):        01C00-05BFF
34
//
35
// Read-only memory (FLASH):       05C00-0FFFF
36
//                                 10000-45BFF
37
//
38
 
39
 
40
// -----------------------------------------------
41
// Segments
42
//
43
 
44
// -------------------------------------
45
// Data read/write segments (RAM)
46
//
47
 
48
//
49
// The following segments are available for both
50
// the DATA16 and DATA20 segment groups.
51
//
52
// segment         Usage
53
// -------         --------------------------
54
// DATA_Z      Data initialized to zero
55
// DATA_I      Data initialized by copying from DATA_ID
56
// DATA_N      Data defined using __no_init
57
// DATA_HEAP   The heap used by 'malloc' and 'free'
58
//
59
// segment         Usage
60
// -------         --------------------------
61
// CSTACK          Runtime stack
62
//
63
 
64
 
65
// -------------------------------------
66
// Program and data read-only segments (FLASH)
67
//
68
 
69
//
70
// The following segments are available for both
71
// the DATA16 and DATA20 segment groups.
72
//
73
// segment         Usage
74
// -------         --------------------------
75
// DATA_C      Constant data, including string literals
76
// DATA_ID     initializers for DATA_I
77
//
78
// segment         Usage
79
// -------         --------------------------
80
// INFO            Information memory
81
// INFOA           Information memory, bank A
82
// INFOB           Information memory, bank B
83
// INFOC           Information memory, bank C
84
// INFOD           Information memory, bank D
85
// CSTART          Program startup code
86
// CODE            Program code
87
// ISR_CODE        Program code for interrupt service routines
88
// DIFUNCT         Dynamic initialization vector used by C++
89
// CHECKSUM        Checksum byte(s) generated by the -J option
90
// INTVEC          Interrupt vectors
91
// RESET           The reset vector
92
//
93
// Notes:
94
//
95
// * The segments CSTART, ISR_CODE, and DIFUNCT, as well as the segments in
96
//   the DATA16 segment group must be placed in in the range 0000-FFFD.
97
//
98
// * The INFOx and INFO segments overlap, this allows data either to be
99
//   placed in a specific bank or anywhere in the info memory.
100
//
101
// * The INTVEC and RESET segments overlap. This allows an application to
102
//   either use the reset vector provided by the runtime library, or
103
//   provide a reset function by defining an interrupt function associated
104
//   with the reset vector.
105
//
106
 
107
 
108
// ---------------------------------------------------------
109
// Configuation
110
//
111
 
112
// -----------------------------------------------
113
// Stack and heap sizes
114
//
115
 
116
// Uncomment for command line use
117
//-D_STACK_SIZE=80
118
//-D_DATA16_HEAP_SIZE=80
119
//-D_DATA20_HEAP_SIZE=80
120
 
121
 
122
// -----------------------------------------------
123
// Define cpu
124
//
125
 
126
-cmsp430
127
 
128
 
129
// -----------------------------------------------
130
// Support for placing functions in read/write memory
131
//
132
 
133
-QCODE_I=CODE_ID
134
 
135
 
136
// ---------------------------------------------------------
137
// Placement directives
138
//
139
 
140
// -----------------------------------------------
141
// Read/write memory
142
//
143
 
144
/* Commented out and substituted the original memory region definition      */
145
/* for RAM to reserve the memory region from 0x2000 to 0x2021 as it is      */
146
/* used during active mode Icc tests in "5xx_ACTIVE_test.asm"               */
147
//-Z(DATA)DATA16_I,DATA16_Z,DATA16_N,DATA16_HEAP+_DATA16_HEAP_SIZE=1C00-5BFF
148
 
149
-Z(DATA)DATA16_I,DATA16_Z,DATA16_N,DATA16_HEAP+_DATA16_HEAP_SIZE=1C00-2000,2022-5BFF
150
-Z(DATA)CODE_I
151
-Z(DATA)DATA20_I,DATA20_Z,DATA20_N,DATA20_HEAP+_DATA20_HEAP_SIZE
152
-Z(DATA)CSTACK+_STACK_SIZE#
153
 
154
 
155
// -----------------------------------------------
156
// Read-only memory
157
//
158
 
159
// -------------------------------------
160
// Information memory
161
//
162
 
163
-Z(CONST)INFO=1800-19FF
164
-Z(CONST)INFOA=1980-19FF
165
-Z(CONST)INFOB=1900-197F
166
-Z(CONST)INFOC=1880-18FF
167
-Z(CONST)INFOD=1800-187F
168
 
169
 
170
 
171
// -------------------------------------
172
// Low memory 0-0FFFF
173
//
174
 
175
// ---------------------------
176
// Code
177
//
178
 
179
-Z(CODE)CSTART,ISR_CODE=5C00-FF7F
180
 
181
// ---------------------------
182
// Constant data
183
//
184
 
185
-Z(CONST)DATA16_C,DATA16_ID,DIFUNCT,CHECKSUM=5C00-FF7F
186
 
187
 
188
// -------------------------------------
189
// All memory 0-FFFFF
190
//
191
 
192
// ---------------------------
193
// Code
194
//
195
 
196
// Can be modified to test the use of high memory.
197
// Original code
198
-P(CODE)CODE=5C00-FF7F,10000-45BFF
199
// Modified code
200
//-P(CODE)CODE=10000-45BFF
201
 
202
-Z(CODE)CODE_ID
203
 
204
// ---------------------------
205
// Constant data
206
//
207
 
208
// *** Modified to place code in high memory and insodoing, testing the port.
209
// Original code
210
-Z(CONST)DATA20_C,DATA20_ID=5C00-FF7F,10000-45BFF
211
// Modified code
212
//-Z(CONST)DATA20_C,DATA20_ID=10000-45BFF
213
 
214
 
215
// -------------------------------------
216
// Interrupt vectors
217
//
218
 
219
-Z(CODE)INTVEC=FF80-FFFF
220
-Z(CODE)RESET=FFFE-FFFF

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.