![GigaDevice Semiconductor GD32A50 Series Скачать руководство пользователя страница 63](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32a50-series/gd32a50-series_user-manual_2225782063.webp)
GD32A50x User Manual
63
Figure 2-4. Process of fast programming operation
Set the FSTPG bit
Is the LK bit is 0
Perform 32 double
words write by DBUS
Start
Yes
No
Unlock the
FMC_CTLx
Is the BUSY bit is 0
Yes
No
Is the BUSY bit is 0
Yes
No
Finish
Configure SRAMCMD
as
01
Check the row
is all 0xFF
Yes
No
Set the START bit
Note:
1. The 32 double-word must be written successively.
2. The 32 double-word must be aligned.
3. Because the fast program do not check 0xFF in flash macro by hardware, the software
must check 0xFF first
and don’t program one row twice or more between 2 erases. If program
one row twice or more between 2 erases, unpredictable result may occurred.
4. Between setting FSTPG and START, read operation is allowed, but the read address
should not be the address of the row where to be programmed, otherwise the data read out
may be old data.