English
Language : 

AN1576 Datasheet, PDF (1/15 Pages) STMicroelectronics – The In-Application Programming
AN1576
APPLICATION NOTE
IN-APPLICATION PROGRAMMING (IAP) DRIVERS
FOR ST7 HDFLASH OR XFLASH MCUs
by Microcontroller Division Applications
INTRODUCTION
The In-Application Programming (IAP) architecture defined by STMicroelectronics gives a
large flexibility in terms of the communication method used to (re)program a ST7 FLASH Mi-
crocontroller on board: not only the physical channel (I/Os, SPI, UART, USB, CAN,..) for re-
ceiving the new data, but also the protocol (Commands, Status, Data structure,..) can be user
specific.
The principle of the IAP process (See Application Note AN1575 for further details) is to exe-
cute from a protected memory area, Flash Sector 0, a firmware module that reprograms the
remaining memory area: In order to help you develop you own reprogramming firmware,
STMicroelectronics provides generic IAP drivers that can be used whatever the protocol or
physical layer.
This application note presents these two generic In-Application Programming drivers: one for
HDFLASH based MCUs and one for XFLASH based devices.
The architecture and the software interface as well as some practical examples are presented
for each of these two drivers.
AN1576/0203
1/15
1