19. Memory programming
A96G140/A96G148/A96A148 User’s manual
242
Figure 131. The Sequence of Bulk Erase of Flash Memory
Flash read
①
Enter OCD (=ISP) mode.
②
Set ENBDM bit of BCR.
③
Enable debug and Request debug mode.
④
Read data from Flash.
Enable program mode
①
Enter OCD(=ISP) mode.
NOTE1
②
Set ENBDM bit of BCR.
③
Enable debug and Request debug mode.
Page Buffer Reset
Page Buffer Load
Configuration Reg.<0> Set
Erase Latency (500us)
Page Buffer Reset
Configuration Reg.<0> clear
Reg.<6:5> setting
Master Reset
Erase
Cell Read
Pass/Fail?