PRELIMINARY
Chapter 2
Flash Operations and Control Registers
The operations that modify the contents of the 'F20x/F24x flash array are per- formed in software through the use of dedicated programming algorithms. This chapter introduces the operations performed by these algorithms and explains the role of the control registers in this process. The actual algorithms are dis- cussed in Chapter 3.
2.1Operations that Modify the Contents of the 'F20x/F24x
Flash Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.2 Accessing the Flash Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5 2.3 Flash Module Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8 2.4 Read Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12 2.5 Program Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13 2.6 Erase Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14 2.7 Recovering From Over-Erasure (Flash-Write Operation) . . . . . . . . . 2-15 2.8 Reading From the Flash Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16 2.9 Protecting the Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16