st10f273m STMicroelectronics, st10f273m Datasheet - Page 47

no-image

st10f273m

Manufacturer Part Number
st10f273m
Description
16-bit Mcu With 512 Kbyte Flash Memory And 36 Kbyte Ram
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST10F273M
Manufacturer:
ST
0
Part Number:
st10f273m ABG3
Manufacturer:
ST
0
Company:
Part Number:
st10f273m ABG3
Quantity:
5 000
Part Number:
st10f273m ABG3С
Manufacturer:
ST
0
Part Number:
st10f273m ABR3
Manufacturer:
ST
0
Part Number:
st10f273m-4Q3
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
st10f273m-4T3
0
Part Number:
st10f273m-ABG3
Manufacturer:
ST
Quantity:
20 000
ST10F273M
5.7
Write operation summary
In general, each write operation is started through a sequence of three steps:
1.
2.
3.
Once selected, but not yet started, one operation can be canceled by resetting the operation
selection bit.
Available Flash Module Write Operations are summarized in the following
Table 26.
Figure 7
Figure 7.
Word Program (32-bit)
Double Word Program (64-bit)
Sector Erase
Set Protection
Program/Erase Suspend
The first instruction is used to select the desired operation by setting its corresponding
selection bit in the Flash Control Register 0.
The second step is the definition of the Address and Data for programming or the
sectors to erase.
The last instruction is used to start the write operation, by setting the start bit WMS in
the FCR0. This last instruction must not be executed from Flash.
shows the complete flow needed for a Write operation.
Operation
Flash write operations
Write operation control flow
No error:
Proceed with application
Select bit
Write Operation finished?
DWPG
SUSP
WPG
SER
SPR
(Check related busy bit)
Start Write Operation
Check Error Status
FCR0L.LOCK == 0?
Yes
Yes
Address and data
FDR0L/FDR0H
FDR0L/FDR0H
FDR1L/FDR1H
FCR1L/FCR1H
FDR0L/FDR0H
Error:
Error handler, ...
Re-start operation
FARL/FARH
FARL/FARH
None
No
No
Internal Flash memory
Table
26.
Start bit
WMS
None
47/182

Related parts for st10f273m