
AT32F413
Series Reference Manual
2022.06.27
Page 73
Rev 2.00
Figure 5-7
System data area programming process
OBF = 0?
Set the USDPRGM bit = 1 in
FLASH_CTRL
Write word/half-word
(32bits/16 bits) data
No
Yes
Start
Check the OBF bit in
FLASH_STS
No
Check the OBF bit in
FLASH_STS
OBF = 0?
Yes
Read PRGMERR bit and ODF bit
in FLASH_STS
End
5.4.4
Read operation
User system data area can be accessed through AHB bus of the CPU.
5.5 Flash memory protection
Flash memory includes access and erase/program protection.