Datasheet
3–4
The user application data is located within the RAM area from 272h to 3FEh (5FEh for 33x). The locations
used statically (200h to 214h) and dynamically (stack) by the Monitor Program limit the size of the available
RAM. Due to limited size, two memory configurations are recommended as shown in Figure 3–3.
Interrupt Vectors
Identification Bit Pattern
Address Range for
Program, Stack and
Data of User
Application is 3DCh
to 214h
NOTE:
The User
Application Does
Not Set the Stack
Pointer SP
RAM Area Always Reserved
for ROM Monitor
3FEh
3E0h
3DEh
3DCh
214h
212h
200h
Interrupt Vectors
Identification Bit Pattern
Maximum Program,
Stack and Data Size
of User Application
Is Reduced by 50
Bytes, After Return
to the Monitor
Program
Stack Used by
Application
RAM Area Always Reserved
For ROM Monitor
3FEh
3E0h
3DEh
212h
214h
Stack Needed From
ROM Monitor, 50 Bytes
200h
SP
SP
User application inactive,
Monitor Program active
single step, breakpoint,
<ESC>
User application active
NOTE:
The identification bit pattern determines if the monitor code or a user’s code (program)
is executed after a power-up or hardware reset (PUC). See Section 5.2. The temporary
burn routine addresses are allocated for the EPROM burn routine, which must run in the
RAM. When data is written into the EPROM (program memory), code in the EPROM
cannot be executed. Therefore, the burn program has to be in RAM (loaded from the
EPROM) so it can be executed.
Figure 3–3. RAM Area 200h to 3FFh for the MSP430x32x Family
In most cases it is efficient not to initialize the user-stack, but to use the stack pointer set by the monitor.