ST72361xx-Auto
Flash program memory
interface on the application board (see Figure 7). For more details on the pin locations, refer
to the device pinout description.
3.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, (user-defined strategy for entering programming mode, choice of
communications protocol used to fetch the data to be stored, etc.). For example, it is
possible to download code from the SPI, SCI or other type of serial 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 protected to allow recovery in case errors occur during the
programming operation.
3.7
Related documentation
For details on Flash programming and ICC protocol, refer to the ST7 Flash programming
reference manual and to the ST7 ICC protocol reference manual.
3.8
Register description
Flash Control/Status Register (FCSR)
Read/ write
Reset value: 0000 0000 (00h)
7
0
0
0
0
0
0
0
0
0
This register is reserved for use by Programming Tool software. It controls the Flash
programming and erasing operations.
Table 6. Flash control/status register address and reset value
Address (Hex.)
Register label
76543210
0024h
FCSR
Reset value
00000000
Doc ID 12468 Rev 3
33/279