LM3S102 Luminary Micro, Inc, LM3S102 Datasheet - Page 89

no-image

LM3S102

Manufacturer Part Number
LM3S102
Description
Lm3s102 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S102-EQN20-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S102-EQN20-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S102-IGZ-C2
Manufacturer:
TI
Quantity:
965
Company:
Part Number:
LM3S102-IGZ-C2
Quantity:
982
Part Number:
LM3S102-IQN20-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S102-IQN20-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
7.3.2
7.4
Table 7-2. Flash Register Map
a. Relative to System Control base address of 0x400FE000.
July 6, 2006
0X140
0x130
0x134
Offset
0x00C
0x000
0x004
0x008
0x010
0x014
a
a
a
Name
FMPRE
FMPPE
USECRL
FMA
FMD
FMC
FCRIS
FCIM
FCMISC
Flash Programming
The Stellaris devices provide a user-friendly interface for flash programming. All erase/program
operations are handled via three registers: FMA, FMD and FMC.
The flash is programmed using the following sequence:
1.
2.
3.
4.
To perform an erase of a 1-KB page:
1.
2.
3.
To perform a mass erase of the flash:
1.
2.
Register Map
Table 7-2 lists the Flash memory and control registers. The offset listed is a hexadecimal
increment to the register’s address, relative to the Flash control base address of 0x400FD000,
except for FMPRE and FMPPE, which are relative to the System Control base address of
0x400FE000.
Write source data to the FMD register.
Write the target address to the FMA register.
Write the flash write key and the WRITE bit (a value of 0xA4420001) to the FMC register.
Poll the FMC register until the WRITE bit is cleared.
Write the page address to the FMA register.
Write the flash write key and the ERASE bit (a value of 0xA4420002) to the FMC register.
Poll the FMC register until the ERASE bit is cleared.
Write the flash write key and the MERASE bit (a value of 0xA4420004) to the FMC register.
Poll the FMC register until the MERASE bit is cleared.
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
Reset
0x0F
0x0F
0x13
R/W1C
R/W0
R/W0
Type
R/W
R/W
R/W
R/W
R/W
RO
Preliminary
Description
Flash memory read protect
Flash memory program protect
USec reload
Flash memory address
Flash memory data
Flash memory control
Flash controller raw interrupt status
Flash controller interrupt mask
Flash controller masked interrupt status and clear
LM3S102 Data Sheet
page
See
91
91
92
93
94
95
97
98
99
89

Related parts for LM3S102