ST72F321 STMICROELECTRONICS [STMicroelectronics], ST72F321 Datasheet - Page 19

no-image

ST72F321

Manufacturer Part Number
ST72F321
Description
64/44-PIN 8-BIT MCU WITH 32 TO 60K FLASH/ROM, ADC, FIVE TIMERS, SPI, SCI, I2C INTERFACE
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST72F321
Manufacturer:
ST
0
Part Number:
ST72F3218K6T6
Manufacturer:
ST
Quantity:
84
Part Number:
ST72F321AR6T
Manufacturer:
ST
0
Part Number:
ST72F321AR6T3
Manufacturer:
ST
0
Part Number:
ST72F321AR6T6
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
ST72F321AR6T6
Manufacturer:
ST
0
Part Number:
ST72F321AR6T6
Manufacturer:
ST
Quantity:
20 000
Part Number:
ST72F321AR6TA
Manufacturer:
ST
Quantity:
102
Part Number:
ST72F321AR9T6
Manufacturer:
ST
Quantity:
185
Part Number:
ST72F321AR9T6
Manufacturer:
ST
Quantity:
20 000
FLASH PROGRAM MEMORY (Cont’d)
4.5 ICP (In-Circuit Programming)
To perform ICP the microcontroller must be
switched to ICC (In-Circuit Communication) mode
by an external controller or programming tool.
Depending on the ICP code downloaded in RAM,
Flash memory programming can be fully custom-
ized (number of bytes to program, program loca-
tions, or selection serial communication interface
for downloading).
When using an STMicroelectronics or third-party
programming tool that supports ICP and the spe-
cific microcontroller device, the user needs only to
implement the ICP hardware interface on the ap-
plication board (see
the pin locations, refer to the device pinout de-
scription.
4.6 IAP (In-Application Programming)
This mode uses a BootLoader program previously
stored in Sector 0 by the user (in ICP mode or by
plugging the device in a programming tool).
This mode is fully controlled by user software. This
allows it to be adapted to the user application, (us-
er-defined strategy for entering programming
mode, choice of communications protocol used to
fetch the data to be stored, etc.). For example, it is
Figure 7. Flash Control/Status Register Address and Reset Value
Address
(Hex.)
0029h
FCSR
Reset Value
Register
Label
Figure
6). For more details on
7
0
6
0
5
0
possible to download code from the SPI, SCI, USB
or CAN interface and program it in the Flash. IAP
mode can be used to program any of the Flash
sectors except Sector 0, which is write/erase pro-
tected to allow recovery in case errors occur dur-
ing the programming operation.
4.7 Related Documentation
For details on Flash programming and ICC proto-
col, refer to the ST7 Flash Programming Refer-
ence Manual and to the ST7 ICC Protocol Refer-
ence Manual
4.7.1 Register Description
FLASH CONTROL/STATUS REGISTER (FCSR)
Read/Write
Reset Value: 0000 0000 (00h)
This register is reserved for use by Programming
Tool software. It controls the Flash programming
and erasing operations.
7
0
4
0
0
.
3
0
0
0
2
0
0
0
1
0
ST72321
0
19/189
0
0
0
0

Related parts for ST72F321