Texas Instruments TMS320F20x/F24x DSP Computer Drive User Manual


 
Erase Algorithm
PRELIMINARY
3-10
PRELIMINARY
3.3 Erase Algorithm
The erase algorithm follows the clear algorithm in executing the entire initial-
ization flow. Figure 3–4 highlights the erase algorithm’s place in the overall
flow.
Figure 3–4. Erase Algorithm in the Overall Flow
Flash-write
algorithm
Erase
algorithm
Clear
algorithm
X = X+1
flash-write
Recover using
Fail
Yes
No
X < 10 ?
array
Erase the
Clear the
array
No
Yes
Reprogram?
Bits in
depletion?
X = 1
Start
Program
the array
Initialization flow
Programming
algorithm
No
Yes
Done/Stop
The erase algorithm consists of multiple iterations of a loop with one erase
pulse applied in each iteration. Table 3–2 outlines the steps involved in apply-
ing a single erase pulse.