Texas Instruments MSP430x1xx User Manual page 133

Texas instruments modules and peripherals user's guide
Table of Contents

Advertisement

5.2 Flash Memory Segmentation
MSP430 flash memory is partitioned into segments. Single bits, bytes, or
words can be written to flash memory, but the segment is the smallest size of
flash memory that can be erased.
The flash memory is partitioned into main and information memory sections.
There is no difference in the operation of the main and information memory
sections. Code or data can be located in either section. The differences
between the two sections are the segment size and the physical addresses.
The information memory has two 128-byte segments (MSP430F1101 devices
have only one). The main memory has two or more 512-byte segments. See
the device-specific datasheet for the complete memory map of a device.
The segments are further dividing into blocks. A block is 64 bytes, starting at
0xx00h, 0xx40h, 0xx80h, or 0xxC0h, and ending at 0xx3Fh, 0xx7Fh, 0xxBFh,
or 0xxFFh.
Figure 5−2 shows the flash segmentation using an example of 4-KB flash that
has eight main segments and both information segments.
Figure 5−2.
Flash Memory Segments, 4-KB Example
4 KB + 256 byte
FFFFh
4-kbyte
Flash
Main Memory
F000h
256-byte
10FFh
Flash
1000h
Information Memory
FFFFh
Segment0
FE00h
FDFFh
Segment1
FC00h
Segment2
Segment3
Segment4
Segment5
Segment6
Segment7
F000h
10FFh
SegmentA
SegmentB
1000h
Flash Memory Segmentation
xxFFh
Block
xxC0h
xxBFh
Block
xx80h
xx7Fh
Block
xx40h
xx3Fh
Block
xx00h
Flash Memory Controller
5-3

Advertisement

Table of Contents
loading

Table of Contents