UM10208_2
© NXP B.V. 2007. All rights reserved.
User manual
Rev. 02 — 1 June 2007
31 of 362
NXP Semiconductors
UM10208
Chapter 5: LPC2800 Flash
Flash programming includes the following steps:
1. Un-protecting the sectors to be operated upon
2. Erasing sectors that have been previously programmed
3. Presetting data latches for each flash word to be programmed
4. Writing
5. Loading
6. Programming
Fig 8.
Flash AHB programming flow chart
Un-Protect sector(s)
Erase sector(s)
Preset data latches
Write Word
(auto) Load Flash
Load Flash Word
Program Flash Page
Protect sector(s)
Flash Word
complete?
Page
complete?
Sector(s)
complete?
Last
Flash Word
complete?
N
Y
Y
N
Y
N
Y
N