English
Language : 

LM3S818 Datasheet, PDF (212/572 Pages) Bookham, Inc. – Microcontroller
Internal Memory
6 Internal Memory
The LM3S818 microcontroller comes with 8 KB of bit-banded SRAM and 64 KB of flash memory.
The flash controller provides a user-friendly interface, making flash programming a simple task.
Flash protection can be applied to the flash memory on a 2-KB block basis.
6.1 Block Diagram
Figure 6-1 on page 212 illustrates the Flash functions. The dashed boxes in the figure indicate
registers residing in the System Control module rather than the Flash Control module.
Figure 6-1. Flash Block Diagram
Cortex-M3
Icode Bus
Dcode Bus
Flash Control
FMA
FMD
FMC
FCRIS
FCIM
FCMISC
Flash Array
Bridge
Flash Protection
FMPRE
FMPPE
Flash Timing
USECRL
SRAM Array
6.2
6.2.1
Functional Description
This section describes the functionality of the SRAM and Flash memories.
SRAM Memory
The internal SRAM of the Stellaris® devices is located at address 0x2000.0000 of the device memory
map. To reduce the number of time consuming read-modify-write (RMW) operations, ARM has
introduced bit-banding technology in the Cortex-M3 processor. With a bit-band-enabled processor,
certain regions in the memory map (SRAM and peripheral space) can use address aliases to access
individual bits in a single, atomic operation.
The bit-band alias is calculated by using the formula:
bit-band alias = bit-band base + (byte offset * 32) + (bit number * 4)
For example, if bit 3 at address 0x2000.1000 is to be modified, the bit-band alias is calculated as:
212
July 14, 2014
Texas Instruments-Production Data