LM3S328-IQC20-A0 ETC2 [List of Unclassifed Manufacturers], LM3S328-IQC20-A0 Datasheet - Page 99
![no-image](/images/no-image-200.jpg)
LM3S328-IQC20-A0
Manufacturer Part Number
LM3S328-IQC20-A0
Description
Microcontroller
Manufacturer
ETC2 [List of Unclassifed Manufacturers]
Datasheet
1.LM3S328-IQC20-A0.pdf
(371 pages)
- Current page: 99 of 371
- Download datasheet (3Mb)
7.3.2
7.4
April 27, 2007
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,
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.
}
//
// Clear the DBG field of the FMPRE register. Note that the value
// used in this instance does not affect the state of the BlockN
// bits, but were the value different, all bits in the FMPRE are
// affected by this function!
//
HWREG(FLASH_FMPRE) &= 0x3fffffff;
//
// The following sequence activates the one-time
// programming of the FMPRE register.
//
HWREG(FLASH_FMA) = 0x900;
HWREG(FLASH_FMC) = (FLASH_FMC_WRKEY | FLASH_FMC_COMT);
//
// Wait until the operation is complete.
//
while (HWREG(FLASH_FMC) & FLASH_FMC_COMT)
{
}
Preliminary
LM3S328 Data Sheet
99
Related parts for LM3S328-IQC20-A0
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![LM3S328](/images/no-image3.png)
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
![LM3S328-IRN20-A0T](/images/no-image3.png)
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
![LM3S328-IQN25(T)](/images/no-image3.png)
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
![302R29N101JV4E](/images/no-image3.png)
Part Number:
Description:
SAFETY CERTIFIED CAPACITORS
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![ATS75D8](/images/no-image3.png)
Part Number:
Description:
LOW- OLTAGE 2-WIRE DIGITAL TEMPERATURE SENSOR With Thermal Alarm
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![FS6284-01](/images/no-image3.png)
Part Number:
Description:
Dual PLL Clock Generator IC
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![AIC1531](/images/no-image3.png)
Part Number:
Description:
500mA Dual Linear Regulator with Internal Power Switch
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![TC9122P](/images/no-image3.png)
Part Number:
Description:
HIGH-SPEED BCD PROGRAMMABLE COUNTER
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![STT116GK16](/images/no-image3.png)
Part Number:
Description:
Thyristor-Thyristor Modules
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![STT500GK16](/images/no-image3.png)
Part Number:
Description:
Thyristor-Thyristor Modules
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![MSCA-1502](/images/no-image3.png)
Part Number:
Description:
15W Ultraminiature Modular Switching Power Supplies
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![CPT-DIN](/images/no-image3.png)
Part Number:
Description:
Energy Management Compact Power Transducer
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![UFT-1](/images/no-image3.png)
Part Number:
Description:
UNIVERSAL FLOW TRANSMITTER
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![L431LM5B](/images/no-image3.png)
Part Number:
Description:
1.24V Low-Voltage Adjustable Precision Shunt Regulator
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![110C2-315](/images/no-image3.png)
Part Number:
Description:
118 SERIES AM REMOTE CONTROL SYSTEMS.
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet: